AU Payroll: New 'REQUESTED' and 'REJECTED' values are missing from the LeavePeriodStatus type
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 停滯
- 技術堆疊
- nodejs, typescript
- 領域
- api
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- TypeScript
- 星號
- 264
- 分支
- 177
- 平均合併
- 10 小時 5 分鐘
- 30 天內合併 PR
- 5
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
XeroAPI/xero-node 的其他 Issue
-
`getClientCredentialsToken()` sends `scopes` (comma-joined) instead of the OAuth `scope` parameter未關閉
難度 2/5 1-3 小時 新手友好度 82/100
-
難度 3/5 半天 新手友好度 55/100
-
TrackingOptionId value missing from accountingApi.getInvoices()可能已有人在做 @miachillgood 於 152 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 18/100
-
BankTransaction type is missing the batchPayment object.可能已有人在做 @miachillgood 於 171 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 22/100
-
難度 3/5 1-2 天 新手友好度 25/100
查看 XeroAPI/xero-node 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
super-productivity/super-productivity#12128 · 2 則留言 ·
維護者通常 1 天內回覆
-
A docs change can fail pnpm check, because outreach lint and gen:types both write .astro/ at once可能已有人在做 @2389400626lh-ops 今天認領。 未關閉Area: Infrastructure Area: Outreach Bug Difficulty: Low Good First Issue Priority: Low
難度 2/5 1-3 小時 新手友好度 78/100
DouglasNeuroInformatics/OpenDataCapture#1956 ·
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 77/100
維護者通常 1 天內回覆
-
難度 1/5 1-3 小時 新手友好度 72/100
justyns/silverbullet-ai#199 ·
-
bug
難度 2/5 1-3 小時 新手友好度 83/100
spartan-ng/spartan#1931 ·
維護者通常 2 天內回覆