@hmcts/ccd-case-ui-toolkit 7.3.74-multiple-role-categories → 7.3.74
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
|
@@ -4185,7 +4185,7 @@ interface Caseworker {
|
|
|
4185
4185
|
idamId: string;
|
|
4186
4186
|
email: string;
|
|
4187
4187
|
location: Location;
|
|
4188
|
-
|
|
4188
|
+
roleCategory: string;
|
|
4189
4189
|
service?: string;
|
|
4190
4190
|
}
|
|
4191
4191
|
interface CaseworkersByService {
|
|
@@ -4198,7 +4198,7 @@ declare class CaseworkerService {
|
|
|
4198
4198
|
private readonly appConfig;
|
|
4199
4199
|
private readonly errorService;
|
|
4200
4200
|
constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
|
|
4201
|
-
getCaseworkers(serviceId:
|
|
4201
|
+
getCaseworkers(serviceId: any): Observable<CaseworkersByService[]>;
|
|
4202
4202
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseworkerService, never>;
|
|
4203
4203
|
static ɵprov: i0.ɵɵInjectableDeclaration<CaseworkerService>;
|
|
4204
4204
|
}
|
|
@@ -6667,8 +6667,8 @@ declare class CaseAccessUtils {
|
|
|
6667
6667
|
static readonly CTSC_ROLE = "ctsc";
|
|
6668
6668
|
static readonly CTSC_ROLE_CATEGORY = "CTSC";
|
|
6669
6669
|
static readonly CTSC_ROLE_NAME = "ctsc";
|
|
6670
|
-
|
|
6671
|
-
roleOrCategoryExists(roleKeyword: string, roleKeywords: string[]): boolean;
|
|
6670
|
+
getMappedRoleCategory(roles?: string[], roleCategories?: string[]): RoleCategory;
|
|
6671
|
+
roleOrCategoryExists(roleKeyword: string, roleCategory: string, roleKeywords: string[], roleCategories: string[]): boolean;
|
|
6672
6672
|
getAMRoleName(accessType: string, aMRole: RoleCategory): string;
|
|
6673
6673
|
getAMPayload(assignerId: string, actorId: string, roleName: string, roleCategory: RoleCategory, grantType: RoleGrantTypeCategory, caseId: string, details: ChallengedAccessRequest | SpecificAccessRequest, beginTime?: Date, endTime?: Date, isNew?: boolean): RoleRequestPayload;
|
|
6674
6674
|
}
|