From 5ec7174766f7141c12b61a9b297adca943b4e649 Mon Sep 17 00:00:00 2001 From: qijieye Date: Wed, 4 Feb 2026 15:41:36 +0100 Subject: [PATCH 1/2] add download rebate destination endpoint --- Client/Beneficiaries/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Client/Beneficiaries/index.ts b/Client/Beneficiaries/index.ts index b3a2c64b..f648949e 100644 --- a/Client/Beneficiaries/index.ts +++ b/Client/Beneficiaries/index.ts @@ -52,6 +52,9 @@ export class Beneficiaries extends List { otp ? { "x-otp": otp } : {} ) } + async downloadRebateBeneficiaryFile(beneficiaryId: string) { + return await this.connection.get(`${this.folder}/rebate/download`) + } async delete(beneficiaryId: string) { return await this.connection.remove(`${this.folder}/${beneficiaryId}`) } From 7e8574b501d2f605ede282963a995cd226d0aee4 Mon Sep 17 00:00:00 2001 From: qijieye Date: Wed, 4 Feb 2026 15:42:19 +0100 Subject: [PATCH 2/2] update --- Client/Beneficiaries/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/Beneficiaries/index.ts b/Client/Beneficiaries/index.ts index f648949e..e0d53c42 100644 --- a/Client/Beneficiaries/index.ts +++ b/Client/Beneficiaries/index.ts @@ -52,7 +52,7 @@ export class Beneficiaries extends List { otp ? { "x-otp": otp } : {} ) } - async downloadRebateBeneficiaryFile(beneficiaryId: string) { + async downloadRebateBeneficiaryFile() { return await this.connection.get(`${this.folder}/rebate/download`) } async delete(beneficiaryId: string) {