File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -638,6 +638,7 @@ describe('Management User', () => {
638638 middleName : 'name2' ,
639639 familyName : 'name3' ,
640640 roles : [ 'r1' , 'r2' ] ,
641+ additionalIdentifiers : [ 'id-1' , 'id-2' ] ,
641642 } ) ;
642643
643644 expect ( mockHttpClient . patch ) . toHaveBeenCalledWith ( apiPaths . user . patch , {
@@ -648,6 +649,7 @@ describe('Management User', () => {
648649 middleName : 'name2' ,
649650 familyName : 'name3' ,
650651 roleNames : [ 'r1' , 'r2' ] ,
652+ additionalIdentifiers : [ 'id-1' , 'id-2' ] ,
651653 } ) ;
652654
653655 expect ( resp ) . toEqual ( {
@@ -703,6 +705,7 @@ describe('Management User', () => {
703705 email : 'user1@example.com' ,
704706 displayName : 'User One' ,
705707 roles : [ 'role1' ] ,
708+ additionalIdentifiers : [ 'id1' , 'id2' ] ,
706709 } ,
707710 {
708711 loginIdOrUserId : 'user2' ,
@@ -722,6 +725,7 @@ describe('Management User', () => {
722725 email : 'user1@example.com' ,
723726 displayName : 'User One' ,
724727 roleNames : [ 'role1' ] ,
728+ additionalIdentifiers : [ 'id1' , 'id2' ] ,
725729 } ,
726730 {
727731 loginId : 'user2' ,
Original file line number Diff line number Diff line change @@ -440,6 +440,9 @@ const withUser = (httpClient: HttpClient) => {
440440 if ( options . status !== undefined ) {
441441 body . status = options . status ;
442442 }
443+ if ( options . additionalIdentifiers !== undefined ) {
444+ body . additionalIdentifiers = options . additionalIdentifiers ;
445+ }
443446
444447 return body ;
445448 }
@@ -1082,6 +1085,7 @@ export interface PatchUserOptions {
10821085 ssoAppIds ?: string [ ] ;
10831086 scim ?: boolean ;
10841087 status ?: UserStatus ;
1088+ additionalIdentifiers ?: string [ ] ;
10851089}
10861090
10871091/** User options for batch patch operations, identifying the user by loginIdOrUserId or loginId */
You can’t perform that action at this time.
0 commit comments