Hourly Salary Period Addition
We have added support for hourly salary period on HAPI Backend & HAPI Elements.
HAPI Backend additions
The postingDetails.salaryIndication.period now also accepts hourly value as can be seen on 'PostingSalaryIndication' object and the 'Order a new Campaign' documentation.
HAPI Elements additions
UI/UX changes
The HTML Select of the Salary Indication Period in the Posting Details step of the Order Journey now has the option added with the below values:
| Key | "en" value | "de" value | "nl" value | 
|---|---|---|---|
| common.range.hourly | hourly | stündlich | uurlijks | 
Validation submodule changes
The validator has been updated to allow use of hourly value:
window.hapi.campaign.validation.postingDetailsSalaryIndication.parse({
    period: "hourly",
    range: {
        from: 10,
        to: 20
    }
})
The above validation is used inside the campaignForm and that means you can also set hourly period in the campaignForm as such:
window.hapi.campaign.state.campaignForm = window.hapiUtils.mergeDeepOverwriteArrays(
    window.hapi.campaign.state.campaignForm.value,
    {
        postingDetails: {
            salaryIndication: {
                period: "hourly",
                range: {
                    from: 10,
                    to: 20
                }
            }
        }
    }
)
Utils submodule changes
The utils submodule of campaign module has had the enum object added and can be used as:
window.hapi.campaign.utils.salaryIndicationPeriodKeys.hourly // hourly
Typescript package changes
The types package has been published with version