Skip to content

Commit

Permalink
chore(internal): update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Jul 16, 2024
1 parent 24a183c commit e71c71a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions hrisemployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions hrisindividual.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions sandboxdirectory.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,16 @@ 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"`
// The legal middle name of the individual.
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
Expand Down
4 changes: 2 additions & 2 deletions sandboxemployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -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"`
Expand Down
8 changes: 4 additions & 4 deletions sandboxindividual.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit e71c71a

Please sign in to comment.