@hmcts/ccd-case-ui-toolkit 7.3.54-unused-package → 7.3.54

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
@@ -4127,13 +4127,17 @@ interface Caseworker {
4127
4127
  roleCategory: string;
4128
4128
  service?: string;
4129
4129
  }
4130
+ interface CaseworkersByService {
4131
+ service: string;
4132
+ caseworkers: Caseworker[];
4133
+ }
4130
4134
 
4131
4135
  declare class CaseworkerService {
4132
4136
  private readonly http;
4133
4137
  private readonly appConfig;
4134
4138
  private readonly errorService;
4135
4139
  constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
4136
- getUserByIdamId(idamId: string): Observable<Caseworker>;
4140
+ getCaseworkers(serviceId: any): Observable<CaseworkersByService[]>;
4137
4141
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseworkerService, never>;
4138
4142
  static ɵprov: i0.ɵɵInjectableDeclaration<CaseworkerService>;
4139
4143
  }