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

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,13 +4105,17 @@ interface Caseworker {
4105
4105
  roleCategory: string;
4106
4106
  service?: string;
4107
4107
  }
4108
+ interface CaseworkersByService {
4109
+ service: string;
4110
+ caseworkers: Caseworker[];
4111
+ }
4108
4112
 
4109
4113
  declare class CaseworkerService {
4110
4114
  private readonly http;
4111
4115
  private readonly appConfig;
4112
4116
  private readonly errorService;
4113
4117
  constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
4114
- getUserByIdamId(idamId: string): Observable<Caseworker>;
4118
+ getCaseworkers(serviceId: any): Observable<CaseworkersByService[]>;
4115
4119
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseworkerService, never>;
4116
4120
  static ɵprov: i0.ɵɵInjectableDeclaration<CaseworkerService>;
4117
4121
  }