feat(EnvelopeReceiverService): Methode getReceiverByEnvelope hinzugefügt, um Empfänger nach Umschlag-UUID abzurufen
This commit is contained in:
parent
cb0a45bc17
commit
cfa40e640b
@ -30,4 +30,15 @@ export class EnvelopeReceiverService {
|
|||||||
getEnvelopeReceiverAsync(options?: { min_status?: number; max_status?: number; ignore_status?: number[] }): Promise<any> {
|
getEnvelopeReceiverAsync(options?: { min_status?: number; max_status?: number; ignore_status?: number[] }): Promise<any> {
|
||||||
return firstValueFrom(this.getEnvelopeReceiver(options));
|
return firstValueFrom(this.getEnvelopeReceiver(options));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getReceiverByEnvelope(uuid: string): Observable<any> {
|
||||||
|
let params = new HttpParams();
|
||||||
|
params = params.set('uuid', uuid);
|
||||||
|
|
||||||
|
return this.http.get<any>(`${this.url}/receiver`, { params });
|
||||||
|
}
|
||||||
|
|
||||||
|
getReceiverByEnvelopAsync(uuid: string): Promise<any> {
|
||||||
|
return firstValueFrom(this.getReceiverByEnvelope(uuid));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user