AU Payroll: New 'REQUESTED' and 'REJECTED' values are missing from the LeavePeriodStatus type
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Estagnada
- Stack de tecnologia
- nodejs, typescript
- Domínio
- api
Direção de pesquisa
Start with the LeavePeriodStatus enum in the generated payrollAU model files under the xero-node source, and check whether the repository header says these files come from XeroAPI/Xero-OpenAPI. If they do, the fix probably belongs in the spec, so look for the upstream leave period status enum before editing generated code. Done means the enum includes REQUESTED and REJECTED and the project still compiles.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- TypeScript
- Estrelas
- 264
- Forks
- 177
- Merge médio
- 10h 5min
- PRs com merge (30d)
- 5
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de XeroAPI/xero-node
-
`getClientCredentialsToken()` sends `scopes` (comma-joined) instead of the OAuth `scope` parameterAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
Dificuldade 3/5 Meio dia Facilidade para iniciantes 55/100
-
TrackingOptionId value missing from accountingApi.getInvoices()Talvez já em andamento @miachillgood assumiu há 152 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 18/100
-
BankTransaction type is missing the batchPayment object.Talvez já em andamento @miachillgood assumiu há 171 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 22/100
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 25/100
Todas as issues de XeroAPI/xero-node
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
super-productivity/super-productivity#12128 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
A docs change can fail pnpm check, because outreach lint and gen:types both write .astro/ at onceTalvez já em andamento @2389400626lh-ops assumiu hoje. AbertaArea: Infrastructure Area: Outreach Bug Difficulty: Low Good First Issue Priority: Low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
DouglasNeuroInformatics/OpenDataCapture#1956 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 72/100
justyns/silverbullet-ai#199 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
spartan-ng/spartan#1931 ·
Mantenedores costumam responder em até 2 dias