AU Payroll: New 'REQUESTED' and 'REJECTED' values are missing from the LeavePeriodStatus type
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- nodejs, typescript
- Ambito
- api
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 264
- Fork
- 177
- Merge medio
- 10h 5m
- PR unite (30g)
- 5
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di XeroAPI/xero-node
-
`getClientCredentialsToken()` sends `scopes` (comma-joined) instead of the OAuth `scope` parameterAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 55/100
-
TrackingOptionId value missing from accountingApi.getInvoices()Forse già presa @miachillgood l’ha presa 152 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 18/100
-
BankTransaction type is missing the batchPayment object.Forse già presa @miachillgood l’ha presa 171 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 22/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
Tutte le issue di XeroAPI/xero-node
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
super-productivity/super-productivity#12128 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
A docs change can fail pnpm check, because outreach lint and gen:types both write .astro/ at onceForse già presa @2389400626lh-ops l’ha presa oggi. ApertaArea: Infrastructure Area: Outreach Bug Difficulty: Low Good First Issue Priority: Low
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DouglasNeuroInformatics/OpenDataCapture#1956 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
justyns/silverbullet-ai#199 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
spartan-ng/spartan#1931 ·
I maintainer di solito rispondono entro 2 giorni