Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AU Payroll: New 'REQUESTED' and 'REJECTED' values are missing from the LeavePeriodStatus type #643

Open
haydn opened this issue Jul 5, 2023 · 2 comments

Comments

@haydn
Copy link

haydn commented Jul 5, 2023

SDK:

  • Version 4.35.0

Describe the bug

Looks like the provided type for the LeavePeriodStatus status is missing the recently added REQUESTED and REJECTED values:

export declare enum LeavePeriodStatus {
    SCHEDULED,
    PROCESSED
}

To Reproduce

The body of the response from xero.payrollAUApi.getLeaveApplicationsV2() is typed as LeaveApplications, which contains LeaveApplication, which have LeavePeriod with a leavePeriodStatus field that's typed as LeavePeriodStatus.

Expected behavior

Should be this:

export declare enum LeavePeriodStatus {
    REQUESTED,
    REJECTED,
    SCHEDULED,
    PROCESSED
}

Screenshots

N/A

Additional context

N/A

@github-actions
Copy link

github-actions bot commented Jul 5, 2023

PETOSS-312

@github-actions
Copy link

github-actions bot commented Jul 5, 2023

Thanks for raising an issue, a ticket has been created to track your request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant