@hmcts/ccd-case-ui-toolkit 7.3.45-cve-fix → 7.3.45-user-by-idam

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -4105,17 +4105,13 @@ interface Caseworker {
4105
4105
  roleCategory: string;
4106
4106
  service?: string;
4107
4107
  }
4108
- interface CaseworkersByService {
4109
- service: string;
4110
- caseworkers: Caseworker[];
4111
- }
4112
4108
 
4113
4109
  declare class CaseworkerService {
4114
4110
  private readonly http;
4115
4111
  private readonly appConfig;
4116
4112
  private readonly errorService;
4117
4113
  constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
4118
- getCaseworkers(serviceId: any): Observable<CaseworkersByService[]>;
4114
+ getUserByIdamId(idamId: string): Observable<Caseworker>;
4119
4115
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseworkerService, never>;
4120
4116
  static ɵprov: i0.ɵɵInjectableDeclaration<CaseworkerService>;
4121
4117
  }