From 043c5b520c2561f0f20d377cfa75c443b07b4bb6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 19:00:32 +0000 Subject: [PATCH 1/3] feat(api): api update --- .stats.yml | 4 +- lib/finch_api/models/hris/employment_data.rb | 37 +++++- lib/finch_api/models/hris/individual.rb | 31 ++++- .../models/sandbox/directory_create_params.rb | 66 +++++++++- .../sandbox/employment_update_params.rb | 37 +++++- .../sandbox/employment_update_response.rb | 37 +++++- .../sandbox/individual_update_params.rb | 29 ++++- .../sandbox/individual_update_response.rb | 31 ++++- lib/finch_api/resources/sandbox/employment.rb | 10 +- lib/finch_api/resources/sandbox/individual.rb | 4 +- rbi/finch_api/models/hris/employment_data.rbi | 38 ++++++ rbi/finch_api/models/hris/individual.rbi | 78 +++++++++++ .../sandbox/directory_create_params.rbi | 122 +++++++++++++++++- .../sandbox/employment_update_params.rbi | 38 ++++++ .../sandbox/employment_update_response.rbi | 44 ++++++- .../sandbox/individual_update_params.rbi | 78 +++++++++++ .../sandbox/individual_update_response.rbi | 78 +++++++++++ .../resources/sandbox/employment.rbi | 15 +++ .../resources/sandbox/individual.rbi | 7 + sig/finch_api/models/hris/employment_data.rbs | 20 +++ sig/finch_api/models/hris/individual.rbs | 26 ++++ .../sandbox/directory_create_params.rbs | 52 +++++++- .../sandbox/employment_update_params.rbs | 22 +++- .../sandbox/employment_update_response.rbs | 26 +++- .../sandbox/individual_update_params.rbs | 26 ++++ .../sandbox/individual_update_response.rbs | 26 ++++ .../resources/sandbox/employment.rbs | 4 + .../resources/sandbox/individual.rbs | 1 + .../resources/sandbox/employment_test.rb | 6 +- .../resources/sandbox/individual_test.rb | 1 + 30 files changed, 969 insertions(+), 25 deletions(-) diff --git a/.stats.yml b/.stats.yml index 0fc8637f..d8dd80b1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 48 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch/finch-166cc05754d8591beda094f4ee6f438f55d5f65d490ab364ea130c5100134375.yml -openapi_spec_hash: 4582a35bbe9fb5404d1e4f804c877fa8 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch/finch-bdcc610cd7d5dcb5d3d7598a33957dd673cb81f14ca5d8dc9d41fced4230f114.yml +openapi_spec_hash: 16dce00b8187a592fab5c88efc7bf7fc config_hash: 9ae56f40cec7304896138bfad5caf748 diff --git a/lib/finch_api/models/hris/employment_data.rb b/lib/finch_api/models/hris/employment_data.rb index 5e11a5bb..97701d14 100644 --- a/lib/finch_api/models/hris/employment_data.rb +++ b/lib/finch_api/models/hris/employment_data.rb @@ -67,12 +67,26 @@ class EmploymentDataResponseBody < FinchAPI::Internal::Type::BaseModel enum: -> { FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::FlsaStatus }, nil?: true + # @!attribute highly_compensated_employee + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + # + # @return [Boolean, nil] + required :highly_compensated_employee, FinchAPI::Internal::Type::Boolean, nil?: true + # @!attribute is_active # `true` if the individual an an active employee or contractor at the company. # # @return [Boolean, nil] required :is_active, FinchAPI::Internal::Type::Boolean, nil?: true + # @!attribute key_employee + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + # + # @return [Boolean, nil] + required :key_employee, FinchAPI::Internal::Type::Boolean, nil?: true + # @!attribute last_name # The legal last name of the individual. # @@ -116,6 +130,19 @@ class EmploymentDataResponseBody < FinchAPI::Internal::Type::BaseModel # @return [String, nil] required :title, String, nil?: true + # @!attribute union_code + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + # + # @return [String, nil] + required :union_code, String, nil?: true + + # @!attribute union_local + # The local chapter or local number within the employee's union. + # + # @return [String, nil] + required :union_local, String, nil?: true + # @!attribute custom_fields # Custom fields for the individual. These are fields which are defined by the # employer in the system. Custom fields are not currently supported for assisted @@ -158,7 +185,7 @@ class EmploymentDataResponseBody < FinchAPI::Internal::Type::BaseModel # @return [String, nil] optional :work_id, String, nil?: true - # @!method initialize(id:, class_code:, department:, employment:, employment_status:, end_date:, first_name:, flsa_status:, is_active:, last_name:, latest_rehire_date:, location:, manager:, middle_name:, start_date:, title:, custom_fields: nil, income: nil, income_history: nil, source_id: nil, work_id: nil) + # @!method initialize(id:, class_code:, department:, employment:, employment_status:, end_date:, first_name:, flsa_status:, highly_compensated_employee:, is_active:, key_employee:, last_name:, latest_rehire_date:, location:, manager:, middle_name:, start_date:, title:, union_code:, union_local:, custom_fields: nil, income: nil, income_history: nil, source_id: nil, work_id: nil) # Some parameter documentations has been truncated, see # {FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody} for more # details. @@ -179,8 +206,12 @@ class EmploymentDataResponseBody < FinchAPI::Internal::Type::BaseModel # # @param flsa_status [Symbol, FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::FlsaStatus, nil] The FLSA status of the individual. Available options: `exempt`, `non_exempt`, `u # + # @param highly_compensated_employee [Boolean, nil] IRS flag indicating whether the employee is classified as a Highly Compensated E + # # @param is_active [Boolean, nil] `true` if the individual an an active employee or contractor at the company. # + # @param key_employee [Boolean, nil] IRS flag indicating whether the employee is classified as a Key Employee for top + # # @param last_name [String, nil] The legal last name of the individual. # # @param latest_rehire_date [String, nil] @@ -195,6 +226,10 @@ class EmploymentDataResponseBody < FinchAPI::Internal::Type::BaseModel # # @param title [String, nil] The current title of the individual. # + # @param union_code [String, nil] The code identifying the union the employee is a member of, as configured in the + # + # @param union_local [String, nil] The local chapter or local number within the employee's union. + # # @param custom_fields [Array, nil] Custom fields for the individual. These are fields which are defined by the empl # # @param income [FinchAPI::Models::Income, nil] The employee's income as reported by the provider. This may not always be annual diff --git a/lib/finch_api/models/hris/individual.rb b/lib/finch_api/models/hris/individual.rb index ab56b158..07006762 100644 --- a/lib/finch_api/models/hris/individual.rb +++ b/lib/finch_api/models/hris/individual.rb @@ -52,6 +52,15 @@ class IndividualResponseBody < FinchAPI::Internal::Type::BaseModel # @return [String, nil] required :last_name, String, nil?: true + # @!attribute marital_status + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + # + # @return [Symbol, FinchAPI::Models::HRIS::Individual::IndividualResponseBody::MaritalStatus, nil] + required :marital_status, + enum: -> { FinchAPI::HRIS::Individual::IndividualResponseBody::MaritalStatus }, + nil?: true + # @!attribute middle_name # The legal middle name of the individual. # @@ -105,7 +114,7 @@ class IndividualResponseBody < FinchAPI::Internal::Type::BaseModel # @return [String, nil] optional :ssn, String, nil?: true - # @!method initialize(id:, dob:, ethnicity:, first_name:, gender:, last_name:, middle_name:, phone_numbers:, preferred_name:, residence:, emails: nil, encrypted_ssn: nil, ssn: nil) + # @!method initialize(id:, dob:, ethnicity:, first_name:, gender:, last_name:, marital_status:, middle_name:, phone_numbers:, preferred_name:, residence:, emails: nil, encrypted_ssn: nil, ssn: nil) # Some parameter documentations has been truncated, see # {FinchAPI::Models::HRIS::Individual::IndividualResponseBody} for more details. # @@ -121,6 +130,8 @@ class IndividualResponseBody < FinchAPI::Internal::Type::BaseModel # # @param last_name [String, nil] The legal last name of the individual. # + # @param marital_status [Symbol, FinchAPI::Models::HRIS::Individual::IndividualResponseBody::MaritalStatus, nil] The employee's marital status, used for beneficiary designation and spousal cons + # # @param middle_name [String, nil] The legal middle name of the individual. # # @param phone_numbers [Array, nil] @@ -169,6 +180,24 @@ module Gender # @return [Array] end + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + # + # @see FinchAPI::Models::HRIS::Individual::IndividualResponseBody#marital_status + module MaritalStatus + extend FinchAPI::Internal::Type::Enum + + SINGLE = :single + MARRIED = :married + DIVORCED = :divorced + WIDOWED = :widowed + DOMESTIC_PARTNER = :domestic_partner + UNKNOWN = :unknown + + # @!method self.values + # @return [Array] + end + class PhoneNumber < FinchAPI::Internal::Type::BaseModel # @!attribute data # diff --git a/lib/finch_api/models/sandbox/directory_create_params.rb b/lib/finch_api/models/sandbox/directory_create_params.rb index e0f7a7ca..98db3392 100644 --- a/lib/finch_api/models/sandbox/directory_create_params.rb +++ b/lib/finch_api/models/sandbox/directory_create_params.rb @@ -122,6 +122,13 @@ class Body < FinchAPI::Internal::Type::BaseModel # @return [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Gender, nil] optional :gender, enum: -> { FinchAPI::Sandbox::DirectoryCreateParams::Body::Gender }, nil?: true + # @!attribute highly_compensated_employee + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + # + # @return [Boolean, nil] + optional :highly_compensated_employee, FinchAPI::Internal::Type::Boolean, nil?: true + # @!attribute income # The employee's income as reported by the provider. This may not always be # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, @@ -144,6 +151,13 @@ class Body < FinchAPI::Internal::Type::BaseModel # @return [Boolean, nil] optional :is_active, FinchAPI::Internal::Type::Boolean, nil?: true + # @!attribute key_employee + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + # + # @return [Boolean, nil] + optional :key_employee, FinchAPI::Internal::Type::Boolean, nil?: true + # @!attribute last_name # The legal last name of the individual. # @@ -166,6 +180,15 @@ class Body < FinchAPI::Internal::Type::BaseModel # @return [FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Manager, nil] optional :manager, -> { FinchAPI::Sandbox::DirectoryCreateParams::Body::Manager }, nil?: true + # @!attribute marital_status + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + # + # @return [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::MaritalStatus, nil] + optional :marital_status, + enum: -> { FinchAPI::Sandbox::DirectoryCreateParams::Body::MaritalStatus }, + nil?: true + # @!attribute middle_name # The legal middle name of the individual. # @@ -219,7 +242,20 @@ class Body < FinchAPI::Internal::Type::BaseModel # @return [String, nil] optional :title, String, nil?: true - # @!method initialize(class_code: nil, custom_fields: nil, department: nil, dob: nil, emails: nil, employment: nil, employment_status: nil, encrypted_ssn: nil, end_date: nil, ethnicity: nil, first_name: nil, flsa_status: nil, gender: nil, income: nil, income_history: nil, is_active: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, phone_numbers: nil, preferred_name: nil, residence: nil, source_id: nil, ssn: nil, start_date: nil, title: nil) + # @!attribute union_code + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + # + # @return [String, nil] + optional :union_code, String, nil?: true + + # @!attribute union_local + # The local chapter or local number within the employee's union. + # + # @return [String, nil] + optional :union_local, String, nil?: true + + # @!method initialize(class_code: nil, custom_fields: nil, department: nil, dob: nil, emails: nil, employment: nil, employment_status: nil, encrypted_ssn: nil, end_date: nil, ethnicity: nil, first_name: nil, flsa_status: nil, gender: nil, highly_compensated_employee: nil, income: nil, income_history: nil, is_active: nil, key_employee: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, marital_status: nil, middle_name: nil, phone_numbers: nil, preferred_name: nil, residence: nil, source_id: nil, ssn: nil, start_date: nil, title: nil, union_code: nil, union_local: nil) # Some parameter documentations has been truncated, see # {FinchAPI::Models::Sandbox::DirectoryCreateParams::Body} for more details. # @@ -249,12 +285,16 @@ class Body < FinchAPI::Internal::Type::BaseModel # # @param gender [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Gender, nil] The gender of the individual. # + # @param highly_compensated_employee [Boolean, nil] IRS flag indicating whether the employee is classified as a Highly Compensated E + # # @param income [FinchAPI::Models::Income, nil] The employee's income as reported by the provider. This may not always be annual # # @param income_history [Array, nil] The array of income history. # # @param is_active [Boolean, nil] `true` if the individual an an active employee or contractor at the company. # + # @param key_employee [Boolean, nil] IRS flag indicating whether the employee is classified as a Key Employee for top + # # @param last_name [String, nil] The legal last name of the individual. # # @param latest_rehire_date [String, nil] @@ -263,6 +303,8 @@ class Body < FinchAPI::Internal::Type::BaseModel # # @param manager [FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Manager, nil] The manager object representing the manager of the individual within the org. # + # @param marital_status [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::MaritalStatus, nil] The employee's marital status, used for beneficiary designation and spousal cons + # # @param middle_name [String, nil] The legal middle name of the individual. # # @param phone_numbers [Array, nil] @@ -278,6 +320,10 @@ class Body < FinchAPI::Internal::Type::BaseModel # @param start_date [String, nil] # # @param title [String, nil] The current title of the individual. + # + # @param union_code [String, nil] The code identifying the union the employee is a member of, as configured in the + # + # @param union_local [String, nil] The local chapter or local number within the employee's union. class CustomField < FinchAPI::Internal::Type::BaseModel # @!attribute name @@ -508,6 +554,24 @@ class Manager < FinchAPI::Internal::Type::BaseModel # @param id [String] A stable Finch `id` (UUID v4) for an individual in the company. end + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + # + # @see FinchAPI::Models::Sandbox::DirectoryCreateParams::Body#marital_status + module MaritalStatus + extend FinchAPI::Internal::Type::Enum + + SINGLE = :single + MARRIED = :married + DIVORCED = :divorced + WIDOWED = :widowed + DOMESTIC_PARTNER = :domestic_partner + UNKNOWN = :unknown + + # @!method self.values + # @return [Array] + end + class PhoneNumber < FinchAPI::Internal::Type::BaseModel # @!attribute data # diff --git a/lib/finch_api/models/sandbox/employment_update_params.rb b/lib/finch_api/models/sandbox/employment_update_params.rb index a68ab939..e7f604b6 100644 --- a/lib/finch_api/models/sandbox/employment_update_params.rb +++ b/lib/finch_api/models/sandbox/employment_update_params.rb @@ -69,6 +69,13 @@ class EmploymentUpdateParams < FinchAPI::Internal::Type::BaseModel # @return [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::FlsaStatus, nil] optional :flsa_status, enum: -> { FinchAPI::Sandbox::EmploymentUpdateParams::FlsaStatus }, nil?: true + # @!attribute highly_compensated_employee + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + # + # @return [Boolean, nil] + optional :highly_compensated_employee, FinchAPI::Internal::Type::Boolean, nil?: true + # @!attribute income # The employee's income as reported by the provider. This may not always be # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, @@ -91,6 +98,13 @@ class EmploymentUpdateParams < FinchAPI::Internal::Type::BaseModel # @return [Boolean, nil] optional :is_active, FinchAPI::Internal::Type::Boolean, nil?: true + # @!attribute key_employee + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + # + # @return [Boolean, nil] + optional :key_employee, FinchAPI::Internal::Type::Boolean, nil?: true + # @!attribute last_name # The legal last name of the individual. # @@ -136,7 +150,20 @@ class EmploymentUpdateParams < FinchAPI::Internal::Type::BaseModel # @return [String, nil] optional :title, String, nil?: true - # @!method initialize(individual_id:, class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, flsa_status: nil, income: nil, income_history: nil, is_active: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil, request_options: {}) + # @!attribute union_code + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + # + # @return [String, nil] + optional :union_code, String, nil?: true + + # @!attribute union_local + # The local chapter or local number within the employee's union. + # + # @return [String, nil] + optional :union_local, String, nil?: true + + # @!method initialize(individual_id:, class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, flsa_status: nil, highly_compensated_employee: nil, income: nil, income_history: nil, is_active: nil, key_employee: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil, union_code: nil, union_local: nil, request_options: {}) # Some parameter documentations has been truncated, see # {FinchAPI::Models::Sandbox::EmploymentUpdateParams} for more details. # @@ -158,12 +185,16 @@ class EmploymentUpdateParams < FinchAPI::Internal::Type::BaseModel # # @param flsa_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::FlsaStatus, nil] The FLSA status of the individual. Available options: `exempt`, `non_exempt`, `u # + # @param highly_compensated_employee [Boolean, nil] IRS flag indicating whether the employee is classified as a Highly Compensated E + # # @param income [FinchAPI::Models::Income, nil] The employee's income as reported by the provider. This may not always be annual # # @param income_history [Array, nil] The array of income history. # # @param is_active [Boolean, nil] `true` if the individual an an active employee or contractor at the company. # + # @param key_employee [Boolean, nil] IRS flag indicating whether the employee is classified as a Key Employee for top + # # @param last_name [String, nil] The legal last name of the individual. # # @param latest_rehire_date [String, nil] @@ -180,6 +211,10 @@ class EmploymentUpdateParams < FinchAPI::Internal::Type::BaseModel # # @param title [String, nil] The current title of the individual. # + # @param union_code [String, nil] The code identifying the union the employee is a member of, as configured in the + # + # @param union_local [String, nil] The local chapter or local number within the employee's union. + # # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}] class CustomField < FinchAPI::Internal::Type::BaseModel diff --git a/lib/finch_api/models/sandbox/employment_update_response.rb b/lib/finch_api/models/sandbox/employment_update_response.rb index 2fbec07a..e0c18cc2 100644 --- a/lib/finch_api/models/sandbox/employment_update_response.rb +++ b/lib/finch_api/models/sandbox/employment_update_response.rb @@ -67,6 +67,13 @@ class EmploymentUpdateResponse < FinchAPI::Internal::Type::BaseModel enum: -> { FinchAPI::Models::Sandbox::EmploymentUpdateResponse::FlsaStatus }, nil?: true + # @!attribute highly_compensated_employee + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + # + # @return [Boolean, nil] + optional :highly_compensated_employee, FinchAPI::Internal::Type::Boolean, nil?: true + # @!attribute income # The employee's income as reported by the provider. This may not always be # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, @@ -89,6 +96,13 @@ class EmploymentUpdateResponse < FinchAPI::Internal::Type::BaseModel # @return [Boolean, nil] optional :is_active, FinchAPI::Internal::Type::Boolean, nil?: true + # @!attribute key_employee + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + # + # @return [Boolean, nil] + optional :key_employee, FinchAPI::Internal::Type::Boolean, nil?: true + # @!attribute last_name # The legal last name of the individual. # @@ -134,7 +148,20 @@ class EmploymentUpdateResponse < FinchAPI::Internal::Type::BaseModel # @return [String, nil] optional :title, String, nil?: true - # @!method initialize(id: nil, class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, flsa_status: nil, income: nil, income_history: nil, is_active: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil) + # @!attribute union_code + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + # + # @return [String, nil] + optional :union_code, String, nil?: true + + # @!attribute union_local + # The local chapter or local number within the employee's union. + # + # @return [String, nil] + optional :union_local, String, nil?: true + + # @!method initialize(id: nil, class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, flsa_status: nil, highly_compensated_employee: nil, income: nil, income_history: nil, is_active: nil, key_employee: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil, union_code: nil, union_local: nil) # Some parameter documentations has been truncated, see # {FinchAPI::Models::Sandbox::EmploymentUpdateResponse} for more details. # @@ -156,12 +183,16 @@ class EmploymentUpdateResponse < FinchAPI::Internal::Type::BaseModel # # @param flsa_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateResponse::FlsaStatus, nil] The FLSA status of the individual. Available options: `exempt`, `non_exempt`, `u # + # @param highly_compensated_employee [Boolean, nil] IRS flag indicating whether the employee is classified as a Highly Compensated E + # # @param income [FinchAPI::Models::Income, nil] The employee's income as reported by the provider. This may not always be annual # # @param income_history [Array, nil] The array of income history. # # @param is_active [Boolean, nil] `true` if the individual an an active employee or contractor at the company. # + # @param key_employee [Boolean, nil] IRS flag indicating whether the employee is classified as a Key Employee for top + # # @param last_name [String, nil] The legal last name of the individual. # # @param latest_rehire_date [String, nil] @@ -177,6 +208,10 @@ class EmploymentUpdateResponse < FinchAPI::Internal::Type::BaseModel # @param start_date [String, nil] # # @param title [String, nil] The current title of the individual. + # + # @param union_code [String, nil] The code identifying the union the employee is a member of, as configured in the + # + # @param union_local [String, nil] The local chapter or local number within the employee's union. class CustomField < FinchAPI::Internal::Type::BaseModel # @!attribute name diff --git a/lib/finch_api/models/sandbox/individual_update_params.rb b/lib/finch_api/models/sandbox/individual_update_params.rb index 6ed42b15..8b432ba3 100644 --- a/lib/finch_api/models/sandbox/individual_update_params.rb +++ b/lib/finch_api/models/sandbox/individual_update_params.rb @@ -57,6 +57,15 @@ class IndividualUpdateParams < FinchAPI::Internal::Type::BaseModel # @return [String, nil] optional :last_name, String, nil?: true + # @!attribute marital_status + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + # + # @return [Symbol, FinchAPI::Models::Sandbox::IndividualUpdateParams::MaritalStatus, nil] + optional :marital_status, + enum: -> { FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus }, + nil?: true + # @!attribute middle_name # The legal middle name of the individual. # @@ -93,7 +102,7 @@ class IndividualUpdateParams < FinchAPI::Internal::Type::BaseModel # @return [String, nil] optional :ssn, String, nil?: true - # @!method initialize(individual_id:, dob: nil, emails: nil, encrypted_ssn: nil, ethnicity: nil, first_name: nil, gender: nil, last_name: nil, middle_name: nil, phone_numbers: nil, preferred_name: nil, residence: nil, ssn: nil, request_options: {}) + # @!method initialize(individual_id:, dob: nil, emails: nil, encrypted_ssn: nil, ethnicity: nil, first_name: nil, gender: nil, last_name: nil, marital_status: nil, middle_name: nil, phone_numbers: nil, preferred_name: nil, residence: nil, ssn: nil, request_options: {}) # Some parameter documentations has been truncated, see # {FinchAPI::Models::Sandbox::IndividualUpdateParams} for more details. # @@ -113,6 +122,8 @@ class IndividualUpdateParams < FinchAPI::Internal::Type::BaseModel # # @param last_name [String, nil] The legal last name of the individual. # + # @param marital_status [Symbol, FinchAPI::Models::Sandbox::IndividualUpdateParams::MaritalStatus, nil] The employee's marital status, used for beneficiary designation and spousal cons + # # @param middle_name [String, nil] The legal middle name of the individual. # # @param phone_numbers [Array, nil] @@ -182,6 +193,22 @@ module Gender # @return [Array] end + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + module MaritalStatus + extend FinchAPI::Internal::Type::Enum + + SINGLE = :single + MARRIED = :married + DIVORCED = :divorced + WIDOWED = :widowed + DOMESTIC_PARTNER = :domestic_partner + UNKNOWN = :unknown + + # @!method self.values + # @return [Array] + end + class PhoneNumber < FinchAPI::Internal::Type::BaseModel # @!attribute data # diff --git a/lib/finch_api/models/sandbox/individual_update_response.rb b/lib/finch_api/models/sandbox/individual_update_response.rb index 97358dd2..9afcbeb0 100644 --- a/lib/finch_api/models/sandbox/individual_update_response.rb +++ b/lib/finch_api/models/sandbox/individual_update_response.rb @@ -57,6 +57,15 @@ class IndividualUpdateResponse < FinchAPI::Internal::Type::BaseModel # @return [String, nil] optional :last_name, String, nil?: true + # @!attribute marital_status + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + # + # @return [Symbol, FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus, nil] + optional :marital_status, + enum: -> { FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus }, + nil?: true + # @!attribute middle_name # The legal middle name of the individual. # @@ -90,7 +99,7 @@ class IndividualUpdateResponse < FinchAPI::Internal::Type::BaseModel # @return [String, nil] optional :ssn, String, nil?: true - # @!method initialize(id: nil, dob: nil, emails: nil, encrypted_ssn: nil, ethnicity: nil, first_name: nil, gender: nil, last_name: nil, middle_name: nil, phone_numbers: nil, preferred_name: nil, residence: nil, ssn: nil) + # @!method initialize(id: nil, dob: nil, emails: nil, encrypted_ssn: nil, ethnicity: nil, first_name: nil, gender: nil, last_name: nil, marital_status: nil, middle_name: nil, phone_numbers: nil, preferred_name: nil, residence: nil, ssn: nil) # Some parameter documentations has been truncated, see # {FinchAPI::Models::Sandbox::IndividualUpdateResponse} for more details. # @@ -110,6 +119,8 @@ class IndividualUpdateResponse < FinchAPI::Internal::Type::BaseModel # # @param last_name [String, nil] The legal last name of the individual. # + # @param marital_status [Symbol, FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus, nil] The employee's marital status, used for beneficiary designation and spousal cons + # # @param middle_name [String, nil] The legal middle name of the individual. # # @param phone_numbers [Array, nil] @@ -181,6 +192,24 @@ module Gender # @return [Array] end + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + # + # @see FinchAPI::Models::Sandbox::IndividualUpdateResponse#marital_status + module MaritalStatus + extend FinchAPI::Internal::Type::Enum + + SINGLE = :single + MARRIED = :married + DIVORCED = :divorced + WIDOWED = :widowed + DOMESTIC_PARTNER = :domestic_partner + UNKNOWN = :unknown + + # @!method self.values + # @return [Array] + end + class PhoneNumber < FinchAPI::Internal::Type::BaseModel # @!attribute data # diff --git a/lib/finch_api/resources/sandbox/employment.rb b/lib/finch_api/resources/sandbox/employment.rb index 7e7ba659..a8624426 100644 --- a/lib/finch_api/resources/sandbox/employment.rb +++ b/lib/finch_api/resources/sandbox/employment.rb @@ -9,7 +9,7 @@ class Employment # # Update sandbox employment # - # @overload update(individual_id, class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, flsa_status: nil, income: nil, income_history: nil, is_active: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil, request_options: {}) + # @overload update(individual_id, class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, flsa_status: nil, highly_compensated_employee: nil, income: nil, income_history: nil, is_active: nil, key_employee: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil, union_code: nil, union_local: nil, request_options: {}) # # @param individual_id [String] # @@ -29,12 +29,16 @@ class Employment # # @param flsa_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::FlsaStatus, nil] The FLSA status of the individual. Available options: `exempt`, `non_exempt`, `u # + # @param highly_compensated_employee [Boolean, nil] IRS flag indicating whether the employee is classified as a Highly Compensated E + # # @param income [FinchAPI::Models::Income, nil] The employee's income as reported by the provider. This may not always be annual # # @param income_history [Array, nil] The array of income history. # # @param is_active [Boolean, nil] `true` if the individual an an active employee or contractor at the company. # + # @param key_employee [Boolean, nil] IRS flag indicating whether the employee is classified as a Key Employee for top + # # @param last_name [String, nil] The legal last name of the individual. # # @param latest_rehire_date [String, nil] @@ -51,6 +55,10 @@ class Employment # # @param title [String, nil] The current title of the individual. # + # @param union_code [String, nil] The code identifying the union the employee is a member of, as configured in the + # + # @param union_local [String, nil] The local chapter or local number within the employee's union. + # # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil] # # @return [FinchAPI::Models::Sandbox::EmploymentUpdateResponse] diff --git a/lib/finch_api/resources/sandbox/individual.rb b/lib/finch_api/resources/sandbox/individual.rb index d7cf1b0c..c75ce608 100644 --- a/lib/finch_api/resources/sandbox/individual.rb +++ b/lib/finch_api/resources/sandbox/individual.rb @@ -9,7 +9,7 @@ class Individual # # Update sandbox individual # - # @overload update(individual_id, dob: nil, emails: nil, encrypted_ssn: nil, ethnicity: nil, first_name: nil, gender: nil, last_name: nil, middle_name: nil, phone_numbers: nil, preferred_name: nil, residence: nil, ssn: nil, request_options: {}) + # @overload update(individual_id, dob: nil, emails: nil, encrypted_ssn: nil, ethnicity: nil, first_name: nil, gender: nil, last_name: nil, marital_status: nil, middle_name: nil, phone_numbers: nil, preferred_name: nil, residence: nil, ssn: nil, request_options: {}) # # @param individual_id [String] # @@ -27,6 +27,8 @@ class Individual # # @param last_name [String, nil] The legal last name of the individual. # + # @param marital_status [Symbol, FinchAPI::Models::Sandbox::IndividualUpdateParams::MaritalStatus, nil] The employee's marital status, used for beneficiary designation and spousal cons + # # @param middle_name [String, nil] The legal middle name of the individual. # # @param phone_numbers [Array, nil] diff --git a/rbi/finch_api/models/hris/employment_data.rbi b/rbi/finch_api/models/hris/employment_data.rbi index 8115a339..8707eedd 100644 --- a/rbi/finch_api/models/hris/employment_data.rbi +++ b/rbi/finch_api/models/hris/employment_data.rbi @@ -99,10 +99,20 @@ module FinchAPI end attr_accessor :flsa_status + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + sig { returns(T.nilable(T::Boolean)) } + attr_accessor :highly_compensated_employee + # `true` if the individual an an active employee or contractor at the company. sig { returns(T.nilable(T::Boolean)) } attr_accessor :is_active + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + sig { returns(T.nilable(T::Boolean)) } + attr_accessor :key_employee + # The legal last name of the individual. sig { returns(T.nilable(String)) } attr_accessor :last_name @@ -147,6 +157,15 @@ module FinchAPI sig { returns(T.nilable(String)) } attr_accessor :title + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + sig { returns(T.nilable(String)) } + attr_accessor :union_code + + # The local chapter or local number within the employee's union. + sig { returns(T.nilable(String)) } + attr_accessor :union_local + # Custom fields for the individual. These are fields which are defined by the # employer in the system. Custom fields are not currently supported for assisted # connections. @@ -204,7 +223,9 @@ module FinchAPI T.nilable( FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::FlsaStatus::OrSymbol ), + highly_compensated_employee: T.nilable(T::Boolean), is_active: T.nilable(T::Boolean), + key_employee: T.nilable(T::Boolean), last_name: T.nilable(String), latest_rehire_date: T.nilable(String), location: T.nilable(FinchAPI::Location::OrHash), @@ -215,6 +236,8 @@ module FinchAPI middle_name: T.nilable(String), start_date: T.nilable(String), title: T.nilable(String), + union_code: T.nilable(String), + union_local: T.nilable(String), custom_fields: T.nilable( T::Array[ @@ -245,8 +268,14 @@ module FinchAPI # The FLSA status of the individual. Available options: `exempt`, `non_exempt`, # `unknown`. flsa_status:, + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + highly_compensated_employee:, # `true` if the individual an an active employee or contractor at the company. is_active:, + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + key_employee:, # The legal last name of the individual. last_name:, latest_rehire_date:, @@ -258,6 +287,11 @@ module FinchAPI start_date:, # The current title of the individual. title:, + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + union_code:, + # The local chapter or local number within the employee's union. + union_local:, # Custom fields for the individual. These are fields which are defined by the # employer in the system. Custom fields are not currently supported for assisted # connections. @@ -298,7 +332,9 @@ module FinchAPI T.nilable( FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::FlsaStatus::TaggedSymbol ), + highly_compensated_employee: T.nilable(T::Boolean), is_active: T.nilable(T::Boolean), + key_employee: T.nilable(T::Boolean), last_name: T.nilable(String), latest_rehire_date: T.nilable(String), location: T.nilable(FinchAPI::Location), @@ -309,6 +345,8 @@ module FinchAPI middle_name: T.nilable(String), start_date: T.nilable(String), title: T.nilable(String), + union_code: T.nilable(String), + union_local: T.nilable(String), custom_fields: T.nilable( T::Array[ diff --git a/rbi/finch_api/models/hris/individual.rbi b/rbi/finch_api/models/hris/individual.rbi index 45baeb24..637df655 100644 --- a/rbi/finch_api/models/hris/individual.rbi +++ b/rbi/finch_api/models/hris/individual.rbi @@ -58,6 +58,17 @@ module FinchAPI sig { returns(T.nilable(String)) } attr_accessor :last_name + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + sig do + returns( + T.nilable( + FinchAPI::HRIS::Individual::IndividualResponseBody::MaritalStatus::TaggedSymbol + ) + ) + end + attr_accessor :marital_status + # The legal middle name of the individual. sig { returns(T.nilable(String)) } attr_accessor :middle_name @@ -123,6 +134,10 @@ module FinchAPI FinchAPI::HRIS::Individual::IndividualResponseBody::Gender::OrSymbol ), last_name: T.nilable(String), + marital_status: + T.nilable( + FinchAPI::HRIS::Individual::IndividualResponseBody::MaritalStatus::OrSymbol + ), middle_name: T.nilable(String), phone_numbers: T.nilable( @@ -156,6 +171,9 @@ module FinchAPI gender:, # The legal last name of the individual. last_name:, + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + marital_status:, # The legal middle name of the individual. middle_name:, phone_numbers:, @@ -190,6 +208,10 @@ module FinchAPI FinchAPI::HRIS::Individual::IndividualResponseBody::Gender::TaggedSymbol ), last_name: T.nilable(String), + marital_status: + T.nilable( + FinchAPI::HRIS::Individual::IndividualResponseBody::MaritalStatus::TaggedSymbol + ), middle_name: T.nilable(String), phone_numbers: T.nilable( @@ -325,6 +347,62 @@ module FinchAPI end end + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + module MaritalStatus + extend FinchAPI::Internal::Type::Enum + + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + FinchAPI::HRIS::Individual::IndividualResponseBody::MaritalStatus + ) + end + OrSymbol = T.type_alias { T.any(Symbol, String) } + + SINGLE = + T.let( + :single, + FinchAPI::HRIS::Individual::IndividualResponseBody::MaritalStatus::TaggedSymbol + ) + MARRIED = + T.let( + :married, + FinchAPI::HRIS::Individual::IndividualResponseBody::MaritalStatus::TaggedSymbol + ) + DIVORCED = + T.let( + :divorced, + FinchAPI::HRIS::Individual::IndividualResponseBody::MaritalStatus::TaggedSymbol + ) + WIDOWED = + T.let( + :widowed, + FinchAPI::HRIS::Individual::IndividualResponseBody::MaritalStatus::TaggedSymbol + ) + DOMESTIC_PARTNER = + T.let( + :domestic_partner, + FinchAPI::HRIS::Individual::IndividualResponseBody::MaritalStatus::TaggedSymbol + ) + UNKNOWN = + T.let( + :unknown, + FinchAPI::HRIS::Individual::IndividualResponseBody::MaritalStatus::TaggedSymbol + ) + + sig do + override.returns( + T::Array[ + FinchAPI::HRIS::Individual::IndividualResponseBody::MaritalStatus::TaggedSymbol + ] + ) + end + def self.values + end + end + class PhoneNumber < FinchAPI::Internal::Type::BaseModel OrHash = T.type_alias do diff --git a/rbi/finch_api/models/sandbox/directory_create_params.rbi b/rbi/finch_api/models/sandbox/directory_create_params.rbi index 927f333d..8d627a60 100644 --- a/rbi/finch_api/models/sandbox/directory_create_params.rbi +++ b/rbi/finch_api/models/sandbox/directory_create_params.rbi @@ -191,6 +191,11 @@ module FinchAPI end attr_accessor :gender + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + sig { returns(T.nilable(T::Boolean)) } + attr_accessor :highly_compensated_employee + # The employee's income as reported by the provider. This may not always be # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, # depending on what information the provider returns. @@ -208,6 +213,11 @@ module FinchAPI sig { returns(T.nilable(T::Boolean)) } attr_accessor :is_active + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + sig { returns(T.nilable(T::Boolean)) } + attr_accessor :key_employee + # The legal last name of the individual. sig { returns(T.nilable(String)) } attr_accessor :last_name @@ -239,6 +249,17 @@ module FinchAPI end attr_writer :manager + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + sig do + returns( + T.nilable( + FinchAPI::Sandbox::DirectoryCreateParams::Body::MaritalStatus::OrSymbol + ) + ) + end + attr_accessor :marital_status + # The legal middle name of the individual. sig { returns(T.nilable(String)) } attr_accessor :middle_name @@ -284,6 +305,15 @@ module FinchAPI sig { returns(T.nilable(String)) } attr_accessor :title + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + sig { returns(T.nilable(String)) } + attr_accessor :union_code + + # The local chapter or local number within the employee's union. + sig { returns(T.nilable(String)) } + attr_accessor :union_local + sig do params( class_code: T.nilable(String), @@ -327,10 +357,12 @@ module FinchAPI T.nilable( FinchAPI::Sandbox::DirectoryCreateParams::Body::Gender::OrSymbol ), + highly_compensated_employee: T.nilable(T::Boolean), income: T.nilable(FinchAPI::Income::OrHash), income_history: T.nilable(T::Array[T.nilable(FinchAPI::Income::OrHash)]), is_active: T.nilable(T::Boolean), + key_employee: T.nilable(T::Boolean), last_name: T.nilable(String), latest_rehire_date: T.nilable(String), location: T.nilable(FinchAPI::Location::OrHash), @@ -338,6 +370,10 @@ module FinchAPI T.nilable( FinchAPI::Sandbox::DirectoryCreateParams::Body::Manager::OrHash ), + marital_status: + T.nilable( + FinchAPI::Sandbox::DirectoryCreateParams::Body::MaritalStatus::OrSymbol + ), middle_name: T.nilable(String), phone_numbers: T.nilable( @@ -352,7 +388,9 @@ module FinchAPI source_id: T.nilable(String), ssn: T.nilable(String), start_date: T.nilable(String), - title: T.nilable(String) + title: T.nilable(String), + union_code: T.nilable(String), + union_local: T.nilable(String) ).returns(T.attached_class) end def self.new( @@ -384,6 +422,9 @@ module FinchAPI flsa_status: nil, # The gender of the individual. gender: nil, + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + highly_compensated_employee: nil, # The employee's income as reported by the provider. This may not always be # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, # depending on what information the provider returns. @@ -392,12 +433,18 @@ module FinchAPI income_history: nil, # `true` if the individual an an active employee or contractor at the company. is_active: nil, + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + key_employee: nil, # The legal last name of the individual. last_name: nil, latest_rehire_date: nil, location: nil, # The manager object representing the manager of the individual within the org. manager: nil, + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + marital_status: nil, # The legal middle name of the individual. middle_name: nil, phone_numbers: nil, @@ -413,7 +460,12 @@ module FinchAPI ssn: nil, start_date: nil, # The current title of the individual. - title: nil + title: nil, + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + union_code: nil, + # The local chapter or local number within the employee's union. + union_local: nil ) end @@ -461,10 +513,12 @@ module FinchAPI T.nilable( FinchAPI::Sandbox::DirectoryCreateParams::Body::Gender::OrSymbol ), + highly_compensated_employee: T.nilable(T::Boolean), income: T.nilable(FinchAPI::Income), income_history: T.nilable(T::Array[T.nilable(FinchAPI::Income)]), is_active: T.nilable(T::Boolean), + key_employee: T.nilable(T::Boolean), last_name: T.nilable(String), latest_rehire_date: T.nilable(String), location: T.nilable(FinchAPI::Location), @@ -472,6 +526,10 @@ module FinchAPI T.nilable( FinchAPI::Sandbox::DirectoryCreateParams::Body::Manager ), + marital_status: + T.nilable( + FinchAPI::Sandbox::DirectoryCreateParams::Body::MaritalStatus::OrSymbol + ), middle_name: T.nilable(String), phone_numbers: T.nilable( @@ -486,7 +544,9 @@ module FinchAPI source_id: T.nilable(String), ssn: T.nilable(String), start_date: T.nilable(String), - title: T.nilable(String) + title: T.nilable(String), + union_code: T.nilable(String), + union_local: T.nilable(String) } ) end @@ -1088,6 +1148,62 @@ module FinchAPI end end + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + module MaritalStatus + extend FinchAPI::Internal::Type::Enum + + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + FinchAPI::Sandbox::DirectoryCreateParams::Body::MaritalStatus + ) + end + OrSymbol = T.type_alias { T.any(Symbol, String) } + + SINGLE = + T.let( + :single, + FinchAPI::Sandbox::DirectoryCreateParams::Body::MaritalStatus::TaggedSymbol + ) + MARRIED = + T.let( + :married, + FinchAPI::Sandbox::DirectoryCreateParams::Body::MaritalStatus::TaggedSymbol + ) + DIVORCED = + T.let( + :divorced, + FinchAPI::Sandbox::DirectoryCreateParams::Body::MaritalStatus::TaggedSymbol + ) + WIDOWED = + T.let( + :widowed, + FinchAPI::Sandbox::DirectoryCreateParams::Body::MaritalStatus::TaggedSymbol + ) + DOMESTIC_PARTNER = + T.let( + :domestic_partner, + FinchAPI::Sandbox::DirectoryCreateParams::Body::MaritalStatus::TaggedSymbol + ) + UNKNOWN = + T.let( + :unknown, + FinchAPI::Sandbox::DirectoryCreateParams::Body::MaritalStatus::TaggedSymbol + ) + + sig do + override.returns( + T::Array[ + FinchAPI::Sandbox::DirectoryCreateParams::Body::MaritalStatus::TaggedSymbol + ] + ) + end + def self.values + end + end + class PhoneNumber < FinchAPI::Internal::Type::BaseModel OrHash = T.type_alias do diff --git a/rbi/finch_api/models/sandbox/employment_update_params.rbi b/rbi/finch_api/models/sandbox/employment_update_params.rbi index 7f93bae5..ab9a95b8 100644 --- a/rbi/finch_api/models/sandbox/employment_update_params.rbi +++ b/rbi/finch_api/models/sandbox/employment_update_params.rbi @@ -98,6 +98,11 @@ module FinchAPI end attr_accessor :flsa_status + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + sig { returns(T.nilable(T::Boolean)) } + attr_accessor :highly_compensated_employee + # The employee's income as reported by the provider. This may not always be # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, # depending on what information the provider returns. @@ -115,6 +120,11 @@ module FinchAPI sig { returns(T.nilable(T::Boolean)) } attr_accessor :is_active + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + sig { returns(T.nilable(T::Boolean)) } + attr_accessor :key_employee + # The legal last name of the individual. sig { returns(T.nilable(String)) } attr_accessor :last_name @@ -159,6 +169,15 @@ module FinchAPI sig { returns(T.nilable(String)) } attr_accessor :title + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + sig { returns(T.nilable(String)) } + attr_accessor :union_code + + # The local chapter or local number within the employee's union. + sig { returns(T.nilable(String)) } + attr_accessor :union_local + sig do params( individual_id: String, @@ -187,10 +206,12 @@ module FinchAPI T.nilable( FinchAPI::Sandbox::EmploymentUpdateParams::FlsaStatus::OrSymbol ), + highly_compensated_employee: T.nilable(T::Boolean), income: T.nilable(FinchAPI::Income::OrHash), income_history: T.nilable(T::Array[T.nilable(FinchAPI::Income::OrHash)]), is_active: T.nilable(T::Boolean), + key_employee: T.nilable(T::Boolean), last_name: T.nilable(String), latest_rehire_date: T.nilable(String), location: T.nilable(FinchAPI::Location::OrHash), @@ -202,6 +223,8 @@ module FinchAPI source_id: T.nilable(String), start_date: T.nilable(String), title: T.nilable(String), + union_code: T.nilable(String), + union_local: T.nilable(String), request_options: FinchAPI::RequestOptions::OrHash ).returns(T.attached_class) end @@ -225,6 +248,9 @@ module FinchAPI # The FLSA status of the individual. Available options: `exempt`, `non_exempt`, # `unknown`. flsa_status: nil, + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + highly_compensated_employee: nil, # The employee's income as reported by the provider. This may not always be # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, # depending on what information the provider returns. @@ -233,6 +259,9 @@ module FinchAPI income_history: nil, # `true` if the individual an an active employee or contractor at the company. is_active: nil, + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + key_employee: nil, # The legal last name of the individual. last_name: nil, latest_rehire_date: nil, @@ -246,6 +275,11 @@ module FinchAPI start_date: nil, # The current title of the individual. title: nil, + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + union_code: nil, + # The local chapter or local number within the employee's union. + union_local: nil, request_options: {} ) end @@ -279,9 +313,11 @@ module FinchAPI T.nilable( FinchAPI::Sandbox::EmploymentUpdateParams::FlsaStatus::OrSymbol ), + highly_compensated_employee: T.nilable(T::Boolean), income: T.nilable(FinchAPI::Income), income_history: T.nilable(T::Array[T.nilable(FinchAPI::Income)]), is_active: T.nilable(T::Boolean), + key_employee: T.nilable(T::Boolean), last_name: T.nilable(String), latest_rehire_date: T.nilable(String), location: T.nilable(FinchAPI::Location), @@ -291,6 +327,8 @@ module FinchAPI source_id: T.nilable(String), start_date: T.nilable(String), title: T.nilable(String), + union_code: T.nilable(String), + union_local: T.nilable(String), request_options: FinchAPI::RequestOptions } ) diff --git a/rbi/finch_api/models/sandbox/employment_update_response.rbi b/rbi/finch_api/models/sandbox/employment_update_response.rbi index ef743427..f9647e41 100644 --- a/rbi/finch_api/models/sandbox/employment_update_response.rbi +++ b/rbi/finch_api/models/sandbox/employment_update_response.rbi @@ -105,6 +105,11 @@ module FinchAPI end attr_accessor :flsa_status + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + sig { returns(T.nilable(T::Boolean)) } + attr_accessor :highly_compensated_employee + # The employee's income as reported by the provider. This may not always be # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, # depending on what information the provider returns. @@ -122,6 +127,11 @@ module FinchAPI sig { returns(T.nilable(T::Boolean)) } attr_accessor :is_active + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + sig { returns(T.nilable(T::Boolean)) } + attr_accessor :key_employee + # The legal last name of the individual. sig { returns(T.nilable(String)) } attr_accessor :last_name @@ -170,6 +180,15 @@ module FinchAPI sig { returns(T.nilable(String)) } attr_accessor :title + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + sig { returns(T.nilable(String)) } + attr_accessor :union_code + + # The local chapter or local number within the employee's union. + sig { returns(T.nilable(String)) } + attr_accessor :union_local + sig do params( id: String, @@ -198,10 +217,12 @@ module FinchAPI T.nilable( FinchAPI::Models::Sandbox::EmploymentUpdateResponse::FlsaStatus::OrSymbol ), + highly_compensated_employee: T.nilable(T::Boolean), income: T.nilable(FinchAPI::Income::OrHash), income_history: T.nilable(T::Array[T.nilable(FinchAPI::Income::OrHash)]), is_active: T.nilable(T::Boolean), + key_employee: T.nilable(T::Boolean), last_name: T.nilable(String), latest_rehire_date: T.nilable(String), location: T.nilable(FinchAPI::Location::OrHash), @@ -212,7 +233,9 @@ module FinchAPI middle_name: T.nilable(String), source_id: T.nilable(String), start_date: T.nilable(String), - title: T.nilable(String) + title: T.nilable(String), + union_code: T.nilable(String), + union_local: T.nilable(String) ).returns(T.attached_class) end def self.new( @@ -236,6 +259,9 @@ module FinchAPI # The FLSA status of the individual. Available options: `exempt`, `non_exempt`, # `unknown`. flsa_status: nil, + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + highly_compensated_employee: nil, # The employee's income as reported by the provider. This may not always be # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, # depending on what information the provider returns. @@ -244,6 +270,9 @@ module FinchAPI income_history: nil, # `true` if the individual an an active employee or contractor at the company. is_active: nil, + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + key_employee: nil, # The legal last name of the individual. last_name: nil, latest_rehire_date: nil, @@ -256,7 +285,12 @@ module FinchAPI source_id: nil, start_date: nil, # The current title of the individual. - title: nil + title: nil, + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + union_code: nil, + # The local chapter or local number within the employee's union. + union_local: nil ) end @@ -289,9 +323,11 @@ module FinchAPI T.nilable( FinchAPI::Models::Sandbox::EmploymentUpdateResponse::FlsaStatus::TaggedSymbol ), + highly_compensated_employee: T.nilable(T::Boolean), income: T.nilable(FinchAPI::Income), income_history: T.nilable(T::Array[T.nilable(FinchAPI::Income)]), is_active: T.nilable(T::Boolean), + key_employee: T.nilable(T::Boolean), last_name: T.nilable(String), latest_rehire_date: T.nilable(String), location: T.nilable(FinchAPI::Location), @@ -302,7 +338,9 @@ module FinchAPI middle_name: T.nilable(String), source_id: T.nilable(String), start_date: T.nilable(String), - title: T.nilable(String) + title: T.nilable(String), + union_code: T.nilable(String), + union_local: T.nilable(String) } ) end diff --git a/rbi/finch_api/models/sandbox/individual_update_params.rbi b/rbi/finch_api/models/sandbox/individual_update_params.rbi index 11aad873..4523190f 100644 --- a/rbi/finch_api/models/sandbox/individual_update_params.rbi +++ b/rbi/finch_api/models/sandbox/individual_update_params.rbi @@ -64,6 +64,17 @@ module FinchAPI sig { returns(T.nilable(String)) } attr_accessor :last_name + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + sig do + returns( + T.nilable( + FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::OrSymbol + ) + ) + end + attr_accessor :marital_status + # The legal middle name of the individual. sig { returns(T.nilable(String)) } attr_accessor :middle_name @@ -119,6 +130,10 @@ module FinchAPI FinchAPI::Sandbox::IndividualUpdateParams::Gender::OrSymbol ), last_name: T.nilable(String), + marital_status: + T.nilable( + FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::OrSymbol + ), middle_name: T.nilable(String), phone_numbers: T.nilable( @@ -150,6 +165,9 @@ module FinchAPI gender: nil, # The legal last name of the individual. last_name: nil, + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + marital_status: nil, # The legal middle name of the individual. middle_name: nil, phone_numbers: nil, @@ -185,6 +203,10 @@ module FinchAPI FinchAPI::Sandbox::IndividualUpdateParams::Gender::OrSymbol ), last_name: T.nilable(String), + marital_status: + T.nilable( + FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::OrSymbol + ), middle_name: T.nilable(String), phone_numbers: T.nilable( @@ -396,6 +418,62 @@ module FinchAPI end end + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + module MaritalStatus + extend FinchAPI::Internal::Type::Enum + + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus + ) + end + OrSymbol = T.type_alias { T.any(Symbol, String) } + + SINGLE = + T.let( + :single, + FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol + ) + MARRIED = + T.let( + :married, + FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol + ) + DIVORCED = + T.let( + :divorced, + FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol + ) + WIDOWED = + T.let( + :widowed, + FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol + ) + DOMESTIC_PARTNER = + T.let( + :domestic_partner, + FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol + ) + UNKNOWN = + T.let( + :unknown, + FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol + ) + + sig do + override.returns( + T::Array[ + FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::TaggedSymbol + ] + ) + end + def self.values + end + end + class PhoneNumber < FinchAPI::Internal::Type::BaseModel OrHash = T.type_alias do diff --git a/rbi/finch_api/models/sandbox/individual_update_response.rbi b/rbi/finch_api/models/sandbox/individual_update_response.rbi index 2b7eaf22..37e669ae 100644 --- a/rbi/finch_api/models/sandbox/individual_update_response.rbi +++ b/rbi/finch_api/models/sandbox/individual_update_response.rbi @@ -67,6 +67,17 @@ module FinchAPI sig { returns(T.nilable(String)) } attr_accessor :last_name + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + sig do + returns( + T.nilable( + FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol + ) + ) + end + attr_accessor :marital_status + # The legal middle name of the individual. sig { returns(T.nilable(String)) } attr_accessor :middle_name @@ -122,6 +133,10 @@ module FinchAPI FinchAPI::Models::Sandbox::IndividualUpdateResponse::Gender::OrSymbol ), last_name: T.nilable(String), + marital_status: + T.nilable( + FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::OrSymbol + ), middle_name: T.nilable(String), phone_numbers: T.nilable( @@ -153,6 +168,9 @@ module FinchAPI gender: nil, # The legal last name of the individual. last_name: nil, + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + marital_status: nil, # The legal middle name of the individual. middle_name: nil, phone_numbers: nil, @@ -189,6 +207,10 @@ module FinchAPI FinchAPI::Models::Sandbox::IndividualUpdateResponse::Gender::TaggedSymbol ), last_name: T.nilable(String), + marital_status: + T.nilable( + FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol + ), middle_name: T.nilable(String), phone_numbers: T.nilable( @@ -402,6 +424,62 @@ module FinchAPI end end + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + module MaritalStatus + extend FinchAPI::Internal::Type::Enum + + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus + ) + end + OrSymbol = T.type_alias { T.any(Symbol, String) } + + SINGLE = + T.let( + :single, + FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol + ) + MARRIED = + T.let( + :married, + FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol + ) + DIVORCED = + T.let( + :divorced, + FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol + ) + WIDOWED = + T.let( + :widowed, + FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol + ) + DOMESTIC_PARTNER = + T.let( + :domestic_partner, + FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol + ) + UNKNOWN = + T.let( + :unknown, + FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol + ) + + sig do + override.returns( + T::Array[ + FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus::TaggedSymbol + ] + ) + end + def self.values + end + end + class PhoneNumber < FinchAPI::Internal::Type::BaseModel OrHash = T.type_alias do diff --git a/rbi/finch_api/resources/sandbox/employment.rbi b/rbi/finch_api/resources/sandbox/employment.rbi index f501c8f0..0141f9ab 100644 --- a/rbi/finch_api/resources/sandbox/employment.rbi +++ b/rbi/finch_api/resources/sandbox/employment.rbi @@ -33,10 +33,12 @@ module FinchAPI T.nilable( FinchAPI::Sandbox::EmploymentUpdateParams::FlsaStatus::OrSymbol ), + highly_compensated_employee: T.nilable(T::Boolean), income: T.nilable(FinchAPI::Income::OrHash), income_history: T.nilable(T::Array[T.nilable(FinchAPI::Income::OrHash)]), is_active: T.nilable(T::Boolean), + key_employee: T.nilable(T::Boolean), last_name: T.nilable(String), latest_rehire_date: T.nilable(String), location: T.nilable(FinchAPI::Location::OrHash), @@ -48,6 +50,8 @@ module FinchAPI source_id: T.nilable(String), start_date: T.nilable(String), title: T.nilable(String), + union_code: T.nilable(String), + union_local: T.nilable(String), request_options: FinchAPI::RequestOptions::OrHash ).returns(FinchAPI::Models::Sandbox::EmploymentUpdateResponse) end @@ -71,6 +75,9 @@ module FinchAPI # The FLSA status of the individual. Available options: `exempt`, `non_exempt`, # `unknown`. flsa_status: nil, + # IRS flag indicating whether the employee is classified as a Highly Compensated + # Employee for nondiscrimination testing purposes (ADP/ACP tests). US-only. + highly_compensated_employee: nil, # The employee's income as reported by the provider. This may not always be # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, # depending on what information the provider returns. @@ -79,6 +86,9 @@ module FinchAPI income_history: nil, # `true` if the individual an an active employee or contractor at the company. is_active: nil, + # IRS flag indicating whether the employee is classified as a Key Employee for + # top-heavy testing purposes. US-only. + key_employee: nil, # The legal last name of the individual. last_name: nil, latest_rehire_date: nil, @@ -92,6 +102,11 @@ module FinchAPI start_date: nil, # The current title of the individual. title: nil, + # The code identifying the union the employee is a member of, as configured in the + # payroll system. + union_code: nil, + # The local chapter or local number within the employee's union. + union_local: nil, request_options: {} ) end diff --git a/rbi/finch_api/resources/sandbox/individual.rbi b/rbi/finch_api/resources/sandbox/individual.rbi index 9aee0d3e..53a31eb6 100644 --- a/rbi/finch_api/resources/sandbox/individual.rbi +++ b/rbi/finch_api/resources/sandbox/individual.rbi @@ -26,6 +26,10 @@ module FinchAPI FinchAPI::Sandbox::IndividualUpdateParams::Gender::OrSymbol ), last_name: T.nilable(String), + marital_status: + T.nilable( + FinchAPI::Sandbox::IndividualUpdateParams::MaritalStatus::OrSymbol + ), middle_name: T.nilable(String), phone_numbers: T.nilable( @@ -57,6 +61,9 @@ module FinchAPI gender: nil, # The legal last name of the individual. last_name: nil, + # The employee's marital status, used for beneficiary designation and spousal + # consent workflows. + marital_status: nil, # The legal middle name of the individual. middle_name: nil, phone_numbers: nil, diff --git a/sig/finch_api/models/hris/employment_data.rbs b/sig/finch_api/models/hris/employment_data.rbs index 0a48f7f2..3e4d7a46 100644 --- a/sig/finch_api/models/hris/employment_data.rbs +++ b/sig/finch_api/models/hris/employment_data.rbs @@ -18,7 +18,9 @@ module FinchAPI end_date: String?, first_name: String?, flsa_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status?, + highly_compensated_employee: bool?, is_active: bool?, + key_employee: bool?, last_name: String?, latest_rehire_date: String?, location: FinchAPI::Location?, @@ -26,6 +28,8 @@ module FinchAPI middle_name: String?, start_date: String?, title: String?, + union_code: String?, + union_local: String?, custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField]?, income: FinchAPI::Income?, income_history: ::Array[FinchAPI::Income?]?, @@ -50,8 +54,12 @@ module FinchAPI attr_accessor flsa_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status? + attr_accessor highly_compensated_employee: bool? + attr_accessor is_active: bool? + attr_accessor key_employee: bool? + attr_accessor last_name: String? attr_accessor latest_rehire_date: String? @@ -66,6 +74,10 @@ module FinchAPI attr_accessor title: String? + attr_accessor union_code: String? + + attr_accessor union_local: String? + attr_accessor custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField]? attr_accessor income: FinchAPI::Income? @@ -85,7 +97,9 @@ module FinchAPI end_date: String?, first_name: String?, flsa_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status?, + highly_compensated_employee: bool?, is_active: bool?, + key_employee: bool?, last_name: String?, latest_rehire_date: String?, location: FinchAPI::Location?, @@ -93,6 +107,8 @@ module FinchAPI middle_name: String?, start_date: String?, title: String?, + union_code: String?, + union_local: String?, ?custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField]?, ?income: FinchAPI::Income?, ?income_history: ::Array[FinchAPI::Income?]?, @@ -109,7 +125,9 @@ module FinchAPI end_date: String?, first_name: String?, flsa_status: FinchAPI::Models::HRIS::EmploymentData::EmploymentDataResponseBody::flsa_status?, + highly_compensated_employee: bool?, is_active: bool?, + key_employee: bool?, last_name: String?, latest_rehire_date: String?, location: FinchAPI::Location?, @@ -117,6 +135,8 @@ module FinchAPI middle_name: String?, start_date: String?, title: String?, + union_code: String?, + union_local: String?, custom_fields: ::Array[FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::CustomField]?, income: FinchAPI::Income?, income_history: ::Array[FinchAPI::Income?]?, diff --git a/sig/finch_api/models/hris/individual.rbs b/sig/finch_api/models/hris/individual.rbs index b262a346..dc150c99 100644 --- a/sig/finch_api/models/hris/individual.rbs +++ b/sig/finch_api/models/hris/individual.rbs @@ -16,6 +16,7 @@ module FinchAPI first_name: String?, gender: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender?, last_name: String?, + marital_status: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::marital_status?, middle_name: String?, phone_numbers: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::PhoneNumber?]?, preferred_name: String?, @@ -38,6 +39,8 @@ module FinchAPI attr_accessor last_name: String? + attr_accessor marital_status: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::marital_status? + attr_accessor middle_name: String? attr_accessor phone_numbers: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::PhoneNumber?]? @@ -59,6 +62,7 @@ module FinchAPI first_name: String?, gender: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender?, last_name: String?, + marital_status: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::marital_status?, middle_name: String?, phone_numbers: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::PhoneNumber?]?, preferred_name: String?, @@ -75,6 +79,7 @@ module FinchAPI first_name: String?, gender: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender?, last_name: String?, + marital_status: FinchAPI::Models::HRIS::Individual::IndividualResponseBody::marital_status?, middle_name: String?, phone_numbers: ::Array[FinchAPI::HRIS::Individual::IndividualResponseBody::PhoneNumber?]?, preferred_name: String?, @@ -122,6 +127,27 @@ module FinchAPI def self?.values: -> ::Array[FinchAPI::Models::HRIS::Individual::IndividualResponseBody::gender] end + type marital_status = + :single + | :married + | :divorced + | :widowed + | :domestic_partner + | :unknown + + module MaritalStatus + extend FinchAPI::Internal::Type::Enum + + SINGLE: :single + MARRIED: :married + DIVORCED: :divorced + WIDOWED: :widowed + DOMESTIC_PARTNER: :domestic_partner + UNKNOWN: :unknown + + def self?.values: -> ::Array[FinchAPI::Models::HRIS::Individual::IndividualResponseBody::marital_status] + end + type phone_number = { data: String?, diff --git a/sig/finch_api/models/sandbox/directory_create_params.rbs b/sig/finch_api/models/sandbox/directory_create_params.rbs index 16349344..b7161bac 100644 --- a/sig/finch_api/models/sandbox/directory_create_params.rbs +++ b/sig/finch_api/models/sandbox/directory_create_params.rbs @@ -40,13 +40,16 @@ module FinchAPI first_name: String?, flsa_status: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::flsa_status?, gender: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::gender?, + highly_compensated_employee: bool?, income: FinchAPI::Income?, income_history: ::Array[FinchAPI::Income?]?, is_active: bool?, + key_employee: bool?, last_name: String?, latest_rehire_date: String?, location: FinchAPI::Location?, manager: FinchAPI::Sandbox::DirectoryCreateParams::Body::Manager?, + marital_status: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::marital_status?, middle_name: String?, phone_numbers: ::Array[FinchAPI::Sandbox::DirectoryCreateParams::Body::PhoneNumber?]?, preferred_name: String?, @@ -54,7 +57,9 @@ module FinchAPI source_id: String?, ssn: String?, start_date: String?, - title: String? + title: String?, + union_code: String?, + union_local: String? } class Body < FinchAPI::Internal::Type::BaseModel @@ -84,12 +89,16 @@ module FinchAPI attr_accessor gender: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::gender? + attr_accessor highly_compensated_employee: bool? + attr_accessor income: FinchAPI::Income? attr_accessor income_history: ::Array[FinchAPI::Income?]? attr_accessor is_active: bool? + attr_accessor key_employee: bool? + attr_accessor last_name: String? attr_accessor latest_rehire_date: String? @@ -98,6 +107,8 @@ module FinchAPI attr_accessor manager: FinchAPI::Sandbox::DirectoryCreateParams::Body::Manager? + attr_accessor marital_status: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::marital_status? + attr_accessor middle_name: String? attr_accessor phone_numbers: ::Array[FinchAPI::Sandbox::DirectoryCreateParams::Body::PhoneNumber?]? @@ -114,6 +125,10 @@ module FinchAPI attr_accessor title: String? + attr_accessor union_code: String? + + attr_accessor union_local: String? + def initialize: ( ?class_code: String?, ?custom_fields: ::Array[FinchAPI::Sandbox::DirectoryCreateParams::Body::CustomField]?, @@ -128,13 +143,16 @@ module FinchAPI ?first_name: String?, ?flsa_status: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::flsa_status?, ?gender: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::gender?, + ?highly_compensated_employee: bool?, ?income: FinchAPI::Income?, ?income_history: ::Array[FinchAPI::Income?]?, ?is_active: bool?, + ?key_employee: bool?, ?last_name: String?, ?latest_rehire_date: String?, ?location: FinchAPI::Location?, ?manager: FinchAPI::Sandbox::DirectoryCreateParams::Body::Manager?, + ?marital_status: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::marital_status?, ?middle_name: String?, ?phone_numbers: ::Array[FinchAPI::Sandbox::DirectoryCreateParams::Body::PhoneNumber?]?, ?preferred_name: String?, @@ -142,7 +160,9 @@ module FinchAPI ?source_id: String?, ?ssn: String?, ?start_date: String?, - ?title: String? + ?title: String?, + ?union_code: String?, + ?union_local: String? ) -> void def to_hash: -> { @@ -159,13 +179,16 @@ module FinchAPI first_name: String?, flsa_status: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::flsa_status?, gender: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::gender?, + highly_compensated_employee: bool?, income: FinchAPI::Income?, income_history: ::Array[FinchAPI::Income?]?, is_active: bool?, + key_employee: bool?, last_name: String?, latest_rehire_date: String?, location: FinchAPI::Location?, manager: FinchAPI::Sandbox::DirectoryCreateParams::Body::Manager?, + marital_status: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::marital_status?, middle_name: String?, phone_numbers: ::Array[FinchAPI::Sandbox::DirectoryCreateParams::Body::PhoneNumber?]?, preferred_name: String?, @@ -173,7 +196,9 @@ module FinchAPI source_id: String?, ssn: String?, start_date: String?, - title: String? + title: String?, + union_code: String?, + union_local: String? } type custom_field = @@ -392,6 +417,27 @@ module FinchAPI def to_hash: -> { id: String } end + type marital_status = + :single + | :married + | :divorced + | :widowed + | :domestic_partner + | :unknown + + module MaritalStatus + extend FinchAPI::Internal::Type::Enum + + SINGLE: :single + MARRIED: :married + DIVORCED: :divorced + WIDOWED: :widowed + DOMESTIC_PARTNER: :domestic_partner + UNKNOWN: :unknown + + def self?.values: -> ::Array[FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::marital_status] + end + type phone_number = { data: String?, diff --git a/sig/finch_api/models/sandbox/employment_update_params.rbs b/sig/finch_api/models/sandbox/employment_update_params.rbs index f811e094..7ab5d60e 100644 --- a/sig/finch_api/models/sandbox/employment_update_params.rbs +++ b/sig/finch_api/models/sandbox/employment_update_params.rbs @@ -12,9 +12,11 @@ module FinchAPI end_date: String?, first_name: String?, flsa_status: FinchAPI::Models::Sandbox::EmploymentUpdateParams::flsa_status?, + highly_compensated_employee: bool?, income: FinchAPI::Income?, income_history: ::Array[FinchAPI::Income?]?, is_active: bool?, + key_employee: bool?, last_name: String?, latest_rehire_date: String?, location: FinchAPI::Location?, @@ -22,7 +24,9 @@ module FinchAPI middle_name: String?, source_id: String?, start_date: String?, - title: String? + title: String?, + union_code: String?, + union_local: String? } & FinchAPI::Internal::Type::request_parameters @@ -48,12 +52,16 @@ module FinchAPI attr_accessor flsa_status: FinchAPI::Models::Sandbox::EmploymentUpdateParams::flsa_status? + attr_accessor highly_compensated_employee: bool? + attr_accessor income: FinchAPI::Income? attr_accessor income_history: ::Array[FinchAPI::Income?]? attr_accessor is_active: bool? + attr_accessor key_employee: bool? + attr_accessor last_name: String? attr_accessor latest_rehire_date: String? @@ -70,6 +78,10 @@ module FinchAPI attr_accessor title: String? + attr_accessor union_code: String? + + attr_accessor union_local: String? + def initialize: ( individual_id: String, ?class_code: String?, @@ -80,9 +92,11 @@ module FinchAPI ?end_date: String?, ?first_name: String?, ?flsa_status: FinchAPI::Models::Sandbox::EmploymentUpdateParams::flsa_status?, + ?highly_compensated_employee: bool?, ?income: FinchAPI::Income?, ?income_history: ::Array[FinchAPI::Income?]?, ?is_active: bool?, + ?key_employee: bool?, ?last_name: String?, ?latest_rehire_date: String?, ?location: FinchAPI::Location?, @@ -91,6 +105,8 @@ module FinchAPI ?source_id: String?, ?start_date: String?, ?title: String?, + ?union_code: String?, + ?union_local: String?, ?request_options: FinchAPI::request_opts ) -> void @@ -104,9 +120,11 @@ module FinchAPI end_date: String?, first_name: String?, flsa_status: FinchAPI::Models::Sandbox::EmploymentUpdateParams::flsa_status?, + highly_compensated_employee: bool?, income: FinchAPI::Income?, income_history: ::Array[FinchAPI::Income?]?, is_active: bool?, + key_employee: bool?, last_name: String?, latest_rehire_date: String?, location: FinchAPI::Location?, @@ -115,6 +133,8 @@ module FinchAPI source_id: String?, start_date: String?, title: String?, + union_code: String?, + union_local: String?, request_options: FinchAPI::RequestOptions } diff --git a/sig/finch_api/models/sandbox/employment_update_response.rbs b/sig/finch_api/models/sandbox/employment_update_response.rbs index 99da3492..fa7de372 100644 --- a/sig/finch_api/models/sandbox/employment_update_response.rbs +++ b/sig/finch_api/models/sandbox/employment_update_response.rbs @@ -12,9 +12,11 @@ module FinchAPI end_date: String?, first_name: String?, flsa_status: FinchAPI::Models::Sandbox::EmploymentUpdateResponse::flsa_status?, + highly_compensated_employee: bool?, income: FinchAPI::Income?, income_history: ::Array[FinchAPI::Income?]?, is_active: bool?, + key_employee: bool?, last_name: String?, latest_rehire_date: String?, location: FinchAPI::Location?, @@ -22,7 +24,9 @@ module FinchAPI middle_name: String?, source_id: String?, start_date: String?, - title: String? + title: String?, + union_code: String?, + union_local: String? } class EmploymentUpdateResponse < FinchAPI::Internal::Type::BaseModel @@ -46,12 +50,16 @@ module FinchAPI attr_accessor flsa_status: FinchAPI::Models::Sandbox::EmploymentUpdateResponse::flsa_status? + attr_accessor highly_compensated_employee: bool? + attr_accessor income: FinchAPI::Income? attr_accessor income_history: ::Array[FinchAPI::Income?]? attr_accessor is_active: bool? + attr_accessor key_employee: bool? + attr_accessor last_name: String? attr_accessor latest_rehire_date: String? @@ -68,6 +76,10 @@ module FinchAPI attr_accessor title: String? + attr_accessor union_code: String? + + attr_accessor union_local: String? + def initialize: ( ?id: String, ?class_code: String?, @@ -78,9 +90,11 @@ module FinchAPI ?end_date: String?, ?first_name: String?, ?flsa_status: FinchAPI::Models::Sandbox::EmploymentUpdateResponse::flsa_status?, + ?highly_compensated_employee: bool?, ?income: FinchAPI::Income?, ?income_history: ::Array[FinchAPI::Income?]?, ?is_active: bool?, + ?key_employee: bool?, ?last_name: String?, ?latest_rehire_date: String?, ?location: FinchAPI::Location?, @@ -88,7 +102,9 @@ module FinchAPI ?middle_name: String?, ?source_id: String?, ?start_date: String?, - ?title: String? + ?title: String?, + ?union_code: String?, + ?union_local: String? ) -> void def to_hash: -> { @@ -101,9 +117,11 @@ module FinchAPI end_date: String?, first_name: String?, flsa_status: FinchAPI::Models::Sandbox::EmploymentUpdateResponse::flsa_status?, + highly_compensated_employee: bool?, income: FinchAPI::Income?, income_history: ::Array[FinchAPI::Income?]?, is_active: bool?, + key_employee: bool?, last_name: String?, latest_rehire_date: String?, location: FinchAPI::Location?, @@ -111,7 +129,9 @@ module FinchAPI middle_name: String?, source_id: String?, start_date: String?, - title: String? + title: String?, + union_code: String?, + union_local: String? } type custom_field = diff --git a/sig/finch_api/models/sandbox/individual_update_params.rbs b/sig/finch_api/models/sandbox/individual_update_params.rbs index fdb93cd9..6ebf6e0c 100644 --- a/sig/finch_api/models/sandbox/individual_update_params.rbs +++ b/sig/finch_api/models/sandbox/individual_update_params.rbs @@ -11,6 +11,7 @@ module FinchAPI first_name: String?, gender: FinchAPI::Models::Sandbox::IndividualUpdateParams::gender?, last_name: String?, + marital_status: FinchAPI::Models::Sandbox::IndividualUpdateParams::marital_status?, middle_name: String?, phone_numbers: ::Array[FinchAPI::Sandbox::IndividualUpdateParams::PhoneNumber?]?, preferred_name: String?, @@ -39,6 +40,8 @@ module FinchAPI attr_accessor last_name: String? + attr_accessor marital_status: FinchAPI::Models::Sandbox::IndividualUpdateParams::marital_status? + attr_accessor middle_name: String? attr_accessor phone_numbers: ::Array[FinchAPI::Sandbox::IndividualUpdateParams::PhoneNumber?]? @@ -58,6 +61,7 @@ module FinchAPI ?first_name: String?, ?gender: FinchAPI::Models::Sandbox::IndividualUpdateParams::gender?, ?last_name: String?, + ?marital_status: FinchAPI::Models::Sandbox::IndividualUpdateParams::marital_status?, ?middle_name: String?, ?phone_numbers: ::Array[FinchAPI::Sandbox::IndividualUpdateParams::PhoneNumber?]?, ?preferred_name: String?, @@ -75,6 +79,7 @@ module FinchAPI first_name: String?, gender: FinchAPI::Models::Sandbox::IndividualUpdateParams::gender?, last_name: String?, + marital_status: FinchAPI::Models::Sandbox::IndividualUpdateParams::marital_status?, middle_name: String?, phone_numbers: ::Array[FinchAPI::Sandbox::IndividualUpdateParams::PhoneNumber?]?, preferred_name: String?, @@ -156,6 +161,27 @@ module FinchAPI def self?.values: -> ::Array[FinchAPI::Models::Sandbox::IndividualUpdateParams::gender] end + type marital_status = + :single + | :married + | :divorced + | :widowed + | :domestic_partner + | :unknown + + module MaritalStatus + extend FinchAPI::Internal::Type::Enum + + SINGLE: :single + MARRIED: :married + DIVORCED: :divorced + WIDOWED: :widowed + DOMESTIC_PARTNER: :domestic_partner + UNKNOWN: :unknown + + def self?.values: -> ::Array[FinchAPI::Models::Sandbox::IndividualUpdateParams::marital_status] + end + type phone_number = { data: String?, diff --git a/sig/finch_api/models/sandbox/individual_update_response.rbs b/sig/finch_api/models/sandbox/individual_update_response.rbs index 9cecce0e..fb8f84c4 100644 --- a/sig/finch_api/models/sandbox/individual_update_response.rbs +++ b/sig/finch_api/models/sandbox/individual_update_response.rbs @@ -11,6 +11,7 @@ module FinchAPI first_name: String?, gender: FinchAPI::Models::Sandbox::IndividualUpdateResponse::gender?, last_name: String?, + marital_status: FinchAPI::Models::Sandbox::IndividualUpdateResponse::marital_status?, middle_name: String?, phone_numbers: ::Array[FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber?]?, preferred_name: String?, @@ -37,6 +38,8 @@ module FinchAPI attr_accessor last_name: String? + attr_accessor marital_status: FinchAPI::Models::Sandbox::IndividualUpdateResponse::marital_status? + attr_accessor middle_name: String? attr_accessor phone_numbers: ::Array[FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber?]? @@ -56,6 +59,7 @@ module FinchAPI ?first_name: String?, ?gender: FinchAPI::Models::Sandbox::IndividualUpdateResponse::gender?, ?last_name: String?, + ?marital_status: FinchAPI::Models::Sandbox::IndividualUpdateResponse::marital_status?, ?middle_name: String?, ?phone_numbers: ::Array[FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber?]?, ?preferred_name: String?, @@ -72,6 +76,7 @@ module FinchAPI first_name: String?, gender: FinchAPI::Models::Sandbox::IndividualUpdateResponse::gender?, last_name: String?, + marital_status: FinchAPI::Models::Sandbox::IndividualUpdateResponse::marital_status?, middle_name: String?, phone_numbers: ::Array[FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber?]?, preferred_name: String?, @@ -152,6 +157,27 @@ module FinchAPI def self?.values: -> ::Array[FinchAPI::Models::Sandbox::IndividualUpdateResponse::gender] end + type marital_status = + :single + | :married + | :divorced + | :widowed + | :domestic_partner + | :unknown + + module MaritalStatus + extend FinchAPI::Internal::Type::Enum + + SINGLE: :single + MARRIED: :married + DIVORCED: :divorced + WIDOWED: :widowed + DOMESTIC_PARTNER: :domestic_partner + UNKNOWN: :unknown + + def self?.values: -> ::Array[FinchAPI::Models::Sandbox::IndividualUpdateResponse::marital_status] + end + type phone_number = { data: String?, diff --git a/sig/finch_api/resources/sandbox/employment.rbs b/sig/finch_api/resources/sandbox/employment.rbs index 2ce56e7f..700f69e5 100644 --- a/sig/finch_api/resources/sandbox/employment.rbs +++ b/sig/finch_api/resources/sandbox/employment.rbs @@ -12,9 +12,11 @@ module FinchAPI ?end_date: String?, ?first_name: String?, ?flsa_status: FinchAPI::Models::Sandbox::EmploymentUpdateParams::flsa_status?, + ?highly_compensated_employee: bool?, ?income: FinchAPI::Income?, ?income_history: ::Array[FinchAPI::Income?]?, ?is_active: bool?, + ?key_employee: bool?, ?last_name: String?, ?latest_rehire_date: String?, ?location: FinchAPI::Location?, @@ -23,6 +25,8 @@ module FinchAPI ?source_id: String?, ?start_date: String?, ?title: String?, + ?union_code: String?, + ?union_local: String?, ?request_options: FinchAPI::request_opts ) -> FinchAPI::Models::Sandbox::EmploymentUpdateResponse diff --git a/sig/finch_api/resources/sandbox/individual.rbs b/sig/finch_api/resources/sandbox/individual.rbs index 77d42400..624cb525 100644 --- a/sig/finch_api/resources/sandbox/individual.rbs +++ b/sig/finch_api/resources/sandbox/individual.rbs @@ -11,6 +11,7 @@ module FinchAPI ?first_name: String?, ?gender: FinchAPI::Models::Sandbox::IndividualUpdateParams::gender?, ?last_name: String?, + ?marital_status: FinchAPI::Models::Sandbox::IndividualUpdateParams::marital_status?, ?middle_name: String?, ?phone_numbers: ::Array[FinchAPI::Sandbox::IndividualUpdateParams::PhoneNumber?]?, ?preferred_name: String?, diff --git a/test/finch_api/resources/sandbox/employment_test.rb b/test/finch_api/resources/sandbox/employment_test.rb index 31177729..43361365 100644 --- a/test/finch_api/resources/sandbox/employment_test.rb +++ b/test/finch_api/resources/sandbox/employment_test.rb @@ -21,9 +21,11 @@ def test_update end_date: String | nil, first_name: String | nil, flsa_status: FinchAPI::Models::Sandbox::EmploymentUpdateResponse::FlsaStatus | nil, + highly_compensated_employee: FinchAPI::Internal::Type::Boolean | nil, income: FinchAPI::Income | nil, income_history: ^(FinchAPI::Internal::Type::ArrayOf[FinchAPI::Income, nil?: true]) | nil, is_active: FinchAPI::Internal::Type::Boolean | nil, + key_employee: FinchAPI::Internal::Type::Boolean | nil, last_name: String | nil, latest_rehire_date: String | nil, location: FinchAPI::Location | nil, @@ -31,7 +33,9 @@ def test_update middle_name: String | nil, source_id: String | nil, start_date: String | nil, - title: String | nil + title: String | nil, + union_code: String | nil, + union_local: String | nil } end end diff --git a/test/finch_api/resources/sandbox/individual_test.rb b/test/finch_api/resources/sandbox/individual_test.rb index 64285ae4..c289b1b3 100644 --- a/test/finch_api/resources/sandbox/individual_test.rb +++ b/test/finch_api/resources/sandbox/individual_test.rb @@ -20,6 +20,7 @@ def test_update first_name: String | nil, gender: FinchAPI::Models::Sandbox::IndividualUpdateResponse::Gender | nil, last_name: String | nil, + marital_status: FinchAPI::Models::Sandbox::IndividualUpdateResponse::MaritalStatus | nil, middle_name: String | nil, phone_numbers: ^(FinchAPI::Internal::Type::ArrayOf[FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber, nil?: true]) | nil, preferred_name: String | nil, From ba8e0a7037b38eed4f688e413b0b001af0e31a26 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2026 17:15:38 +0000 Subject: [PATCH 2/3] feat(stlc): configurable CI runner and private-production-repo support in workflow templates --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 583a4cbc..fe820380 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: permissions: contents: read id-token: write - runs-on: ${{ github.repository == 'stainless-sdks/finch-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} + runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} if: |- github.repository == 'stainless-sdks/finch-ruby' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata') @@ -56,7 +56,7 @@ jobs: lint: timeout-minutes: 10 name: lint - runs-on: ${{ github.repository == 'stainless-sdks/finch-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} + runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} if: github.event_name == 'push' || github.event.pull_request.head.repo.fork steps: @@ -73,7 +73,7 @@ jobs: test: timeout-minutes: 10 name: test - runs-on: ${{ github.repository == 'stainless-sdks/finch-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} + runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} if: github.event_name == 'push' || github.event.pull_request.head.repo.fork steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 From 9c0081fee32958b4679b075045c00d457b7fc69c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2026 17:16:00 +0000 Subject: [PATCH 3/3] release: 0.1.0-alpha.50 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/finch_api/version.rb | 2 +- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1916b020..56c23893 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.49" + ".": "0.1.0-alpha.50" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 64d8c190..fabe5315 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.1.0-alpha.50 (2026-07-17) + +Full Changelog: [v0.1.0-alpha.49...v0.1.0-alpha.50](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.49...v0.1.0-alpha.50) + +### Features + +* **api:** api update ([043c5b5](https://github.com/Finch-API/finch-api-ruby/commit/043c5b520c2561f0f20d377cfa75c443b07b4bb6)) +* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([ba8e0a7](https://github.com/Finch-API/finch-api-ruby/commit/ba8e0a7037b38eed4f688e413b0b001af0e31a26)) + ## 0.1.0-alpha.49 (2026-07-15) Full Changelog: [v0.1.0-alpha.48...v0.1.0-alpha.49](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.48...v0.1.0-alpha.49) diff --git a/Gemfile.lock b/Gemfile.lock index b7b49596..cb27bbff 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - finch-api (0.1.0.pre.alpha.49) + finch-api (0.1.0.pre.alpha.50) cgi connection_pool diff --git a/README.md b/README.md index 6e959d64..f4a8f6c6 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "finch-api", "~> 0.1.0.pre.alpha.49" +gem "finch-api", "~> 0.1.0.pre.alpha.50" ``` diff --git a/lib/finch_api/version.rb b/lib/finch_api/version.rb index c3ccfa44..80559d3f 100644 --- a/lib/finch_api/version.rb +++ b/lib/finch_api/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module FinchAPI - VERSION = "0.1.0.pre.alpha.49" + VERSION = "0.1.0.pre.alpha.50" end