-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.ts
More file actions
43 lines (35 loc) · 1.55 KB
/
Copy pathclient.ts
File metadata and controls
43 lines (35 loc) · 1.55 KB
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
41
42
43
/*
person
The Person REST APIs enable you to access information about the worker person, including country-specific configuration information about name components.
The version of the OpenAPI document: v4
NOTE: This file is auto generated by Konfig (https://konfigthis.com).
*/
import { AxiosRequestConfig } from "axios";
import {
PromptValuesApi,
CountriesApi,
HomeContactInformationChangesApi,
PeopleApi,
PhoneValidationApi,
WorkContactInformationChangesApi,
} from "./api";
import { Configuration, ConfigurationParameters } from "./configuration";
import { WorkdayPersonCustom } from "./client-custom";
export class WorkdayPerson extends WorkdayPersonCustom {
readonly promptValues: PromptValuesApi;
readonly countries: CountriesApi;
readonly homeContactInformationChanges: HomeContactInformationChangesApi;
readonly people: PeopleApi;
readonly phoneValidation: PhoneValidationApi;
readonly workContactInformationChanges: WorkContactInformationChangesApi;
constructor(configurationParameters: ConfigurationParameters = {}) {
super(configurationParameters);
const configuration = new Configuration(configurationParameters);
this.promptValues = new PromptValuesApi(configuration);
this.countries = new CountriesApi(configuration);
this.homeContactInformationChanges = new HomeContactInformationChangesApi(configuration);
this.people = new PeopleApi(configuration);
this.phoneValidation = new PhoneValidationApi(configuration);
this.workContactInformationChanges = new WorkContactInformationChangesApi(configuration);
}
}