Skip to content

Commit

Permalink
Automated update by SDK Generator version:3.4.1 commit:7d114a4
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 18, 2024
1 parent d7b88cb commit 7c67fbd
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 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 @@ -2132,6 +2132,7 @@ const params = {
approval_date: '2022-03-21',
units: 'hours',
amount: 3.5,
day_part: 'morning',
notes: {
employee: 'Relaxing on the beach for a few hours.',
manager: 'Enjoy!'
Expand Down Expand Up @@ -2449,6 +2450,7 @@ const params = {
approval_date: '2022-03-21',
units: 'hours',
amount: 3.5,
day_part: 'morning',
notes: {
employee: 'Relaxing on the beach for a few hours.',
manager: 'Enjoy!'
Expand Down
2 changes: 2 additions & 0 deletions src/gen/docs/models/TimeOffRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Name | Type | Description | Notes
`approval_date` | **string** | The date the request was approved | [optional]
`units` | **string** | The unit of time off requested. Possible values include: `hours`, `days`, or `other`. | [optional]
`amount` | **number** | The amount of time off requested. | [optional]
`day_part` | **string** | The day part of the time off request. | [optional]
`notes` | [**TimeOffRequestNotes**](TimeOffRequestNotes.md) | | [optional]
`custom_mappings` | **object** | When custom mappings are configured on the resource, the result is included here. | [optional]
`updated_by` | **string** | The user who last updated the object. | [optional]
Expand Down Expand Up @@ -96,6 +97,7 @@ Name | Type | Description | Notes




* [`TimeOffRequestNotes`](TimeOffRequestNotes.md)


Expand Down
8 changes: 8 additions & 0 deletions src/gen/models/TimeOffRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ export interface TimeOffRequest {
* @memberof TimeOffRequest
*/
amount?: number | null
/**
* The day part of the time off request.
* @type {string}
* @memberof TimeOffRequest
*/
day_part?: string | null
/**
*
* @type {TimeOffRequestNotes}
Expand Down Expand Up @@ -207,6 +213,7 @@ export function TimeOffRequestFromJSONTyped(
approval_date: !exists(json, 'approval_date') ? undefined : json['approval_date'],
units: !exists(json, 'units') ? undefined : json['units'],
amount: !exists(json, 'amount') ? undefined : json['amount'],
day_part: !exists(json, 'day_part') ? undefined : json['day_part'],
notes: !exists(json, 'notes') ? undefined : TimeOffRequestNotesFromJSON(json['notes']),
custom_mappings: !exists(json, 'custom_mappings') ? undefined : json['custom_mappings'],
updated_by: !exists(json, 'updated_by') ? undefined : json['updated_by'],
Expand Down Expand Up @@ -247,6 +254,7 @@ export function TimeOffRequestToJSON(value?: TimeOffRequest | null): any {
approval_date: value.approval_date,
units: value.units,
amount: value.amount,
day_part: value.day_part,
notes: TimeOffRequestNotesToJSON(value.notes),
pass_through: PassThroughBodyToJSON(value.pass_through),
policy_type: value.policy_type
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 @@ -2550,6 +2550,7 @@ describe('HrisApi', () => {
approval_date: '2022-03-21',
units: 'hours',
amount: 3.5,
day_part: 'morning',
notes: {
employee: 'Relaxing on the beach for a few hours.',
manager: 'Enjoy!'
Expand Down Expand Up @@ -2611,6 +2612,7 @@ describe('HrisApi', () => {
approval_date: '2022-03-21',
units: 'hours',
amount: 3.5,
day_part: 'morning',
notes: {
employee: 'Relaxing on the beach for a few hours.',
manager: 'Enjoy!'
Expand Down Expand Up @@ -2733,6 +2735,7 @@ describe('HrisApi', () => {
approval_date: '2022-03-21',
units: 'hours',
amount: 3.5,
day_part: 'morning',
notes: {
employee: 'Relaxing on the beach for a few hours.',
manager: 'Enjoy!'
Expand Down Expand Up @@ -2820,6 +2823,7 @@ describe('HrisApi', () => {
approval_date: '2022-03-21',
units: 'hours',
amount: 3.5,
day_part: 'morning',
notes: {
employee: 'Relaxing on the beach for a few hours.',
manager: 'Enjoy!'
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1530,9 +1530,9 @@
integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==

"@types/estree@*":
version "1.0.5"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4"
integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==
version "1.0.6"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50"
integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==

"@types/[email protected]":
version "0.0.39"
Expand Down

0 comments on commit 7c67fbd

Please sign in to comment.