-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
1,734 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
export type Announcement = { | ||
message: string, | ||
start: string, | ||
end: string, | ||
state: string | ||
}; | ||
|
||
export type Announcements = { | ||
resultCode: string, | ||
announcements: Announcement[] | ||
}; | ||
|
||
export type GroupingResult = { | ||
resultCode: string, | ||
groupPath: string | ||
}; | ||
|
||
export type MemberResult = { | ||
uid: string, | ||
uhUuid: string, | ||
name: string, | ||
firstName: string, | ||
lastName: string | ||
}; | ||
|
||
export type GroupingPath = { | ||
path: string, | ||
name: string, | ||
description: string | ||
}; | ||
|
||
export type GroupingPaths = { | ||
resultCode: string, | ||
groupingPaths: GroupingPath[] | ||
} | ||
|
||
export type Membership = { | ||
inBasis: boolean, | ||
inInclude: boolean, | ||
inExclude: boolean, | ||
inOwner: boolean, | ||
inBasisAndInclude: boolean, | ||
optOutEnabled: boolean, | ||
optInEnabled: boolean, | ||
selfOpted: boolean | ||
} & GroupingPath | ||
|
||
export type MembershipResults = { | ||
resultCode: string, | ||
results: Membership[] | ||
} | ||
|
||
export type GroupingMember = { | ||
whereListed: string | ||
} & MemberResult; | ||
|
||
export type GroupingMembers = { | ||
members: GroupingMember[] | ||
}; | ||
|
||
export type GroupingGroupMember = { | ||
resultCode: string | ||
} & MemberResult; | ||
|
||
export type GroupingGroupMembers = { | ||
members: GroupingGroupMember[] | ||
} & GroupingResult; | ||
|
||
export type GroupingGroupsMembers = { | ||
groupsMembersList: GroupingGroupMembers[] | ||
isBasis: boolean, | ||
isInclude: boolean, | ||
isExclude: boolean, | ||
isOwners: boolean, | ||
paginationComplete: boolean, | ||
allMembers: GroupingMembers, | ||
pageNumber: number | ||
} & GroupingResult; | ||
|
||
export type GroupingDescription = { | ||
description: string | ||
} & GroupingResult; | ||
|
||
export type GroupingSyncDestination = { | ||
name: string, | ||
description: string, | ||
tooltip: string, | ||
synced: boolean, | ||
hidden: boolean | ||
} | ||
|
||
export type GroupingSyncDestinations = { | ||
resultCode: string, | ||
syncDestinations: GroupingSyncDestination[] | ||
} | ||
|
||
export type GroupingOptAttributes = { | ||
optInOn: boolean, | ||
optOutOn: boolean | ||
} & GroupingResult; | ||
|
||
export type GroupingUpdateDescriptionResult = { | ||
currentDescription: string, | ||
updatedDescription: string | ||
} & GroupingResult; | ||
|
||
export type GroupingAddResult = GroupingResult | MemberResult; | ||
|
||
export type GroupingAddResults = { | ||
results: GroupingAddResult[] | ||
} & GroupingResult | ||
|
||
export type GroupingRemoveResult = GroupingResult | MemberResult; | ||
|
||
export type GroupingRemoveResults = { | ||
results: GroupingRemoveResult[] | ||
} & GroupingResult | ||
|
||
export type GroupingMoveMemberResult = { | ||
addResult: GroupingAddResult, | ||
removeResult: GroupingRemoveResult | ||
} & GroupingResult; | ||
|
||
export type GroupingMoveMembersResult = { | ||
addResults: GroupingAddResults, | ||
removeResults: GroupingRemoveResults | ||
} & GroupingResult; | ||
|
||
export type MemberAttributeResults = { | ||
resultCode: string, | ||
invalid: string[], | ||
result: MemberResult[] | ||
} | ||
|
||
export type ApiSubError = { | ||
message: string | ||
}; | ||
|
||
export type ApiValidationError = { | ||
object: string, | ||
field: string, | ||
rejectedValue: unknown | ||
} & ApiSubError; | ||
|
||
export type ApiError = { | ||
status: string, | ||
timestamp: string, | ||
message: string, | ||
debugMessage: string, | ||
subErrors: ApiValidationError[] | ||
}; |
Oops, something went wrong.