@workwell-global/toolkit 1.1.10 → 1.1.14
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/enums/EntityNames.d.ts +8 -0
- package/dist/enums/EntityNames.d.ts.map +1 -1
- package/dist/enums/EntityNames.js +8 -0
- package/dist/enums/EntityNames.js.map +1 -1
- package/dist/enums/SCLASNStages.d.ts +2 -1
- package/dist/enums/SCLASNStages.d.ts.map +1 -1
- package/dist/enums/SCLASNStages.js +2 -2
- package/dist/enums/SCLASNStages.js.map +1 -1
- package/dist/enums/SCLASNStatus.d.ts +12 -12
- package/dist/enums/SCLASNStatus.d.ts.map +1 -1
- package/dist/enums/SCLASNStatus.js +10 -29
- package/dist/enums/SCLASNStatus.js.map +1 -1
- package/dist/models/schemas/api/_entityTools/CreateEntityTools.d.ts +3 -3
- package/dist/models/schemas/api/_entityTools/CreateEntityTools.d.ts.map +1 -1
- package/dist/models/schemas/api/_entityTools/EntityRegistry.d.ts +1 -1
- package/dist/models/schemas/api/_entityTools/EntityRegistry.d.ts.map +1 -1
- package/dist/models/schemas/api/_entityTools/EntityRegistry.js.map +1 -1
- package/dist/models/schemas/api/_entityTools/MappersEntityTools.d.ts.map +1 -1
- package/dist/models/schemas/api/_entityTools/MappersEntityTools.js +46 -6
- package/dist/models/schemas/api/_entityTools/MappersEntityTools.js.map +1 -1
- package/dist/models/schemas/api/_entityTools/SchemasEntityTools.d.ts +14 -1
- package/dist/models/schemas/api/_entityTools/SchemasEntityTools.d.ts.map +1 -1
- package/dist/models/schemas/api/_entityTools/SchemasEntityTools.js +35 -6
- package/dist/models/schemas/api/_entityTools/SchemasEntityTools.js.map +1 -1
- package/dist/models/schemas/api/account/DAccountAPI.d.ts +12 -12
- package/dist/models/schemas/api/account/DAccountAPI.js +12 -12
- package/dist/models/schemas/api/account/DAccountAPI.js.map +1 -1
- package/dist/models/schemas/api/account/TAccountAPI.d.ts +539 -167
- package/dist/models/schemas/api/account/TAccountAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/account/TAccountAPI.js.map +1 -1
- package/dist/models/schemas/api/account/index.d.ts +522 -166
- package/dist/models/schemas/api/account/index.d.ts.map +1 -1
- package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts +294 -287
- package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/assignment/DAssignmentAPI.js +303 -210
- package/dist/models/schemas/api/assignment/DAssignmentAPI.js.map +1 -1
- package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts +2207 -1339
- package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/assignment/TAssignmentAPI.js +20 -4
- package/dist/models/schemas/api/assignment/TAssignmentAPI.js.map +1 -1
- package/dist/models/schemas/api/assignment/index.d.ts +2208 -1338
- package/dist/models/schemas/api/assignment/index.d.ts.map +1 -1
- package/dist/models/schemas/api/assignmentLog/DAssignmentLogAPI.d.ts +52 -0
- package/dist/models/schemas/api/assignmentLog/DAssignmentLogAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/assignmentLog/DAssignmentLogAPI.js +28 -0
- package/dist/models/schemas/api/assignmentLog/DAssignmentLogAPI.js.map +1 -0
- package/dist/models/schemas/api/assignmentLog/TAssignmentLogAPI.d.ts +400 -0
- package/dist/models/schemas/api/assignmentLog/TAssignmentLogAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/assignmentLog/TAssignmentLogAPI.js +9 -0
- package/dist/models/schemas/api/assignmentLog/TAssignmentLogAPI.js.map +1 -0
- package/dist/models/schemas/api/assignmentLog/index.d.ts +405 -0
- package/dist/models/schemas/api/assignmentLog/index.d.ts.map +1 -0
- package/dist/models/schemas/api/assignmentLog/index.js +11 -0
- package/dist/models/schemas/api/assignmentLog/index.js.map +1 -0
- package/dist/models/schemas/api/companyDocument/TCompanyDocumentAPI.d.ts +215 -55
- package/dist/models/schemas/api/companyDocument/TCompanyDocumentAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/companyDocument/index.d.ts +215 -55
- package/dist/models/schemas/api/companyDocument/index.d.ts.map +1 -1
- package/dist/models/schemas/api/contact/DContactAPI.d.ts +11 -11
- package/dist/models/schemas/api/contact/DContactAPI.js +11 -11
- package/dist/models/schemas/api/contact/DContactAPI.js.map +1 -1
- package/dist/models/schemas/api/contact/TContactAPI.d.ts +612 -192
- package/dist/models/schemas/api/contact/TContactAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/contact/TContactAPI.js.map +1 -1
- package/dist/models/schemas/api/contact/index.d.ts +595 -191
- package/dist/models/schemas/api/contact/index.d.ts.map +1 -1
- package/dist/models/schemas/api/contractorDocument/DContractorDocumentAPI.d.ts +2 -2
- package/dist/models/schemas/api/contractorDocument/DContractorDocumentAPI.js +2 -2
- package/dist/models/schemas/api/contractorDocument/DContractorDocumentAPI.js.map +1 -1
- package/dist/models/schemas/api/contractorDocument/TContractorDocumentAPI.d.ts +296 -77
- package/dist/models/schemas/api/contractorDocument/TContractorDocumentAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/contractorDocument/TContractorDocumentAPI.js.map +1 -1
- package/dist/models/schemas/api/contractorDocument/index.d.ts +291 -76
- package/dist/models/schemas/api/contractorDocument/index.d.ts.map +1 -1
- package/dist/models/schemas/api/country/TCountryAPI.d.ts +139 -45
- package/dist/models/schemas/api/country/TCountryAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/country/index.d.ts +139 -45
- package/dist/models/schemas/api/country/index.d.ts.map +1 -1
- package/dist/models/schemas/api/countryOffering/TCountryOfferingAPI.d.ts +95 -25
- package/dist/models/schemas/api/countryOffering/TCountryOfferingAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/countryOffering/index.d.ts +95 -25
- package/dist/models/schemas/api/countryOffering/index.d.ts.map +1 -1
- package/dist/models/schemas/api/currency/TCurrencyAPI.d.ts +87 -23
- package/dist/models/schemas/api/currency/TCurrencyAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/currency/index.d.ts +87 -23
- package/dist/models/schemas/api/currency/index.d.ts.map +1 -1
- package/dist/models/schemas/api/disqualificationReason/TDisqualificationAPI.d.ts +86 -25
- package/dist/models/schemas/api/disqualificationReason/TDisqualificationAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/disqualificationReason/index.d.ts +86 -25
- package/dist/models/schemas/api/disqualificationReason/index.d.ts.map +1 -1
- package/dist/models/schemas/api/enquiry/DEnquiryAPI.d.ts +1 -1
- package/dist/models/schemas/api/enquiry/DEnquiryAPI.js +2 -2
- package/dist/models/schemas/api/enquiry/DEnquiryAPI.js.map +1 -1
- package/dist/models/schemas/api/enquiry/TEnquiryAPI.d.ts +168 -41
- package/dist/models/schemas/api/enquiry/TEnquiryAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/enquiry/TEnquiryAPI.js.map +1 -1
- package/dist/models/schemas/api/enquiry/index.d.ts +164 -40
- package/dist/models/schemas/api/enquiry/index.d.ts.map +1 -1
- package/dist/models/schemas/api/index.d.ts +2 -0
- package/dist/models/schemas/api/index.d.ts.map +1 -1
- package/dist/models/schemas/api/index.js +2 -0
- package/dist/models/schemas/api/index.js.map +1 -1
- package/dist/models/schemas/api/margin/TMarginAPI.d.ts +156 -45
- package/dist/models/schemas/api/margin/TMarginAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/margin/index.d.ts +156 -45
- package/dist/models/schemas/api/margin/index.d.ts.map +1 -1
- package/dist/models/schemas/api/nationality/TNationalityAPI.d.ts +113 -40
- package/dist/models/schemas/api/nationality/TNationalityAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/nationality/index.d.ts +113 -40
- package/dist/models/schemas/api/nationality/index.d.ts.map +1 -1
- package/dist/models/schemas/api/referral/DReferralAPI.d.ts +261 -242
- package/dist/models/schemas/api/referral/DReferralAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/referral/DReferralAPI.js +279 -181
- package/dist/models/schemas/api/referral/DReferralAPI.js.map +1 -1
- package/dist/models/schemas/api/referral/TReferralAPI.d.ts +1789 -1024
- package/dist/models/schemas/api/referral/TReferralAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/referral/TReferralAPI.js +27 -0
- package/dist/models/schemas/api/referral/TReferralAPI.js.map +1 -1
- package/dist/models/schemas/api/referral/index.d.ts +1851 -1024
- package/dist/models/schemas/api/referral/index.d.ts.map +1 -1
- package/dist/models/schemas/api/referral/index.js +1 -0
- package/dist/models/schemas/api/referral/index.js.map +1 -1
- package/dist/models/schemas/api/referralLog/DReferralLogAPI.d.ts +52 -0
- package/dist/models/schemas/api/referralLog/DReferralLogAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/referralLog/DReferralLogAPI.js +31 -0
- package/dist/models/schemas/api/referralLog/DReferralLogAPI.js.map +1 -0
- package/dist/models/schemas/api/referralLog/TReferralLogAPI.d.ts +397 -0
- package/dist/models/schemas/api/referralLog/TReferralLogAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/referralLog/TReferralLogAPI.js +9 -0
- package/dist/models/schemas/api/referralLog/TReferralLogAPI.js.map +1 -0
- package/dist/models/schemas/api/referralLog/index.d.ts +402 -0
- package/dist/models/schemas/api/referralLog/index.d.ts.map +1 -0
- package/dist/models/schemas/api/referralLog/index.js +11 -0
- package/dist/models/schemas/api/referralLog/index.js.map +1 -0
- package/dist/models/schemas/api/role/TRoleAPI.d.ts +83 -22
- package/dist/models/schemas/api/role/TRoleAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/role/index.d.ts +83 -22
- package/dist/models/schemas/api/role/index.d.ts.map +1 -1
- package/dist/models/schemas/api/simulation/DSimulationAPI.d.ts +17 -7
- package/dist/models/schemas/api/simulation/DSimulationAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/simulation/DSimulationAPI.js +16 -7
- package/dist/models/schemas/api/simulation/DSimulationAPI.js.map +1 -1
- package/dist/models/schemas/api/simulation/TSimulationAPI.d.ts +335 -104
- package/dist/models/schemas/api/simulation/TSimulationAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/simulation/TSimulationAPI.js.map +1 -1
- package/dist/models/schemas/api/simulation/index.d.ts +323 -103
- package/dist/models/schemas/api/simulation/index.d.ts.map +1 -1
- package/dist/models/schemas/api/solution/TSolutionAPI.d.ts +259 -69
- package/dist/models/schemas/api/solution/TSolutionAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/solution/index.d.ts +259 -69
- package/dist/models/schemas/api/solution/index.d.ts.map +1 -1
- package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.d.ts +162 -0
- package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.js +33 -0
- package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.js.map +1 -0
- package/dist/models/schemas/bff/assignmentsSummary/index.d.ts +2 -0
- package/dist/models/schemas/bff/assignmentsSummary/index.d.ts.map +1 -0
- package/dist/models/schemas/bff/assignmentsSummary/index.js +2 -0
- package/dist/models/schemas/bff/assignmentsSummary/index.js.map +1 -0
- package/dist/models/schemas/bff/config/SGetConfigBFF.d.ts +755 -199
- package/dist/models/schemas/bff/config/SGetConfigBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/config/SGetConfigBFF.js +1 -1
- package/dist/models/schemas/bff/config/SGetConfigBFF.js.map +1 -1
- package/dist/models/schemas/bff/config/SGetOptionlistCountryBFF.d.ts +127 -33
- package/dist/models/schemas/bff/config/SGetOptionlistCountryBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/config/SGetOptionlistCountryOfferingBFF.d.ts +93 -23
- package/dist/models/schemas/bff/config/SGetOptionlistCountryOfferingBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/config/SGetOptionlistCurrencyBFF.d.ts +87 -23
- package/dist/models/schemas/bff/config/SGetOptionlistCurrencyBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/config/SGetOptionlistDisqualificationReasonBFF.d.ts +166 -44
- package/dist/models/schemas/bff/config/SGetOptionlistDisqualificationReasonBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/config/SGetOptionlistMarginBFF.d.ts +149 -38
- package/dist/models/schemas/bff/config/SGetOptionlistMarginBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/config/SGetOptionlistRoleBFF.d.ts +83 -22
- package/dist/models/schemas/bff/config/SGetOptionlistRoleBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/engagementsAgentSummary/SGetEngagementsAgentSummaryBFF.d.ts +653 -0
- package/dist/models/schemas/bff/engagementsAgentSummary/SGetEngagementsAgentSummaryBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/engagementsAgentSummary/SGetEngagementsAgentSummaryBFF.js +116 -0
- package/dist/models/schemas/bff/engagementsAgentSummary/SGetEngagementsAgentSummaryBFF.js.map +1 -0
- package/dist/models/schemas/bff/engagementsAgentSummary/SGetEngagementsAuditBFF.d.ts +124 -0
- package/dist/models/schemas/bff/engagementsAgentSummary/SGetEngagementsAuditBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/engagementsAgentSummary/SGetEngagementsAuditBFF.js +177 -0
- package/dist/models/schemas/bff/engagementsAgentSummary/SGetEngagementsAuditBFF.js.map +1 -0
- package/dist/models/schemas/bff/engagementsAgentSummary/index.d.ts +3 -0
- package/dist/models/schemas/bff/engagementsAgentSummary/index.d.ts.map +1 -0
- package/dist/models/schemas/bff/engagementsAgentSummary/index.js +3 -0
- package/dist/models/schemas/bff/engagementsAgentSummary/index.js.map +1 -0
- package/dist/models/schemas/bff/enquiriesSummary/SGetEnquiriesSummaryBFF.d.ts +164 -40
- package/dist/models/schemas/bff/enquiriesSummary/SGetEnquiriesSummaryBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquiryBFF.d.ts +1333 -459
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquiryBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquiryBFF.js +11 -8
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquiryBFF.js.map +1 -1
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimBFF.d.ts +1279 -391
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimBFF.js +21 -18
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimBFF.js.map +1 -1
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimCurrencyBFF.d.ts +87 -23
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimCurrencyBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimDisqualificationBFF.d.ts +83 -22
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimDisqualificationBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimDocumentBFF.d.ts +287 -72
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimDocumentBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimSolutionBFF.d.ts +255 -65
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimSolutionBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimWorkCountryBFF.d.ts +127 -33
- package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimWorkCountryBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/enquiryDetail/SPatchSimulationBFF.d.ts +1 -0
- package/dist/models/schemas/bff/enquiryDetail/SPatchSimulationBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/enquiryDetail/SPostEnquiryBFF.d.ts +11 -9
- package/dist/models/schemas/bff/enquiryDetail/SPostEnquiryBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/helpers/AssignmentHelper.d.ts +25 -0
- package/dist/models/schemas/bff/helpers/AssignmentHelper.d.ts.map +1 -0
- package/dist/models/schemas/bff/helpers/AssignmentHelper.js +115 -0
- package/dist/models/schemas/bff/helpers/AssignmentHelper.js.map +1 -0
- package/dist/models/schemas/bff/helpers/ReferralHelper.d.ts +135 -0
- package/dist/models/schemas/bff/helpers/ReferralHelper.d.ts.map +1 -0
- package/dist/models/schemas/bff/helpers/ReferralHelper.js +82 -0
- package/dist/models/schemas/bff/helpers/ReferralHelper.js.map +1 -0
- package/dist/models/schemas/bff/helpers/RegionHelper.d.ts +257 -0
- package/dist/models/schemas/bff/helpers/RegionHelper.d.ts.map +1 -0
- package/dist/models/schemas/bff/helpers/RegionHelper.js +263 -0
- package/dist/models/schemas/bff/helpers/RegionHelper.js.map +1 -0
- package/dist/models/schemas/bff/helpers/SolutionHelper.d.ts +21 -0
- package/dist/models/schemas/bff/helpers/SolutionHelper.d.ts.map +1 -0
- package/dist/models/schemas/bff/helpers/SolutionHelper.js +27 -0
- package/dist/models/schemas/bff/helpers/SolutionHelper.js.map +1 -0
- 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 -1
- package/dist/models/schemas/bff/index.js.map +1 -1
- package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorker.d.ts +10 -7
- package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorker.d.ts.map +1 -1
- package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorker.js +1 -0
- package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorker.js.map +1 -1
- package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerReferral.d.ts +46 -105
- package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerReferral.d.ts.map +1 -1
- package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerReferral.js +8 -7
- package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerReferral.js.map +1 -1
- package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerSimulation.d.ts +10 -7
- package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerSimulation.d.ts.map +1 -1
- package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerSimulation.js +1 -0
- package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerSimulation.js.map +1 -1
- package/dist/models/schemas/bff/referralsSummary/SGetReferralsSummary.d.ts +306 -0
- package/dist/models/schemas/bff/referralsSummary/SGetReferralsSummary.d.ts.map +1 -0
- package/dist/models/schemas/bff/referralsSummary/SGetReferralsSummary.js +32 -0
- package/dist/models/schemas/bff/referralsSummary/SGetReferralsSummary.js.map +1 -0
- package/dist/models/schemas/bff/referralsSummary/index.d.ts +2 -0
- package/dist/models/schemas/bff/referralsSummary/index.d.ts.map +1 -0
- package/dist/models/schemas/bff/referralsSummary/index.js +2 -0
- package/dist/models/schemas/bff/referralsSummary/index.js.map +1 -0
- package/package.json +3 -2
- package/dist/models/schemas/api/engagement/TEngagementAPI.d.ts +0 -7
- package/dist/models/schemas/api/engagement/TEngagementAPI.d.ts.map +0 -1
- package/dist/models/schemas/api/engagement/TEngagementAPI.js +0 -15
- package/dist/models/schemas/api/engagement/TEngagementAPI.js.map +0 -1
- package/dist/models/schemas/bff/engagements/SGetEngagementsSummaryBFF.d.ts +0 -216
- package/dist/models/schemas/bff/engagements/SGetEngagementsSummaryBFF.d.ts.map +0 -1
- package/dist/models/schemas/bff/engagements/SGetEngagementsSummaryBFF.js +0 -21
- package/dist/models/schemas/bff/engagements/SGetEngagementsSummaryBFF.js.map +0 -1
- package/dist/models/schemas/bff/engagements/index.d.ts +0 -2
- package/dist/models/schemas/bff/engagements/index.d.ts.map +0 -1
- package/dist/models/schemas/bff/engagements/index.js +0 -2
- package/dist/models/schemas/bff/engagements/index.js.map +0 -1
|
@@ -34,6 +34,7 @@ export declare const SPostOnboardAWorkerSimulationBFF: z.ZodObject<Pick<{
|
|
|
34
34
|
readonly simulationTurnaroundTime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
35
35
|
readonly rejectionReasonValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
36
36
|
readonly rejectionReasonDetailValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
37
|
+
readonly decisionContactValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
37
38
|
readonly simulationDocuments: z.ZodOptional<z.ZodTypeAny>;
|
|
38
39
|
readonly workCountry: z.ZodOptional<z.ZodTypeAny>;
|
|
39
40
|
readonly currency: z.ZodOptional<z.ZodTypeAny>;
|
|
@@ -41,24 +42,26 @@ export declare const SPostOnboardAWorkerSimulationBFF: z.ZodObject<Pick<{
|
|
|
41
42
|
readonly solutionType: z.ZodOptional<z.ZodTypeAny>;
|
|
42
43
|
readonly rejectionReason: z.ZodOptional<z.ZodTypeAny>;
|
|
43
44
|
readonly rejectionReasonDetail: z.ZodOptional<z.ZodTypeAny>;
|
|
44
|
-
}, "
|
|
45
|
-
agencyValue?: string | null | undefined;
|
|
46
|
-
agencyContactValue?: string | null | undefined;
|
|
47
|
-
endClient?: string | null | undefined;
|
|
45
|
+
}, "jobTitle" | "endClient" | "jobDescription" | "agencyValue" | "agencyContactValue" | "simulationStatus" | "paymentFrequency" | "workerValue" | "decisionContactValue">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
48
46
|
jobTitle?: string | null | undefined;
|
|
47
|
+
endClient?: string | null | undefined;
|
|
49
48
|
jobDescription?: string | null | undefined;
|
|
49
|
+
agencyValue?: string | null | undefined;
|
|
50
|
+
agencyContactValue?: string | null | undefined;
|
|
50
51
|
simulationStatus?: number | null | undefined;
|
|
51
52
|
paymentFrequency?: number | null | undefined;
|
|
52
53
|
workerValue?: string | null | undefined;
|
|
54
|
+
decisionContactValue?: string | null | undefined;
|
|
53
55
|
}, {
|
|
54
|
-
agencyValue?: string | null | undefined;
|
|
55
|
-
agencyContactValue?: string | null | undefined;
|
|
56
|
-
endClient?: string | null | undefined;
|
|
57
56
|
jobTitle?: string | null | undefined;
|
|
57
|
+
endClient?: string | null | undefined;
|
|
58
58
|
jobDescription?: string | null | undefined;
|
|
59
|
+
agencyValue?: string | null | undefined;
|
|
60
|
+
agencyContactValue?: string | null | undefined;
|
|
59
61
|
simulationStatus?: number | null | undefined;
|
|
60
62
|
paymentFrequency?: number | null | undefined;
|
|
61
63
|
workerValue?: string | null | undefined;
|
|
64
|
+
decisionContactValue?: string | null | undefined;
|
|
62
65
|
}>;
|
|
63
66
|
export type TPostOnboardAWorkerSimulationBFF = z.infer<typeof SPostOnboardAWorkerSimulationBFF>;
|
|
64
67
|
//# sourceMappingURL=SPostOnboardAWorkerSimulation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SPostOnboardAWorkerSimulation.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerSimulation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"SPostOnboardAWorkerSimulation.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerSimulation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWzC,CAAA;AAEJ,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,gCAAgC,CACxC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SPostOnboardAWorkerSimulation.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerSimulation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAEhE,MAAM,CAAC,MAAM,gCAAgC,GAC3C,gBAAgB,CAAC,WAAW,CAAC,IAAI,CAAC;IAChC,WAAW,EAAE,IAAI;IACjB,gBAAgB,EAAE,IAAI;IACtB,kBAAkB,EAAE,IAAI;IACxB,WAAW,EAAE,IAAI;IACjB,cAAc,EAAE,IAAI;IACpB,QAAQ,EAAE,IAAI;IACd,gBAAgB,EAAE,IAAI;IACtB,SAAS,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"SPostOnboardAWorkerSimulation.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerSimulation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAEhE,MAAM,CAAC,MAAM,gCAAgC,GAC3C,gBAAgB,CAAC,WAAW,CAAC,IAAI,CAAC;IAChC,WAAW,EAAE,IAAI;IACjB,gBAAgB,EAAE,IAAI;IACtB,kBAAkB,EAAE,IAAI;IACxB,WAAW,EAAE,IAAI;IACjB,cAAc,EAAE,IAAI;IACpB,QAAQ,EAAE,IAAI;IACd,gBAAgB,EAAE,IAAI;IACtB,SAAS,EAAE,IAAI;IACf,oBAAoB,EAAE,IAAI;CAC3B,CAAC,CAAA"}
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SReferralBase: z.ZodObject<{
|
|
3
|
+
readonly referralId: z.ZodOptional<z.ZodString>;
|
|
4
|
+
readonly name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5
|
+
readonly progress: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
readonly stage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7
|
+
readonly stageReason: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8
|
+
readonly reportingStatus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
10
|
+
stage?: number | null | undefined;
|
|
11
|
+
stageReason?: number | null | undefined;
|
|
12
|
+
reportingStatus?: number | null | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
stage?: number | null | undefined;
|
|
15
|
+
stageReason?: number | null | undefined;
|
|
16
|
+
reportingStatus?: number | null | undefined;
|
|
17
|
+
}>>;
|
|
18
|
+
readonly contractor: z.ZodOptional<z.ZodObject<{
|
|
19
|
+
readonly contractorValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
readonly contractorFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
22
|
+
contractorValue?: string | null | undefined;
|
|
23
|
+
contractorFormattedValue?: string | null | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
contractorValue?: string | null | undefined;
|
|
26
|
+
contractorFormattedValue?: string | null | undefined;
|
|
27
|
+
}>>;
|
|
28
|
+
readonly assignment: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
readonly jobType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
readonly startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
readonly endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
readonly workCountry: z.ZodTypeAny;
|
|
33
|
+
readonly solution: z.ZodTypeAny;
|
|
34
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
35
|
+
solution?: any;
|
|
36
|
+
jobType?: number | null | undefined;
|
|
37
|
+
startDate?: string | null | undefined;
|
|
38
|
+
endDate?: string | null | undefined;
|
|
39
|
+
workCountry?: any;
|
|
40
|
+
}, {
|
|
41
|
+
solution?: any;
|
|
42
|
+
jobType?: number | null | undefined;
|
|
43
|
+
startDate?: string | null | undefined;
|
|
44
|
+
endDate?: string | null | undefined;
|
|
45
|
+
workCountry?: any;
|
|
46
|
+
}>>;
|
|
47
|
+
readonly agency: z.ZodOptional<z.ZodObject<{
|
|
48
|
+
readonly agencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
readonly agencyContactValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
readonly agencyFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
readonly agencyContactFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
53
|
+
agencyValue?: string | null | undefined;
|
|
54
|
+
agencyContactValue?: string | null | undefined;
|
|
55
|
+
agencyFormattedValue?: string | null | undefined;
|
|
56
|
+
agencyContactFormattedValue?: string | null | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
agencyValue?: string | null | undefined;
|
|
59
|
+
agencyContactValue?: string | null | undefined;
|
|
60
|
+
agencyFormattedValue?: string | null | undefined;
|
|
61
|
+
agencyContactFormattedValue?: string | null | undefined;
|
|
62
|
+
}>>;
|
|
63
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
64
|
+
agency?: {
|
|
65
|
+
agencyValue?: string | null | undefined;
|
|
66
|
+
agencyContactValue?: string | null | undefined;
|
|
67
|
+
agencyFormattedValue?: string | null | undefined;
|
|
68
|
+
agencyContactFormattedValue?: string | null | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
assignment?: {
|
|
71
|
+
solution?: any;
|
|
72
|
+
jobType?: number | null | undefined;
|
|
73
|
+
startDate?: string | null | undefined;
|
|
74
|
+
endDate?: string | null | undefined;
|
|
75
|
+
workCountry?: any;
|
|
76
|
+
} | undefined;
|
|
77
|
+
name?: string | null | undefined;
|
|
78
|
+
referralId?: string | undefined;
|
|
79
|
+
progress?: {
|
|
80
|
+
stage?: number | null | undefined;
|
|
81
|
+
stageReason?: number | null | undefined;
|
|
82
|
+
reportingStatus?: number | null | undefined;
|
|
83
|
+
} | undefined;
|
|
84
|
+
contractor?: {
|
|
85
|
+
contractorValue?: string | null | undefined;
|
|
86
|
+
contractorFormattedValue?: string | null | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
}, {
|
|
89
|
+
agency?: {
|
|
90
|
+
agencyValue?: string | null | undefined;
|
|
91
|
+
agencyContactValue?: string | null | undefined;
|
|
92
|
+
agencyFormattedValue?: string | null | undefined;
|
|
93
|
+
agencyContactFormattedValue?: string | null | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
assignment?: {
|
|
96
|
+
solution?: any;
|
|
97
|
+
jobType?: number | null | undefined;
|
|
98
|
+
startDate?: string | null | undefined;
|
|
99
|
+
endDate?: string | null | undefined;
|
|
100
|
+
workCountry?: any;
|
|
101
|
+
} | undefined;
|
|
102
|
+
name?: string | null | undefined;
|
|
103
|
+
referralId?: string | undefined;
|
|
104
|
+
progress?: {
|
|
105
|
+
stage?: number | null | undefined;
|
|
106
|
+
stageReason?: number | null | undefined;
|
|
107
|
+
reportingStatus?: number | null | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
contractor?: {
|
|
110
|
+
contractorValue?: string | null | undefined;
|
|
111
|
+
contractorFormattedValue?: string | null | undefined;
|
|
112
|
+
} | undefined;
|
|
113
|
+
}>;
|
|
114
|
+
export declare const SGetReferralSummaryBFF: z.ZodEffects<z.ZodObject<{
|
|
115
|
+
readonly referralId: z.ZodOptional<z.ZodString>;
|
|
116
|
+
readonly name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
117
|
+
readonly progress: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
readonly stage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
119
|
+
readonly stageReason: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
120
|
+
readonly reportingStatus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
121
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
122
|
+
stage?: number | null | undefined;
|
|
123
|
+
stageReason?: number | null | undefined;
|
|
124
|
+
reportingStatus?: number | null | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
stage?: number | null | undefined;
|
|
127
|
+
stageReason?: number | null | undefined;
|
|
128
|
+
reportingStatus?: number | null | undefined;
|
|
129
|
+
}>>;
|
|
130
|
+
readonly contractor: z.ZodOptional<z.ZodObject<{
|
|
131
|
+
readonly contractorValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
|
+
readonly contractorFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
134
|
+
contractorValue?: string | null | undefined;
|
|
135
|
+
contractorFormattedValue?: string | null | undefined;
|
|
136
|
+
}, {
|
|
137
|
+
contractorValue?: string | null | undefined;
|
|
138
|
+
contractorFormattedValue?: string | null | undefined;
|
|
139
|
+
}>>;
|
|
140
|
+
readonly assignment: z.ZodOptional<z.ZodObject<{
|
|
141
|
+
readonly jobType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
142
|
+
readonly startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
143
|
+
readonly endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
144
|
+
readonly workCountry: z.ZodTypeAny;
|
|
145
|
+
readonly solution: z.ZodTypeAny;
|
|
146
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
147
|
+
solution?: any;
|
|
148
|
+
jobType?: number | null | undefined;
|
|
149
|
+
startDate?: string | null | undefined;
|
|
150
|
+
endDate?: string | null | undefined;
|
|
151
|
+
workCountry?: any;
|
|
152
|
+
}, {
|
|
153
|
+
solution?: any;
|
|
154
|
+
jobType?: number | null | undefined;
|
|
155
|
+
startDate?: string | null | undefined;
|
|
156
|
+
endDate?: string | null | undefined;
|
|
157
|
+
workCountry?: any;
|
|
158
|
+
}>>;
|
|
159
|
+
readonly agency: z.ZodOptional<z.ZodObject<{
|
|
160
|
+
readonly agencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
161
|
+
readonly agencyContactValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
|
+
readonly agencyFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
|
+
readonly agencyContactFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
164
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
165
|
+
agencyValue?: string | null | undefined;
|
|
166
|
+
agencyContactValue?: string | null | undefined;
|
|
167
|
+
agencyFormattedValue?: string | null | undefined;
|
|
168
|
+
agencyContactFormattedValue?: string | null | undefined;
|
|
169
|
+
}, {
|
|
170
|
+
agencyValue?: string | null | undefined;
|
|
171
|
+
agencyContactValue?: string | null | undefined;
|
|
172
|
+
agencyFormattedValue?: string | null | undefined;
|
|
173
|
+
agencyContactFormattedValue?: string | null | undefined;
|
|
174
|
+
}>>;
|
|
175
|
+
} & {
|
|
176
|
+
type: z.ZodCatch<z.ZodLiteral<"referral">>;
|
|
177
|
+
stageReasonLastChangedAt: z.ZodCatch<z.ZodNullable<z.ZodString>>;
|
|
178
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
179
|
+
type: "referral";
|
|
180
|
+
stageReasonLastChangedAt: string | null;
|
|
181
|
+
agency?: {
|
|
182
|
+
agencyValue?: string | null | undefined;
|
|
183
|
+
agencyContactValue?: string | null | undefined;
|
|
184
|
+
agencyFormattedValue?: string | null | undefined;
|
|
185
|
+
agencyContactFormattedValue?: string | null | undefined;
|
|
186
|
+
} | undefined;
|
|
187
|
+
assignment?: {
|
|
188
|
+
solution?: any;
|
|
189
|
+
jobType?: number | null | undefined;
|
|
190
|
+
startDate?: string | null | undefined;
|
|
191
|
+
endDate?: string | null | undefined;
|
|
192
|
+
workCountry?: any;
|
|
193
|
+
} | undefined;
|
|
194
|
+
name?: string | null | undefined;
|
|
195
|
+
referralId?: string | undefined;
|
|
196
|
+
progress?: {
|
|
197
|
+
stage?: number | null | undefined;
|
|
198
|
+
stageReason?: number | null | undefined;
|
|
199
|
+
reportingStatus?: number | null | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
contractor?: {
|
|
202
|
+
contractorValue?: string | null | undefined;
|
|
203
|
+
contractorFormattedValue?: string | null | undefined;
|
|
204
|
+
} | undefined;
|
|
205
|
+
}, {
|
|
206
|
+
agency?: {
|
|
207
|
+
agencyValue?: string | null | undefined;
|
|
208
|
+
agencyContactValue?: string | null | undefined;
|
|
209
|
+
agencyFormattedValue?: string | null | undefined;
|
|
210
|
+
agencyContactFormattedValue?: string | null | undefined;
|
|
211
|
+
} | undefined;
|
|
212
|
+
type?: unknown;
|
|
213
|
+
assignment?: {
|
|
214
|
+
solution?: any;
|
|
215
|
+
jobType?: number | null | undefined;
|
|
216
|
+
startDate?: string | null | undefined;
|
|
217
|
+
endDate?: string | null | undefined;
|
|
218
|
+
workCountry?: any;
|
|
219
|
+
} | undefined;
|
|
220
|
+
name?: string | null | undefined;
|
|
221
|
+
referralId?: string | undefined;
|
|
222
|
+
progress?: {
|
|
223
|
+
stage?: number | null | undefined;
|
|
224
|
+
stageReason?: number | null | undefined;
|
|
225
|
+
reportingStatus?: number | null | undefined;
|
|
226
|
+
} | undefined;
|
|
227
|
+
contractor?: {
|
|
228
|
+
contractorValue?: string | null | undefined;
|
|
229
|
+
contractorFormattedValue?: string | null | undefined;
|
|
230
|
+
} | undefined;
|
|
231
|
+
stageReasonLastChangedAt?: unknown;
|
|
232
|
+
}>, {
|
|
233
|
+
statusDetails: {
|
|
234
|
+
isTaggedStatus: boolean;
|
|
235
|
+
isChangeRequest: boolean;
|
|
236
|
+
isEndingSoon: boolean;
|
|
237
|
+
displayKey: import("../../../types/Stages.js").TStageDisplayTextKey;
|
|
238
|
+
progressedToStatusGroupDate: undefined;
|
|
239
|
+
status: import("../../../types/Statuses.js").TStatusGroup;
|
|
240
|
+
statusAgency?: never;
|
|
241
|
+
statusWorker?: never;
|
|
242
|
+
} | {
|
|
243
|
+
isTaggedStatus: boolean;
|
|
244
|
+
isChangeRequest: boolean;
|
|
245
|
+
isEndingSoon: boolean;
|
|
246
|
+
displayKey: import("../../../types/Stages.js").TStageDisplayTextKey;
|
|
247
|
+
progressedToStatusGroupDate: undefined;
|
|
248
|
+
statusAgency: import("../../../types/Statuses.js").TStatusGroup;
|
|
249
|
+
statusWorker: import("../../../types/Statuses.js").TStatusGroup;
|
|
250
|
+
status?: never;
|
|
251
|
+
};
|
|
252
|
+
type: "referral";
|
|
253
|
+
stageReasonLastChangedAt: string | null;
|
|
254
|
+
agency?: {
|
|
255
|
+
agencyValue?: string | null | undefined;
|
|
256
|
+
agencyContactValue?: string | null | undefined;
|
|
257
|
+
agencyFormattedValue?: string | null | undefined;
|
|
258
|
+
agencyContactFormattedValue?: string | null | undefined;
|
|
259
|
+
} | undefined;
|
|
260
|
+
assignment?: {
|
|
261
|
+
solution?: any;
|
|
262
|
+
jobType?: number | null | undefined;
|
|
263
|
+
startDate?: string | null | undefined;
|
|
264
|
+
endDate?: string | null | undefined;
|
|
265
|
+
workCountry?: any;
|
|
266
|
+
} | undefined;
|
|
267
|
+
name?: string | null | undefined;
|
|
268
|
+
referralId?: string | undefined;
|
|
269
|
+
progress?: {
|
|
270
|
+
stage?: number | null | undefined;
|
|
271
|
+
stageReason?: number | null | undefined;
|
|
272
|
+
reportingStatus?: number | null | undefined;
|
|
273
|
+
} | undefined;
|
|
274
|
+
contractor?: {
|
|
275
|
+
contractorValue?: string | null | undefined;
|
|
276
|
+
contractorFormattedValue?: string | null | undefined;
|
|
277
|
+
} | undefined;
|
|
278
|
+
}, {
|
|
279
|
+
agency?: {
|
|
280
|
+
agencyValue?: string | null | undefined;
|
|
281
|
+
agencyContactValue?: string | null | undefined;
|
|
282
|
+
agencyFormattedValue?: string | null | undefined;
|
|
283
|
+
agencyContactFormattedValue?: string | null | undefined;
|
|
284
|
+
} | undefined;
|
|
285
|
+
type?: unknown;
|
|
286
|
+
assignment?: {
|
|
287
|
+
solution?: any;
|
|
288
|
+
jobType?: number | null | undefined;
|
|
289
|
+
startDate?: string | null | undefined;
|
|
290
|
+
endDate?: string | null | undefined;
|
|
291
|
+
workCountry?: any;
|
|
292
|
+
} | undefined;
|
|
293
|
+
name?: string | null | undefined;
|
|
294
|
+
referralId?: string | undefined;
|
|
295
|
+
progress?: {
|
|
296
|
+
stage?: number | null | undefined;
|
|
297
|
+
stageReason?: number | null | undefined;
|
|
298
|
+
reportingStatus?: number | null | undefined;
|
|
299
|
+
} | undefined;
|
|
300
|
+
contractor?: {
|
|
301
|
+
contractorValue?: string | null | undefined;
|
|
302
|
+
contractorFormattedValue?: string | null | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
stageReasonLastChangedAt?: unknown;
|
|
305
|
+
}>;
|
|
306
|
+
//# sourceMappingURL=SGetReferralsSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SGetReferralsSummary.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/referralsSummary/SGetReferralsSummary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AASvB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBf,CAAA;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQjC,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { createPrettySchema, pickPrettyFields, } from '../../api/_entityTools/SchemasEntityTools.js';
|
|
3
|
+
import { referralFields } from '../../api/referral/DReferralAPI.js';
|
|
4
|
+
import { referralStatusDetails } from '../helpers/ReferralHelper.js';
|
|
5
|
+
export const SReferralBase = createPrettySchema(pickPrettyFields(referralFields, [
|
|
6
|
+
'referralId',
|
|
7
|
+
'name',
|
|
8
|
+
'agency/agencyValue',
|
|
9
|
+
'agency/agencyFormattedValue',
|
|
10
|
+
'agency/agencyContactValue',
|
|
11
|
+
'agency/agencyContactFormattedValue',
|
|
12
|
+
'contractor/contractorValue',
|
|
13
|
+
'contractor/contractorFormattedValue',
|
|
14
|
+
'assignment/workCountry',
|
|
15
|
+
'assignment/solution',
|
|
16
|
+
'progress/stage',
|
|
17
|
+
'progress/stageReason',
|
|
18
|
+
'progress/reportingStatus',
|
|
19
|
+
'assignment/startDate',
|
|
20
|
+
'assignment/endDate',
|
|
21
|
+
'assignment/jobType',
|
|
22
|
+
])).partial();
|
|
23
|
+
export const SGetReferralSummaryBFF = SReferralBase.extend({
|
|
24
|
+
type: z.literal('referral').catch('referral'),
|
|
25
|
+
stageReasonLastChangedAt: z.string().nullable().catch(null),
|
|
26
|
+
}).transform(val => {
|
|
27
|
+
return {
|
|
28
|
+
...val,
|
|
29
|
+
statusDetails: referralStatusDetails(val),
|
|
30
|
+
};
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=SGetReferralsSummary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SGetReferralsSummary.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/referralsSummary/SGetReferralsSummary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;AAGpE,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAC7C,gBAAgB,CAAC,cAAc,EAAE;IAC/B,YAAY;IACZ,MAAM;IACN,oBAAoB;IACpB,6BAA6B;IAC7B,2BAA2B;IAC3B,oCAAoC;IACpC,4BAA4B;IAC5B,qCAAqC;IACrC,wBAAwB;IACxB,qBAAqB;IACrB,gBAAgB;IAChB,sBAAsB;IACtB,0BAA0B;IAC1B,sBAAsB;IACtB,oBAAoB;IACpB,oBAAoB;CACrB,CAAC,CACH,CAAC,OAAO,EAAE,CAAA;AAEX,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,MAAM,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC;IAC7C,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;CAC5D,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE;IACjB,OAAO;QACL,GAAG,GAAG;QACN,aAAa,EAAE,qBAAqB,CAAC,GAA8B,CAAC;KACrE,CAAA;AACH,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/referralsSummary/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/referralsSummary/index.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"name": "@workwell-global/toolkit",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
|
-
"version": "1.1.
|
|
10
|
+
"version": "1.1.14",
|
|
11
11
|
"files": [
|
|
12
12
|
"dist"
|
|
13
13
|
],
|
|
@@ -75,7 +75,8 @@
|
|
|
75
75
|
"test": "vitest run",
|
|
76
76
|
"test:watch": "vitest",
|
|
77
77
|
"test:coverage": "vitest run --coverage",
|
|
78
|
-
"yalc:publish": "npm run build && yalc publish --push"
|
|
78
|
+
"yalc:publish": "npm run build && yalc publish --push",
|
|
79
|
+
"yalc:push": "rm -rf dist && npm run build && yalc push --force"
|
|
79
80
|
},
|
|
80
81
|
"exports": {
|
|
81
82
|
".": {
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import z from 'zod';
|
|
2
|
-
export declare const SEngagementQueryParams: z.ZodEffects<z.ZodType<URLSearchParams, z.ZodTypeDef, URLSearchParams>, {
|
|
3
|
-
filter: string;
|
|
4
|
-
id: string;
|
|
5
|
-
includeChildren: boolean;
|
|
6
|
-
} | undefined, URLSearchParams>;
|
|
7
|
-
//# sourceMappingURL=TEngagementAPI.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TEngagementAPI.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/engagement/TEngagementAPI.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAEnB,eAAO,MAAM,sBAAsB;;;;+BAa/B,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import z from 'zod';
|
|
2
|
-
export const SEngagementQueryParams = z
|
|
3
|
-
.instanceof(URLSearchParams)
|
|
4
|
-
.transform(params => {
|
|
5
|
-
const agentId = params.get('agent');
|
|
6
|
-
const agencyId = params.get('agency');
|
|
7
|
-
if (!agentId && !agencyId)
|
|
8
|
-
return undefined;
|
|
9
|
-
return {
|
|
10
|
-
filter: agentId ? 'agent' : 'agency',
|
|
11
|
-
id: agentId ?? agencyId ?? '',
|
|
12
|
-
includeChildren: params.get('includeChildren') === 'true',
|
|
13
|
-
};
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=TEngagementAPI.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TEngagementAPI.js","sourceRoot":"","sources":["../../../../../src/models/schemas/api/engagement/TEngagementAPI.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAEnB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,UAAU,CAAC,eAAe,CAAC;KAC3B,SAAS,CAAC,MAAM,CAAC,EAAE;IAClB,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;IACnC,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;IAErC,IAAI,CAAC,OAAO,IAAI,CAAC,QAAQ;QAAE,OAAO,SAAS,CAAA;IAE3C,OAAO;QACL,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ;QACpC,EAAE,EAAE,OAAO,IAAI,QAAQ,IAAI,EAAE;QAC7B,eAAe,EAAE,MAAM,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,MAAM;KAC1D,CAAA;AACH,CAAC,CAAC,CAAA"}
|