diff --git a/hrisemployment.go b/hrisemployment.go index 48e6dee..4b02685 100644 --- a/hrisemployment.go +++ b/hrisemployment.go @@ -79,9 +79,9 @@ type EmploymentData struct { // `true` if the individual an an active employee or contractor at the company. IsActive bool `json:"is_active,nullable"` // The legal last name of the individual. - LastName string `json:"last_name,nullable"` - LatestRehireDate string `json:"latest_rehire_date,nullable"` - Location Location `json:"location,nullable"` + LastName string `json:"last_name,nullable"` + LatestRehireDate string `json:"latest_rehire_date,nullable"` + Location Location `json:"location,nullable"` // The manager object representing the manager of the individual within the org. Manager EmploymentDataManager `json:"manager,nullable"` // The legal middle name of the individual. diff --git a/hrisindividual.go b/hrisindividual.go index 30cc6bf..20e904c 100644 --- a/hrisindividual.go +++ b/hrisindividual.go @@ -76,8 +76,8 @@ type Individual struct { MiddleName string `json:"middle_name,nullable"` PhoneNumbers []IndividualPhoneNumber `json:"phone_numbers,nullable"` // The preferred name of the individual. - PreferredName string `json:"preferred_name,nullable"` - Residence Location `json:"residence,nullable"` + PreferredName string `json:"preferred_name,nullable"` + Residence Location `json:"residence,nullable"` // Social Security Number of the individual. This field is only available with the // `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the // body. diff --git a/sandboxdirectory.go b/sandboxdirectory.go index a69a342..6581613 100644 --- a/sandboxdirectory.go +++ b/sandboxdirectory.go @@ -84,7 +84,7 @@ type SandboxDirectoryNewParamsBody struct { // `true` if the individual an an active employee or contractor at the company. IsActive param.Field[bool] `json:"is_active"` // The legal last name of the individual. - LastName param.Field[string] `json:"last_name"` + LastName param.Field[string] `json:"last_name"` Location param.Field[LocationParam] `json:"location"` // The manager object representing the manager of the individual within the org. Manager param.Field[SandboxDirectoryNewParamsBodyManager] `json:"manager"` @@ -92,8 +92,8 @@ type SandboxDirectoryNewParamsBody struct { MiddleName param.Field[string] `json:"middle_name"` PhoneNumbers param.Field[[]SandboxDirectoryNewParamsBodyPhoneNumber] `json:"phone_numbers"` // The preferred name of the individual. - PreferredName param.Field[string] `json:"preferred_name"` - Residence param.Field[LocationParam] `json:"residence"` + PreferredName param.Field[string] `json:"preferred_name"` + Residence param.Field[LocationParam] `json:"residence"` // The source system's unique employment identifier for this individual SourceID param.Field[string] `json:"source_id"` // Social Security Number of the individual. This field is only available with the diff --git a/sandboxemployment.go b/sandboxemployment.go index 5636112..ce5ddf9 100644 --- a/sandboxemployment.go +++ b/sandboxemployment.go @@ -70,7 +70,7 @@ type SandboxEmploymentUpdateResponse struct { // `true` if the individual an an active employee or contractor at the company. IsActive bool `json:"is_active,nullable"` // The legal last name of the individual. - LastName string `json:"last_name,nullable"` + LastName string `json:"last_name,nullable"` Location Location `json:"location,nullable"` // The manager object representing the manager of the individual within the org. Manager SandboxEmploymentUpdateResponseManager `json:"manager,nullable"` @@ -270,7 +270,7 @@ type SandboxEmploymentUpdateParams struct { // `true` if the individual an an active employee or contractor at the company. IsActive param.Field[bool] `json:"is_active"` // The legal last name of the individual. - LastName param.Field[string] `json:"last_name"` + LastName param.Field[string] `json:"last_name"` Location param.Field[LocationParam] `json:"location"` // The manager object representing the manager of the individual within the org. Manager param.Field[SandboxEmploymentUpdateParamsManager] `json:"manager"` diff --git a/sandboxindividual.go b/sandboxindividual.go index 9d08972..216bf95 100644 --- a/sandboxindividual.go +++ b/sandboxindividual.go @@ -66,8 +66,8 @@ type SandboxIndividualUpdateResponse struct { MiddleName string `json:"middle_name,nullable"` PhoneNumbers []SandboxIndividualUpdateResponsePhoneNumber `json:"phone_numbers,nullable"` // The preferred name of the individual. - PreferredName string `json:"preferred_name,nullable"` - Residence Location `json:"residence,nullable"` + PreferredName string `json:"preferred_name,nullable"` + Residence Location `json:"residence,nullable"` // Social Security Number of the individual. This field is only available with the // `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the // body. @@ -238,8 +238,8 @@ type SandboxIndividualUpdateParams struct { MiddleName param.Field[string] `json:"middle_name"` PhoneNumbers param.Field[[]SandboxIndividualUpdateParamsPhoneNumber] `json:"phone_numbers"` // The preferred name of the individual. - PreferredName param.Field[string] `json:"preferred_name"` - Residence param.Field[LocationParam] `json:"residence"` + PreferredName param.Field[string] `json:"preferred_name"` + Residence param.Field[LocationParam] `json:"residence"` // Social Security Number of the individual. This field is only available with the // `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the // body.