-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhrpWS.d.ts
40 lines (40 loc) · 1.3 KB
/
hrpWS.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { BaseWebService } from './common';
export interface UWWorker {
IsFutureDate: boolean;
EmployeeID: string;
EmployeeIDPrior?: string;
NetID: string;
RegID: string;
RepositoryTimeStamp: Date;
DisplayFirstName: string;
DisplayLastName: string;
DisplayMiddleName?: string;
DisplayName: string;
FormattedLegalNameFirstLast: string;
FormattedLegalNameFirstMiddleLast: string;
FormattedLegalNameLastFirstMiddle: string;
FormattedPreferredNameFirstLast: string;
FormattedPreferredNameFirstMiddleLast: string;
FormattedPreferredNameLastFirstMiddle: string;
LegalFirstName: string;
LegalMiddleName: string;
LegalLastName: string;
LegalNameSuffix?: string;
PreferredFirstName: string;
PreferredMiddleName?: string;
PreferredLastName: string;
PreferredNameSuffix?: string;
IsCurrentFaculty: boolean;
WorkdayPersonType: string;
HuskyCardOverride?: boolean;
}
declare class HRPWebService extends BaseWebService {
/**
* Get information for a person via HRPWS.
* @param identifier - The identifer (UWNetID or UWRegID) of the person to lookup
* @returns Data representing a person or null
*/
Get(identifier: string): Promise<UWWorker>;
}
declare const _default: HRPWebService;
export default _default;