@hmcts/ccd-case-ui-toolkit 7.3.68-user-by-idam-rework → 7.3.69-inconsistent-validation-error-message
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
|
@@ -4173,16 +4173,20 @@ interface Caseworker {
|
|
|
4173
4173
|
idamId: string;
|
|
4174
4174
|
email: string;
|
|
4175
4175
|
location: Location;
|
|
4176
|
-
|
|
4176
|
+
roleCategory: string;
|
|
4177
4177
|
service?: string;
|
|
4178
4178
|
}
|
|
4179
|
+
interface CaseworkersByService {
|
|
4180
|
+
service: string;
|
|
4181
|
+
caseworkers: Caseworker[];
|
|
4182
|
+
}
|
|
4179
4183
|
|
|
4180
4184
|
declare class CaseworkerService {
|
|
4181
4185
|
private readonly http;
|
|
4182
4186
|
private readonly appConfig;
|
|
4183
4187
|
private readonly errorService;
|
|
4184
4188
|
constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
|
|
4185
|
-
|
|
4189
|
+
getCaseworkers(serviceId: any): Observable<CaseworkersByService[]>;
|
|
4186
4190
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseworkerService, never>;
|
|
4187
4191
|
static ɵprov: i0.ɵɵInjectableDeclaration<CaseworkerService>;
|
|
4188
4192
|
}
|
|
@@ -6648,8 +6652,8 @@ declare class CaseAccessUtils {
|
|
|
6648
6652
|
static readonly CTSC_ROLE = "ctsc";
|
|
6649
6653
|
static readonly CTSC_ROLE_CATEGORY = "CTSC";
|
|
6650
6654
|
static readonly CTSC_ROLE_NAME = "ctsc";
|
|
6651
|
-
|
|
6652
|
-
roleOrCategoryExists(roleKeyword: string, roleKeywords: string[]): boolean;
|
|
6655
|
+
getMappedRoleCategory(roles?: string[], roleCategories?: string[]): RoleCategory;
|
|
6656
|
+
roleOrCategoryExists(roleKeyword: string, roleCategory: string, roleKeywords: string[], roleCategories: string[]): boolean;
|
|
6653
6657
|
getAMRoleName(accessType: string, aMRole: RoleCategory): string;
|
|
6654
6658
|
getAMPayload(assignerId: string, actorId: string, roleName: string, roleCategory: RoleCategory, grantType: RoleGrantTypeCategory, caseId: string, details: ChallengedAccessRequest | SpecificAccessRequest, beginTime?: Date, endTime?: Date, isNew?: boolean): RoleRequestPayload;
|
|
6655
6659
|
}
|