X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fsrc%2Fcomposables%2FUIClient.ts;h=ce459f1b253504abbb478fa54b5aef5544646a22;hb=f8696170fe4343a6fef450a6f0d4a47daccbcee0;hp=c5f20ce09b2fb83d376a8cd2eddb736350a3abe5;hpb=6b0e43dd6099bbf587103c8f67ef4da319fa9b57;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/composables/UIClient.ts b/ui/web/src/composables/UIClient.ts index c5f20ce0..ce459f1b 100644 --- a/ui/web/src/composables/UIClient.ts +++ b/ui/web/src/composables/UIClient.ts @@ -67,6 +67,13 @@ export class UIClient { return this.sendRequest(ProcedureName.DELETE_CHARGING_STATIONS, { hashIds: [hashId] }) } + public async setSupervisionUrl(hashId: string, supervisionUrl: string): Promise { + return this.sendRequest(ProcedureName.SET_SUPERVISION_URL, { + hashIds: [hashId], + url: supervisionUrl + }) + } + public async startChargingStation(hashId: string): Promise { return this.sendRequest(ProcedureName.START_CHARGING_STATION, { hashIds: [hashId] }) }