Skip to content

Commit

Permalink
feat(api): updates (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Apr 9, 2024
1 parent 58616ad commit 6474c87
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions src/resources/hris/benefits/benefits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ export namespace BenefitFeaturesAndOperations {
* Supported contribution types. An empty array indicates contributions are not
* supported.
*/
company_contribution?: Array<'fixed' | 'percent'> | null;
company_contribution?: Array<'fixed' | 'percent' | null> | null;

description?: string | null;

/**
* Supported deduction types. An empty array indicates deductions are not
* supported.
*/
employee_deduction?: Array<'fixed' | 'percent'> | null;
employee_deduction?: Array<'fixed' | 'percent' | null> | null;

/**
* The list of frequencies supported by the provider for this benefit
Expand All @@ -132,7 +132,7 @@ export namespace BenefitFeaturesAndOperations {
* Whether the provider supports HSA contribution limits. Empty if this feature is
* not supported for the benefit. This array only has values for HSA benefits.
*/
hsa_contribution_limit?: Array<'individual' | 'family'> | null;
hsa_contribution_limit?: Array<'individual' | 'family' | null> | null;
}
}

Expand Down Expand Up @@ -242,15 +242,15 @@ export interface SupportedBenefit {
* Supported contribution types. An empty array indicates contributions are not
* supported.
*/
company_contribution?: Array<'fixed' | 'percent'> | null;
company_contribution?: Array<'fixed' | 'percent' | null> | null;

description?: string | null;

/**
* Supported deduction types. An empty array indicates deductions are not
* supported.
*/
employee_deduction?: Array<'fixed' | 'percent'> | null;
employee_deduction?: Array<'fixed' | 'percent' | null> | null;

/**
* The list of frequencies supported by the provider for this benefit
Expand All @@ -261,7 +261,7 @@ export interface SupportedBenefit {
* Whether the provider supports HSA contribution limits. Empty if this feature is
* not supported for the benefit. This array only has values for HSA benefits.
*/
hsa_contribution_limit?: Array<'individual' | 'family'> | null;
hsa_contribution_limit?: Array<'individual' | 'family' | null> | null;

/**
* Type of benefit.
Expand Down
2 changes: 1 addition & 1 deletion src/resources/hris/individuals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export namespace Individual {
export interface Email {
data?: string;

type?: 'work' | 'personal';
type?: 'work' | 'personal' | null;
}

export interface PhoneNumber {
Expand Down
4 changes: 2 additions & 2 deletions src/resources/sandbox/directory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export namespace DirectoryCreateParams {
export interface Email {
data?: string;

type?: 'work' | 'personal';
type?: 'work' | 'personal' | null;
}

/**
Expand Down Expand Up @@ -199,7 +199,7 @@ export namespace DirectoryCreateParams {
export interface PhoneNumber {
data?: string;

type?: 'work' | 'personal';
type?: 'work' | 'personal' | null;
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/resources/sandbox/individual.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ export namespace IndividualUpdateResponse {
export interface Email {
data?: string;

type?: 'work' | 'personal';
type?: 'work' | 'personal' | null;
}

export interface PhoneNumber {
data?: string;

type?: 'work' | 'personal';
type?: 'work' | 'personal' | null;
}
}

Expand Down Expand Up @@ -177,13 +177,13 @@ export namespace IndividualUpdateParams {
export interface Email {
data?: string;

type?: 'work' | 'personal';
type?: 'work' | 'personal' | null;
}

export interface PhoneNumber {
data?: string;

type?: 'work' | 'personal';
type?: 'work' | 'personal' | null;
}
}

Expand Down

0 comments on commit 6474c87

Please sign in to comment.