Skip to content

Commit

Permalink
Automated update by SDK Generator version:2.9.0 commit:021842f
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 25, 2023
1 parent 08ca57e commit 3547944
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/gen/docs/apis/HrisApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,7 @@ const params = {
type: 'contractor',
sub_type: 'full_time'
},
ethnicity: 'African American',
manager: {
id: '12345',
name: 'Elon Musk',
Expand Down Expand Up @@ -1655,6 +1656,7 @@ const params = {
type: 'contractor',
sub_type: 'full_time'
},
ethnicity: 'African American',
manager: {
id: '12345',
name: 'Elon Musk',
Expand Down
2 changes: 2 additions & 0 deletions src/gen/docs/models/Employee.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Name | Type | Description | Notes
`employee_number` | **string** | An Employee Number, Employee ID or Employee Code, is a unique number that has been assigned to each individual staff member within a company. | [optional]
`employment_status` | [**EmploymentStatus**](EmploymentStatus.md) | | [optional]
`employment_role` | [**EmployeeEmploymentRole**](EmployeeEmploymentRole.md) | | [optional]
`ethnicity` | **string** | The ethnicity of the employee | [optional]
`manager` | [**EmployeeManager**](EmployeeManager.md) | | [optional]
`direct_reports` | **Array<string>** | Direct reports is an array of ids that reflect the individuals in an organizational hierarchy who are directly supervised by this specific employee. | [optional]
`social_security_number` | **string** | A unique identifier assigned by the government. This field is considered sensitive information and may be subject to special security and privacy restrictions. | [optional]
Expand Down Expand Up @@ -114,6 +115,7 @@ Name | Type | Description | Notes

* [`EmploymentStatus`](EmploymentStatus.md)
* [`EmployeeEmploymentRole`](EmployeeEmploymentRole.md)

* [`EmployeeManager`](EmployeeManager.md)


Expand Down
8 changes: 8 additions & 0 deletions src/gen/models/Employee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,12 @@ export interface Employee {
* @memberof Employee
*/
employment_role?: EmployeeEmploymentRole
/**
* The ethnicity of the employee
* @type {string}
* @memberof Employee
*/
ethnicity?: string | null
/**
*
* @type {EmployeeManager}
Expand Down Expand Up @@ -481,6 +487,7 @@ export function EmployeeFromJSONTyped(json: any, ignoreDiscriminator: boolean):
employment_role: !exists(json, 'employment_role')
? undefined
: EmployeeEmploymentRoleFromJSON(json['employment_role']),
ethnicity: !exists(json, 'ethnicity') ? undefined : json['ethnicity'],
manager: !exists(json, 'manager') ? undefined : EmployeeManagerFromJSON(json['manager']),
direct_reports: !exists(json, 'direct_reports') ? undefined : json['direct_reports'],
social_security_number: !exists(json, 'social_security_number')
Expand Down Expand Up @@ -596,6 +603,7 @@ export function EmployeeToJSON(value?: Employee | null): any {
employee_number: value.employee_number,
employment_status: EmploymentStatusToJSON(value.employment_status),
employment_role: EmployeeEmploymentRoleToJSON(value.employment_role),
ethnicity: value.ethnicity,
manager: EmployeeManagerToJSON(value.manager),
direct_reports: value.direct_reports,
social_security_number: value.social_security_number,
Expand Down
4 changes: 4 additions & 0 deletions src/gen/tests/apis/HrisApiTest.api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,7 @@ describe('HrisApi', () => {
type: 'contractor',
sub_type: 'full_time'
},
ethnicity: 'African American',
manager: {
id: '12345',
name: 'Elon Musk',
Expand Down Expand Up @@ -1219,6 +1220,7 @@ describe('HrisApi', () => {
type: 'contractor',
sub_type: 'full_time'
},
ethnicity: 'African American',
manager: {
id: '12345',
name: 'Elon Musk',
Expand Down Expand Up @@ -1549,6 +1551,7 @@ describe('HrisApi', () => {
type: 'contractor',
sub_type: 'full_time'
},
ethnicity: 'African American',
manager: {
id: '12345',
name: 'Elon Musk',
Expand Down Expand Up @@ -1807,6 +1810,7 @@ describe('HrisApi', () => {
type: 'contractor',
sub_type: 'full_time'
},
ethnicity: 'African American',
manager: {
id: '12345',
name: 'Elon Musk',
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@
"@babel/types" "^7.22.19"

"@babel/helpers@^7.23.0":
version "7.23.0"
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.0.tgz#5c59a6395a02c6f2907fb8cd0c5be1652208c107"
integrity sha512-cMceqRGsK0dZiEkIT+NujINkOddEbZGv7/+OCaxRQL0+VRkP4SfdCo43K8x9lZM0wZojMDD5evkjNRb0EmBORA==
version "7.23.1"
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.1.tgz#44e981e8ce2b9e99f8f0b703f3326a4636c16d15"
integrity sha512-chNpneuK18yW5Oxsr+t553UZzzAs3aZnFm4bxhebsNTeshrC95yA7l5yl7GBAG+JG1rF0F7zzD2EixK9mWSDoA==
dependencies:
"@babel/template" "^7.22.15"
"@babel/traverse" "^7.23.0"
Expand Down Expand Up @@ -937,9 +937,9 @@
integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==

"@babel/runtime@^7.20.7", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4":
version "7.23.0"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.0.tgz#9d1df8a6cb685e0fbefa924b97baeecf72c41776"
integrity sha512-RoPqO1qxWZPZkBKhNaoswZyfvAVr8NtikWfTS4h3ovzbqMghQtGvzDSUXCJEeOu7wz6yNr8ZTIDLkVOAT1z1kA==
version "7.23.1"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.1.tgz#72741dc4d413338a91dcb044a86f3c0bc402646d"
integrity sha512-hC2v6p8ZSI/W0HUzh3V8C5g+NwSKzKPtJwSpTjwl0o297GP9+ZLQSkdvHz46CM3LqyoXxq+5G9komY+eSqSO0g==
dependencies:
regenerator-runtime "^0.14.0"

Expand Down

0 comments on commit 3547944

Please sign in to comment.