From 14b68c95d5b50abe3d46745a86054d81e80684c1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 4 Apr 2025 18:05:26 +0000 Subject: [PATCH 01/16] chore(internal): version bump (#113) --- Gemfile.lock | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 81912370..14f7cd96 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - finch-api (0.1.0.pre.alpha.5) + finch-api (0.1.0.pre.alpha.6) connection_pool GEM diff --git a/README.md b/README.md index 62588788..c019f5e4 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "finch-api", "~> 0.1.0.pre.alpha.5" +gem "finch-api", "~> 0.1.0.pre.alpha.6" ``` From 0745cc74ce9ef4c0fa2c391ac62b155188110990 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 4 Apr 2025 21:00:20 +0000 Subject: [PATCH 02/16] chore: simplify internal utils (#114) --- lib/finch_api/internal/util.rb | 43 ++++++------------- .../finch_api/internal/individuals_page.rbi | 4 +- rbi/lib/finch_api/internal/page.rbi | 4 +- rbi/lib/finch_api/internal/responses_page.rbi | 4 +- rbi/lib/finch_api/internal/single_page.rbi | 4 +- rbi/lib/finch_api/internal/util.rbi | 12 +++--- sig/finch_api/internal/util.rbs | 10 ++--- 7 files changed, 32 insertions(+), 49 deletions(-) diff --git a/lib/finch_api/internal/util.rb b/lib/finch_api/internal/util.rb index c66e018b..3d7b84e9 100644 --- a/lib/finch_api/internal/util.rb +++ b/lib/finch_api/internal/util.rb @@ -70,13 +70,11 @@ def primitive?(input) # @api private # - # @param input [Object] + # @param input [String, Boolean] # # @return [Boolean, Object] def coerce_boolean(input) case input.is_a?(String) ? input.downcase : input - in Numeric - input.nonzero? in "true" true in "false" @@ -88,7 +86,7 @@ def coerce_boolean(input) # @api private # - # @param input [Object] + # @param input [String, Boolean] # # @raise [ArgumentError] # @return [Boolean, nil] @@ -103,34 +101,20 @@ def coerce_boolean!(input) # @api private # - # @param input [Object] + # @param input [String, Integer] # # @return [Integer, Object] def coerce_integer(input) - case input - in true - 1 - in false - 0 - else - Integer(input, exception: false) || input - end + Integer(input, exception: false) || input end # @api private # - # @param input [Object] + # @param input [String, Integer, Float] # # @return [Float, Object] def coerce_float(input) - case input - in true - 1.0 - in false - 0.0 - else - Float(input, exception: false) || input - end + Float(input, exception: false) || input end # @api private @@ -159,12 +143,7 @@ class << self private def deep_merge_lr(lhs, rhs, concat: false) case [lhs, rhs, concat] in [Hash, Hash, _] - rhs_cleaned = rhs.reject { _2 == FinchAPI::Internal::OMIT } - lhs - .reject { |key, _| rhs[key] == FinchAPI::Internal::OMIT } - .merge(rhs_cleaned) do |_, old_val, new_val| - deep_merge_lr(old_val, new_val, concat: concat) - end + lhs.merge(rhs) { deep_merge_lr(_2, _3, concat: concat) } in [Array, Array, true] lhs.concat(rhs) else @@ -362,7 +341,7 @@ def normalized_headers(*headers) value = case val in Array - val.map { _1.to_s.strip }.join(", ") + val.filter_map { _1&.to_s&.strip }.join(", ") else val&.to_s&.strip end @@ -469,7 +448,7 @@ class << self case val in IO y << "Content-Type: application/octet-stream\r\n\r\n" - IO.copy_stream(val, y) + IO.copy_stream(val.tap(&:rewind), y) in StringIO y << "Content-Type: application/octet-stream\r\n\r\n" y << val.string @@ -533,6 +512,8 @@ def encode_content(headers, body) boundary, strio = encode_multipart_streaming(body) headers = {**headers, "content-type" => "#{content_type}; boundary=#{boundary}"} [headers, strio] + in [_, IO] + [headers, body.tap(&:rewind)] in [_, StringIO] [headers, body.string] else @@ -673,7 +654,7 @@ def decode_lines(enum) # # @param lines [Enumerable] # - # @return [Hash{Symbol=>Object}] + # @return [EnumerableObject}>] def decode_sse(lines) # rubocop:disable Metrics/BlockLength chain_fused(lines) do |y| diff --git a/rbi/lib/finch_api/internal/individuals_page.rbi b/rbi/lib/finch_api/internal/individuals_page.rbi index 53be57c2..e511ba92 100644 --- a/rbi/lib/finch_api/internal/individuals_page.rbi +++ b/rbi/lib/finch_api/internal/individuals_page.rbi @@ -3,10 +3,10 @@ module FinchAPI module Internal class IndividualsPage - Elem = type_member - include FinchAPI::Internal::Type::BasePage + Elem = type_member + sig { returns(T.nilable(T::Array[Elem])) } attr_accessor :individuals diff --git a/rbi/lib/finch_api/internal/page.rbi b/rbi/lib/finch_api/internal/page.rbi index 3ff508d9..b98ede04 100644 --- a/rbi/lib/finch_api/internal/page.rbi +++ b/rbi/lib/finch_api/internal/page.rbi @@ -3,10 +3,10 @@ module FinchAPI module Internal class Page - Elem = type_member - include FinchAPI::Internal::Type::BasePage + Elem = type_member + sig { returns(T.nilable(T::Array[Elem])) } attr_accessor :data diff --git a/rbi/lib/finch_api/internal/responses_page.rbi b/rbi/lib/finch_api/internal/responses_page.rbi index 07d21c75..af9da4e4 100644 --- a/rbi/lib/finch_api/internal/responses_page.rbi +++ b/rbi/lib/finch_api/internal/responses_page.rbi @@ -3,10 +3,10 @@ module FinchAPI module Internal class ResponsesPage - Elem = type_member - include FinchAPI::Internal::Type::BasePage + Elem = type_member + sig { returns(T.nilable(T::Array[Elem])) } attr_accessor :responses diff --git a/rbi/lib/finch_api/internal/single_page.rbi b/rbi/lib/finch_api/internal/single_page.rbi index 852564ad..2b0a5089 100644 --- a/rbi/lib/finch_api/internal/single_page.rbi +++ b/rbi/lib/finch_api/internal/single_page.rbi @@ -3,10 +3,10 @@ module FinchAPI module Internal class SinglePage < ::Array - Elem = type_member - include FinchAPI::Internal::Type::BasePage + Elem = type_member + sig { override.returns(T::Boolean) } def next_page? end diff --git a/rbi/lib/finch_api/internal/util.rbi b/rbi/lib/finch_api/internal/util.rbi index de992e41..5b8ad613 100644 --- a/rbi/lib/finch_api/internal/util.rbi +++ b/rbi/lib/finch_api/internal/util.rbi @@ -28,22 +28,22 @@ module FinchAPI end # @api private - sig { params(input: T.anything).returns(T.any(T::Boolean, T.anything)) } + sig { params(input: T.any(String, T::Boolean)).returns(T.any(T::Boolean, T.anything)) } def coerce_boolean(input) end # @api private - sig { params(input: T.anything).returns(T.nilable(T::Boolean)) } + sig { params(input: T.any(String, T::Boolean)).returns(T.nilable(T::Boolean)) } def coerce_boolean!(input) end # @api private - sig { params(input: T.anything).returns(T.any(Integer, T.anything)) } + sig { params(input: T.any(String, Integer)).returns(T.any(Integer, T.anything)) } def coerce_integer(input) end # @api private - sig { params(input: T.anything).returns(T.any(Float, T.anything)) } + sig { params(input: T.any(String, Integer, Float)).returns(T.any(Float, T.anything)) } def coerce_float(input) end @@ -271,7 +271,9 @@ module FinchAPI # @api private # # https://html.spec.whatwg.org/multipage/server-sent-events.html#parsing-an-event-stream - sig { params(lines: T::Enumerable[String]).returns(FinchAPI::Internal::Util::ServerSentEvent) } + sig do + params(lines: T::Enumerable[String]).returns(T::Enumerable[FinchAPI::Internal::Util::ServerSentEvent]) + end def decode_sse(lines) end end diff --git a/sig/finch_api/internal/util.rbs b/sig/finch_api/internal/util.rbs index 1bd60fa1..d22c6682 100644 --- a/sig/finch_api/internal/util.rbs +++ b/sig/finch_api/internal/util.rbs @@ -9,13 +9,13 @@ module FinchAPI def self?.primitive?: (top input) -> bool - def self?.coerce_boolean: (top input) -> (bool | top) + def self?.coerce_boolean: (String | bool input) -> (bool | top) - def self?.coerce_boolean!: (top input) -> bool? + def self?.coerce_boolean!: (String | bool input) -> bool? - def self?.coerce_integer: (top input) -> (Integer | top) + def self?.coerce_integer: (String | Integer input) -> (Integer | top) - def self?.coerce_float: (top input) -> (Float | top) + def self?.coerce_float: (String | Integer | Float input) -> (Float | top) def self?.coerce_hash: (top input) -> (::Hash[top, top] | top) @@ -133,7 +133,7 @@ module FinchAPI def self?.decode_sse: ( Enumerable[String] lines - ) -> FinchAPI::Internal::Util::server_sent_event + ) -> Enumerable[FinchAPI::Internal::Util::server_sent_event] end end end From 9af5943664bddedd57feab75609521ccfbf3afbd Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 4 Apr 2025 21:07:18 +0000 Subject: [PATCH 03/16] chore: misc sdk polish (#116) --- .rubocop.yml | 3 +++ README.md | 4 ++-- lib/finch_api/internal/type/base_model.rb | 9 ++++++--- lib/finch_api/internal/type/converter.rb | 2 ++ lib/finch_api/internal/type/enum.rb | 2 ++ 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index d541e936..8564ae77 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -202,6 +202,9 @@ Style/MethodCallWithArgsParentheses: Exclude: - "**/*.gemspec" +Style/MultilineBlockChain: + Enabled: false + # Perfectly fine. Style/MultipleComparison: Enabled: false diff --git a/README.md b/README.md index c019f5e4..53b5058f 100644 --- a/README.md +++ b/README.md @@ -139,9 +139,9 @@ Due to limitations with the Sorbet type system, where a method otherwise can tak Please follow Sorbet's [setup guides](https://sorbet.org/docs/adopting) for best experience. ```ruby -model = FinchAPI::Models::HRIS::DirectoryListParams.new +params = FinchAPI::Models::HRIS::DirectoryListParams.new -finch.hris.directory.list(**model) +finch.hris.directory.list(**params) ``` ## Advanced diff --git a/lib/finch_api/internal/type/base_model.rb b/lib/finch_api/internal/type/base_model.rb index 338c570c..492938db 100644 --- a/lib/finch_api/internal/type/base_model.rb +++ b/lib/finch_api/internal/type/base_model.rb @@ -175,7 +175,9 @@ def optional(name_sym, type_info, spec = {}) # @param other [Object] # # @return [Boolean] - def ==(other) = other.is_a?(Class) && other <= FinchAPI::Internal::Type::BaseModel && other.fields == fields + def ==(other) + other.is_a?(Class) && other <= FinchAPI::Internal::Type::BaseModel && other.fields == fields + end end # @param other [Object] @@ -357,7 +359,8 @@ def initialize(data = {}) in Hash => coerced @data = coerced else - raise ArgumentError.new("Expected a #{Hash} or #{FinchAPI::Internal::Type::BaseModel}, got #{data.inspect}") + message = "Expected a #{Hash} or #{FinchAPI::Internal::Type::BaseModel}, got #{data.inspect}" + raise ArgumentError.new(message) end end @@ -365,7 +368,7 @@ def initialize(data = {}) def inspect rows = self.class.known_fields.keys.map do "#{_1}=#{@data.key?(_1) ? public_send(_1) : ''}" - rescue FinchAPI::ConversionError + rescue FinchAPI::Errors::ConversionError "#{_1}=#{@data.fetch(_1)}" end "#<#{self.class.name}:0x#{object_id.to_s(16)} #{rows.join(' ')}>" diff --git a/lib/finch_api/internal/type/converter.rb b/lib/finch_api/internal/type/converter.rb index c02896b6..34ce3483 100644 --- a/lib/finch_api/internal/type/converter.rb +++ b/lib/finch_api/internal/type/converter.rb @@ -209,7 +209,9 @@ def coerce( # # @return [Object] def dump(target, value) + # rubocop:disable Layout/LineLength target.is_a?(FinchAPI::Internal::Type::Converter) ? target.dump(value) : FinchAPI::Internal::Type::Unknown.dump(value) + # rubocop:enable Layout/LineLength end end end diff --git a/lib/finch_api/internal/type/enum.rb b/lib/finch_api/internal/type/enum.rb index 5051454f..5502ef63 100644 --- a/lib/finch_api/internal/type/enum.rb +++ b/lib/finch_api/internal/type/enum.rb @@ -62,7 +62,9 @@ def ===(other) = values.include?(other) # # @return [Boolean] def ==(other) + # rubocop:disable Layout/LineLength other.is_a?(Module) && other.singleton_class <= FinchAPI::Internal::Type::Enum && other.values.to_set == values.to_set + # rubocop:enable Layout/LineLength end # @api private From 469c82c13e10eff05dc59148195e41a8060c660f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 4 Apr 2025 21:13:06 +0000 Subject: [PATCH 04/16] chore: document LSP support in read me (#117) --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 53b5058f..93f3330a 100644 --- a/README.md +++ b/README.md @@ -126,9 +126,23 @@ finch.hris.directory.list(request_options: {timeout: 5}) ## LSP Support -### Sorbet +### Solargraph + +This library includes [Solargraph](https://solargraph.org) support for both auto completion and go to definition. + +```ruby +gem "solargraph", group: :development +``` + +After Solargraph is installed, **you must populate its index** either via the provided editor command, or by running the following in your terminal: + +```sh +bundle exec solargraph gems +``` -**This library emits an intentional warning under the [`tapioca` toolchain](https://github.com/Shopify/tapioca)**. This is normal, and does not impact functionality. +Otherwise Solargraph will not be able to provide type information or auto-completion for any non-indexed libraries. + +### Sorbet This library is written with [Sorbet type definitions](https://sorbet.org/docs/rbi). However, there is no runtime dependency on the `sorbet-runtime`. @@ -144,6 +158,12 @@ params = FinchAPI::Models::HRIS::DirectoryListParams.new finch.hris.directory.list(**params) ``` +Note: **This library emits an intentional warning under the [`tapioca` toolchain](https://github.com/Shopify/tapioca)**. This is normal, and does not impact functionality. + +### Ruby LSP + +The Ruby LSP has [best effort support](https://shopify.github.io/ruby-lsp/#guessed-types) for inferring type information from Ruby code, and as such it may not always be able to provide accurate type information. + ## Advanced ### Making custom/undocumented requests From 4fa584ab9a22689faa9b218f508a38188d5847d3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 05:19:12 +0000 Subject: [PATCH 05/16] feat: support query, header, and body params that have identical names (#118) --- lib/finch_api/internal/type/base_model.rb | 9 ++++++--- .../resources/hris/company/pay_statement_item/rules.rb | 2 +- lib/finch_api/resources/request_forwarding.rb | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/finch_api/internal/type/base_model.rb b/lib/finch_api/internal/type/base_model.rb index 492938db..2fe14c06 100644 --- a/lib/finch_api/internal/type/base_model.rb +++ b/lib/finch_api/internal/type/base_model.rb @@ -265,6 +265,7 @@ def dump(value) return super end + is_param = singleton_class <= FinchAPI::Internal::Type::RequestParameters::Converter acc = {} coerced.each do |key, val| @@ -273,19 +274,21 @@ def dump(value) in nil acc.store(name, super(val)) else - mode, api_name, type_fn = field.fetch_values(:mode, :api_name, :type_fn) + mode, type_fn = field.fetch_values(:mode, :type_fn) case mode in :coerce next else target = type_fn.call + api_name = is_param ? name : field.fetch(:api_name) acc.store(api_name, FinchAPI::Internal::Type::Converter.dump(target, val)) end end end - known_fields.each_value do |field| - mode, api_name, const = field.fetch_values(:mode, :api_name, :const) + known_fields.each do |name, field| + mode, const = field.fetch_values(:mode, :const) + api_name = is_param ? name : field.fetch(:api_name) next if mode == :coerce || acc.key?(api_name) || const == FinchAPI::Internal::OMIT acc.store(api_name, const) end diff --git a/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb b/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb index 93c52ff0..5ac36519 100644 --- a/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +++ b/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb @@ -55,7 +55,7 @@ def update(rule_id, params = {}) @client.request( method: :put, path: ["employer/pay-statement-item/rule/%1$s", rule_id], - body: parsed, + body: parsed.transform_keys(optional_property: :optionalProperty), model: FinchAPI::Models::HRIS::Company::PayStatementItem::RuleUpdateResponse, options: options ) diff --git a/lib/finch_api/resources/request_forwarding.rb b/lib/finch_api/resources/request_forwarding.rb index 38131d3f..b00d4fac 100644 --- a/lib/finch_api/resources/request_forwarding.rb +++ b/lib/finch_api/resources/request_forwarding.rb @@ -25,7 +25,7 @@ def forward(params) @client.request( method: :post, path: "forward", - body: parsed, + body: parsed.transform_keys(method_: :method), model: FinchAPI::Models::RequestForwardingForwardResponse, options: options ) From a67519c5f2039cccce94f069ad1eeb40252290c1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 13:46:53 +0000 Subject: [PATCH 06/16] feat: allow all valid `JSON` types to be encoded (#119) --- lib/finch_api/internal/util.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/finch_api/internal/util.rb b/lib/finch_api/internal/util.rb index 3d7b84e9..bcd6e54c 100644 --- a/lib/finch_api/internal/util.rb +++ b/lib/finch_api/internal/util.rb @@ -61,7 +61,7 @@ class << self # @return [Boolean] def primitive?(input) case input - in true | false | Integer | Float | Symbol | String + in true | false | Numeric | Symbol | String true else false @@ -504,7 +504,7 @@ class << self def encode_content(headers, body) content_type = headers["content-type"] case [content_type, body] - in [%r{^application/(?:vnd\.api\+)?json}, Hash | Array] + in [%r{^application/(?:vnd\.api\+)?json}, _] unless body.nil? [headers, JSON.fast_generate(body)] in [%r{^application/(?:x-)?jsonl}, Enumerable] [headers, body.lazy.map { JSON.fast_generate(_1) }] @@ -516,6 +516,8 @@ def encode_content(headers, body) [headers, body.tap(&:rewind)] in [_, StringIO] [headers, body.string] + in [_, Symbol | Numeric] + [headers, body.to_s] else [headers, body] end From 429517572c98a1ccc9851a6cb16e875546b637ee Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 13:54:22 +0000 Subject: [PATCH 07/16] chore: rename confusing `Type::BooleanModel` to `Type::Boolean` (#120) --- lib/finch_api/internal/type/boolean_model.rb | 4 +- lib/finch_api/internal/type/converter.rb | 2 +- lib/finch_api/models/account_update_event.rb | 232 ++++++++--------- .../models/connect/session_new_params.rb | 2 +- .../hris/benefit_features_and_operations.rb | 4 +- .../hris/benefits/individual_benefit.rb | 2 +- .../benefits/individual_enroll_many_params.rb | 2 +- .../pay_statement_item_list_response.rb | 4 +- lib/finch_api/models/hris/employment_data.rb | 2 +- .../models/hris/individual_in_directory.rb | 2 +- lib/finch_api/models/hris/pay_statement.rb | 4 +- .../models/hris/supported_benefit.rb | 4 +- lib/finch_api/models/introspection.rb | 2 +- lib/finch_api/models/provider.rb | 238 +++++++++--------- .../models/sandbox/directory_create_params.rb | 2 +- .../sandbox/employment_update_params.rb | 2 +- .../sandbox/employment_update_response.rb | 2 +- .../models/sandbox/payment_create_params.rb | 4 +- .../finch_api/internal/type/boolean_model.rbi | 2 +- sig/finch_api/internal/type/boolean_model.rbs | 2 +- .../internal/type/base_model_test.rb | 14 +- test/finch_api/resources/account_test.rb | 2 +- .../finch_api/resources/hris/benefits_test.rb | 4 +- .../resources/hris/directory_test.rb | 4 +- test/finch_api/resources/providers_test.rb | 6 +- .../resources/sandbox/employment_test.rb | 2 +- 26 files changed, 275 insertions(+), 275 deletions(-) diff --git a/lib/finch_api/internal/type/boolean_model.rb b/lib/finch_api/internal/type/boolean_model.rb index 9a6e6099..d23ba6f2 100644 --- a/lib/finch_api/internal/type/boolean_model.rb +++ b/lib/finch_api/internal/type/boolean_model.rb @@ -8,7 +8,7 @@ module Type # @abstract # # Ruby has no Boolean class; this is something for models to refer to. - class BooleanModel + class Boolean extend FinchAPI::Internal::Type::Converter # @param other [Object] @@ -19,7 +19,7 @@ def self.===(other) = other == true || other == false # @param other [Object] # # @return [Boolean] - def self.==(other) = other.is_a?(Class) && other <= FinchAPI::Internal::Type::BooleanModel + def self.==(other) = other.is_a?(Class) && other <= FinchAPI::Internal::Type::Boolean class << self # @api private diff --git a/lib/finch_api/internal/type/converter.rb b/lib/finch_api/internal/type/converter.rb index 34ce3483..d3155e08 100644 --- a/lib/finch_api/internal/type/converter.rb +++ b/lib/finch_api/internal/type/converter.rb @@ -64,7 +64,7 @@ def type_info(spec) in Hash type_info(spec.slice(:const, :enum, :union).first&.last) in true | false - -> { FinchAPI::Internal::Type::BooleanModel } + -> { FinchAPI::Internal::Type::Boolean } in FinchAPI::Internal::Type::Converter | Class | Symbol -> { spec } in NilClass | Integer | Float diff --git a/lib/finch_api/models/account_update_event.rb b/lib/finch_api/models/account_update_event.rb index ee0f5d54..8f7d8c8f 100644 --- a/lib/finch_api/models/account_update_event.rb +++ b/lib/finch_api/models/account_update_event.rb @@ -187,7 +187,7 @@ class Company < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -216,7 +216,7 @@ class Company < FinchAPI::Internal::Type::BaseModel # @!attribute [r] ein # # @return [Boolean, nil] - optional :ein, FinchAPI::Internal::Type::BooleanModel + optional :ein, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -235,7 +235,7 @@ class Company < FinchAPI::Internal::Type::BaseModel # @!attribute [r] legal_name # # @return [Boolean, nil] - optional :legal_name, FinchAPI::Internal::Type::BooleanModel + optional :legal_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -254,7 +254,7 @@ class Company < FinchAPI::Internal::Type::BaseModel # @!attribute [r] primary_email # # @return [Boolean, nil] - optional :primary_email, FinchAPI::Internal::Type::BooleanModel + optional :primary_email, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -263,7 +263,7 @@ class Company < FinchAPI::Internal::Type::BaseModel # @!attribute [r] primary_phone_number # # @return [Boolean, nil] - optional :primary_phone_number, FinchAPI::Internal::Type::BooleanModel + optional :primary_phone_number, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -302,7 +302,7 @@ class Accounts < FinchAPI::Internal::Type::BaseModel # @!attribute [r] account_name # # @return [Boolean, nil] - optional :account_name, FinchAPI::Internal::Type::BooleanModel + optional :account_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -311,7 +311,7 @@ class Accounts < FinchAPI::Internal::Type::BaseModel # @!attribute [r] account_number # # @return [Boolean, nil] - optional :account_number, FinchAPI::Internal::Type::BooleanModel + optional :account_number, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -320,7 +320,7 @@ class Accounts < FinchAPI::Internal::Type::BaseModel # @!attribute [r] account_type # # @return [Boolean, nil] - optional :account_type, FinchAPI::Internal::Type::BooleanModel + optional :account_type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -329,7 +329,7 @@ class Accounts < FinchAPI::Internal::Type::BaseModel # @!attribute [r] institution_name # # @return [Boolean, nil] - optional :institution_name, FinchAPI::Internal::Type::BooleanModel + optional :institution_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -338,7 +338,7 @@ class Accounts < FinchAPI::Internal::Type::BaseModel # @!attribute [r] routing_number # # @return [Boolean, nil] - optional :routing_number, FinchAPI::Internal::Type::BooleanModel + optional :routing_number, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -361,7 +361,7 @@ class Departments < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -390,7 +390,7 @@ class Parent < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -410,7 +410,7 @@ class Entity < FinchAPI::Internal::Type::BaseModel # @!attribute [r] subtype # # @return [Boolean, nil] - optional :subtype, FinchAPI::Internal::Type::BooleanModel + optional :subtype, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -419,7 +419,7 @@ class Entity < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -439,7 +439,7 @@ class Locations < FinchAPI::Internal::Type::BaseModel # @!attribute [r] city # # @return [Boolean, nil] - optional :city, FinchAPI::Internal::Type::BooleanModel + optional :city, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -448,7 +448,7 @@ class Locations < FinchAPI::Internal::Type::BaseModel # @!attribute [r] country # # @return [Boolean, nil] - optional :country, FinchAPI::Internal::Type::BooleanModel + optional :country, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -457,7 +457,7 @@ class Locations < FinchAPI::Internal::Type::BaseModel # @!attribute [r] line1 # # @return [Boolean, nil] - optional :line1, FinchAPI::Internal::Type::BooleanModel + optional :line1, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -466,7 +466,7 @@ class Locations < FinchAPI::Internal::Type::BaseModel # @!attribute [r] line2 # # @return [Boolean, nil] - optional :line2, FinchAPI::Internal::Type::BooleanModel + optional :line2, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -475,7 +475,7 @@ class Locations < FinchAPI::Internal::Type::BaseModel # @!attribute [r] postal_code # # @return [Boolean, nil] - optional :postal_code, FinchAPI::Internal::Type::BooleanModel + optional :postal_code, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -484,7 +484,7 @@ class Locations < FinchAPI::Internal::Type::BaseModel # @!attribute [r] state # # @return [Boolean, nil] - optional :state, FinchAPI::Internal::Type::BooleanModel + optional :state, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -539,7 +539,7 @@ class Individuals < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -548,7 +548,7 @@ class Individuals < FinchAPI::Internal::Type::BaseModel # @!attribute [r] department # # @return [Boolean, nil] - optional :department, FinchAPI::Internal::Type::BooleanModel + optional :department, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -557,7 +557,7 @@ class Individuals < FinchAPI::Internal::Type::BaseModel # @!attribute [r] first_name # # @return [Boolean, nil] - optional :first_name, FinchAPI::Internal::Type::BooleanModel + optional :first_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -566,7 +566,7 @@ class Individuals < FinchAPI::Internal::Type::BaseModel # @!attribute [r] is_active # # @return [Boolean, nil] - optional :is_active, FinchAPI::Internal::Type::BooleanModel + optional :is_active, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -575,7 +575,7 @@ class Individuals < FinchAPI::Internal::Type::BaseModel # @!attribute [r] last_name # # @return [Boolean, nil] - optional :last_name, FinchAPI::Internal::Type::BooleanModel + optional :last_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -594,7 +594,7 @@ class Individuals < FinchAPI::Internal::Type::BaseModel # @!attribute [r] middle_name # # @return [Boolean, nil] - optional :middle_name, FinchAPI::Internal::Type::BooleanModel + optional :middle_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -629,7 +629,7 @@ class Manager < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -649,7 +649,7 @@ class Paging < FinchAPI::Internal::Type::BaseModel # @!attribute [r] count # # @return [Boolean, nil] - optional :count, FinchAPI::Internal::Type::BooleanModel + optional :count, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -658,7 +658,7 @@ class Paging < FinchAPI::Internal::Type::BaseModel # @!attribute [r] offset # # @return [Boolean, nil] - optional :offset, FinchAPI::Internal::Type::BooleanModel + optional :offset, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -679,7 +679,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -688,7 +688,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] class_code # # @return [Boolean, nil] - optional :class_code, FinchAPI::Internal::Type::BooleanModel + optional :class_code, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -697,7 +697,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] custom_fields # # @return [Boolean, nil] - optional :custom_fields, FinchAPI::Internal::Type::BooleanModel + optional :custom_fields, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -726,7 +726,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] employment_status # # @return [Boolean, nil] - optional :employment_status, FinchAPI::Internal::Type::BooleanModel + optional :employment_status, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -735,7 +735,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] end_date # # @return [Boolean, nil] - optional :end_date, FinchAPI::Internal::Type::BooleanModel + optional :end_date, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -744,7 +744,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] first_name # # @return [Boolean, nil] - optional :first_name, FinchAPI::Internal::Type::BooleanModel + optional :first_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -763,7 +763,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] income_history # # @return [Boolean, nil] - optional :income_history, FinchAPI::Internal::Type::BooleanModel + optional :income_history, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -772,7 +772,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] is_active # # @return [Boolean, nil] - optional :is_active, FinchAPI::Internal::Type::BooleanModel + optional :is_active, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -781,7 +781,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] last_name # # @return [Boolean, nil] - optional :last_name, FinchAPI::Internal::Type::BooleanModel + optional :last_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -810,7 +810,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] middle_name # # @return [Boolean, nil] - optional :middle_name, FinchAPI::Internal::Type::BooleanModel + optional :middle_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -819,7 +819,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] start_date # # @return [Boolean, nil] - optional :start_date, FinchAPI::Internal::Type::BooleanModel + optional :start_date, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -828,7 +828,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] title # # @return [Boolean, nil] - optional :title, FinchAPI::Internal::Type::BooleanModel + optional :title, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -883,7 +883,7 @@ class Department < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -902,7 +902,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] subtype # # @return [Boolean, nil] - optional :subtype, FinchAPI::Internal::Type::BooleanModel + optional :subtype, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -911,7 +911,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -931,7 +931,7 @@ class Income < FinchAPI::Internal::Type::BaseModel # @!attribute [r] amount # # @return [Boolean, nil] - optional :amount, FinchAPI::Internal::Type::BooleanModel + optional :amount, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -940,7 +940,7 @@ class Income < FinchAPI::Internal::Type::BaseModel # @!attribute [r] currency # # @return [Boolean, nil] - optional :currency, FinchAPI::Internal::Type::BooleanModel + optional :currency, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -949,7 +949,7 @@ class Income < FinchAPI::Internal::Type::BaseModel # @!attribute [r] unit # # @return [Boolean, nil] - optional :unit, FinchAPI::Internal::Type::BooleanModel + optional :unit, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -970,7 +970,7 @@ class Location < FinchAPI::Internal::Type::BaseModel # @!attribute [r] city # # @return [Boolean, nil] - optional :city, FinchAPI::Internal::Type::BooleanModel + optional :city, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -979,7 +979,7 @@ class Location < FinchAPI::Internal::Type::BaseModel # @!attribute [r] country # # @return [Boolean, nil] - optional :country, FinchAPI::Internal::Type::BooleanModel + optional :country, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -988,7 +988,7 @@ class Location < FinchAPI::Internal::Type::BaseModel # @!attribute [r] line1 # # @return [Boolean, nil] - optional :line1, FinchAPI::Internal::Type::BooleanModel + optional :line1, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -997,7 +997,7 @@ class Location < FinchAPI::Internal::Type::BaseModel # @!attribute [r] line2 # # @return [Boolean, nil] - optional :line2, FinchAPI::Internal::Type::BooleanModel + optional :line2, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1006,7 +1006,7 @@ class Location < FinchAPI::Internal::Type::BaseModel # @!attribute [r] postal_code # # @return [Boolean, nil] - optional :postal_code, FinchAPI::Internal::Type::BooleanModel + optional :postal_code, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1015,7 +1015,7 @@ class Location < FinchAPI::Internal::Type::BaseModel # @!attribute [r] state # # @return [Boolean, nil] - optional :state, FinchAPI::Internal::Type::BooleanModel + optional :state, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1039,7 +1039,7 @@ class Manager < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1059,7 +1059,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1068,7 +1068,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] dob # # @return [Boolean, nil] - optional :dob, FinchAPI::Internal::Type::BooleanModel + optional :dob, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1087,7 +1087,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] encrypted_ssn # # @return [Boolean, nil] - optional :encrypted_ssn, FinchAPI::Internal::Type::BooleanModel + optional :encrypted_ssn, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1096,7 +1096,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] ethnicity # # @return [Boolean, nil] - optional :ethnicity, FinchAPI::Internal::Type::BooleanModel + optional :ethnicity, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1105,7 +1105,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] first_name # # @return [Boolean, nil] - optional :first_name, FinchAPI::Internal::Type::BooleanModel + optional :first_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1114,7 +1114,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] gender # # @return [Boolean, nil] - optional :gender, FinchAPI::Internal::Type::BooleanModel + optional :gender, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1123,7 +1123,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] last_name # # @return [Boolean, nil] - optional :last_name, FinchAPI::Internal::Type::BooleanModel + optional :last_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1132,7 +1132,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] middle_name # # @return [Boolean, nil] - optional :middle_name, FinchAPI::Internal::Type::BooleanModel + optional :middle_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1151,7 +1151,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] preferred_name # # @return [Boolean, nil] - optional :preferred_name, FinchAPI::Internal::Type::BooleanModel + optional :preferred_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1170,7 +1170,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] ssn # # @return [Boolean, nil] - optional :ssn, FinchAPI::Internal::Type::BooleanModel + optional :ssn, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1217,7 +1217,7 @@ class Emails < FinchAPI::Internal::Type::BaseModel # @!attribute [r] data # # @return [Boolean, nil] - optional :data, FinchAPI::Internal::Type::BooleanModel + optional :data, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1226,7 +1226,7 @@ class Emails < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1246,7 +1246,7 @@ class PhoneNumbers < FinchAPI::Internal::Type::BaseModel # @!attribute [r] data # # @return [Boolean, nil] - optional :data, FinchAPI::Internal::Type::BooleanModel + optional :data, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1255,7 +1255,7 @@ class PhoneNumbers < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1275,7 +1275,7 @@ class Residence < FinchAPI::Internal::Type::BaseModel # @!attribute [r] city # # @return [Boolean, nil] - optional :city, FinchAPI::Internal::Type::BooleanModel + optional :city, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1284,7 +1284,7 @@ class Residence < FinchAPI::Internal::Type::BaseModel # @!attribute [r] country # # @return [Boolean, nil] - optional :country, FinchAPI::Internal::Type::BooleanModel + optional :country, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1293,7 +1293,7 @@ class Residence < FinchAPI::Internal::Type::BaseModel # @!attribute [r] line1 # # @return [Boolean, nil] - optional :line1, FinchAPI::Internal::Type::BooleanModel + optional :line1, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1302,7 +1302,7 @@ class Residence < FinchAPI::Internal::Type::BaseModel # @!attribute [r] line2 # # @return [Boolean, nil] - optional :line2, FinchAPI::Internal::Type::BooleanModel + optional :line2, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1311,7 +1311,7 @@ class Residence < FinchAPI::Internal::Type::BaseModel # @!attribute [r] postal_code # # @return [Boolean, nil] - optional :postal_code, FinchAPI::Internal::Type::BooleanModel + optional :postal_code, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1320,7 +1320,7 @@ class Residence < FinchAPI::Internal::Type::BaseModel # @!attribute [r] state # # @return [Boolean, nil] - optional :state, FinchAPI::Internal::Type::BooleanModel + optional :state, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1345,7 +1345,7 @@ class PayGroup < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1354,7 +1354,7 @@ class PayGroup < FinchAPI::Internal::Type::BaseModel # @!attribute [r] individual_ids # # @return [Boolean, nil] - optional :individual_ids, FinchAPI::Internal::Type::BooleanModel + optional :individual_ids, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1363,7 +1363,7 @@ class PayGroup < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1372,7 +1372,7 @@ class PayGroup < FinchAPI::Internal::Type::BaseModel # @!attribute [r] pay_frequencies # # @return [Boolean, nil] - optional :pay_frequencies, FinchAPI::Internal::Type::BooleanModel + optional :pay_frequencies, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1424,12 +1424,12 @@ class Paging < FinchAPI::Internal::Type::BaseModel # @!attribute count # # @return [Boolean] - required :count, FinchAPI::Internal::Type::BooleanModel + required :count, FinchAPI::Internal::Type::Boolean # @!attribute offset # # @return [Boolean] - required :offset, FinchAPI::Internal::Type::BooleanModel + required :offset, FinchAPI::Internal::Type::Boolean # @!parse # # @param count [Boolean] @@ -1475,7 +1475,7 @@ class PayStatements < FinchAPI::Internal::Type::BaseModel # @!attribute [r] gross_pay # # @return [Boolean, nil] - optional :gross_pay, FinchAPI::Internal::Type::BooleanModel + optional :gross_pay, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1484,7 +1484,7 @@ class PayStatements < FinchAPI::Internal::Type::BaseModel # @!attribute [r] individual_id # # @return [Boolean, nil] - optional :individual_id, FinchAPI::Internal::Type::BooleanModel + optional :individual_id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1493,7 +1493,7 @@ class PayStatements < FinchAPI::Internal::Type::BaseModel # @!attribute [r] net_pay # # @return [Boolean, nil] - optional :net_pay, FinchAPI::Internal::Type::BooleanModel + optional :net_pay, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1502,7 +1502,7 @@ class PayStatements < FinchAPI::Internal::Type::BaseModel # @!attribute [r] payment_method # # @return [Boolean, nil] - optional :payment_method, FinchAPI::Internal::Type::BooleanModel + optional :payment_method, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1521,7 +1521,7 @@ class PayStatements < FinchAPI::Internal::Type::BaseModel # @!attribute [r] total_hours # # @return [Boolean, nil] - optional :total_hours, FinchAPI::Internal::Type::BooleanModel + optional :total_hours, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1530,7 +1530,7 @@ class PayStatements < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1571,7 +1571,7 @@ class Earnings < FinchAPI::Internal::Type::BaseModel # @!attribute [r] amount # # @return [Boolean, nil] - optional :amount, FinchAPI::Internal::Type::BooleanModel + optional :amount, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1580,7 +1580,7 @@ class Earnings < FinchAPI::Internal::Type::BaseModel # @!attribute [r] currency # # @return [Boolean, nil] - optional :currency, FinchAPI::Internal::Type::BooleanModel + optional :currency, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1589,7 +1589,7 @@ class Earnings < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1598,7 +1598,7 @@ class Earnings < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1620,7 +1620,7 @@ class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] amount # # @return [Boolean, nil] - optional :amount, FinchAPI::Internal::Type::BooleanModel + optional :amount, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1629,7 +1629,7 @@ class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] currency # # @return [Boolean, nil] - optional :currency, FinchAPI::Internal::Type::BooleanModel + optional :currency, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1638,7 +1638,7 @@ class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1647,7 +1647,7 @@ class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] pre_tax # # @return [Boolean, nil] - optional :pre_tax, FinchAPI::Internal::Type::BooleanModel + optional :pre_tax, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1656,7 +1656,7 @@ class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1679,7 +1679,7 @@ class EmployerContributions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] amount # # @return [Boolean, nil] - optional :amount, FinchAPI::Internal::Type::BooleanModel + optional :amount, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1688,7 +1688,7 @@ class EmployerContributions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] currency # # @return [Boolean, nil] - optional :currency, FinchAPI::Internal::Type::BooleanModel + optional :currency, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1697,7 +1697,7 @@ class EmployerContributions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1718,7 +1718,7 @@ class Taxes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] amount # # @return [Boolean, nil] - optional :amount, FinchAPI::Internal::Type::BooleanModel + optional :amount, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1727,7 +1727,7 @@ class Taxes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] currency # # @return [Boolean, nil] - optional :currency, FinchAPI::Internal::Type::BooleanModel + optional :currency, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1736,7 +1736,7 @@ class Taxes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] employer # # @return [Boolean, nil] - optional :employer, FinchAPI::Internal::Type::BooleanModel + optional :employer, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1745,7 +1745,7 @@ class Taxes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1754,7 +1754,7 @@ class Taxes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1779,7 +1779,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1788,7 +1788,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] company_debit # # @return [Boolean, nil] - optional :company_debit, FinchAPI::Internal::Type::BooleanModel + optional :company_debit, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1797,7 +1797,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] debit_date # # @return [Boolean, nil] - optional :debit_date, FinchAPI::Internal::Type::BooleanModel + optional :debit_date, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1806,7 +1806,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] employee_taxes # # @return [Boolean, nil] - optional :employee_taxes, FinchAPI::Internal::Type::BooleanModel + optional :employee_taxes, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1815,7 +1815,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] employer_taxes # # @return [Boolean, nil] - optional :employer_taxes, FinchAPI::Internal::Type::BooleanModel + optional :employer_taxes, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1824,7 +1824,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] gross_pay # # @return [Boolean, nil] - optional :gross_pay, FinchAPI::Internal::Type::BooleanModel + optional :gross_pay, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1833,7 +1833,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] individual_ids # # @return [Boolean, nil] - optional :individual_ids, FinchAPI::Internal::Type::BooleanModel + optional :individual_ids, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1842,7 +1842,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] net_pay # # @return [Boolean, nil] - optional :net_pay, FinchAPI::Internal::Type::BooleanModel + optional :net_pay, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1851,7 +1851,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] pay_date # # @return [Boolean, nil] - optional :pay_date, FinchAPI::Internal::Type::BooleanModel + optional :pay_date, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1860,7 +1860,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] pay_frequencies # # @return [Boolean, nil] - optional :pay_frequencies, FinchAPI::Internal::Type::BooleanModel + optional :pay_frequencies, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1869,7 +1869,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] pay_group_ids # # @return [Boolean, nil] - optional :pay_group_ids, FinchAPI::Internal::Type::BooleanModel + optional :pay_group_ids, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1924,7 +1924,7 @@ class PayPeriod < FinchAPI::Internal::Type::BaseModel # @!attribute [r] end_date # # @return [Boolean, nil] - optional :end_date, FinchAPI::Internal::Type::BooleanModel + optional :end_date, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1933,7 +1933,7 @@ class PayPeriod < FinchAPI::Internal::Type::BaseModel # @!attribute [r] start_date # # @return [Boolean, nil] - optional :start_date, FinchAPI::Internal::Type::BooleanModel + optional :start_date, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] diff --git a/lib/finch_api/models/connect/session_new_params.rb b/lib/finch_api/models/connect/session_new_params.rb index 9242b140..511b76cd 100644 --- a/lib/finch_api/models/connect/session_new_params.rb +++ b/lib/finch_api/models/connect/session_new_params.rb @@ -38,7 +38,7 @@ class SessionNewParams < FinchAPI::Internal::Type::BaseModel # @!attribute manual # # @return [Boolean, nil] - optional :manual, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :manual, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute minutes_to_expire # The number of minutes until the session expires (defaults to 43,200, which is 30 diff --git a/lib/finch_api/models/hris/benefit_features_and_operations.rb b/lib/finch_api/models/hris/benefit_features_and_operations.rb index e51d417d..ebe31324 100644 --- a/lib/finch_api/models/hris/benefit_features_and_operations.rb +++ b/lib/finch_api/models/hris/benefit_features_and_operations.rb @@ -37,14 +37,14 @@ class SupportedFeatures < FinchAPI::Internal::Type::BaseModel # Whether the provider supports an annual maximum for this benefit. # # @return [Boolean, nil] - optional :annual_maximum, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :annual_maximum, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute catch_up # Whether the provider supports catch up for this benefit. This field will only be # true for retirement benefits. # # @return [Boolean, nil] - optional :catch_up, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :catch_up, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute company_contribution # Supported contribution types. An empty array indicates contributions are not diff --git a/lib/finch_api/models/hris/benefits/individual_benefit.rb b/lib/finch_api/models/hris/benefits/individual_benefit.rb index 26db30af..e8cf3eef 100644 --- a/lib/finch_api/models/hris/benefits/individual_benefit.rb +++ b/lib/finch_api/models/hris/benefits/individual_benefit.rb @@ -55,7 +55,7 @@ class Body < FinchAPI::Internal::Type::BaseModel # for this individual. # # @return [Boolean, nil] - optional :catch_up, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :catch_up, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute company_contribution # diff --git a/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb b/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb index 7e1dca5d..fa9a7fa2 100644 --- a/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +++ b/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb @@ -82,7 +82,7 @@ class Configuration < FinchAPI::Internal::Type::BaseModel # For retirement benefits only - whether catch up contributions are enabled # # @return [Boolean, nil] - optional :catch_up, FinchAPI::Internal::Type::BooleanModel + optional :catch_up, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] diff --git a/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb b/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb index d455ce4e..e0c7373e 100644 --- a/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb +++ b/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb @@ -52,7 +52,7 @@ class Attributes < FinchAPI::Internal::Type::BaseModel # taxes. # # @return [Boolean, nil] - optional :employer, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :employer, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute metadata # The metadata of the pay statement item derived by the rules engine if available. @@ -66,7 +66,7 @@ class Attributes < FinchAPI::Internal::Type::BaseModel # employee deductions. # # @return [Boolean, nil] - optional :pre_tax, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :pre_tax, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute type # The type of the pay statement item. diff --git a/lib/finch_api/models/hris/employment_data.rb b/lib/finch_api/models/hris/employment_data.rb index a447e548..894154a5 100644 --- a/lib/finch_api/models/hris/employment_data.rb +++ b/lib/finch_api/models/hris/employment_data.rb @@ -81,7 +81,7 @@ class EmploymentData < FinchAPI::Internal::Type::BaseModel # `true` if the individual an an active employee or contractor at the company. # # @return [Boolean, nil] - optional :is_active, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :is_active, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute last_name # The legal last name of the individual. diff --git a/lib/finch_api/models/hris/individual_in_directory.rb b/lib/finch_api/models/hris/individual_in_directory.rb index d2130f2d..ff10fb65 100644 --- a/lib/finch_api/models/hris/individual_in_directory.rb +++ b/lib/finch_api/models/hris/individual_in_directory.rb @@ -31,7 +31,7 @@ class IndividualInDirectory < FinchAPI::Internal::Type::BaseModel # `true` if the individual is an active employee or contractor at the company. # # @return [Boolean, nil] - optional :is_active, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :is_active, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute last_name # The legal last name of the individual. diff --git a/lib/finch_api/models/hris/pay_statement.rb b/lib/finch_api/models/hris/pay_statement.rb index 1865beb9..7f2c9b25 100644 --- a/lib/finch_api/models/hris/pay_statement.rb +++ b/lib/finch_api/models/hris/pay_statement.rb @@ -251,7 +251,7 @@ class EmployeeDeduction < FinchAPI::Internal::Type::BaseModel # Boolean indicating if the deduction is pre-tax. # # @return [Boolean, nil] - optional :pre_tax, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :pre_tax, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute type # Type of benefit. @@ -437,7 +437,7 @@ class Tax < FinchAPI::Internal::Type::BaseModel # `true` if the amount is paid by the employers. # # @return [Boolean, nil] - optional :employer, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :employer, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute name # The exact name of tax from the pay statement. diff --git a/lib/finch_api/models/hris/supported_benefit.rb b/lib/finch_api/models/hris/supported_benefit.rb index 503a162b..49a09c8c 100644 --- a/lib/finch_api/models/hris/supported_benefit.rb +++ b/lib/finch_api/models/hris/supported_benefit.rb @@ -9,14 +9,14 @@ class SupportedBenefit < FinchAPI::Internal::Type::BaseModel # Whether the provider supports an annual maximum for this benefit. # # @return [Boolean, nil] - optional :annual_maximum, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :annual_maximum, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute catch_up # Whether the provider supports catch up for this benefit. This field will only be # true for retirement benefits. # # @return [Boolean, nil] - optional :catch_up, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :catch_up, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute company_contribution # Supported contribution types. An empty array indicates contributions are not diff --git a/lib/finch_api/models/introspection.rb b/lib/finch_api/models/introspection.rb index 88b5c051..f0871df6 100644 --- a/lib/finch_api/models/introspection.rb +++ b/lib/finch_api/models/introspection.rb @@ -83,7 +83,7 @@ class Introspection < FinchAPI::Internal::Type::BaseModel # automated) # # @return [Boolean] - required :manual, FinchAPI::Internal::Type::BooleanModel + required :manual, FinchAPI::Internal::Type::Boolean # @!attribute payroll_provider_id # [DEPRECATED] Use `provider_id` to identify the provider instead of this payroll diff --git a/lib/finch_api/models/provider.rb b/lib/finch_api/models/provider.rb index f5804ccb..28203d6c 100644 --- a/lib/finch_api/models/provider.rb +++ b/lib/finch_api/models/provider.rb @@ -29,7 +29,7 @@ class Provider < FinchAPI::Internal::Type::BaseModel # `true` if the integration is in a beta state, `false` otherwise # # @return [Boolean, nil] - optional :beta, FinchAPI::Internal::Type::BooleanModel + optional :beta, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -71,7 +71,7 @@ class Provider < FinchAPI::Internal::Type::BaseModel # of `assisted` in the `authentication_methods` field instead. # # @return [Boolean, nil] - optional :manual, FinchAPI::Internal::Type::BooleanModel + optional :manual, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -81,7 +81,7 @@ class Provider < FinchAPI::Internal::Type::BaseModel # whether MFA is required for the provider. # # @return [Boolean, nil] - optional :mfa_required, FinchAPI::Internal::Type::BooleanModel + optional :mfa_required, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -269,7 +269,7 @@ class Company < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -298,7 +298,7 @@ class Company < FinchAPI::Internal::Type::BaseModel # @!attribute [r] ein # # @return [Boolean, nil] - optional :ein, FinchAPI::Internal::Type::BooleanModel + optional :ein, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -317,7 +317,7 @@ class Company < FinchAPI::Internal::Type::BaseModel # @!attribute [r] legal_name # # @return [Boolean, nil] - optional :legal_name, FinchAPI::Internal::Type::BooleanModel + optional :legal_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -336,7 +336,7 @@ class Company < FinchAPI::Internal::Type::BaseModel # @!attribute [r] primary_email # # @return [Boolean, nil] - optional :primary_email, FinchAPI::Internal::Type::BooleanModel + optional :primary_email, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -345,7 +345,7 @@ class Company < FinchAPI::Internal::Type::BaseModel # @!attribute [r] primary_phone_number # # @return [Boolean, nil] - optional :primary_phone_number, FinchAPI::Internal::Type::BooleanModel + optional :primary_phone_number, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -384,7 +384,7 @@ class Accounts < FinchAPI::Internal::Type::BaseModel # @!attribute [r] account_name # # @return [Boolean, nil] - optional :account_name, FinchAPI::Internal::Type::BooleanModel + optional :account_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -393,7 +393,7 @@ class Accounts < FinchAPI::Internal::Type::BaseModel # @!attribute [r] account_number # # @return [Boolean, nil] - optional :account_number, FinchAPI::Internal::Type::BooleanModel + optional :account_number, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -402,7 +402,7 @@ class Accounts < FinchAPI::Internal::Type::BaseModel # @!attribute [r] account_type # # @return [Boolean, nil] - optional :account_type, FinchAPI::Internal::Type::BooleanModel + optional :account_type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -411,7 +411,7 @@ class Accounts < FinchAPI::Internal::Type::BaseModel # @!attribute [r] institution_name # # @return [Boolean, nil] - optional :institution_name, FinchAPI::Internal::Type::BooleanModel + optional :institution_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -420,7 +420,7 @@ class Accounts < FinchAPI::Internal::Type::BaseModel # @!attribute [r] routing_number # # @return [Boolean, nil] - optional :routing_number, FinchAPI::Internal::Type::BooleanModel + optional :routing_number, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -443,7 +443,7 @@ class Departments < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -472,7 +472,7 @@ class Parent < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -492,7 +492,7 @@ class Entity < FinchAPI::Internal::Type::BaseModel # @!attribute [r] subtype # # @return [Boolean, nil] - optional :subtype, FinchAPI::Internal::Type::BooleanModel + optional :subtype, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -501,7 +501,7 @@ class Entity < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -521,7 +521,7 @@ class Locations < FinchAPI::Internal::Type::BaseModel # @!attribute [r] city # # @return [Boolean, nil] - optional :city, FinchAPI::Internal::Type::BooleanModel + optional :city, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -530,7 +530,7 @@ class Locations < FinchAPI::Internal::Type::BaseModel # @!attribute [r] country # # @return [Boolean, nil] - optional :country, FinchAPI::Internal::Type::BooleanModel + optional :country, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -539,7 +539,7 @@ class Locations < FinchAPI::Internal::Type::BaseModel # @!attribute [r] line1 # # @return [Boolean, nil] - optional :line1, FinchAPI::Internal::Type::BooleanModel + optional :line1, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -548,7 +548,7 @@ class Locations < FinchAPI::Internal::Type::BaseModel # @!attribute [r] line2 # # @return [Boolean, nil] - optional :line2, FinchAPI::Internal::Type::BooleanModel + optional :line2, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -557,7 +557,7 @@ class Locations < FinchAPI::Internal::Type::BaseModel # @!attribute [r] postal_code # # @return [Boolean, nil] - optional :postal_code, FinchAPI::Internal::Type::BooleanModel + optional :postal_code, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -566,7 +566,7 @@ class Locations < FinchAPI::Internal::Type::BaseModel # @!attribute [r] state # # @return [Boolean, nil] - optional :state, FinchAPI::Internal::Type::BooleanModel + optional :state, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -621,7 +621,7 @@ class Individuals < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -630,7 +630,7 @@ class Individuals < FinchAPI::Internal::Type::BaseModel # @!attribute [r] department # # @return [Boolean, nil] - optional :department, FinchAPI::Internal::Type::BooleanModel + optional :department, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -639,7 +639,7 @@ class Individuals < FinchAPI::Internal::Type::BaseModel # @!attribute [r] first_name # # @return [Boolean, nil] - optional :first_name, FinchAPI::Internal::Type::BooleanModel + optional :first_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -648,7 +648,7 @@ class Individuals < FinchAPI::Internal::Type::BaseModel # @!attribute [r] is_active # # @return [Boolean, nil] - optional :is_active, FinchAPI::Internal::Type::BooleanModel + optional :is_active, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -657,7 +657,7 @@ class Individuals < FinchAPI::Internal::Type::BaseModel # @!attribute [r] last_name # # @return [Boolean, nil] - optional :last_name, FinchAPI::Internal::Type::BooleanModel + optional :last_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -676,7 +676,7 @@ class Individuals < FinchAPI::Internal::Type::BaseModel # @!attribute [r] middle_name # # @return [Boolean, nil] - optional :middle_name, FinchAPI::Internal::Type::BooleanModel + optional :middle_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -711,7 +711,7 @@ class Manager < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -731,7 +731,7 @@ class Paging < FinchAPI::Internal::Type::BaseModel # @!attribute [r] count # # @return [Boolean, nil] - optional :count, FinchAPI::Internal::Type::BooleanModel + optional :count, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -740,7 +740,7 @@ class Paging < FinchAPI::Internal::Type::BaseModel # @!attribute [r] offset # # @return [Boolean, nil] - optional :offset, FinchAPI::Internal::Type::BooleanModel + optional :offset, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -761,7 +761,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -770,7 +770,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] class_code # # @return [Boolean, nil] - optional :class_code, FinchAPI::Internal::Type::BooleanModel + optional :class_code, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -779,7 +779,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] custom_fields # # @return [Boolean, nil] - optional :custom_fields, FinchAPI::Internal::Type::BooleanModel + optional :custom_fields, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -808,7 +808,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] employment_status # # @return [Boolean, nil] - optional :employment_status, FinchAPI::Internal::Type::BooleanModel + optional :employment_status, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -817,7 +817,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] end_date # # @return [Boolean, nil] - optional :end_date, FinchAPI::Internal::Type::BooleanModel + optional :end_date, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -826,7 +826,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] first_name # # @return [Boolean, nil] - optional :first_name, FinchAPI::Internal::Type::BooleanModel + optional :first_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -845,7 +845,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] income_history # # @return [Boolean, nil] - optional :income_history, FinchAPI::Internal::Type::BooleanModel + optional :income_history, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -854,7 +854,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] is_active # # @return [Boolean, nil] - optional :is_active, FinchAPI::Internal::Type::BooleanModel + optional :is_active, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -863,7 +863,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] last_name # # @return [Boolean, nil] - optional :last_name, FinchAPI::Internal::Type::BooleanModel + optional :last_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -892,7 +892,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] middle_name # # @return [Boolean, nil] - optional :middle_name, FinchAPI::Internal::Type::BooleanModel + optional :middle_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -901,7 +901,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] start_date # # @return [Boolean, nil] - optional :start_date, FinchAPI::Internal::Type::BooleanModel + optional :start_date, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -910,7 +910,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] title # # @return [Boolean, nil] - optional :title, FinchAPI::Internal::Type::BooleanModel + optional :title, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -965,7 +965,7 @@ class Department < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -984,7 +984,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] subtype # # @return [Boolean, nil] - optional :subtype, FinchAPI::Internal::Type::BooleanModel + optional :subtype, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -993,7 +993,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1013,7 +1013,7 @@ class Income < FinchAPI::Internal::Type::BaseModel # @!attribute [r] amount # # @return [Boolean, nil] - optional :amount, FinchAPI::Internal::Type::BooleanModel + optional :amount, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1022,7 +1022,7 @@ class Income < FinchAPI::Internal::Type::BaseModel # @!attribute [r] currency # # @return [Boolean, nil] - optional :currency, FinchAPI::Internal::Type::BooleanModel + optional :currency, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1031,7 +1031,7 @@ class Income < FinchAPI::Internal::Type::BaseModel # @!attribute [r] unit # # @return [Boolean, nil] - optional :unit, FinchAPI::Internal::Type::BooleanModel + optional :unit, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1052,7 +1052,7 @@ class Location < FinchAPI::Internal::Type::BaseModel # @!attribute [r] city # # @return [Boolean, nil] - optional :city, FinchAPI::Internal::Type::BooleanModel + optional :city, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1061,7 +1061,7 @@ class Location < FinchAPI::Internal::Type::BaseModel # @!attribute [r] country # # @return [Boolean, nil] - optional :country, FinchAPI::Internal::Type::BooleanModel + optional :country, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1070,7 +1070,7 @@ class Location < FinchAPI::Internal::Type::BaseModel # @!attribute [r] line1 # # @return [Boolean, nil] - optional :line1, FinchAPI::Internal::Type::BooleanModel + optional :line1, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1079,7 +1079,7 @@ class Location < FinchAPI::Internal::Type::BaseModel # @!attribute [r] line2 # # @return [Boolean, nil] - optional :line2, FinchAPI::Internal::Type::BooleanModel + optional :line2, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1088,7 +1088,7 @@ class Location < FinchAPI::Internal::Type::BaseModel # @!attribute [r] postal_code # # @return [Boolean, nil] - optional :postal_code, FinchAPI::Internal::Type::BooleanModel + optional :postal_code, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1097,7 +1097,7 @@ class Location < FinchAPI::Internal::Type::BaseModel # @!attribute [r] state # # @return [Boolean, nil] - optional :state, FinchAPI::Internal::Type::BooleanModel + optional :state, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1121,7 +1121,7 @@ class Manager < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1141,7 +1141,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1150,7 +1150,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] dob # # @return [Boolean, nil] - optional :dob, FinchAPI::Internal::Type::BooleanModel + optional :dob, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1169,7 +1169,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] encrypted_ssn # # @return [Boolean, nil] - optional :encrypted_ssn, FinchAPI::Internal::Type::BooleanModel + optional :encrypted_ssn, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1178,7 +1178,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] ethnicity # # @return [Boolean, nil] - optional :ethnicity, FinchAPI::Internal::Type::BooleanModel + optional :ethnicity, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1187,7 +1187,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] first_name # # @return [Boolean, nil] - optional :first_name, FinchAPI::Internal::Type::BooleanModel + optional :first_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1196,7 +1196,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] gender # # @return [Boolean, nil] - optional :gender, FinchAPI::Internal::Type::BooleanModel + optional :gender, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1205,7 +1205,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] last_name # # @return [Boolean, nil] - optional :last_name, FinchAPI::Internal::Type::BooleanModel + optional :last_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1214,7 +1214,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] middle_name # # @return [Boolean, nil] - optional :middle_name, FinchAPI::Internal::Type::BooleanModel + optional :middle_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1233,7 +1233,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] preferred_name # # @return [Boolean, nil] - optional :preferred_name, FinchAPI::Internal::Type::BooleanModel + optional :preferred_name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1252,7 +1252,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute [r] ssn # # @return [Boolean, nil] - optional :ssn, FinchAPI::Internal::Type::BooleanModel + optional :ssn, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1299,7 +1299,7 @@ class Emails < FinchAPI::Internal::Type::BaseModel # @!attribute [r] data # # @return [Boolean, nil] - optional :data, FinchAPI::Internal::Type::BooleanModel + optional :data, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1308,7 +1308,7 @@ class Emails < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1328,7 +1328,7 @@ class PhoneNumbers < FinchAPI::Internal::Type::BaseModel # @!attribute [r] data # # @return [Boolean, nil] - optional :data, FinchAPI::Internal::Type::BooleanModel + optional :data, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1337,7 +1337,7 @@ class PhoneNumbers < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1357,7 +1357,7 @@ class Residence < FinchAPI::Internal::Type::BaseModel # @!attribute [r] city # # @return [Boolean, nil] - optional :city, FinchAPI::Internal::Type::BooleanModel + optional :city, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1366,7 +1366,7 @@ class Residence < FinchAPI::Internal::Type::BaseModel # @!attribute [r] country # # @return [Boolean, nil] - optional :country, FinchAPI::Internal::Type::BooleanModel + optional :country, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1375,7 +1375,7 @@ class Residence < FinchAPI::Internal::Type::BaseModel # @!attribute [r] line1 # # @return [Boolean, nil] - optional :line1, FinchAPI::Internal::Type::BooleanModel + optional :line1, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1384,7 +1384,7 @@ class Residence < FinchAPI::Internal::Type::BaseModel # @!attribute [r] line2 # # @return [Boolean, nil] - optional :line2, FinchAPI::Internal::Type::BooleanModel + optional :line2, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1393,7 +1393,7 @@ class Residence < FinchAPI::Internal::Type::BaseModel # @!attribute [r] postal_code # # @return [Boolean, nil] - optional :postal_code, FinchAPI::Internal::Type::BooleanModel + optional :postal_code, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1402,7 +1402,7 @@ class Residence < FinchAPI::Internal::Type::BaseModel # @!attribute [r] state # # @return [Boolean, nil] - optional :state, FinchAPI::Internal::Type::BooleanModel + optional :state, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1427,7 +1427,7 @@ class PayGroup < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1436,7 +1436,7 @@ class PayGroup < FinchAPI::Internal::Type::BaseModel # @!attribute [r] individual_ids # # @return [Boolean, nil] - optional :individual_ids, FinchAPI::Internal::Type::BooleanModel + optional :individual_ids, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1445,7 +1445,7 @@ class PayGroup < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1454,7 +1454,7 @@ class PayGroup < FinchAPI::Internal::Type::BaseModel # @!attribute [r] pay_frequencies # # @return [Boolean, nil] - optional :pay_frequencies, FinchAPI::Internal::Type::BooleanModel + optional :pay_frequencies, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1506,12 +1506,12 @@ class Paging < FinchAPI::Internal::Type::BaseModel # @!attribute count # # @return [Boolean] - required :count, FinchAPI::Internal::Type::BooleanModel + required :count, FinchAPI::Internal::Type::Boolean # @!attribute offset # # @return [Boolean] - required :offset, FinchAPI::Internal::Type::BooleanModel + required :offset, FinchAPI::Internal::Type::Boolean # @!parse # # @param count [Boolean] @@ -1557,7 +1557,7 @@ class PayStatements < FinchAPI::Internal::Type::BaseModel # @!attribute [r] gross_pay # # @return [Boolean, nil] - optional :gross_pay, FinchAPI::Internal::Type::BooleanModel + optional :gross_pay, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1566,7 +1566,7 @@ class PayStatements < FinchAPI::Internal::Type::BaseModel # @!attribute [r] individual_id # # @return [Boolean, nil] - optional :individual_id, FinchAPI::Internal::Type::BooleanModel + optional :individual_id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1575,7 +1575,7 @@ class PayStatements < FinchAPI::Internal::Type::BaseModel # @!attribute [r] net_pay # # @return [Boolean, nil] - optional :net_pay, FinchAPI::Internal::Type::BooleanModel + optional :net_pay, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1584,7 +1584,7 @@ class PayStatements < FinchAPI::Internal::Type::BaseModel # @!attribute [r] payment_method # # @return [Boolean, nil] - optional :payment_method, FinchAPI::Internal::Type::BooleanModel + optional :payment_method, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1603,7 +1603,7 @@ class PayStatements < FinchAPI::Internal::Type::BaseModel # @!attribute [r] total_hours # # @return [Boolean, nil] - optional :total_hours, FinchAPI::Internal::Type::BooleanModel + optional :total_hours, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1612,7 +1612,7 @@ class PayStatements < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1653,7 +1653,7 @@ class Earnings < FinchAPI::Internal::Type::BaseModel # @!attribute [r] amount # # @return [Boolean, nil] - optional :amount, FinchAPI::Internal::Type::BooleanModel + optional :amount, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1662,7 +1662,7 @@ class Earnings < FinchAPI::Internal::Type::BaseModel # @!attribute [r] currency # # @return [Boolean, nil] - optional :currency, FinchAPI::Internal::Type::BooleanModel + optional :currency, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1671,7 +1671,7 @@ class Earnings < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1680,7 +1680,7 @@ class Earnings < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1702,7 +1702,7 @@ class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] amount # # @return [Boolean, nil] - optional :amount, FinchAPI::Internal::Type::BooleanModel + optional :amount, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1711,7 +1711,7 @@ class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] currency # # @return [Boolean, nil] - optional :currency, FinchAPI::Internal::Type::BooleanModel + optional :currency, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1720,7 +1720,7 @@ class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1729,7 +1729,7 @@ class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] pre_tax # # @return [Boolean, nil] - optional :pre_tax, FinchAPI::Internal::Type::BooleanModel + optional :pre_tax, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1738,7 +1738,7 @@ class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1761,7 +1761,7 @@ class EmployerContributions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] amount # # @return [Boolean, nil] - optional :amount, FinchAPI::Internal::Type::BooleanModel + optional :amount, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1770,7 +1770,7 @@ class EmployerContributions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] currency # # @return [Boolean, nil] - optional :currency, FinchAPI::Internal::Type::BooleanModel + optional :currency, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1779,7 +1779,7 @@ class EmployerContributions < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1800,7 +1800,7 @@ class Taxes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] amount # # @return [Boolean, nil] - optional :amount, FinchAPI::Internal::Type::BooleanModel + optional :amount, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1809,7 +1809,7 @@ class Taxes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] currency # # @return [Boolean, nil] - optional :currency, FinchAPI::Internal::Type::BooleanModel + optional :currency, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1818,7 +1818,7 @@ class Taxes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] employer # # @return [Boolean, nil] - optional :employer, FinchAPI::Internal::Type::BooleanModel + optional :employer, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1827,7 +1827,7 @@ class Taxes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] name # # @return [Boolean, nil] - optional :name, FinchAPI::Internal::Type::BooleanModel + optional :name, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1836,7 +1836,7 @@ class Taxes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] type # # @return [Boolean, nil] - optional :type, FinchAPI::Internal::Type::BooleanModel + optional :type, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1861,7 +1861,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] id # # @return [Boolean, nil] - optional :id, FinchAPI::Internal::Type::BooleanModel + optional :id, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1870,7 +1870,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] company_debit # # @return [Boolean, nil] - optional :company_debit, FinchAPI::Internal::Type::BooleanModel + optional :company_debit, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1879,7 +1879,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] debit_date # # @return [Boolean, nil] - optional :debit_date, FinchAPI::Internal::Type::BooleanModel + optional :debit_date, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1888,7 +1888,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] employee_taxes # # @return [Boolean, nil] - optional :employee_taxes, FinchAPI::Internal::Type::BooleanModel + optional :employee_taxes, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1897,7 +1897,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] employer_taxes # # @return [Boolean, nil] - optional :employer_taxes, FinchAPI::Internal::Type::BooleanModel + optional :employer_taxes, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1906,7 +1906,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] gross_pay # # @return [Boolean, nil] - optional :gross_pay, FinchAPI::Internal::Type::BooleanModel + optional :gross_pay, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1915,7 +1915,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] individual_ids # # @return [Boolean, nil] - optional :individual_ids, FinchAPI::Internal::Type::BooleanModel + optional :individual_ids, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1924,7 +1924,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] net_pay # # @return [Boolean, nil] - optional :net_pay, FinchAPI::Internal::Type::BooleanModel + optional :net_pay, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1933,7 +1933,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] pay_date # # @return [Boolean, nil] - optional :pay_date, FinchAPI::Internal::Type::BooleanModel + optional :pay_date, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1942,7 +1942,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] pay_frequencies # # @return [Boolean, nil] - optional :pay_frequencies, FinchAPI::Internal::Type::BooleanModel + optional :pay_frequencies, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -1951,7 +1951,7 @@ class Payment < FinchAPI::Internal::Type::BaseModel # @!attribute [r] pay_group_ids # # @return [Boolean, nil] - optional :pay_group_ids, FinchAPI::Internal::Type::BooleanModel + optional :pay_group_ids, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -2006,7 +2006,7 @@ class PayPeriod < FinchAPI::Internal::Type::BaseModel # @!attribute [r] end_date # # @return [Boolean, nil] - optional :end_date, FinchAPI::Internal::Type::BooleanModel + optional :end_date, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] @@ -2015,7 +2015,7 @@ class PayPeriod < FinchAPI::Internal::Type::BaseModel # @!attribute [r] start_date # # @return [Boolean, nil] - optional :start_date, FinchAPI::Internal::Type::BooleanModel + optional :start_date, FinchAPI::Internal::Type::Boolean # @!parse # # @return [Boolean] diff --git a/lib/finch_api/models/sandbox/directory_create_params.rb b/lib/finch_api/models/sandbox/directory_create_params.rb index 1c454cec..0c4dd0ac 100644 --- a/lib/finch_api/models/sandbox/directory_create_params.rb +++ b/lib/finch_api/models/sandbox/directory_create_params.rb @@ -138,7 +138,7 @@ class Body < FinchAPI::Internal::Type::BaseModel # `true` if the individual an an active employee or contractor at the company. # # @return [Boolean, nil] - optional :is_active, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :is_active, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute last_name # The legal last name of the individual. diff --git a/lib/finch_api/models/sandbox/employment_update_params.rb b/lib/finch_api/models/sandbox/employment_update_params.rb index 126622d5..ebddfa64 100644 --- a/lib/finch_api/models/sandbox/employment_update_params.rb +++ b/lib/finch_api/models/sandbox/employment_update_params.rb @@ -79,7 +79,7 @@ class EmploymentUpdateParams < FinchAPI::Internal::Type::BaseModel # `true` if the individual an an active employee or contractor at the company. # # @return [Boolean, nil] - optional :is_active, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :is_active, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute last_name # The legal last name of the individual. diff --git a/lib/finch_api/models/sandbox/employment_update_response.rb b/lib/finch_api/models/sandbox/employment_update_response.rb index 385e2aab..652bdf2a 100644 --- a/lib/finch_api/models/sandbox/employment_update_response.rb +++ b/lib/finch_api/models/sandbox/employment_update_response.rb @@ -85,7 +85,7 @@ class EmploymentUpdateResponse < FinchAPI::Internal::Type::BaseModel # `true` if the individual an an active employee or contractor at the company. # # @return [Boolean, nil] - optional :is_active, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :is_active, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute last_name # The legal last name of the individual. diff --git a/lib/finch_api/models/sandbox/payment_create_params.rb b/lib/finch_api/models/sandbox/payment_create_params.rb index 507aae3d..469f8218 100644 --- a/lib/finch_api/models/sandbox/payment_create_params.rb +++ b/lib/finch_api/models/sandbox/payment_create_params.rb @@ -304,7 +304,7 @@ class EmployeeDeduction < FinchAPI::Internal::Type::BaseModel # Boolean indicating if the deduction is pre-tax. # # @return [Boolean, nil] - optional :pre_tax, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :pre_tax, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute type # Type of benefit. @@ -493,7 +493,7 @@ class Tax < FinchAPI::Internal::Type::BaseModel # `true` if the amount is paid by the employers. # # @return [Boolean, nil] - optional :employer, FinchAPI::Internal::Type::BooleanModel, nil?: true + optional :employer, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute name # The exact name of tax from the pay statement. diff --git a/rbi/lib/finch_api/internal/type/boolean_model.rbi b/rbi/lib/finch_api/internal/type/boolean_model.rbi index 6a230050..7757d8d1 100644 --- a/rbi/lib/finch_api/internal/type/boolean_model.rbi +++ b/rbi/lib/finch_api/internal/type/boolean_model.rbi @@ -6,7 +6,7 @@ module FinchAPI # @api private # # Ruby has no Boolean class; this is something for models to refer to. - class BooleanModel + class Boolean extend FinchAPI::Internal::Type::Converter abstract! diff --git a/sig/finch_api/internal/type/boolean_model.rbs b/sig/finch_api/internal/type/boolean_model.rbs index 85f7e863..53e3fc9a 100644 --- a/sig/finch_api/internal/type/boolean_model.rbs +++ b/sig/finch_api/internal/type/boolean_model.rbs @@ -1,7 +1,7 @@ module FinchAPI module Internal module Type - class BooleanModel + class Boolean extend FinchAPI::Internal::Type::Converter def self.===: (top other) -> bool diff --git a/test/finch_api/internal/type/base_model_test.rb b/test/finch_api/internal/type/base_model_test.rb index 96fba90c..9a9017d5 100644 --- a/test/finch_api/internal/type/base_model_test.rb +++ b/test/finch_api/internal/type/base_model_test.rb @@ -22,7 +22,7 @@ class B < FinchAPI::Internal::Type::BaseModel def test_typing converters = [ FinchAPI::Internal::Type::Unknown, - FinchAPI::Internal::Type::BooleanModel, + FinchAPI::Internal::Type::Boolean, A, H, E, @@ -42,8 +42,8 @@ def test_coerce [FinchAPI::Internal::Type::Unknown, :a] => [{yes: 1}, :a], [NilClass, :a] => [{maybe: 1}, nil], [NilClass, nil] => [{yes: 1}, nil], - [FinchAPI::Internal::Type::BooleanModel, true] => [{yes: 1}, true], - [FinchAPI::Internal::Type::BooleanModel, "true"] => [{no: 1}, "true"], + [FinchAPI::Internal::Type::Boolean, true] => [{yes: 1}, true], + [FinchAPI::Internal::Type::Boolean, "true"] => [{no: 1}, "true"], [Integer, 1] => [{yes: 1}, 1], [Integer, 1.0] => [{maybe: 1}, 1], [Integer, "1"] => [{maybe: 1}, 1], @@ -85,8 +85,8 @@ def test_dump [String, B.new(a: "one", b: B.new(a: 1.0))] => {a: "one", b: {a: 1}}, [:b, B.new(a: "one", b: B.new(a: 1.0))] => {a: "one", b: {a: 1}}, [nil, B.new(a: "one", b: B.new(a: 1.0))] => {a: "one", b: {a: 1}}, - [FinchAPI::Internal::Type::BooleanModel, true] => true, - [FinchAPI::Internal::Type::BooleanModel, "true"] => "true", + [FinchAPI::Internal::Type::Boolean, true] => true, + [FinchAPI::Internal::Type::Boolean, "true"] => "true", [Integer, "1"] => "1", [Float, 1] => 1, [String, "one"] => "one", @@ -560,8 +560,8 @@ class M3 < M2 def test_equality cases = { [FinchAPI::Internal::Type::Unknown, FinchAPI::Internal::Type::Unknown] => true, - [FinchAPI::Internal::Type::BooleanModel, FinchAPI::Internal::Type::BooleanModel] => true, - [FinchAPI::Internal::Type::Unknown, FinchAPI::Internal::Type::BooleanModel] => false, + [FinchAPI::Internal::Type::Boolean, FinchAPI::Internal::Type::Boolean] => true, + [FinchAPI::Internal::Type::Unknown, FinchAPI::Internal::Type::Boolean] => false, [E1, E2] => true, [E1, E3] => false, [M1, M2] => false, diff --git a/test/finch_api/resources/account_test.rb b/test/finch_api/resources/account_test.rb index 362c12bb..e1f8ea83 100644 --- a/test/finch_api/resources/account_test.rb +++ b/test/finch_api/resources/account_test.rb @@ -37,7 +37,7 @@ def test_introspect customer_email: String | nil, customer_id: String | nil, customer_name: String | nil, - manual: FinchAPI::Internal::Type::BooleanModel, + manual: FinchAPI::Internal::Type::Boolean, payroll_provider_id: String, products: ^(FinchAPI::Internal::Type::ArrayOf[String]), provider_id: String, diff --git a/test/finch_api/resources/hris/benefits_test.rb b/test/finch_api/resources/hris/benefits_test.rb index e1811320..61013ba0 100644 --- a/test/finch_api/resources/hris/benefits_test.rb +++ b/test/finch_api/resources/hris/benefits_test.rb @@ -88,8 +88,8 @@ def test_list_supported_benefits assert_pattern do row => { - annual_maximum: FinchAPI::Internal::Type::BooleanModel | nil, - catch_up: FinchAPI::Internal::Type::BooleanModel | nil, + annual_maximum: FinchAPI::Internal::Type::Boolean | nil, + catch_up: FinchAPI::Internal::Type::Boolean | nil, company_contribution: ^(FinchAPI::Internal::Type::ArrayOf[enum: FinchAPI::Models::HRIS::SupportedBenefit::CompanyContribution, nil?: true]) | nil, description: String | nil, employee_deduction: ^(FinchAPI::Internal::Type::ArrayOf[enum: FinchAPI::Models::HRIS::SupportedBenefit::EmployeeDeduction, nil?: true]) | nil, diff --git a/test/finch_api/resources/hris/directory_test.rb b/test/finch_api/resources/hris/directory_test.rb index 12274ddf..50d17ef8 100644 --- a/test/finch_api/resources/hris/directory_test.rb +++ b/test/finch_api/resources/hris/directory_test.rb @@ -22,7 +22,7 @@ def test_list id: String | nil, department: FinchAPI::Models::HRIS::IndividualInDirectory::Department | nil, first_name: String | nil, - is_active: FinchAPI::Internal::Type::BooleanModel | nil, + is_active: FinchAPI::Internal::Type::Boolean | nil, last_name: String | nil, manager: FinchAPI::Models::HRIS::IndividualInDirectory::Manager | nil, middle_name: String | nil @@ -49,7 +49,7 @@ def test_list_individuals id: String | nil, department: FinchAPI::Models::HRIS::IndividualInDirectory::Department | nil, first_name: String | nil, - is_active: FinchAPI::Internal::Type::BooleanModel | nil, + is_active: FinchAPI::Internal::Type::Boolean | nil, last_name: String | nil, manager: FinchAPI::Models::HRIS::IndividualInDirectory::Manager | nil, middle_name: String | nil diff --git a/test/finch_api/resources/providers_test.rb b/test/finch_api/resources/providers_test.rb index 07622ef5..f0b07ee2 100644 --- a/test/finch_api/resources/providers_test.rb +++ b/test/finch_api/resources/providers_test.rb @@ -21,12 +21,12 @@ def test_list row => { id: String | nil, authentication_methods: ^(FinchAPI::Internal::Type::ArrayOf[FinchAPI::Models::Provider::AuthenticationMethod]) | nil, - beta: FinchAPI::Internal::Type::BooleanModel | nil, + beta: FinchAPI::Internal::Type::Boolean | nil, display_name: String | nil, icon: String | nil, logo: String | nil, - manual: FinchAPI::Internal::Type::BooleanModel | nil, - mfa_required: FinchAPI::Internal::Type::BooleanModel | nil, + manual: FinchAPI::Internal::Type::Boolean | nil, + mfa_required: FinchAPI::Internal::Type::Boolean | nil, primary_color: String | nil, products: ^(FinchAPI::Internal::Type::ArrayOf[String]) | nil } diff --git a/test/finch_api/resources/sandbox/employment_test.rb b/test/finch_api/resources/sandbox/employment_test.rb index 04ac5b71..be36ad12 100644 --- a/test/finch_api/resources/sandbox/employment_test.rb +++ b/test/finch_api/resources/sandbox/employment_test.rb @@ -22,7 +22,7 @@ def test_update first_name: String | nil, income: FinchAPI::Models::Income | nil, income_history: ^(FinchAPI::Internal::Type::ArrayOf[FinchAPI::Models::Income, nil?: true]) | nil, - is_active: FinchAPI::Internal::Type::BooleanModel | nil, + is_active: FinchAPI::Internal::Type::Boolean | nil, last_name: String | nil, latest_rehire_date: String | nil, location: FinchAPI::Models::Location | nil, From 432e28e92b9704f9692937315a5bb129fccb9ed5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 14:53:19 +0000 Subject: [PATCH 08/16] fix: converter should transform stringio into string where applicable (#121) --- lib/finch_api.rb | 2 +- lib/finch_api/internal/type/{boolean_model.rb => boolean.rb} | 0 lib/finch_api/internal/type/converter.rb | 3 +++ .../finch_api/internal/type/{boolean_model.rbi => boolean.rbi} | 0 sig/finch_api/internal/type/{boolean_model.rbs => boolean.rbs} | 0 5 files changed, 4 insertions(+), 1 deletion(-) rename lib/finch_api/internal/type/{boolean_model.rb => boolean.rb} (100%) rename rbi/lib/finch_api/internal/type/{boolean_model.rbi => boolean.rbi} (100%) rename sig/finch_api/internal/type/{boolean_model.rbs => boolean.rbs} (100%) diff --git a/lib/finch_api.rb b/lib/finch_api.rb index 5ffeb67e..25a21a8f 100644 --- a/lib/finch_api.rb +++ b/lib/finch_api.rb @@ -39,7 +39,7 @@ require_relative "finch_api/internal/util" require_relative "finch_api/internal/type/converter" require_relative "finch_api/internal/type/unknown" -require_relative "finch_api/internal/type/boolean_model" +require_relative "finch_api/internal/type/boolean" require_relative "finch_api/internal/type/enum" require_relative "finch_api/internal/type/union" require_relative "finch_api/internal/type/array_of" diff --git a/lib/finch_api/internal/type/boolean_model.rb b/lib/finch_api/internal/type/boolean.rb similarity index 100% rename from lib/finch_api/internal/type/boolean_model.rb rename to lib/finch_api/internal/type/boolean.rb diff --git a/lib/finch_api/internal/type/converter.rb b/lib/finch_api/internal/type/converter.rb index d3155e08..8ef31963 100644 --- a/lib/finch_api/internal/type/converter.rb +++ b/lib/finch_api/internal/type/converter.rb @@ -168,6 +168,9 @@ def coerce( in String | Symbol | Numeric exactness[value.is_a?(Numeric) ? :maybe : :yes] += 1 return value.to_s + in StringIO + exactness[:yes] += 1 + return value.string else if strictness == :strong message = "no implicit conversion of #{value.class} into #{target.inspect}" diff --git a/rbi/lib/finch_api/internal/type/boolean_model.rbi b/rbi/lib/finch_api/internal/type/boolean.rbi similarity index 100% rename from rbi/lib/finch_api/internal/type/boolean_model.rbi rename to rbi/lib/finch_api/internal/type/boolean.rbi diff --git a/sig/finch_api/internal/type/boolean_model.rbs b/sig/finch_api/internal/type/boolean.rbs similarity index 100% rename from sig/finch_api/internal/type/boolean_model.rbs rename to sig/finch_api/internal/type/boolean.rbs From 981703710cff8afcdedc0c133457f54480f0cd7e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 16:16:30 +0000 Subject: [PATCH 09/16] chore(internal): misc small improvements (#122) --- test/finch_api/internal/type/base_model_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/finch_api/internal/type/base_model_test.rb b/test/finch_api/internal/type/base_model_test.rb index 9a9017d5..877cac02 100644 --- a/test/finch_api/internal/type/base_model_test.rb +++ b/test/finch_api/internal/type/base_model_test.rb @@ -154,11 +154,11 @@ module E4 def test_coerce cases = { - # rubocop:disable Style/BooleanSymbol + # rubocop:disable Lint/BooleanSymbol [E1, true] => [{yes: 1}, true], [E1, false] => [{no: 1}, false], [E1, :true] => [{no: 1}, :true], - # rubocop:enable Style/BooleanSymbol + # rubocop:enable Lint/BooleanSymbol [E2, 1] => [{yes: 1}, 1], [E2, 1.0] => [{yes: 1}, 1], From 53b1156d97634b97ad54330a2860b9cdbe996947 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 17:46:54 +0000 Subject: [PATCH 10/16] chore(internal): run rubocop linter in parallel (#123) --- .rubocop.yml | 6 +++--- Rakefile | 16 +++++++--------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 8564ae77..c4fcf7d9 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -39,7 +39,7 @@ Layout/LineLength: AllowedPatterns: - "^\\s*#.*$" - ^require(_relative)? - - "FinchAPI::(Models|Resources)::" + - "FinchAPI::(Models|Resources|Test)::" Max: 110 Layout/MultilineArrayLineBreaks: @@ -122,9 +122,9 @@ Metrics/PerceivedComplexity: Naming/BlockForwarding: Enabled: false +# Underscores are generally useful for disambiguation. Naming/ClassAndModuleCamelCase: - Exclude: - - "**/*.rbi" + Enabled: false Naming/MethodParameterName: Enabled: false diff --git a/Rakefile b/Rakefile index 05cf5887..c32d27f1 100644 --- a/Rakefile +++ b/Rakefile @@ -9,8 +9,6 @@ require "rubocop/rake_task" CLEAN.push(*%w[.idea/ .ruby-lsp/ .yardoc/]) -xargs = %w[xargs --no-run-if-empty --null --max-procs=0 --max-args=300 --] - multitask(default: [:test]) multitask(:test) do @@ -22,17 +20,17 @@ multitask(:test) do ruby(*%w[-w -e], rb, verbose: false) { fail unless _1 } end -RuboCop::RakeTask.new(:rubocop) do |t| - t.options = %w[--fail-level E] - if ENV.key?("CI") - t.options += %w[--format github] - end +rubo_find = %w[find ./lib ./test ./rbi -type f -and ( -name *.rb -or -name *.rbi ) -print0] +xargs = %w[xargs --no-run-if-empty --null --max-procs=0 --max-args=300 --] + +multitask(:rubocop) do + lint = xargs + %w[rubocop --fail-level E] + (ENV.key?("CI") ? %w[--format github] : []) + sh("#{rubo_find.shelljoin} | #{lint.shelljoin}") end multitask(:ruboformat) do - find = %w[find ./lib ./test ./rbi -type f -and ( -name *.rb -or -name *.rbi ) -print0] fmt = xargs + %w[rubocop --fail-level F --autocorrect --format simple --] - sh("#{find.shelljoin} | #{fmt.shelljoin}") + sh("#{rubo_find.shelljoin} | #{fmt.shelljoin}") end multitask(:syntax_tree) do From 7e59465247659dac04e33e608c8308c56fea8d58 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 18:14:06 +0000 Subject: [PATCH 11/16] chore(internal): rubocop rules (#124) --- .rubocop.yml | 5 +++-- lib/finch_api/internal/type/converter.rb | 2 -- lib/finch_api/internal/util.rb | 4 ---- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index c4fcf7d9..2b468d05 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -39,6 +39,8 @@ Layout/LineLength: AllowedPatterns: - "^\\s*#.*$" - ^require(_relative)? + - "FinchAPI::Internal::Type::BaseModel$" + - "^\\s*[A-Z0-9_]+ = :" - "FinchAPI::(Models|Resources|Test)::" Max: 110 @@ -109,8 +111,7 @@ Metrics/MethodLength: Enabled: false Metrics/ModuleLength: - Exclude: - - "**/*.rbi" + Enabled: false Metrics/ParameterLists: Enabled: false diff --git a/lib/finch_api/internal/type/converter.rb b/lib/finch_api/internal/type/converter.rb index 8ef31963..f321570d 100644 --- a/lib/finch_api/internal/type/converter.rb +++ b/lib/finch_api/internal/type/converter.rb @@ -3,7 +3,6 @@ module FinchAPI module Internal module Type - # rubocop:disable Metrics/ModuleLength # @api private module Converter # rubocop:disable Lint/UnusedMethodArgument @@ -218,7 +217,6 @@ def dump(target, value) end end end - # rubocop:enable Metrics/ModuleLength end end end diff --git a/lib/finch_api/internal/util.rb b/lib/finch_api/internal/util.rb index bcd6e54c..7e5507ed 100644 --- a/lib/finch_api/internal/util.rb +++ b/lib/finch_api/internal/util.rb @@ -2,8 +2,6 @@ module FinchAPI module Internal - # rubocop:disable Metrics/ModuleLength - # @api private module Util # @api private @@ -694,7 +692,5 @@ def decode_sse(lines) end end end - - # rubocop:enable Metrics/ModuleLength end end From ff97af205ffe88a190d05f6ecaf63d73794b39c0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 23:25:57 +0000 Subject: [PATCH 12/16] chore: always fold up method bodies in sorbet type definitions (#125) --- .../hris/benefit_features_and_operations.rb | 6 +- rbi/lib/finch_api/client.rbi | 12 +- rbi/lib/finch_api/errors.rbi | 9 +- .../finch_api/internal/individuals_page.rbi | 3 +- rbi/lib/finch_api/internal/page.rbi | 3 +- rbi/lib/finch_api/internal/responses_page.rbi | 3 +- rbi/lib/finch_api/internal/single_page.rbi | 12 +- .../internal/transport/base_client.rbi | 38 ++-- .../transport/pooled_net_requester.rbi | 18 +- rbi/lib/finch_api/internal/type/array_of.rbi | 24 +-- .../finch_api/internal/type/base_model.rbi | 77 +++---- rbi/lib/finch_api/internal/type/base_page.rbi | 15 +- rbi/lib/finch_api/internal/type/boolean.rbi | 12 +- rbi/lib/finch_api/internal/type/converter.rbi | 16 +- rbi/lib/finch_api/internal/type/enum.rbi | 18 +- rbi/lib/finch_api/internal/type/hash_of.rbi | 24 +-- .../internal/type/request_parameters.rbi | 3 +- rbi/lib/finch_api/internal/type/union.rbi | 30 +-- rbi/lib/finch_api/internal/type/unknown.rbi | 12 +- rbi/lib/finch_api/internal/util.rbi | 100 +++------ .../models/access_token_create_params.rbi | 6 +- .../models/account_disconnect_params.rbi | 6 +- .../models/account_introspect_params.rbi | 6 +- .../finch_api/models/account_update_event.rbi | 201 ++++++----------- .../finch_api/models/base_webhook_event.rbi | 6 +- rbi/lib/finch_api/models/company_event.rbi | 9 +- .../models/connect/session_new_params.rbi | 22 +- .../models/connect/session_new_response.rbi | 6 +- .../connect/session_reauthenticate_params.rbi | 6 +- .../session_reauthenticate_response.rbi | 6 +- .../models/connection_status_type.rbi | 3 +- .../models/create_access_token_response.rbi | 13 +- rbi/lib/finch_api/models/directory_event.rbi | 15 +- .../finch_api/models/disconnect_response.rbi | 6 +- rbi/lib/finch_api/models/employment_event.rbi | 15 +- .../models/hris/benefit_contribution.rbi | 9 +- .../models/hris/benefit_create_params.rbi | 6 +- .../hris/benefit_features_and_operations.rbi | 78 +++---- .../models/hris/benefit_frequency.rbi | 3 +- .../models/hris/benefit_list_params.rbi | 6 +- ...benefit_list_supported_benefits_params.rbi | 6 +- .../models/hris/benefit_retrieve_params.rbi | 6 +- .../finch_api/models/hris/benefit_type.rbi | 3 +- .../models/hris/benefit_update_params.rbi | 6 +- .../hris/benefits/enrolled_individual.rbi | 15 +- .../hris/benefits/individual_benefit.rbi | 16 +- .../individual_enroll_many_params.rbi | 62 +++--- .../individual_enrolled_ids_params.rbi | 6 +- .../individual_enrolled_ids_response.rbi | 6 +- ...dividual_retrieve_many_benefits_params.rbi | 6 +- .../individual_unenroll_many_params.rbi | 6 +- .../hris/benefits/unenrolled_individual.rbi | 12 +- .../models/hris/benefits_support.rbi | 7 +- rbi/lib/finch_api/models/hris/company.rbi | 37 ++-- .../pay_statement_item/rule_create_params.rbi | 41 ++-- .../rule_create_response.rbi | 41 ++-- .../pay_statement_item/rule_delete_params.rbi | 6 +- .../rule_delete_response.rbi | 41 ++-- .../pay_statement_item/rule_list_params.rbi | 6 +- .../pay_statement_item/rule_list_response.rbi | 41 ++-- .../pay_statement_item/rule_update_params.rbi | 6 +- .../rule_update_response.rbi | 41 ++-- .../pay_statement_item_list_params.rbi | 6 +- .../pay_statement_item_list_response.rbi | 15 +- .../finch_api/models/hris/company_benefit.rbi | 6 +- .../models/hris/company_retrieve_params.rbi | 6 +- .../hris/create_company_benefits_response.rbi | 6 +- .../directory_list_individuals_params.rbi | 6 +- .../models/hris/directory_list_params.rbi | 6 +- .../models/hris/document_list_params.rbi | 9 +- .../models/hris/document_list_response.rbi | 6 +- .../models/hris/document_response.rbi | 9 +- .../models/hris/document_retreive_params.rbi | 6 +- .../hris/document_retreive_response.rbi | 3 +- .../finch_api/models/hris/employment_data.rbi | 40 ++-- .../models/hris/employment_data_response.rbi | 6 +- .../hris/employment_retrieve_many_params.rbi | 12 +- rbi/lib/finch_api/models/hris/individual.rbi | 31 +-- .../models/hris/individual_in_directory.rbi | 15 +- .../models/hris/individual_response.rbi | 6 +- .../hris/individual_retrieve_many_params.rbi | 18 +- .../finch_api/models/hris/pay_statement.rbi | 91 +++----- .../models/hris/pay_statement_response.rbi | 6 +- .../hris/pay_statement_response_body.rbi | 6 +- .../pay_statement_retrieve_many_params.rbi | 12 +- rbi/lib/finch_api/models/hris/payment.rbi | 16 +- .../models/hris/payment_list_params.rbi | 6 +- .../models/hris/support_per_benefit_type.rbi | 10 +- .../models/hris/supported_benefit.rbi | 16 +- .../hris/update_company_benefit_response.rbi | 6 +- rbi/lib/finch_api/models/hris/w42005.rbi | 22 +- rbi/lib/finch_api/models/hris/w42020.rbi | 19 +- rbi/lib/finch_api/models/income.rbi | 9 +- rbi/lib/finch_api/models/individual_event.rbi | 15 +- rbi/lib/finch_api/models/introspection.rbi | 34 +-- .../finch_api/models/job_completion_event.rbi | 15 +- .../models/jobs/automated_async_job.rbi | 15 +- .../models/jobs/automated_create_params.rbi | 15 +- .../models/jobs/automated_create_response.rbi | 6 +- .../models/jobs/automated_list_params.rbi | 6 +- .../models/jobs/automated_list_response.rbi | 24 +-- .../models/jobs/automated_retrieve_params.rbi | 6 +- .../models/jobs/manual_async_job.rbi | 9 +- .../models/jobs/manual_retrieve_params.rbi | 6 +- rbi/lib/finch_api/models/location.rbi | 3 +- rbi/lib/finch_api/models/money.rbi | 6 +- .../finch_api/models/operation_support.rbi | 3 +- .../models/operation_support_matrix.rbi | 6 +- rbi/lib/finch_api/models/paging.rbi | 6 +- .../finch_api/models/pay_statement_event.rbi | 15 +- rbi/lib/finch_api/models/payment_event.rbi | 15 +- .../models/payroll/pay_group_list_params.rbi | 6 +- .../payroll/pay_group_list_response.rbi | 9 +- .../payroll/pay_group_retrieve_params.rbi | 6 +- .../payroll/pay_group_retrieve_response.rbi | 9 +- rbi/lib/finch_api/models/provider.rbi | 202 ++++++------------ .../finch_api/models/provider_list_params.rbi | 6 +- .../request_forwarding_forward_params.rbi | 6 +- .../request_forwarding_forward_response.rbi | 12 +- .../models/sandbox/company_update_params.rbi | 37 ++-- .../sandbox/company_update_response.rbi | 39 ++-- .../sandbox/connection_create_params.rbi | 6 +- .../sandbox/connection_create_response.rbi | 10 +- .../connections/account_create_params.rbi | 6 +- .../connections/account_create_response.rbi | 6 +- .../connections/account_update_params.rbi | 6 +- .../connections/account_update_response.rbi | 6 +- .../sandbox/directory_create_params.rbi | 76 +++---- .../sandbox/employment_update_params.rbi | 40 ++-- .../sandbox/employment_update_response.rbi | 40 ++-- .../sandbox/individual_update_params.rbi | 37 ++-- .../sandbox/individual_update_response.rbi | 37 ++-- .../models/sandbox/job_create_params.rbi | 9 +- .../models/sandbox/job_create_response.rbi | 6 +- .../jobs/configuration_retrieve_params.rbi | 6 +- .../jobs/configuration_update_params.rbi | 6 +- .../jobs/sandbox_job_configuration.rbi | 12 +- .../models/sandbox/payment_create_params.rbi | 126 ++++------- .../sandbox/payment_create_response.rbi | 6 +- rbi/lib/finch_api/models/webhook_event.rbi | 3 +- rbi/lib/finch_api/request_options.rbi | 6 +- rbi/lib/finch_api/resources/access_tokens.rbi | 6 +- rbi/lib/finch_api/resources/account.rbi | 9 +- rbi/lib/finch_api/resources/connect.rbi | 3 +- .../finch_api/resources/connect/sessions.rbi | 11 +- rbi/lib/finch_api/resources/hris.rbi | 3 +- rbi/lib/finch_api/resources/hris/benefits.rbi | 20 +- .../resources/hris/benefits/individuals.rbi | 26 +-- rbi/lib/finch_api/resources/hris/company.rbi | 6 +- .../hris/company/pay_statement_item.rbi | 7 +- .../hris/company/pay_statement_item/rules.rbi | 24 +-- .../finch_api/resources/hris/directory.rbi | 7 +- .../finch_api/resources/hris/documents.rbi | 11 +- .../finch_api/resources/hris/employments.rbi | 7 +- .../finch_api/resources/hris/individuals.rbi | 6 +- .../resources/hris/pay_statements.rbi | 7 +- rbi/lib/finch_api/resources/hris/payments.rbi | 7 +- rbi/lib/finch_api/resources/jobs.rbi | 3 +- .../finch_api/resources/jobs/automated.rbi | 14 +- rbi/lib/finch_api/resources/jobs/manual.rbi | 6 +- rbi/lib/finch_api/resources/payroll.rbi | 3 +- .../resources/payroll/pay_groups.rbi | 9 +- rbi/lib/finch_api/resources/providers.rbi | 6 +- .../resources/request_forwarding.rbi | 7 +- rbi/lib/finch_api/resources/sandbox.rbi | 3 +- .../finch_api/resources/sandbox/company.rbi | 7 +- .../resources/sandbox/connections.rbi | 7 +- .../sandbox/connections/accounts.rbi | 10 +- .../finch_api/resources/sandbox/directory.rbi | 7 +- .../resources/sandbox/employment.rbi | 7 +- .../resources/sandbox/individual.rbi | 13 +- rbi/lib/finch_api/resources/sandbox/jobs.rbi | 7 +- .../resources/sandbox/jobs/configuration.rbi | 9 +- .../finch_api/resources/sandbox/payment.rbi | 6 +- rbi/lib/finch_api/resources/webhooks.rbi | 3 +- 175 files changed, 1017 insertions(+), 1968 deletions(-) diff --git a/lib/finch_api/models/hris/benefit_features_and_operations.rb b/lib/finch_api/models/hris/benefit_features_and_operations.rb index ebe31324..20fa027f 100644 --- a/lib/finch_api/models/hris/benefit_features_and_operations.rb +++ b/lib/finch_api/models/hris/benefit_features_and_operations.rb @@ -54,7 +54,7 @@ class SupportedFeatures < FinchAPI::Internal::Type::BaseModel optional :company_contribution, -> do FinchAPI::Internal::Type::ArrayOf[ - enum: FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::CompanyContribution, nil?: true + enum: FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::CompanyContribution, nil?: true ] end, nil?: true @@ -72,7 +72,7 @@ class SupportedFeatures < FinchAPI::Internal::Type::BaseModel optional :employee_deduction, -> do FinchAPI::Internal::Type::ArrayOf[ - enum: FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::EmployeeDeduction, nil?: true + enum: FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::EmployeeDeduction, nil?: true ] end, nil?: true @@ -96,7 +96,7 @@ class SupportedFeatures < FinchAPI::Internal::Type::BaseModel optional :hsa_contribution_limit, -> do FinchAPI::Internal::Type::ArrayOf[ - enum: FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::HsaContributionLimit, nil?: true + enum: FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::HsaContributionLimit, nil?: true ] end, nil?: true diff --git a/rbi/lib/finch_api/client.rbi b/rbi/lib/finch_api/client.rbi index 91a4e57b..a62418dd 100644 --- a/rbi/lib/finch_api/client.rbi +++ b/rbi/lib/finch_api/client.rbi @@ -51,18 +51,15 @@ module FinchAPI # @api private sig { override.returns(T::Hash[String, String]) } - private def auth_headers - end + private def auth_headers; end # @api private sig { returns(T::Hash[String, String]) } - private def bearer_auth - end + private def bearer_auth; end # @api private sig { returns(T::Hash[String, String]) } - private def basic_auth - end + private def basic_auth; end # Creates and returns a new client for interacting with the API. sig do @@ -91,7 +88,6 @@ module FinchAPI timeout: DEFAULT_TIMEOUT_IN_SECONDS, initial_retry_delay: DEFAULT_INITIAL_RETRY_DELAY, max_retry_delay: DEFAULT_MAX_RETRY_DELAY - ) - end + ); end end end diff --git a/rbi/lib/finch_api/errors.rbi b/rbi/lib/finch_api/errors.rbi index 38251da7..3a112459 100644 --- a/rbi/lib/finch_api/errors.rbi +++ b/rbi/lib/finch_api/errors.rbi @@ -32,8 +32,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(url:, status: nil, body: nil, request: nil, response: nil, message: nil) - end + def self.new(url:, status: nil, body: nil, request: nil, response: nil, message: nil); end end class APIConnectionError < FinchAPI::Errors::APIError @@ -89,8 +88,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.for(url:, status:, body:, request:, response:, message: nil) - end + def self.for(url:, status:, body:, request:, response:, message: nil); end sig { returns(Integer) } attr_accessor :status @@ -107,8 +105,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(url:, status:, body:, request:, response:, message: nil) - end + def self.new(url:, status:, body:, request:, response:, message: nil); end end class BadRequestError < FinchAPI::Errors::APIStatusError diff --git a/rbi/lib/finch_api/internal/individuals_page.rbi b/rbi/lib/finch_api/internal/individuals_page.rbi index e511ba92..22e792f5 100644 --- a/rbi/lib/finch_api/internal/individuals_page.rbi +++ b/rbi/lib/finch_api/internal/individuals_page.rbi @@ -14,8 +14,7 @@ module FinchAPI attr_accessor :paging sig { returns(String) } - def inspect - end + def inspect; end end end end diff --git a/rbi/lib/finch_api/internal/page.rbi b/rbi/lib/finch_api/internal/page.rbi index b98ede04..9b70a280 100644 --- a/rbi/lib/finch_api/internal/page.rbi +++ b/rbi/lib/finch_api/internal/page.rbi @@ -14,8 +14,7 @@ module FinchAPI attr_accessor :paging sig { returns(String) } - def inspect - end + def inspect; end end end end diff --git a/rbi/lib/finch_api/internal/responses_page.rbi b/rbi/lib/finch_api/internal/responses_page.rbi index af9da4e4..f284f7ff 100644 --- a/rbi/lib/finch_api/internal/responses_page.rbi +++ b/rbi/lib/finch_api/internal/responses_page.rbi @@ -11,8 +11,7 @@ module FinchAPI attr_accessor :responses sig { returns(String) } - def inspect - end + def inspect; end end end end diff --git a/rbi/lib/finch_api/internal/single_page.rbi b/rbi/lib/finch_api/internal/single_page.rbi index 2b0a5089..d3c93e16 100644 --- a/rbi/lib/finch_api/internal/single_page.rbi +++ b/rbi/lib/finch_api/internal/single_page.rbi @@ -8,20 +8,16 @@ module FinchAPI Elem = type_member sig { override.returns(T::Boolean) } - def next_page? - end + def next_page?; end sig { override.returns(T.self_type) } - def next_page - end + def next_page; end sig { override.params(blk: T.proc.params(arg0: Elem).void).void } - def auto_paging_each(&blk) - end + def auto_paging_each(&blk); end sig { returns(String) } - def inspect - end + def inspect; end end end end diff --git a/rbi/lib/finch_api/internal/transport/base_client.rbi b/rbi/lib/finch_api/internal/transport/base_client.rbi index c44618ad..dcee007c 100644 --- a/rbi/lib/finch_api/internal/transport/base_client.rbi +++ b/rbi/lib/finch_api/internal/transport/base_client.rbi @@ -52,8 +52,7 @@ module FinchAPI class << self # @api private sig { params(req: FinchAPI::Internal::Transport::BaseClient::RequestComponentsShape).void } - def validate!(req) - end + def validate!(req); end # @api private sig do @@ -65,8 +64,7 @@ module FinchAPI ) ).returns(T::Boolean) end - def should_retry?(status, headers:) - end + def should_retry?(status, headers:); end # @api private sig do @@ -77,8 +75,7 @@ module FinchAPI ) .returns(FinchAPI::Internal::Transport::BaseClient::RequestInputShape) end - def follow_redirect(request, status:, response_headers:) - end + def follow_redirect(request, status:, response_headers:); end # @api private sig do @@ -88,8 +85,7 @@ module FinchAPI ) .void end - def reap_connection!(status, stream:) - end + def reap_connection!(status, stream:); end end # @api private @@ -118,18 +114,14 @@ module FinchAPI max_retry_delay: 0.0, headers: {}, idempotency_header: nil - ) - end - + ); end # @api private sig { overridable.returns(T::Hash[String, String]) } - private def auth_headers - end + private def auth_headers; end # @api private sig { returns(String) } - private def generate_idempotency_key - end + private def generate_idempotency_key; end # @api private sig do @@ -140,13 +132,11 @@ module FinchAPI ) .returns(FinchAPI::Internal::Transport::BaseClient::RequestInputShape) end - private def build_request(req, opts) - end + private def build_request(req, opts); end # @api private sig { params(headers: T::Hash[String, String], retry_count: Integer).returns(Float) } - private def retry_delay(headers, retry_count:) - end + private def retry_delay(headers, retry_count:); end # @api private sig do @@ -158,8 +148,7 @@ module FinchAPI ) .returns([Integer, Net::HTTPResponse, T::Enumerable[String]]) end - private def send_request(request, redirect_count:, retry_count:, send_retry_header:) - end + private def send_request(request, redirect_count:, retry_count:, send_retry_header:); end # Execute the request specified by `req`. This is the method that all resource # methods call into. @@ -200,12 +189,9 @@ module FinchAPI stream: nil, model: FinchAPI::Internal::Type::Unknown, options: {} - ) - end - + ); end sig { returns(String) } - def inspect - end + def inspect; end end end end diff --git a/rbi/lib/finch_api/internal/transport/pooled_net_requester.rbi b/rbi/lib/finch_api/internal/transport/pooled_net_requester.rbi index 8d44fc6c..0e030e15 100644 --- a/rbi/lib/finch_api/internal/transport/pooled_net_requester.rbi +++ b/rbi/lib/finch_api/internal/transport/pooled_net_requester.rbi @@ -23,13 +23,11 @@ module FinchAPI class << self # @api private sig { params(url: URI::Generic).returns(Net::HTTP) } - def connect(url) - end + def connect(url); end # @api private sig { params(conn: Net::HTTP, deadline: Float).void } - def calibrate_socket_timeout(conn, deadline) - end + def calibrate_socket_timeout(conn, deadline); end # @api private sig do @@ -39,27 +37,23 @@ module FinchAPI ) .returns(Net::HTTPGenericRequest) end - def build_request(request, &blk) - end + def build_request(request, &blk); end end # @api private sig { params(url: URI::Generic, deadline: Float, blk: T.proc.params(arg0: Net::HTTP).void).void } - private def with_pool(url, deadline:, &blk) - end + private def with_pool(url, deadline:, &blk); end # @api private sig do params(request: FinchAPI::Internal::Transport::PooledNetRequester::RequestShape) .returns([Integer, Net::HTTPResponse, T::Enumerable[String]]) end - def execute(request) - end + def execute(request); end # @api private sig { params(size: Integer).returns(T.attached_class) } - def self.new(size: Etc.nprocessors) - end + def self.new(size: Etc.nprocessors); end end end end diff --git a/rbi/lib/finch_api/internal/type/array_of.rbi b/rbi/lib/finch_api/internal/type/array_of.rbi index 2f8262d3..e5a2b0e5 100644 --- a/rbi/lib/finch_api/internal/type/array_of.rbi +++ b/rbi/lib/finch_api/internal/type/array_of.rbi @@ -25,16 +25,13 @@ module FinchAPI ) .returns(T.attached_class) end - def self.[](type_info, spec = {}) - end + def self.[](type_info, spec = {}); end sig(:final) { params(other: T.anything).returns(T::Boolean) } - def ===(other) - end + def ===(other); end sig(:final) { params(other: T.anything).returns(T::Boolean) } - def ==(other) - end + def ==(other); end # @api private sig(:final) do @@ -46,8 +43,7 @@ module FinchAPI state: FinchAPI::Internal::Type::Converter::State) .returns(T.any(T::Array[T.anything], T.anything)) end - def coerce(value, state:) - end + def coerce(value, state:); end # @api private sig(:final) do @@ -55,18 +51,15 @@ module FinchAPI .params(value: T.any(T::Array[T.anything], T.anything)) .returns(T.any(T::Array[T.anything], T.anything)) end - def dump(value) - end + def dump(value); end # @api private sig(:final) { returns(Elem) } - protected def item_type - end + protected def item_type; end # @api private sig(:final) { returns(T::Boolean) } - protected def nilable? - end + protected def nilable?; end # @api private sig(:final) do @@ -80,8 +73,7 @@ module FinchAPI ) .void end - def initialize(type_info, spec = {}) - end + def initialize(type_info, spec = {}); end end end end diff --git a/rbi/lib/finch_api/internal/type/base_model.rbi b/rbi/lib/finch_api/internal/type/base_model.rbi index b22404a9..8099c73a 100644 --- a/rbi/lib/finch_api/internal/type/base_model.rbi +++ b/rbi/lib/finch_api/internal/type/base_model.rbi @@ -20,31 +20,29 @@ module FinchAPI sig do returns( T::Hash[ - Symbol, - T.all( - FinchAPI::Internal::Type::BaseModel::KnownFieldShape, - {type_fn: T.proc.returns(FinchAPI::Internal::Type::Converter::Input)} - ) + Symbol, + T.all( + FinchAPI::Internal::Type::BaseModel::KnownFieldShape, + {type_fn: T.proc.returns(FinchAPI::Internal::Type::Converter::Input)} + ) ] ) end - def known_fields - end + def known_fields; end # @api private sig do returns( T::Hash[ - Symbol, - T.all( - FinchAPI::Internal::Type::BaseModel::KnownFieldShape, - {type: FinchAPI::Internal::Type::Converter::Input} - ) + Symbol, + T.all( + FinchAPI::Internal::Type::BaseModel::KnownFieldShape, + {type: FinchAPI::Internal::Type::Converter::Input} + ) ] ) end - def fields - end + def fields; end # @api private sig do @@ -66,8 +64,7 @@ module FinchAPI ) .void end - private def add_field(name_sym, required:, type_info:, spec:) - end + private def add_field(name_sym, required:, type_info:, spec:); end # @api private sig do @@ -82,8 +79,7 @@ module FinchAPI ) .void end - def required(name_sym, type_info, spec = {}) - end + def required(name_sym, type_info, spec = {}); end # @api private sig do @@ -98,32 +94,27 @@ module FinchAPI ) .void end - def optional(name_sym, type_info, spec = {}) - end + def optional(name_sym, type_info, spec = {}); end # @api private # # `request_only` attributes not excluded from `.#coerce` when receiving responses # even if well behaved servers should not send them sig { params(blk: T.proc.void).void } - private def request_only(&blk) - end + private def request_only(&blk); end # @api private # # `response_only` attributes are omitted from `.#dump` when making requests sig { params(blk: T.proc.void).void } - private def response_only(&blk) - end + private def response_only(&blk); end sig { params(other: T.anything).returns(T::Boolean) } - def ==(other) - end + def ==(other); end end sig { params(other: T.anything).returns(T::Boolean) } - def ==(other) - end + def ==(other); end class << self # @api private @@ -139,8 +130,7 @@ module FinchAPI ) .returns(T.any(T.attached_class, T.anything)) end - def coerce(value, state:) - end + def coerce(value, state:); end # @api private sig do @@ -148,8 +138,7 @@ module FinchAPI .params(value: T.any(T.attached_class, T.anything)) .returns(T.any(T::Hash[T.anything, T.anything], T.anything)) end - def dump(value) - end + def dump(value); end end # Returns the raw value associated with the given key, if found. Otherwise, nil is @@ -159,8 +148,7 @@ module FinchAPI # undocumented features. This method does not parse response data into # higher-level types. Lookup by anything other than a Symbol is an ArgumentError. sig { params(key: Symbol).returns(T.nilable(T.anything)) } - def [](key) - end + def [](key); end # Returns a Hash of the data underlying this object. O(1) # @@ -171,8 +159,7 @@ module FinchAPI # This method is not recursive. The returned value is shared by the object, so it # should not be mutated. sig { overridable.returns(FinchAPI::Internal::AnyHash) } - def to_h - end + def to_h; end # Returns a Hash of the data underlying this object. O(1) # @@ -183,29 +170,23 @@ module FinchAPI # This method is not recursive. The returned value is shared by the object, so it # should not be mutated. sig { overridable.returns(FinchAPI::Internal::AnyHash) } - def to_hash - end + def to_hash; end sig { params(keys: T.nilable(T::Array[Symbol])).returns(FinchAPI::Internal::AnyHash) } - def deconstruct_keys(keys) - end + def deconstruct_keys(keys); end sig { params(a: T.anything).returns(String) } - def to_json(*a) - end + def to_json(*a); end sig { params(a: T.anything).returns(String) } - def to_yaml(*a) - end + def to_yaml(*a); end # Create a new instance of a model. sig { params(data: T.any(T::Hash[Symbol, T.anything], T.self_type)).returns(T.attached_class) } - def self.new(data = {}) - end + def self.new(data = {}); end sig { returns(String) } - def inspect - end + def inspect; end end end end diff --git a/rbi/lib/finch_api/internal/type/base_page.rbi b/rbi/lib/finch_api/internal/type/base_page.rbi index 9239f4c8..837c9cd0 100644 --- a/rbi/lib/finch_api/internal/type/base_page.rbi +++ b/rbi/lib/finch_api/internal/type/base_page.rbi @@ -8,20 +8,16 @@ module FinchAPI Elem = type_member(:out) sig { overridable.returns(T::Boolean) } - def next_page? - end + def next_page?; end sig { overridable.returns(T.self_type) } - def next_page - end + def next_page; end sig { overridable.params(blk: T.proc.params(arg0: Elem).void).void } - def auto_paging_each(&blk) - end + def auto_paging_each(&blk); end sig { returns(T::Enumerable[Elem]) } - def to_enum - end + def to_enum; end # @api private sig do @@ -33,8 +29,7 @@ module FinchAPI ) .void end - def initialize(client:, req:, headers:, page_data:) - end + def initialize(client:, req:, headers:, page_data:); end end end end diff --git a/rbi/lib/finch_api/internal/type/boolean.rbi b/rbi/lib/finch_api/internal/type/boolean.rbi index 7757d8d1..891b531e 100644 --- a/rbi/lib/finch_api/internal/type/boolean.rbi +++ b/rbi/lib/finch_api/internal/type/boolean.rbi @@ -13,12 +13,10 @@ module FinchAPI final! sig(:final) { params(other: T.anything).returns(T::Boolean) } - def self.===(other) - end + def self.===(other); end sig(:final) { params(other: T.anything).returns(T::Boolean) } - def self.==(other) - end + def self.==(other); end class << self # @api private @@ -27,15 +25,13 @@ module FinchAPI .params(value: T.any(T::Boolean, T.anything), state: FinchAPI::Internal::Type::Converter::State) .returns(T.any(T::Boolean, T.anything)) end - def coerce(value, state:) - end + def coerce(value, state:); end # @api private sig(:final) do override.params(value: T.any(T::Boolean, T.anything)).returns(T.any(T::Boolean, T.anything)) end - def dump(value) - end + def dump(value); end end end end diff --git a/rbi/lib/finch_api/internal/type/converter.rbi b/rbi/lib/finch_api/internal/type/converter.rbi index f9bdc3c8..82c51eb7 100644 --- a/rbi/lib/finch_api/internal/type/converter.rbi +++ b/rbi/lib/finch_api/internal/type/converter.rbi @@ -23,13 +23,11 @@ module FinchAPI state: FinchAPI::Internal::Type::Converter::State ).returns(T.anything) end - def coerce(value, state:) - end + def coerce(value, state:); end # @api private sig { overridable.params(value: T.anything).returns(T.anything) } - def dump(value) - end + def dump(value); end class << self # @api private @@ -47,8 +45,7 @@ module FinchAPI ) .returns(T.proc.returns(T.anything)) end - def self.type_info(spec) - end + def self.type_info(spec); end # @api private # @@ -92,15 +89,12 @@ module FinchAPI # # See implementation below for more details. state: {strictness: true, exactness: {yes: 0, no: 0, maybe: 0}, branched: 0} - ) - end - + ); end # @api private sig do params(target: FinchAPI::Internal::Type::Converter::Input, value: T.anything).returns(T.anything) end - def self.dump(target, value) - end + def self.dump(target, value); end end end end diff --git a/rbi/lib/finch_api/internal/type/enum.rbi b/rbi/lib/finch_api/internal/type/enum.rbi index eac9134a..a288584e 100644 --- a/rbi/lib/finch_api/internal/type/enum.rbi +++ b/rbi/lib/finch_api/internal/type/enum.rbi @@ -20,23 +20,19 @@ module FinchAPI # All of the valid Symbol values for this enum. sig { overridable.returns(T::Array[T.any(NilClass, T::Boolean, Integer, Float, Symbol)]) } - def values - end + def values; end # @api private # # Guard against thread safety issues by instantiating `@values`. sig { void } - private def finalize! - end + private def finalize!; end sig { params(other: T.anything).returns(T::Boolean) } - def ===(other) - end + def ===(other); end sig { params(other: T.anything).returns(T::Boolean) } - def ==(other) - end + def ==(other); end # @api private # @@ -52,13 +48,11 @@ module FinchAPI state: FinchAPI::Internal::Type::Converter::State) .returns(T.any(Symbol, T.anything)) end - def coerce(value, state:) - end + def coerce(value, state:); end # @api private sig { override.params(value: T.any(Symbol, T.anything)).returns(T.any(Symbol, T.anything)) } - def dump(value) - end + def dump(value); end end end end diff --git a/rbi/lib/finch_api/internal/type/hash_of.rbi b/rbi/lib/finch_api/internal/type/hash_of.rbi index e14c3402..bd9524e4 100644 --- a/rbi/lib/finch_api/internal/type/hash_of.rbi +++ b/rbi/lib/finch_api/internal/type/hash_of.rbi @@ -25,16 +25,13 @@ module FinchAPI ) .returns(T.attached_class) end - def self.[](type_info, spec = {}) - end + def self.[](type_info, spec = {}); end sig(:final) { params(other: T.anything).returns(T::Boolean) } - def ===(other) - end + def ===(other); end sig(:final) { params(other: T.anything).returns(T::Boolean) } - def ==(other) - end + def ==(other); end # @api private sig(:final) do @@ -45,8 +42,7 @@ module FinchAPI ) .returns(T.any(FinchAPI::Internal::AnyHash, T.anything)) end - def coerce(value, state:) - end + def coerce(value, state:); end # @api private sig(:final) do @@ -54,18 +50,15 @@ module FinchAPI .params(value: T.any(T::Hash[T.anything, T.anything], T.anything)) .returns(T.any(FinchAPI::Internal::AnyHash, T.anything)) end - def dump(value) - end + def dump(value); end # @api private sig(:final) { returns(Elem) } - protected def item_type - end + protected def item_type; end # @api private sig(:final) { returns(T::Boolean) } - protected def nilable? - end + protected def nilable?; end # @api private sig(:final) do @@ -79,8 +72,7 @@ module FinchAPI ) .void end - def initialize(type_info, spec = {}) - end + def initialize(type_info, spec = {}); end end end end diff --git a/rbi/lib/finch_api/internal/type/request_parameters.rbi b/rbi/lib/finch_api/internal/type/request_parameters.rbi index 7051d977..e884b3f9 100644 --- a/rbi/lib/finch_api/internal/type/request_parameters.rbi +++ b/rbi/lib/finch_api/internal/type/request_parameters.rbi @@ -13,8 +13,7 @@ module FinchAPI module Converter # @api private sig { params(params: T.anything).returns([T.anything, FinchAPI::Internal::AnyHash]) } - def dump_request(params) - end + def dump_request(params); end end end end diff --git a/rbi/lib/finch_api/internal/type/union.rbi b/rbi/lib/finch_api/internal/type/union.rbi index 6cfbb747..dd2bcb5d 100644 --- a/rbi/lib/finch_api/internal/type/union.rbi +++ b/rbi/lib/finch_api/internal/type/union.rbi @@ -13,23 +13,19 @@ module FinchAPI sig do returns(T::Array[[T.nilable(Symbol), T.proc.returns(FinchAPI::Internal::Type::Converter::Input)]]) end - private def known_variants - end + private def known_variants; end # @api private sig { returns(T::Array[[T.nilable(Symbol), T.anything]]) } - protected def derefed_variants - end + protected def derefed_variants; end # All of the specified variants for this union. sig { overridable.returns(T::Array[T.anything]) } - def variants - end + def variants; end # @api private sig { params(property: Symbol).void } - private def discriminator(property) - end + private def discriminator(property); end # @api private sig do @@ -39,21 +35,17 @@ module FinchAPI ) .void end - private def variant(key, spec = nil) - end + private def variant(key, spec = nil); end # @api private sig { params(value: T.anything).returns(T.nilable(T.anything)) } - private def resolve_variant(value) - end + private def resolve_variant(value); end sig { params(other: T.anything).returns(T::Boolean) } - def ===(other) - end + def ===(other); end sig { params(other: T.anything).returns(T::Boolean) } - def ==(other) - end + def ==(other); end # @api private sig do @@ -62,13 +54,11 @@ module FinchAPI state: FinchAPI::Internal::Type::Converter::State ).returns(T.anything) end - def coerce(value, state:) - end + def coerce(value, state:); end # @api private sig { override.params(value: T.anything).returns(T.anything) } - def dump(value) - end + def dump(value); end end end end diff --git a/rbi/lib/finch_api/internal/type/unknown.rbi b/rbi/lib/finch_api/internal/type/unknown.rbi index cae010c6..c3fd193c 100644 --- a/rbi/lib/finch_api/internal/type/unknown.rbi +++ b/rbi/lib/finch_api/internal/type/unknown.rbi @@ -13,12 +13,10 @@ module FinchAPI final! sig(:final) { params(other: T.anything).returns(T::Boolean) } - def self.===(other) - end + def self.===(other); end sig(:final) { params(other: T.anything).returns(T::Boolean) } - def self.==(other) - end + def self.==(other); end class << self # @api private @@ -28,13 +26,11 @@ module FinchAPI state: FinchAPI::Internal::Type::Converter::State ).returns(T.anything) end - def coerce(value, state:) - end + def coerce(value, state:); end # @api private sig(:final) { override.params(value: T.anything).returns(T.anything) } - def dump(value) - end + def dump(value); end end end end diff --git a/rbi/lib/finch_api/internal/util.rbi b/rbi/lib/finch_api/internal/util.rbi index 5b8ad613..5288f4a8 100644 --- a/rbi/lib/finch_api/internal/util.rbi +++ b/rbi/lib/finch_api/internal/util.rbi @@ -6,58 +6,48 @@ module FinchAPI module Util # @api private sig { returns(Float) } - def self.monotonic_secs - end + def self.monotonic_secs; end class << self # @api private sig { returns(String) } - def arch - end + def arch; end # @api private sig { returns(String) } - def os - end + def os; end end class << self # @api private sig { params(input: T.anything).returns(T::Boolean) } - def primitive?(input) - end + def primitive?(input); end # @api private sig { params(input: T.any(String, T::Boolean)).returns(T.any(T::Boolean, T.anything)) } - def coerce_boolean(input) - end + def coerce_boolean(input); end # @api private sig { params(input: T.any(String, T::Boolean)).returns(T.nilable(T::Boolean)) } - def coerce_boolean!(input) - end + def coerce_boolean!(input); end # @api private sig { params(input: T.any(String, Integer)).returns(T.any(Integer, T.anything)) } - def coerce_integer(input) - end + def coerce_integer(input); end # @api private sig { params(input: T.any(String, Integer, Float)).returns(T.any(Float, T.anything)) } - def coerce_float(input) - end + def coerce_float(input); end # @api private sig { params(input: T.anything).returns(T.any(T::Hash[T.anything, T.anything], T.anything)) } - def coerce_hash(input) - end + def coerce_hash(input); end end class << self # @api private sig { params(lhs: T.anything, rhs: T.anything, concat: T::Boolean).returns(T.anything) } - private def deep_merge_lr(lhs, rhs, concat: false) - end + private def deep_merge_lr(lhs, rhs, concat: false); end # @api private # @@ -73,9 +63,7 @@ module FinchAPI sentinel: nil, # whether to merge sequences by concatenation. concat: false - ) - end - + ); end # @api private sig do params( @@ -86,35 +74,30 @@ module FinchAPI ) .returns(T.nilable(T.anything)) end - def dig(data, pick, sentinel = nil, &blk) - end + def dig(data, pick, sentinel = nil, &blk); end end class << self # @api private sig { params(uri: URI::Generic).returns(String) } - def uri_origin(uri) - end + def uri_origin(uri); end # @api private sig { params(path: T.any(String, T::Array[String])).returns(String) } - def interpolate_path(path) - end + def interpolate_path(path); end end class << self # @api private sig { params(query: T.nilable(String)).returns(T::Hash[String, T::Array[String]]) } - def decode_query(query) - end + def decode_query(query); end # @api private sig do params(query: T.nilable(T::Hash[String, T.nilable(T.any(T::Array[String], String))])) .returns(T.nilable(String)) end - def encode_query(query) - end + def encode_query(query); end end ParsedUriShape = @@ -131,21 +114,18 @@ module FinchAPI class << self # @api private sig { params(url: T.any(URI::Generic, String)).returns(FinchAPI::Internal::Util::ParsedUriShape) } - def parse_uri(url) - end + def parse_uri(url); end # @api private sig { params(parsed: FinchAPI::Internal::Util::ParsedUriShape).returns(URI::Generic) } - def unparse_uri(parsed) - end + def unparse_uri(parsed); end # @api private sig do params(lhs: FinchAPI::Internal::Util::ParsedUriShape, rhs: FinchAPI::Internal::Util::ParsedUriShape) .returns(URI::Generic) end - def join_parsed_uri(lhs, rhs) - end + def join_parsed_uri(lhs, rhs); end end class << self @@ -157,8 +137,7 @@ module FinchAPI ) .returns(T::Hash[String, String]) end - def normalized_headers(*headers) - end + def normalized_headers(*headers); end end # @api private @@ -167,13 +146,11 @@ module FinchAPI class ReadIOAdapter # @api private sig { params(max_len: T.nilable(Integer)).returns(String) } - private def read_enum(max_len) - end + private def read_enum(max_len); end # @api private sig { params(max_len: T.nilable(Integer), out_string: T.nilable(String)).returns(T.nilable(String)) } - def read(max_len = nil, out_string = nil) - end + def read(max_len = nil, out_string = nil); end # @api private sig do @@ -183,14 +160,12 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(stream, &blk) - end + def self.new(stream, &blk); end end class << self sig { params(blk: T.proc.params(y: Enumerator::Yielder).void).returns(T::Enumerable[String]) } - def writable_enum(&blk) - end + def writable_enum(&blk); end end class << self @@ -198,18 +173,15 @@ module FinchAPI sig do params(y: Enumerator::Yielder, boundary: String, key: T.any(Symbol, String), val: T.anything).void end - private def write_multipart_chunk(y, boundary:, key:, val:) - end + private def write_multipart_chunk(y, boundary:, key:, val:); end # @api private sig { params(body: T.anything).returns([String, T::Enumerable[String]]) } - private def encode_multipart_streaming(body) - end + private def encode_multipart_streaming(body); end # @api private sig { params(headers: T::Hash[String, String], body: T.anything).returns(T.anything) } - def encode_content(headers, body) - end + def encode_content(headers, body); end # @api private sig do @@ -220,8 +192,7 @@ module FinchAPI ) .returns(T.anything) end - def decode_content(headers, stream:, suppress_error: false) - end + def decode_content(headers, stream:, suppress_error: false); end end class << self @@ -232,13 +203,11 @@ module FinchAPI params(enum: T::Enumerable[T.anything], external: T::Boolean, close: T.proc.void) .returns(T::Enumerable[T.anything]) end - def fused_enum(enum, external: false, &close) - end + def fused_enum(enum, external: false, &close); end # @api private sig { params(enum: T.nilable(T::Enumerable[T.anything])).void } - def close_fused!(enum) - end + def close_fused!(enum); end # @api private sig do @@ -248,8 +217,7 @@ module FinchAPI ) .returns(T::Enumerable[T.anything]) end - def chain_fused(enum, &blk) - end + def chain_fused(enum, &blk); end end ServerSentEvent = @@ -265,8 +233,7 @@ module FinchAPI class << self # @api private sig { params(enum: T::Enumerable[String]).returns(T::Enumerable[String]) } - def decode_lines(enum) - end + def decode_lines(enum); end # @api private # @@ -274,8 +241,7 @@ module FinchAPI sig do params(lines: T::Enumerable[String]).returns(T::Enumerable[FinchAPI::Internal::Util::ServerSentEvent]) end - def decode_sse(lines) - end + def decode_sse(lines); end end end end diff --git a/rbi/lib/finch_api/models/access_token_create_params.rbi b/rbi/lib/finch_api/models/access_token_create_params.rbi index 07518a4c..d4df2a27 100644 --- a/rbi/lib/finch_api/models/access_token_create_params.rbi +++ b/rbi/lib/finch_api/models/access_token_create_params.rbi @@ -37,8 +37,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(code:, client_id: nil, client_secret: nil, redirect_uri: nil, request_options: {}) - end + def self.new(code:, client_id: nil, client_secret: nil, redirect_uri: nil, request_options: {}); end sig do override @@ -52,8 +51,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/account_disconnect_params.rbi b/rbi/lib/finch_api/models/account_disconnect_params.rbi index db9aca6b..028ce2fe 100644 --- a/rbi/lib/finch_api/models/account_disconnect_params.rbi +++ b/rbi/lib/finch_api/models/account_disconnect_params.rbi @@ -10,12 +10,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/account_introspect_params.rbi b/rbi/lib/finch_api/models/account_introspect_params.rbi index fff8d15b..4ee05f4c 100644 --- a/rbi/lib/finch_api/models/account_introspect_params.rbi +++ b/rbi/lib/finch_api/models/account_introspect_params.rbi @@ -10,12 +10,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/account_update_event.rbi b/rbi/lib/finch_api/models/account_update_event.rbi index eebee298..59dc9206 100644 --- a/rbi/lib/finch_api/models/account_update_event.rbi +++ b/rbi/lib/finch_api/models/account_update_event.rbi @@ -22,8 +22,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, event_type: nil) - end + def self.new(data: nil, event_type: nil); end sig do override @@ -34,8 +33,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Data < FinchAPI::Internal::Type::BaseModel sig { returns(FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod) } @@ -59,8 +57,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(authentication_method:, status:) - end + def self.new(authentication_method:, status:); end sig do override @@ -71,8 +68,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class AuthenticationMethod < FinchAPI::Internal::Type::BaseModel # Each benefit type and their supported features. If the benefit type is not @@ -125,8 +121,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(benefits_support: nil, supported_fields: nil, type: nil) - end + def self.new(benefits_support: nil, supported_fields: nil, type: nil); end sig do override @@ -138,8 +133,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class SupportedFields < FinchAPI::Internal::Type::BaseModel sig do @@ -310,9 +304,7 @@ module FinchAPI pay_group: nil, pay_statement: nil, payment: nil - ) - end - + ); end sig do override .returns( @@ -327,8 +319,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Company < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -477,9 +468,7 @@ module FinchAPI locations: nil, primary_email: nil, primary_phone_number: nil - ) - end - + ); end sig do override .returns( @@ -496,8 +485,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Accounts < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -561,8 +549,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end class Departments < FinchAPI::Internal::Type::BaseModel @@ -602,8 +589,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(name: nil, parent: nil) - end + def self.new(name: nil, parent: nil); end sig do override @@ -614,8 +600,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Parent < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -625,12 +610,10 @@ module FinchAPI attr_writer :name sig { params(name: T::Boolean).returns(T.attached_class) } - def self.new(name: nil) - end + def self.new(name: nil); end sig { override.returns({name: T::Boolean}) } - def to_hash - end + def to_hash; end end end @@ -648,12 +631,10 @@ module FinchAPI attr_writer :type sig { params(subtype: T::Boolean, type: T::Boolean).returns(T.attached_class) } - def self.new(subtype: nil, type: nil) - end + def self.new(subtype: nil, type: nil); end sig { override.returns({subtype: T::Boolean, type: T::Boolean}) } - def to_hash - end + def to_hash; end end class Locations < FinchAPI::Internal::Type::BaseModel @@ -720,8 +701,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end @@ -779,8 +759,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(individuals: nil, paging: nil) - end + def self.new(individuals: nil, paging: nil); end sig do override @@ -791,8 +770,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Individuals < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -891,8 +869,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Manager < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -902,12 +879,10 @@ module FinchAPI attr_writer :id sig { params(id: T::Boolean).returns(T.attached_class) } - def self.new(id: nil) - end + def self.new(id: nil); end sig { override.returns({id: T::Boolean}) } - def to_hash - end + def to_hash; end end end @@ -925,12 +900,10 @@ module FinchAPI attr_writer :offset sig { params(count: T::Boolean, offset: T::Boolean).returns(T.attached_class) } - def self.new(count: nil, offset: nil) - end + def self.new(count: nil, offset: nil); end sig { override.returns({count: T::Boolean, offset: T::Boolean}) } - def to_hash - end + def to_hash; end end end @@ -1162,9 +1135,7 @@ module FinchAPI middle_name: nil, start_date: nil, title: nil - ) - end - + ); end sig do override .returns( @@ -1189,8 +1160,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Department < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -1200,12 +1170,10 @@ module FinchAPI attr_writer :name sig { params(name: T::Boolean).returns(T.attached_class) } - def self.new(name: nil) - end + def self.new(name: nil); end sig { override.returns({name: T::Boolean}) } - def to_hash - end + def to_hash; end end class Employment < FinchAPI::Internal::Type::BaseModel @@ -1222,12 +1190,10 @@ module FinchAPI attr_writer :type sig { params(subtype: T::Boolean, type: T::Boolean).returns(T.attached_class) } - def self.new(subtype: nil, type: nil) - end + def self.new(subtype: nil, type: nil); end sig { override.returns({subtype: T::Boolean, type: T::Boolean}) } - def to_hash - end + def to_hash; end end class Income < FinchAPI::Internal::Type::BaseModel @@ -1252,12 +1218,10 @@ module FinchAPI sig do params(amount: T::Boolean, currency: T::Boolean, unit: T::Boolean).returns(T.attached_class) end - def self.new(amount: nil, currency: nil, unit: nil) - end + def self.new(amount: nil, currency: nil, unit: nil); end sig { override.returns({amount: T::Boolean, currency: T::Boolean, unit: T::Boolean}) } - def to_hash - end + def to_hash; end end class Location < FinchAPI::Internal::Type::BaseModel @@ -1324,8 +1288,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end class Manager < FinchAPI::Internal::Type::BaseModel @@ -1336,12 +1299,10 @@ module FinchAPI attr_writer :id sig { params(id: T::Boolean).returns(T.attached_class) } - def self.new(id: nil) - end + def self.new(id: nil); end sig { override.returns({id: T::Boolean}) } - def to_hash - end + def to_hash; end end end @@ -1507,9 +1468,7 @@ module FinchAPI preferred_name: nil, residence: nil, ssn: nil - ) - end - + ); end sig do override .returns( @@ -1530,8 +1489,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Emails < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -1547,12 +1505,10 @@ module FinchAPI attr_writer :type sig { params(data: T::Boolean, type: T::Boolean).returns(T.attached_class) } - def self.new(data: nil, type: nil) - end + def self.new(data: nil, type: nil); end sig { override.returns({data: T::Boolean, type: T::Boolean}) } - def to_hash - end + def to_hash; end end class PhoneNumbers < FinchAPI::Internal::Type::BaseModel @@ -1569,12 +1525,10 @@ module FinchAPI attr_writer :type sig { params(data: T::Boolean, type: T::Boolean).returns(T.attached_class) } - def self.new(data: nil, type: nil) - end + def self.new(data: nil, type: nil); end sig { override.returns({data: T::Boolean, type: T::Boolean}) } - def to_hash - end + def to_hash; end end class Residence < FinchAPI::Internal::Type::BaseModel @@ -1641,8 +1595,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end @@ -1680,8 +1633,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(id: nil, individual_ids: nil, name: nil, pay_frequencies: nil) - end + def self.new(id: nil, individual_ids: nil, name: nil, pay_frequencies: nil); end sig do override @@ -1692,8 +1644,7 @@ module FinchAPI pay_frequencies: T::Boolean }) end - def to_hash - end + def to_hash; end end class PayStatement < FinchAPI::Internal::Type::BaseModel @@ -1750,8 +1701,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(paging: nil, pay_statements: nil) - end + def self.new(paging: nil, pay_statements: nil); end sig do override @@ -1762,8 +1712,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Paging < FinchAPI::Internal::Type::BaseModel sig { returns(T::Boolean) } @@ -1773,12 +1722,10 @@ module FinchAPI attr_accessor :offset sig { params(count: T::Boolean, offset: T::Boolean).returns(T.attached_class) } - def self.new(count:, offset:) - end + def self.new(count:, offset:); end sig { override.returns({count: T::Boolean, offset: T::Boolean}) } - def to_hash - end + def to_hash; end end class PayStatements < FinchAPI::Internal::Type::BaseModel @@ -1936,9 +1883,7 @@ module FinchAPI taxes: nil, total_hours: nil, type: nil - ) - end - + ); end sig do override .returns( @@ -1956,8 +1901,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Earnings < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -1988,8 +1932,7 @@ module FinchAPI params(amount: T::Boolean, currency: T::Boolean, name: T::Boolean, type: T::Boolean) .returns(T.attached_class) end - def self.new(amount: nil, currency: nil, name: nil, type: nil) - end + def self.new(amount: nil, currency: nil, name: nil, type: nil); end sig do override.returns( @@ -2001,8 +1944,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel @@ -2046,8 +1988,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, currency: nil, name: nil, pre_tax: nil, type: nil) - end + def self.new(amount: nil, currency: nil, name: nil, pre_tax: nil, type: nil); end sig do override @@ -2061,8 +2002,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end class EmployerContributions < FinchAPI::Internal::Type::BaseModel @@ -2091,12 +2031,10 @@ module FinchAPI name: T::Boolean ).returns(T.attached_class) end - def self.new(amount: nil, currency: nil, name: nil) - end + def self.new(amount: nil, currency: nil, name: nil); end sig { override.returns({amount: T::Boolean, currency: T::Boolean, name: T::Boolean}) } - def to_hash - end + def to_hash; end end class Taxes < FinchAPI::Internal::Type::BaseModel @@ -2140,8 +2078,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, currency: nil, employer: nil, name: nil, type: nil) - end + def self.new(amount: nil, currency: nil, employer: nil, name: nil, type: nil); end sig do override @@ -2155,8 +2092,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end @@ -2281,9 +2217,7 @@ module FinchAPI pay_frequencies: nil, pay_group_ids: nil, pay_period: nil - ) - end - + ); end sig do override .returns( @@ -2303,8 +2237,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class PayPeriod < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -2320,12 +2253,10 @@ module FinchAPI attr_writer :start_date sig { params(end_date: T::Boolean, start_date: T::Boolean).returns(T.attached_class) } - def self.new(end_date: nil, start_date: nil) - end + def self.new(end_date: nil, start_date: nil); end sig { override.returns({end_date: T::Boolean, start_date: T::Boolean}) } - def to_hash - end + def to_hash; end end end end @@ -2363,8 +2294,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::Type::TaggedSymbol]) end - def self.values - end + def self.values; end end end end @@ -2380,8 +2310,7 @@ module FinchAPI T.let(:"account.updated", FinchAPI::Models::AccountUpdateEvent::EventType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::AccountUpdateEvent::EventType::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/base_webhook_event.rbi b/rbi/lib/finch_api/models/base_webhook_event.rbi index fc24be47..63066b56 100644 --- a/rbi/lib/finch_api/models/base_webhook_event.rbi +++ b/rbi/lib/finch_api/models/base_webhook_event.rbi @@ -22,12 +22,10 @@ module FinchAPI attr_writer :connection_id sig { params(account_id: String, company_id: String, connection_id: String).returns(T.attached_class) } - def self.new(account_id:, company_id:, connection_id: nil) - end + def self.new(account_id:, company_id:, connection_id: nil); end sig { override.returns({account_id: String, company_id: String, connection_id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/company_event.rbi b/rbi/lib/finch_api/models/company_event.rbi index 526be753..604252eb 100644 --- a/rbi/lib/finch_api/models/company_event.rbi +++ b/rbi/lib/finch_api/models/company_event.rbi @@ -19,8 +19,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, event_type: nil) - end + def self.new(data: nil, event_type: nil); end sig do override @@ -31,8 +30,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module EventType extend FinchAPI::Internal::Type::Enum @@ -44,8 +42,7 @@ module FinchAPI COMPANY_UPDATED = T.let(:"company.updated", FinchAPI::Models::CompanyEvent::EventType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::CompanyEvent::EventType::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/connect/session_new_params.rbi b/rbi/lib/finch_api/models/connect/session_new_params.rbi index 1cb3caf7..48518875 100644 --- a/rbi/lib/finch_api/models/connect/session_new_params.rbi +++ b/rbi/lib/finch_api/models/connect/session_new_params.rbi @@ -70,9 +70,7 @@ module FinchAPI redirect_uri: nil, sandbox: nil, request_options: {} - ) - end - + ); end sig do override .returns( @@ -90,8 +88,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The Finch products that can be requested during the Connect flow. module Product @@ -111,8 +108,7 @@ module FinchAPI SSN = T.let(:ssn, FinchAPI::Models::Connect::SessionNewParams::Product::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Connect::SessionNewParams::Product::TaggedSymbol]) } - def self.values - end + def self.values; end end class Integration < FinchAPI::Internal::Type::BaseModel @@ -129,8 +125,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(auth_method: nil, provider: nil) - end + def self.new(auth_method: nil, provider: nil); end sig do override @@ -141,8 +136,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module AuthMethod extend FinchAPI::Internal::Type::Enum @@ -164,8 +158,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Connect::SessionNewParams::Integration::AuthMethod::TaggedSymbol]) end - def self.values - end + def self.values; end end end @@ -180,8 +173,7 @@ module FinchAPI PROVIDER = T.let(:provider, FinchAPI::Models::Connect::SessionNewParams::Sandbox::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Connect::SessionNewParams::Sandbox::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/connect/session_new_response.rbi b/rbi/lib/finch_api/models/connect/session_new_response.rbi index 5ed8a052..01675281 100644 --- a/rbi/lib/finch_api/models/connect/session_new_response.rbi +++ b/rbi/lib/finch_api/models/connect/session_new_response.rbi @@ -13,12 +13,10 @@ module FinchAPI attr_accessor :session_id sig { params(connect_url: String, session_id: String).returns(T.attached_class) } - def self.new(connect_url:, session_id:) - end + def self.new(connect_url:, session_id:); end sig { override.returns({connect_url: String, session_id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/connect/session_reauthenticate_params.rbi b/rbi/lib/finch_api/models/connect/session_reauthenticate_params.rbi index a108d50b..2c078fd7 100644 --- a/rbi/lib/finch_api/models/connect/session_reauthenticate_params.rbi +++ b/rbi/lib/finch_api/models/connect/session_reauthenticate_params.rbi @@ -55,8 +55,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The Finch products that can be requested during the Connect flow. module Product @@ -82,8 +81,7 @@ module FinchAPI SSN = T.let(:ssn, FinchAPI::Models::Connect::SessionReauthenticateParams::Product::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Connect::SessionReauthenticateParams::Product::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/connect/session_reauthenticate_response.rbi b/rbi/lib/finch_api/models/connect/session_reauthenticate_response.rbi index b1f4b7ea..ad857fa3 100644 --- a/rbi/lib/finch_api/models/connect/session_reauthenticate_response.rbi +++ b/rbi/lib/finch_api/models/connect/session_reauthenticate_response.rbi @@ -13,12 +13,10 @@ module FinchAPI attr_accessor :session_id sig { params(connect_url: String, session_id: String).returns(T.attached_class) } - def self.new(connect_url:, session_id:) - end + def self.new(connect_url:, session_id:); end sig { override.returns({connect_url: String, session_id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/connection_status_type.rbi b/rbi/lib/finch_api/models/connection_status_type.rbi index 5762e16b..5a57ba98 100644 --- a/rbi/lib/finch_api/models/connection_status_type.rbi +++ b/rbi/lib/finch_api/models/connection_status_type.rbi @@ -17,8 +17,7 @@ module FinchAPI REAUTH = T.let(:reauth, FinchAPI::Models::ConnectionStatusType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::ConnectionStatusType::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/create_access_token_response.rbi b/rbi/lib/finch_api/models/create_access_token_response.rbi index bf5e740e..dde939e1 100644 --- a/rbi/lib/finch_api/models/create_access_token_response.rbi +++ b/rbi/lib/finch_api/models/create_access_token_response.rbi @@ -78,9 +78,7 @@ module FinchAPI provider_id:, customer_id: nil, token_type: nil - ) - end - + ); end sig do override .returns( @@ -98,8 +96,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The type of application associated with a token. module ClientType @@ -114,8 +111,7 @@ module FinchAPI SANDBOX = T.let(:sandbox, FinchAPI::Models::CreateAccessTokenResponse::ClientType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::CreateAccessTokenResponse::ClientType::TaggedSymbol]) } - def self.values - end + def self.values; end end # The type of the connection associated with the token. @@ -134,8 +130,7 @@ module FinchAPI FINCH = T.let(:finch, FinchAPI::Models::CreateAccessTokenResponse::ConnectionType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::CreateAccessTokenResponse::ConnectionType::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/directory_event.rbi b/rbi/lib/finch_api/models/directory_event.rbi index fd577676..8b792f0b 100644 --- a/rbi/lib/finch_api/models/directory_event.rbi +++ b/rbi/lib/finch_api/models/directory_event.rbi @@ -22,8 +22,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, event_type: nil) - end + def self.new(data: nil, event_type: nil); end sig do override @@ -34,8 +33,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Data < FinchAPI::Internal::Type::BaseModel # The ID of the individual related to the event. @@ -46,12 +44,10 @@ module FinchAPI attr_writer :individual_id sig { params(individual_id: String).returns(T.attached_class) } - def self.new(individual_id: nil) - end + def self.new(individual_id: nil); end sig { override.returns({individual_id: String}) } - def to_hash - end + def to_hash; end end module EventType @@ -69,8 +65,7 @@ module FinchAPI T.let(:"directory.deleted", FinchAPI::Models::DirectoryEvent::EventType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::DirectoryEvent::EventType::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/disconnect_response.rbi b/rbi/lib/finch_api/models/disconnect_response.rbi index 0bce5375..1bfa81d0 100644 --- a/rbi/lib/finch_api/models/disconnect_response.rbi +++ b/rbi/lib/finch_api/models/disconnect_response.rbi @@ -8,12 +8,10 @@ module FinchAPI attr_accessor :status sig { params(status: String).returns(T.attached_class) } - def self.new(status:) - end + def self.new(status:); end sig { override.returns({status: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/employment_event.rbi b/rbi/lib/finch_api/models/employment_event.rbi index cc0f185f..e68b6e4f 100644 --- a/rbi/lib/finch_api/models/employment_event.rbi +++ b/rbi/lib/finch_api/models/employment_event.rbi @@ -22,8 +22,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, event_type: nil) - end + def self.new(data: nil, event_type: nil); end sig do override @@ -34,8 +33,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Data < FinchAPI::Internal::Type::BaseModel # The ID of the individual related to the event. @@ -46,12 +44,10 @@ module FinchAPI attr_writer :individual_id sig { params(individual_id: String).returns(T.attached_class) } - def self.new(individual_id: nil) - end + def self.new(individual_id: nil); end sig { override.returns({individual_id: String}) } - def to_hash - end + def to_hash; end end module EventType @@ -69,8 +65,7 @@ module FinchAPI T.let(:"employment.deleted", FinchAPI::Models::EmploymentEvent::EventType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::EmploymentEvent::EventType::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefit_contribution.rbi b/rbi/lib/finch_api/models/hris/benefit_contribution.rbi index 6fbaacca..55ebb143 100644 --- a/rbi/lib/finch_api/models/hris/benefit_contribution.rbi +++ b/rbi/lib/finch_api/models/hris/benefit_contribution.rbi @@ -19,8 +19,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, type: nil) - end + def self.new(amount: nil, type: nil); end sig do override @@ -28,8 +27,7 @@ module FinchAPI {amount: T.nilable(Integer), type: T.nilable(FinchAPI::Models::HRIS::BenefitContribution::Type::TaggedSymbol)} ) end - def to_hash - end + def to_hash; end # Contribution type. module Type @@ -43,8 +41,7 @@ module FinchAPI PERCENT = T.let(:percent, FinchAPI::Models::HRIS::BenefitContribution::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::BenefitContribution::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefit_create_params.rbi b/rbi/lib/finch_api/models/hris/benefit_create_params.rbi index 1f879443..13c58ad1 100644 --- a/rbi/lib/finch_api/models/hris/benefit_create_params.rbi +++ b/rbi/lib/finch_api/models/hris/benefit_create_params.rbi @@ -33,8 +33,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(description: nil, frequency: nil, type: nil, request_options: {}) - end + def self.new(description: nil, frequency: nil, type: nil, request_options: {}); end sig do override @@ -47,8 +46,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefit_features_and_operations.rbi b/rbi/lib/finch_api/models/hris/benefit_features_and_operations.rbi index 73cea373..1dc04293 100644 --- a/rbi/lib/finch_api/models/hris/benefit_features_and_operations.rbi +++ b/rbi/lib/finch_api/models/hris/benefit_features_and_operations.rbi @@ -39,8 +39,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(supported_features: nil, supported_operations: nil) - end + def self.new(supported_features: nil, supported_operations: nil); end sig do override @@ -51,8 +50,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class SupportedFeatures < FinchAPI::Internal::Type::BaseModel # Whether the provider supports an annual maximum for this benefit. @@ -70,9 +68,9 @@ module FinchAPI returns( T.nilable( T::Array[ - T.nilable( - FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::CompanyContribution::TaggedSymbol - ) + T.nilable( + FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::CompanyContribution::TaggedSymbol + ) ] ) ) @@ -88,9 +86,9 @@ module FinchAPI returns( T.nilable( T::Array[ - T.nilable( - FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::EmployeeDeduction::TaggedSymbol - ) + T.nilable( + FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::EmployeeDeduction::TaggedSymbol + ) ] ) ) @@ -110,9 +108,9 @@ module FinchAPI returns( T.nilable( T::Array[ - T.nilable( - FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::HsaContributionLimit::TaggedSymbol - ) + T.nilable( + FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::HsaContributionLimit::TaggedSymbol + ) ] ) ) @@ -125,25 +123,25 @@ module FinchAPI catch_up: T.nilable(T::Boolean), company_contribution: T.nilable( T::Array[ - T.nilable( - FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::CompanyContribution::OrSymbol - ) + T.nilable( + FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::CompanyContribution::OrSymbol + ) ] ), description: T.nilable(String), employee_deduction: T.nilable( T::Array[ - T.nilable( - FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::EmployeeDeduction::OrSymbol - ) + T.nilable( + FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::EmployeeDeduction::OrSymbol + ) ] ), frequencies: T::Array[T.nilable(FinchAPI::Models::HRIS::BenefitFrequency::OrSymbol)], hsa_contribution_limit: T.nilable( T::Array[ - T.nilable( - FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::HsaContributionLimit::OrSymbol - ) + T.nilable( + FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::HsaContributionLimit::OrSymbol + ) ] ) ) @@ -157,9 +155,7 @@ module FinchAPI employee_deduction: nil, frequencies: nil, hsa_contribution_limit: nil - ) - end - + ); end sig do override .returns( @@ -168,32 +164,31 @@ module FinchAPI catch_up: T.nilable(T::Boolean), company_contribution: T.nilable( T::Array[ - T.nilable( - FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::CompanyContribution::TaggedSymbol - ) + T.nilable( + FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::CompanyContribution::TaggedSymbol + ) ] ), description: T.nilable(String), employee_deduction: T.nilable( T::Array[ - T.nilable( - FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::EmployeeDeduction::TaggedSymbol - ) + T.nilable( + FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::EmployeeDeduction::TaggedSymbol + ) ] ), frequencies: T::Array[T.nilable(FinchAPI::Models::HRIS::BenefitFrequency::TaggedSymbol)], hsa_contribution_limit: T.nilable( T::Array[ - T.nilable( - FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::HsaContributionLimit::TaggedSymbol - ) + T.nilable( + FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::HsaContributionLimit::TaggedSymbol + ) ] ) } ) end - def to_hash - end + def to_hash; end module CompanyContribution extend FinchAPI::Internal::Type::Enum @@ -228,8 +223,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::CompanyContribution::TaggedSymbol] ) end - def self.values - end + def self.values; end end module EmployeeDeduction @@ -263,8 +257,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::EmployeeDeduction::TaggedSymbol] ) end - def self.values - end + def self.values; end end module HsaContributionLimit @@ -298,12 +291,11 @@ module FinchAPI override .returns( T::Array[ - FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::HsaContributionLimit::TaggedSymbol + FinchAPI::Models::HRIS::BenefitFeaturesAndOperations::SupportedFeatures::HsaContributionLimit::TaggedSymbol ] ) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefit_frequency.rbi b/rbi/lib/finch_api/models/hris/benefit_frequency.rbi index c9dc062b..7efa1068 100644 --- a/rbi/lib/finch_api/models/hris/benefit_frequency.rbi +++ b/rbi/lib/finch_api/models/hris/benefit_frequency.rbi @@ -15,8 +15,7 @@ module FinchAPI MONTHLY = T.let(:monthly, FinchAPI::Models::HRIS::BenefitFrequency::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::BenefitFrequency::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefit_list_params.rbi b/rbi/lib/finch_api/models/hris/benefit_list_params.rbi index aca8a6da..841339f0 100644 --- a/rbi/lib/finch_api/models/hris/benefit_list_params.rbi +++ b/rbi/lib/finch_api/models/hris/benefit_list_params.rbi @@ -11,12 +11,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rbi b/rbi/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rbi index 29ae55c3..5c2bd591 100644 --- a/rbi/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +++ b/rbi/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rbi @@ -11,12 +11,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefit_retrieve_params.rbi b/rbi/lib/finch_api/models/hris/benefit_retrieve_params.rbi index b6582168..81b57c87 100644 --- a/rbi/lib/finch_api/models/hris/benefit_retrieve_params.rbi +++ b/rbi/lib/finch_api/models/hris/benefit_retrieve_params.rbi @@ -11,12 +11,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefit_type.rbi b/rbi/lib/finch_api/models/hris/benefit_type.rbi index 9b113fa7..83e9c371 100644 --- a/rbi/lib/finch_api/models/hris/benefit_type.rbi +++ b/rbi/lib/finch_api/models/hris/benefit_type.rbi @@ -31,8 +31,7 @@ module FinchAPI CUSTOM_PRE_TAX = T.let(:custom_pre_tax, FinchAPI::Models::HRIS::BenefitType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::BenefitType::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefit_update_params.rbi b/rbi/lib/finch_api/models/hris/benefit_update_params.rbi index f222f948..5dbcda7d 100644 --- a/rbi/lib/finch_api/models/hris/benefit_update_params.rbi +++ b/rbi/lib/finch_api/models/hris/benefit_update_params.rbi @@ -24,12 +24,10 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(description: nil, request_options: {}) - end + def self.new(description: nil, request_options: {}); end sig { override.returns({description: String, request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefits/enrolled_individual.rbi b/rbi/lib/finch_api/models/hris/benefits/enrolled_individual.rbi index 08f7a8b7..a40921ea 100644 --- a/rbi/lib/finch_api/models/hris/benefits/enrolled_individual.rbi +++ b/rbi/lib/finch_api/models/hris/benefits/enrolled_individual.rbi @@ -37,8 +37,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(body: nil, code: nil, individual_id: nil) - end + def self.new(body: nil, code: nil, individual_id: nil); end sig do override @@ -50,8 +49,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Body < FinchAPI::Internal::Type::BaseModel # A descriptive identifier for the response. @@ -70,8 +68,7 @@ module FinchAPI params(finch_code: T.nilable(String), message: T.nilable(String), name: T.nilable(String)) .returns(T.attached_class) end - def self.new(finch_code: nil, message: nil, name: nil) - end + def self.new(finch_code: nil, message: nil, name: nil); end sig do override.returns( @@ -82,8 +79,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end # HTTP status code. Either 201 or 200 @@ -101,8 +97,7 @@ module FinchAPI FORBIDDEN = T.let(403, FinchAPI::Models::HRIS::Benefits::EnrolledIndividual::Code::TaggedInteger) sig { override.returns(T::Array[FinchAPI::Models::HRIS::Benefits::EnrolledIndividual::Code::TaggedInteger]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefits/individual_benefit.rbi b/rbi/lib/finch_api/models/hris/benefits/individual_benefit.rbi index f91662b1..b80ccc3e 100644 --- a/rbi/lib/finch_api/models/hris/benefits/individual_benefit.rbi +++ b/rbi/lib/finch_api/models/hris/benefits/individual_benefit.rbi @@ -36,8 +36,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(body: nil, code: nil, individual_id: nil) - end + def self.new(body: nil, code: nil, individual_id: nil); end sig do override @@ -45,8 +44,7 @@ module FinchAPI {body: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body, code: Integer, individual_id: String} ) end - def to_hash - end + def to_hash; end class Body < FinchAPI::Internal::Type::BaseModel # If the benefit supports annual maximum, the amount in cents for this individual. @@ -104,9 +102,7 @@ module FinchAPI company_contribution: nil, employee_deduction: nil, hsa_contribution_limit: nil - ) - end - + ); end sig do override .returns( @@ -119,8 +115,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # Type for HSA contribution limit if the benefit is a HSA. module HsaContributionLimit @@ -154,8 +149,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::HsaContributionLimit::TaggedSymbol] ) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rbi b/rbi/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rbi index 8b3e60c9..01c26091 100644 --- a/rbi/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +++ b/rbi/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rbi @@ -15,10 +15,10 @@ module FinchAPI sig do params( individuals: T::Array[ - T.any( - FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual, + FinchAPI::Internal::AnyHash + ) ] ) .void @@ -28,17 +28,16 @@ module FinchAPI sig do params( individuals: T::Array[ - T.any( - FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual, + FinchAPI::Internal::AnyHash + ) ], request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash) ) .returns(T.attached_class) end - def self.new(individuals: nil, request_options: {}) - end + def self.new(individuals: nil, request_options: {}); end sig do override @@ -49,8 +48,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Individual < FinchAPI::Internal::Type::BaseModel sig do @@ -88,8 +86,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(configuration: nil, individual_id: nil) - end + def self.new(configuration: nil, individual_id: nil); end sig do override @@ -100,8 +97,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Configuration < FinchAPI::Internal::Type::BaseModel # For HSA benefits only - whether the contribution limit is for an individual or @@ -205,9 +201,7 @@ module FinchAPI company_contribution: nil, effective_date: nil, employee_deduction: nil - ) - end - + ); end sig do override .returns( @@ -221,8 +215,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # For HSA benefits only - whether the contribution limit is for an individual or # family @@ -257,12 +250,11 @@ module FinchAPI override .returns( T::Array[ - FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::AnnualContributionLimit::TaggedSymbol + FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::AnnualContributionLimit::TaggedSymbol ] ) end - def self.values - end + def self.values; end end class CompanyContribution < FinchAPI::Internal::Type::BaseModel @@ -298,8 +290,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, type: nil) - end + def self.new(amount: nil, type: nil); end sig do override @@ -310,8 +301,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module Type extend FinchAPI::Internal::Type::Enum @@ -344,12 +334,11 @@ module FinchAPI override .returns( T::Array[ - FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::CompanyContribution::Type::TaggedSymbol + FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::CompanyContribution::Type::TaggedSymbol ] ) end - def self.values - end + def self.values; end end end @@ -386,8 +375,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, type: nil) - end + def self.new(amount: nil, type: nil); end sig do override @@ -398,8 +386,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module Type extend FinchAPI::Internal::Type::Enum @@ -432,12 +419,11 @@ module FinchAPI override .returns( T::Array[ - FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::EmployeeDeduction::Type::TaggedSymbol + FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::EmployeeDeduction::Type::TaggedSymbol ] ) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi b/rbi/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi index f7720c79..8b5994f0 100644 --- a/rbi/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +++ b/rbi/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi @@ -12,12 +12,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefits/individual_enrolled_ids_response.rbi b/rbi/lib/finch_api/models/hris/benefits/individual_enrolled_ids_response.rbi index 7aa2de46..e1b94b8b 100644 --- a/rbi/lib/finch_api/models/hris/benefits/individual_enrolled_ids_response.rbi +++ b/rbi/lib/finch_api/models/hris/benefits/individual_enrolled_ids_response.rbi @@ -13,12 +13,10 @@ module FinchAPI attr_accessor :individual_ids sig { params(benefit_id: String, individual_ids: T::Array[String]).returns(T.attached_class) } - def self.new(benefit_id:, individual_ids:) - end + def self.new(benefit_id:, individual_ids:); end sig { override.returns({benefit_id: String, individual_ids: T::Array[String]}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi b/rbi/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi index ee1bf5cf..50993c94 100644 --- a/rbi/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +++ b/rbi/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi @@ -23,12 +23,10 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(individual_ids: nil, request_options: {}) - end + def self.new(individual_ids: nil, request_options: {}); end sig { override.returns({individual_ids: String, request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi b/rbi/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi index 4563d344..849fd684 100644 --- a/rbi/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +++ b/rbi/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi @@ -22,14 +22,12 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(individual_ids: nil, request_options: {}) - end + def self.new(individual_ids: nil, request_options: {}); end sig do override.returns({individual_ids: T::Array[String], request_options: FinchAPI::RequestOptions}) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefits/unenrolled_individual.rbi b/rbi/lib/finch_api/models/hris/benefits/unenrolled_individual.rbi index ac932e6d..5bdc0065 100644 --- a/rbi/lib/finch_api/models/hris/benefits/unenrolled_individual.rbi +++ b/rbi/lib/finch_api/models/hris/benefits/unenrolled_individual.rbi @@ -37,8 +37,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(body: nil, code: nil, individual_id: nil) - end + def self.new(body: nil, code: nil, individual_id: nil); end sig do override @@ -46,8 +45,7 @@ module FinchAPI {body: FinchAPI::Models::HRIS::Benefits::UnenrolledIndividual::Body, code: Integer, individual_id: String} ) end - def to_hash - end + def to_hash; end class Body < FinchAPI::Internal::Type::BaseModel # A descriptive identifier for the response. @@ -66,8 +64,7 @@ module FinchAPI params(finch_code: T.nilable(String), message: T.nilable(String), name: T.nilable(String)) .returns(T.attached_class) end - def self.new(finch_code: nil, message: nil, name: nil) - end + def self.new(finch_code: nil, message: nil, name: nil); end sig do override.returns( @@ -78,8 +75,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/benefits_support.rbi b/rbi/lib/finch_api/models/hris/benefits_support.rbi index e69b5ab7..1732abc8 100644 --- a/rbi/lib/finch_api/models/hris/benefits_support.rbi +++ b/rbi/lib/finch_api/models/hris/benefits_support.rbi @@ -168,9 +168,7 @@ module FinchAPI s125_vision: nil, simple: nil, simple_ira: nil - ) - end - + ); end sig do override .returns( @@ -190,8 +188,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/company.rbi b/rbi/lib/finch_api/models/hris/company.rbi index 95fc74b6..78e3d96e 100644 --- a/rbi/lib/finch_api/models/hris/company.rbi +++ b/rbi/lib/finch_api/models/hris/company.rbi @@ -71,9 +71,7 @@ module FinchAPI locations:, primary_email:, primary_phone_number: - ) - end - + ); end sig do override .returns( @@ -90,8 +88,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Account < FinchAPI::Internal::Type::BaseModel # The name of the bank associated in the payroll/HRIS system. @@ -146,8 +143,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The type of bank account. module AccountType @@ -161,8 +157,7 @@ module FinchAPI SAVINGS = T.let(:savings, FinchAPI::Models::HRIS::HRISCompany::Account::AccountType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::HRISCompany::Account::AccountType::TaggedSymbol]) } - def self.values - end + def self.values; end end end @@ -190,8 +185,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(name: nil, parent: nil) - end + def self.new(name: nil, parent: nil); end sig do override @@ -199,8 +193,7 @@ module FinchAPI {name: T.nilable(String), parent: T.nilable(FinchAPI::Models::HRIS::HRISCompany::Department::Parent)} ) end - def to_hash - end + def to_hash; end class Parent < FinchAPI::Internal::Type::BaseModel # The parent department's name. @@ -209,12 +202,10 @@ module FinchAPI # The parent department, if present. sig { params(name: T.nilable(String)).returns(T.attached_class) } - def self.new(name: nil) - end + def self.new(name: nil); end sig { override.returns({name: T.nilable(String)}) } - def to_hash - end + def to_hash; end end end @@ -235,8 +226,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(subtype: nil, type: nil) - end + def self.new(subtype: nil, type: nil); end sig do override @@ -247,8 +237,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The tax payer subtype of the company. module Subtype @@ -263,8 +252,7 @@ module FinchAPI B_CORPORATION = T.let(:b_corporation, FinchAPI::Models::HRIS::HRISCompany::Entity::Subtype::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::HRISCompany::Entity::Subtype::TaggedSymbol]) } - def self.values - end + def self.values; end end # The tax payer type of the company. @@ -285,8 +273,7 @@ module FinchAPI COOPERATIVE = T.let(:cooperative, FinchAPI::Models::HRIS::HRISCompany::Entity::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::HRISCompany::Entity::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi index 52f9b57e..f3236582 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi @@ -34,10 +34,10 @@ module FinchAPI sig do params( conditions: T::Array[ - T.any( - FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition, + FinchAPI::Internal::AnyHash + ) ] ) .void @@ -75,10 +75,10 @@ module FinchAPI FinchAPI::Internal::AnyHash ), conditions: T::Array[ - T.any( - FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition, + FinchAPI::Internal::AnyHash + ) ], effective_end_date: T.nilable(String), effective_start_date: T.nilable(String), @@ -94,9 +94,7 @@ module FinchAPI effective_start_date: nil, entity_type: nil, request_options: {} - ) - end - + ); end sig do override .returns( @@ -110,8 +108,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel # The metadata to be attached in the entity. It is a key-value pairs where the @@ -124,12 +121,10 @@ module FinchAPI # Specifies the fields to be applied when the condition is met. sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end class Condition < FinchAPI::Internal::Type::BaseModel @@ -173,8 +168,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(field: nil, operator: nil, value: nil) - end + def self.new(field: nil, operator: nil, value: nil); end sig do override @@ -186,8 +180,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The operator to be used in the rule. module Operator @@ -216,8 +209,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition::Operator::TaggedSymbol] ) end - def self.values - end + def self.values; end end end @@ -248,8 +240,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::EntityType::TaggedSymbol] ) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi index aba6f7ac..a488c0f1 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi @@ -38,10 +38,10 @@ module FinchAPI sig do params( conditions: T::Array[ - T.any( - FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Condition, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Condition, + FinchAPI::Internal::AnyHash + ) ] ) .void @@ -101,10 +101,10 @@ module FinchAPI FinchAPI::Internal::AnyHash ), conditions: T::Array[ - T.any( - FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Condition, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Condition, + FinchAPI::Internal::AnyHash + ) ], created_at: Time, effective_end_date: T.nilable(String), @@ -125,9 +125,7 @@ module FinchAPI entity_type: nil, priority: nil, updated_at: nil - ) - end - + ); end sig do override .returns( @@ -144,8 +142,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel # The metadata to be attached in the entity. It is a key-value pairs where the @@ -158,12 +155,10 @@ module FinchAPI # Specifies the fields to be applied when the condition is met. sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end class Condition < FinchAPI::Internal::Type::BaseModel @@ -207,8 +202,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(field: nil, operator: nil, value: nil) - end + def self.new(field: nil, operator: nil, value: nil); end sig do override @@ -220,8 +214,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The operator to be used in the rule. module Operator @@ -250,8 +243,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::Condition::Operator::TaggedSymbol] ) end - def self.values - end + def self.values; end end end @@ -282,8 +274,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateResponse::EntityType::TaggedSymbol] ) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi index 45ccf9be..15287c35 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi @@ -13,12 +13,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi index 218e80bf..af60164f 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi @@ -38,10 +38,10 @@ module FinchAPI sig do params( conditions: T::Array[ - T.any( - FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Condition, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Condition, + FinchAPI::Internal::AnyHash + ) ] ) .void @@ -108,10 +108,10 @@ module FinchAPI FinchAPI::Internal::AnyHash ), conditions: T::Array[ - T.any( - FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Condition, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Condition, + FinchAPI::Internal::AnyHash + ) ], created_at: Time, deleted_at: Time, @@ -134,9 +134,7 @@ module FinchAPI entity_type: nil, priority: nil, updated_at: nil - ) - end - + ); end sig do override .returns( @@ -154,8 +152,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel # The metadata to be attached in the entity. It is a key-value pairs where the @@ -168,12 +165,10 @@ module FinchAPI # Specifies the fields to be applied when the condition is met. sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end class Condition < FinchAPI::Internal::Type::BaseModel @@ -217,8 +212,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(field: nil, operator: nil, value: nil) - end + def self.new(field: nil, operator: nil, value: nil); end sig do override @@ -230,8 +224,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The operator to be used in the rule. module Operator @@ -260,8 +253,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::Condition::Operator::TaggedSymbol] ) end - def self.values - end + def self.values; end end end @@ -292,8 +284,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse::EntityType::TaggedSymbol] ) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi index 2fd7c9b0..f85c6aae 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi @@ -13,12 +13,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi index 4cfe9db5..f3d900b1 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi @@ -38,10 +38,10 @@ module FinchAPI sig do params( conditions: T::Array[ - T.any( - FinchAPI::Models::HRIS::Company::PayStatementItem::RuleListResponse::Condition, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Company::PayStatementItem::RuleListResponse::Condition, + FinchAPI::Internal::AnyHash + ) ] ) .void @@ -101,10 +101,10 @@ module FinchAPI FinchAPI::Internal::AnyHash ), conditions: T::Array[ - T.any( - FinchAPI::Models::HRIS::Company::PayStatementItem::RuleListResponse::Condition, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Company::PayStatementItem::RuleListResponse::Condition, + FinchAPI::Internal::AnyHash + ) ], created_at: Time, effective_end_date: T.nilable(String), @@ -125,9 +125,7 @@ module FinchAPI entity_type: nil, priority: nil, updated_at: nil - ) - end - + ); end sig do override .returns( @@ -144,8 +142,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel # The metadata to be attached in the entity. It is a key-value pairs where the @@ -158,12 +155,10 @@ module FinchAPI # Specifies the fields to be applied when the condition is met. sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end class Condition < FinchAPI::Internal::Type::BaseModel @@ -207,8 +202,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(field: nil, operator: nil, value: nil) - end + def self.new(field: nil, operator: nil, value: nil); end sig do override @@ -220,8 +214,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The operator to be used in the rule. module Operator @@ -250,8 +243,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleListResponse::Condition::Operator::TaggedSymbol] ) end - def self.values - end + def self.values; end end end @@ -282,8 +274,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleListResponse::EntityType::TaggedSymbol] ) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi index 78303f2a..c0f79c0b 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi @@ -22,14 +22,12 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(optional_property: nil, request_options: {}) - end + def self.new(optional_property: nil, request_options: {}); end sig do override.returns({optional_property: T.anything, request_options: FinchAPI::RequestOptions}) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi index 18e4c80a..26f78e9e 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi @@ -38,10 +38,10 @@ module FinchAPI sig do params( conditions: T::Array[ - T.any( - FinchAPI::Models::HRIS::Company::PayStatementItem::RuleUpdateResponse::Condition, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Company::PayStatementItem::RuleUpdateResponse::Condition, + FinchAPI::Internal::AnyHash + ) ] ) .void @@ -101,10 +101,10 @@ module FinchAPI FinchAPI::Internal::AnyHash ), conditions: T::Array[ - T.any( - FinchAPI::Models::HRIS::Company::PayStatementItem::RuleUpdateResponse::Condition, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Company::PayStatementItem::RuleUpdateResponse::Condition, + FinchAPI::Internal::AnyHash + ) ], created_at: Time, effective_end_date: T.nilable(String), @@ -125,9 +125,7 @@ module FinchAPI entity_type: nil, priority: nil, updated_at: nil - ) - end - + ); end sig do override .returns( @@ -144,8 +142,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel # The metadata to be attached in the entity. It is a key-value pairs where the @@ -158,12 +155,10 @@ module FinchAPI # Specifies the fields to be applied when the condition is met. sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end class Condition < FinchAPI::Internal::Type::BaseModel @@ -207,8 +202,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(field: nil, operator: nil, value: nil) - end + def self.new(field: nil, operator: nil, value: nil); end sig do override @@ -220,8 +214,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The operator to be used in the rule. module Operator @@ -250,8 +243,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleUpdateResponse::Condition::Operator::TaggedSymbol] ) end - def self.values - end + def self.values; end end end @@ -282,8 +274,7 @@ module FinchAPI T::Array[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleUpdateResponse::EntityType::TaggedSymbol] ) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_params.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_params.rbi index 68c23b78..babfad19 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_params.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_params.rbi @@ -89,8 +89,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module Category extend FinchAPI::Internal::Type::Enum @@ -119,8 +118,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::HRIS::Company::PayStatementItemListParams::Category::TaggedSymbol]) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_response.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_response.rbi index d13b716a..49c53322 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_response.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_response.rbi @@ -45,8 +45,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(attributes: nil, category: nil, name: nil) - end + def self.new(attributes: nil, category: nil, name: nil); end sig do override @@ -58,8 +57,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel # `true` if the amount is paid by the employers. This field is only available for @@ -91,8 +89,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(employer: nil, metadata: nil, pre_tax: nil, type: nil) - end + def self.new(employer: nil, metadata: nil, pre_tax: nil, type: nil); end sig do override @@ -105,8 +102,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end # The category of the pay statement item. @@ -143,8 +139,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::HRIS::Company::PayStatementItemListResponse::Category::TaggedSymbol]) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/company_benefit.rbi b/rbi/lib/finch_api/models/hris/company_benefit.rbi index e2192755..33a71b36 100644 --- a/rbi/lib/finch_api/models/hris/company_benefit.rbi +++ b/rbi/lib/finch_api/models/hris/company_benefit.rbi @@ -28,8 +28,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(benefit_id:, description:, frequency:, type:) - end + def self.new(benefit_id:, description:, frequency:, type:); end sig do override @@ -42,8 +41,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/company_retrieve_params.rbi b/rbi/lib/finch_api/models/hris/company_retrieve_params.rbi index 6ff5954c..9f1c422f 100644 --- a/rbi/lib/finch_api/models/hris/company_retrieve_params.rbi +++ b/rbi/lib/finch_api/models/hris/company_retrieve_params.rbi @@ -11,12 +11,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/create_company_benefits_response.rbi b/rbi/lib/finch_api/models/hris/create_company_benefits_response.rbi index d0dfddd3..6efa4fe7 100644 --- a/rbi/lib/finch_api/models/hris/create_company_benefits_response.rbi +++ b/rbi/lib/finch_api/models/hris/create_company_benefits_response.rbi @@ -9,12 +9,10 @@ module FinchAPI attr_accessor :benefit_id sig { params(benefit_id: String).returns(T.attached_class) } - def self.new(benefit_id:) - end + def self.new(benefit_id:); end sig { override.returns({benefit_id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/directory_list_individuals_params.rbi b/rbi/lib/finch_api/models/hris/directory_list_individuals_params.rbi index 85e11cd7..1dba399e 100644 --- a/rbi/lib/finch_api/models/hris/directory_list_individuals_params.rbi +++ b/rbi/lib/finch_api/models/hris/directory_list_individuals_params.rbi @@ -29,12 +29,10 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(limit: nil, offset: nil, request_options: {}) - end + def self.new(limit: nil, offset: nil, request_options: {}); end sig { override.returns({limit: Integer, offset: Integer, request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/directory_list_params.rbi b/rbi/lib/finch_api/models/hris/directory_list_params.rbi index ea0509f7..837cecb0 100644 --- a/rbi/lib/finch_api/models/hris/directory_list_params.rbi +++ b/rbi/lib/finch_api/models/hris/directory_list_params.rbi @@ -29,12 +29,10 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(limit: nil, offset: nil, request_options: {}) - end + def self.new(limit: nil, offset: nil, request_options: {}); end sig { override.returns({limit: Integer, offset: Integer, request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/document_list_params.rbi b/rbi/lib/finch_api/models/hris/document_list_params.rbi index cac45839..1b179b0b 100644 --- a/rbi/lib/finch_api/models/hris/document_list_params.rbi +++ b/rbi/lib/finch_api/models/hris/document_list_params.rbi @@ -47,8 +47,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(individual_ids: nil, limit: nil, offset: nil, types: nil, request_options: {}) - end + def self.new(individual_ids: nil, limit: nil, offset: nil, types: nil, request_options: {}); end sig do override @@ -62,8 +61,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module Type extend FinchAPI::Internal::Type::Enum @@ -76,8 +74,7 @@ module FinchAPI W4_2005 = T.let(:w4_2005, FinchAPI::Models::HRIS::DocumentListParams::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::DocumentListParams::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/document_list_response.rbi b/rbi/lib/finch_api/models/hris/document_list_response.rbi index 8bf2e28d..f097ba01 100644 --- a/rbi/lib/finch_api/models/hris/document_list_response.rbi +++ b/rbi/lib/finch_api/models/hris/document_list_response.rbi @@ -20,15 +20,13 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(documents:, paging:) - end + def self.new(documents:, paging:); end sig do override .returns({documents: T::Array[FinchAPI::Models::HRIS::DocumentResponse], paging: FinchAPI::Models::Paging}) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/document_response.rbi b/rbi/lib/finch_api/models/hris/document_response.rbi index 0d467e0c..c6657ac7 100644 --- a/rbi/lib/finch_api/models/hris/document_response.rbi +++ b/rbi/lib/finch_api/models/hris/document_response.rbi @@ -45,8 +45,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(id: nil, individual_id: nil, type: nil, url: nil, year: nil) - end + def self.new(id: nil, individual_id: nil, type: nil, url: nil, year: nil); end sig do override @@ -60,8 +59,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The type of document. module Type @@ -75,8 +73,7 @@ module FinchAPI W4_2005 = T.let(:w4_2005, FinchAPI::Models::HRIS::DocumentResponse::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::DocumentResponse::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/document_retreive_params.rbi b/rbi/lib/finch_api/models/hris/document_retreive_params.rbi index f46fbb9b..f4977821 100644 --- a/rbi/lib/finch_api/models/hris/document_retreive_params.rbi +++ b/rbi/lib/finch_api/models/hris/document_retreive_params.rbi @@ -11,12 +11,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/document_retreive_response.rbi b/rbi/lib/finch_api/models/hris/document_retreive_response.rbi index 72100193..470d9525 100644 --- a/rbi/lib/finch_api/models/hris/document_retreive_response.rbi +++ b/rbi/lib/finch_api/models/hris/document_retreive_response.rbi @@ -9,8 +9,7 @@ module FinchAPI extend FinchAPI::Internal::Type::Union sig { override.returns([FinchAPI::Models::HRIS::W42020, FinchAPI::Models::HRIS::W42005]) } - def self.variants - end + def self.variants; end end end end diff --git a/rbi/lib/finch_api/models/hris/employment_data.rbi b/rbi/lib/finch_api/models/hris/employment_data.rbi index 060c3ad1..86ee2e72 100644 --- a/rbi/lib/finch_api/models/hris/employment_data.rbi +++ b/rbi/lib/finch_api/models/hris/employment_data.rbi @@ -165,9 +165,7 @@ module FinchAPI start_date: nil, title: nil, work_id: nil - ) - end - + ); end sig do override .returns( @@ -195,8 +193,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class CustomField < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(String)) } @@ -212,12 +209,10 @@ module FinchAPI attr_writer :value sig { params(name: String, value: T.anything).returns(T.attached_class) } - def self.new(name: nil, value: nil) - end + def self.new(name: nil, value: nil); end sig { override.returns({name: String, value: T.anything}) } - def to_hash - end + def to_hash; end end class Department < FinchAPI::Internal::Type::BaseModel @@ -227,12 +222,10 @@ module FinchAPI # The department object. sig { params(name: T.nilable(String)).returns(T.attached_class) } - def self.new(name: nil) - end + def self.new(name: nil); end sig { override.returns({name: T.nilable(String)}) } - def to_hash - end + def to_hash; end end class Employment < FinchAPI::Internal::Type::BaseModel @@ -253,8 +246,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(subtype: nil, type: nil) - end + def self.new(subtype: nil, type: nil); end sig do override @@ -265,8 +257,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The secondary employment type of the individual. Options: `full_time`, # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. @@ -287,8 +278,7 @@ module FinchAPI T.let(:individual_contractor, FinchAPI::Models::HRIS::EmploymentData::Employment::Subtype::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::EmploymentData::Employment::Subtype::TaggedSymbol]) } - def self.values - end + def self.values; end end # The main employment type of the individual. @@ -303,8 +293,7 @@ module FinchAPI CONTRACTOR = T.let(:contractor, FinchAPI::Models::HRIS::EmploymentData::Employment::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::EmploymentData::Employment::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end @@ -326,8 +315,7 @@ module FinchAPI TERMINATED = T.let(:terminated, FinchAPI::Models::HRIS::EmploymentData::EmploymentStatus::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::EmploymentData::EmploymentStatus::TaggedSymbol]) } - def self.values - end + def self.values; end end class Manager < FinchAPI::Internal::Type::BaseModel @@ -340,12 +328,10 @@ module FinchAPI # The manager object representing the manager of the individual within the org. sig { params(id: String).returns(T.attached_class) } - def self.new(id: nil) - end + def self.new(id: nil); end sig { override.returns({id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/employment_data_response.rbi b/rbi/lib/finch_api/models/hris/employment_data_response.rbi index b20e0e1e..308b696e 100644 --- a/rbi/lib/finch_api/models/hris/employment_data_response.rbi +++ b/rbi/lib/finch_api/models/hris/employment_data_response.rbi @@ -31,12 +31,10 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(body: nil, code: nil, individual_id: nil) - end + def self.new(body: nil, code: nil, individual_id: nil); end sig { override.returns({body: FinchAPI::Models::HRIS::EmploymentData, code: Integer, individual_id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/employment_retrieve_many_params.rbi b/rbi/lib/finch_api/models/hris/employment_retrieve_many_params.rbi index f996d5b8..e0f0bc6c 100644 --- a/rbi/lib/finch_api/models/hris/employment_retrieve_many_params.rbi +++ b/rbi/lib/finch_api/models/hris/employment_retrieve_many_params.rbi @@ -18,8 +18,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(requests:, request_options: {}) - end + def self.new(requests:, request_options: {}); end sig do override @@ -30,8 +29,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Request < FinchAPI::Internal::Type::BaseModel # A stable Finch `id` (UUID v4) for an individual in the company. There is no @@ -41,12 +39,10 @@ module FinchAPI attr_accessor :individual_id sig { params(individual_id: String).returns(T.attached_class) } - def self.new(individual_id:) - end + def self.new(individual_id:); end sig { override.returns({individual_id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/individual.rbi b/rbi/lib/finch_api/models/hris/individual.rbi index 2c80d708..852e47c4 100644 --- a/rbi/lib/finch_api/models/hris/individual.rbi +++ b/rbi/lib/finch_api/models/hris/individual.rbi @@ -97,9 +97,7 @@ module FinchAPI preferred_name: nil, residence: nil, ssn: nil - ) - end - + ); end sig do override .returns( @@ -120,8 +118,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Email < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(String)) } @@ -137,15 +134,13 @@ module FinchAPI params(data: String, type: T.nilable(FinchAPI::Models::HRIS::Individual::Email::Type::OrSymbol)) .returns(T.attached_class) end - def self.new(data: nil, type: nil) - end + def self.new(data: nil, type: nil); end sig do override .returns({data: String, type: T.nilable(FinchAPI::Models::HRIS::Individual::Email::Type::TaggedSymbol)}) end - def to_hash - end + def to_hash; end module Type extend FinchAPI::Internal::Type::Enum @@ -158,8 +153,7 @@ module FinchAPI PERSONAL = T.let(:personal, FinchAPI::Models::HRIS::Individual::Email::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::Individual::Email::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end @@ -187,8 +181,7 @@ module FinchAPI T.let(:decline_to_specify, FinchAPI::Models::HRIS::Individual::Ethnicity::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::Individual::Ethnicity::TaggedSymbol]) } - def self.values - end + def self.values; end end # The gender of the individual. @@ -205,8 +198,7 @@ module FinchAPI DECLINE_TO_SPECIFY = T.let(:decline_to_specify, FinchAPI::Models::HRIS::Individual::Gender::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::Individual::Gender::TaggedSymbol]) } - def self.values - end + def self.values; end end class PhoneNumber < FinchAPI::Internal::Type::BaseModel @@ -223,8 +215,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, type: nil) - end + def self.new(data: nil, type: nil); end sig do override @@ -235,8 +226,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module Type extend FinchAPI::Internal::Type::Enum @@ -249,8 +239,7 @@ module FinchAPI PERSONAL = T.let(:personal, FinchAPI::Models::HRIS::Individual::PhoneNumber::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::Individual::PhoneNumber::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/individual_in_directory.rbi b/rbi/lib/finch_api/models/hris/individual_in_directory.rbi index 2fac4783..c96894ca 100644 --- a/rbi/lib/finch_api/models/hris/individual_in_directory.rbi +++ b/rbi/lib/finch_api/models/hris/individual_in_directory.rbi @@ -88,8 +88,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Department < FinchAPI::Internal::Type::BaseModel # The name of the department. @@ -98,12 +97,10 @@ module FinchAPI # The department object. sig { params(name: T.nilable(String)).returns(T.attached_class) } - def self.new(name: nil) - end + def self.new(name: nil); end sig { override.returns({name: T.nilable(String)}) } - def to_hash - end + def to_hash; end end class Manager < FinchAPI::Internal::Type::BaseModel @@ -116,12 +113,10 @@ module FinchAPI # The manager object. sig { params(id: String).returns(T.attached_class) } - def self.new(id: nil) - end + def self.new(id: nil); end sig { override.returns({id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/individual_response.rbi b/rbi/lib/finch_api/models/hris/individual_response.rbi index 9b5314ae..e613f20d 100644 --- a/rbi/lib/finch_api/models/hris/individual_response.rbi +++ b/rbi/lib/finch_api/models/hris/individual_response.rbi @@ -30,12 +30,10 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(body: nil, code: nil, individual_id: nil) - end + def self.new(body: nil, code: nil, individual_id: nil); end sig { override.returns({body: FinchAPI::Models::HRIS::Individual, code: Integer, individual_id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/individual_retrieve_many_params.rbi b/rbi/lib/finch_api/models/hris/individual_retrieve_many_params.rbi index f6f2303a..348e9d97 100644 --- a/rbi/lib/finch_api/models/hris/individual_retrieve_many_params.rbi +++ b/rbi/lib/finch_api/models/hris/individual_retrieve_many_params.rbi @@ -41,8 +41,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(options: nil, requests: nil, request_options: {}) - end + def self.new(options: nil, requests: nil, request_options: {}); end sig do override @@ -54,8 +53,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Options < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Array[String])) } @@ -65,12 +63,10 @@ module FinchAPI attr_writer :include sig { params(include: T::Array[String]).returns(T.attached_class) } - def self.new(include: nil) - end + def self.new(include: nil); end sig { override.returns({include: T::Array[String]}) } - def to_hash - end + def to_hash; end end class Request < FinchAPI::Internal::Type::BaseModel @@ -81,12 +77,10 @@ module FinchAPI attr_writer :individual_id sig { params(individual_id: String).returns(T.attached_class) } - def self.new(individual_id: nil) - end + def self.new(individual_id: nil); end sig { override.returns({individual_id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/pay_statement.rbi b/rbi/lib/finch_api/models/hris/pay_statement.rbi index 697b501b..603a9a11 100644 --- a/rbi/lib/finch_api/models/hris/pay_statement.rbi +++ b/rbi/lib/finch_api/models/hris/pay_statement.rbi @@ -84,9 +84,7 @@ module FinchAPI taxes: nil, total_hours: nil, type: nil - ) - end - + ); end sig do override .returns( @@ -104,8 +102,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Earning < FinchAPI::Internal::Type::BaseModel # The earnings amount in cents. @@ -151,8 +148,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, attributes: nil, currency: nil, hours: nil, name: nil, type: nil) - end + def self.new(amount: nil, attributes: nil, currency: nil, hours: nil, name: nil, type: nil); end sig do override @@ -167,8 +163,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(FinchAPI::Models::HRIS::PayStatement::Earning::Attributes::Metadata)) } @@ -188,12 +183,10 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: FinchAPI::Models::HRIS::PayStatement::Earning::Attributes::Metadata}) } - def to_hash - end + def to_hash; end class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value @@ -206,12 +199,10 @@ module FinchAPI attr_writer :metadata sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end end @@ -239,8 +230,7 @@ module FinchAPI OTHER = T.let(:other, FinchAPI::Models::HRIS::PayStatement::Earning::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::PayStatement::Earning::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end @@ -291,8 +281,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, attributes: nil, currency: nil, name: nil, pre_tax: nil, type: nil) - end + def self.new(amount: nil, attributes: nil, currency: nil, name: nil, pre_tax: nil, type: nil); end sig do override @@ -307,8 +296,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata)) } @@ -334,14 +322,12 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig do override.returns({metadata: FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata}) end - def to_hash - end + def to_hash; end class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value @@ -354,12 +340,10 @@ module FinchAPI attr_writer :metadata sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end end end @@ -406,8 +390,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, attributes: nil, currency: nil, name: nil, type: nil) - end + def self.new(amount: nil, attributes: nil, currency: nil, name: nil, type: nil); end sig do override @@ -421,8 +404,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes::Metadata)) } @@ -448,15 +430,13 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig do override .returns({metadata: FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes::Metadata}) end - def to_hash - end + def to_hash; end class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value @@ -469,12 +449,10 @@ module FinchAPI attr_writer :metadata sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end end end @@ -492,8 +470,7 @@ module FinchAPI T.let(:direct_deposit, FinchAPI::Models::HRIS::PayStatement::PaymentMethod::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::PayStatement::PaymentMethod::TaggedSymbol]) } - def self.values - end + def self.values; end end class Tax < FinchAPI::Internal::Type::BaseModel @@ -539,8 +516,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, attributes: nil, currency: nil, employer: nil, name: nil, type: nil) - end + def self.new(amount: nil, attributes: nil, currency: nil, employer: nil, name: nil, type: nil); end sig do override @@ -555,8 +531,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(FinchAPI::Models::HRIS::PayStatement::Tax::Attributes::Metadata)) } @@ -576,12 +551,10 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: FinchAPI::Models::HRIS::PayStatement::Tax::Attributes::Metadata}) } - def to_hash - end + def to_hash; end class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value @@ -594,12 +567,10 @@ module FinchAPI attr_writer :metadata sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end end @@ -617,8 +588,7 @@ module FinchAPI FICA = T.let(:fica, FinchAPI::Models::HRIS::PayStatement::Tax::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::PayStatement::Tax::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end @@ -635,8 +605,7 @@ module FinchAPI ONE_TIME_PAYMENT = T.let(:one_time_payment, FinchAPI::Models::HRIS::PayStatement::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::PayStatement::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/pay_statement_response.rbi b/rbi/lib/finch_api/models/hris/pay_statement_response.rbi index bb60aa9b..45b4584a 100644 --- a/rbi/lib/finch_api/models/hris/pay_statement_response.rbi +++ b/rbi/lib/finch_api/models/hris/pay_statement_response.rbi @@ -30,15 +30,13 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(body: nil, code: nil, payment_id: nil) - end + def self.new(body: nil, code: nil, payment_id: nil); end sig do override .returns({body: FinchAPI::Models::HRIS::PayStatementResponseBody, code: Integer, payment_id: String}) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/pay_statement_response_body.rbi b/rbi/lib/finch_api/models/hris/pay_statement_response_body.rbi index 104c12d6..a3f8efd0 100644 --- a/rbi/lib/finch_api/models/hris/pay_statement_response_body.rbi +++ b/rbi/lib/finch_api/models/hris/pay_statement_response_body.rbi @@ -27,8 +27,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(paging: nil, pay_statements: nil) - end + def self.new(paging: nil, pay_statements: nil); end sig do override @@ -36,8 +35,7 @@ module FinchAPI {paging: FinchAPI::Models::Paging, pay_statements: T::Array[FinchAPI::Models::HRIS::PayStatement]} ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rbi b/rbi/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rbi index 279c9ea8..8b7f29d9 100644 --- a/rbi/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +++ b/rbi/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rbi @@ -18,8 +18,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(requests:, request_options: {}) - end + def self.new(requests:, request_options: {}); end sig do override @@ -30,8 +29,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Request < FinchAPI::Internal::Type::BaseModel # A stable Finch `id` (UUID v4) for a payment. @@ -53,12 +51,10 @@ module FinchAPI attr_writer :offset sig { params(payment_id: String, limit: Integer, offset: Integer).returns(T.attached_class) } - def self.new(payment_id:, limit: nil, offset: nil) - end + def self.new(payment_id:, limit: nil, offset: nil); end sig { override.returns({payment_id: String, limit: Integer, offset: Integer}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/payment.rbi b/rbi/lib/finch_api/models/hris/payment.rbi index 804b287c..af8c794d 100644 --- a/rbi/lib/finch_api/models/hris/payment.rbi +++ b/rbi/lib/finch_api/models/hris/payment.rbi @@ -101,9 +101,7 @@ module FinchAPI pay_frequencies: nil, pay_group_ids: nil, pay_period: nil - ) - end - + ); end sig do override .returns( @@ -123,8 +121,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module PayFrequency extend FinchAPI::Internal::Type::Enum @@ -144,8 +141,7 @@ module FinchAPI OTHER = T.let(:other, FinchAPI::Models::HRIS::Payment::PayFrequency::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::Payment::PayFrequency::TaggedSymbol]) } - def self.values - end + def self.values; end end class PayPeriod < FinchAPI::Internal::Type::BaseModel @@ -157,12 +153,10 @@ module FinchAPI # The pay period object. sig { params(end_date: T.nilable(String), start_date: T.nilable(String)).returns(T.attached_class) } - def self.new(end_date: nil, start_date: nil) - end + def self.new(end_date: nil, start_date: nil); end sig { override.returns({end_date: T.nilable(String), start_date: T.nilable(String)}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/payment_list_params.rbi b/rbi/lib/finch_api/models/hris/payment_list_params.rbi index 93e55327..0c292855 100644 --- a/rbi/lib/finch_api/models/hris/payment_list_params.rbi +++ b/rbi/lib/finch_api/models/hris/payment_list_params.rbi @@ -25,14 +25,12 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(end_date:, start_date:, request_options: {}) - end + def self.new(end_date:, start_date:, request_options: {}); end sig do override.returns({end_date: Date, start_date: Date, request_options: FinchAPI::RequestOptions}) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/support_per_benefit_type.rbi b/rbi/lib/finch_api/models/hris/support_per_benefit_type.rbi index bea67e12..eeab979b 100644 --- a/rbi/lib/finch_api/models/hris/support_per_benefit_type.rbi +++ b/rbi/lib/finch_api/models/hris/support_per_benefit_type.rbi @@ -7,7 +7,9 @@ module FinchAPI sig { returns(T.nilable(FinchAPI::Models::OperationSupportMatrix)) } attr_reader :company_benefits - sig { params(company_benefits: T.any(FinchAPI::Models::OperationSupportMatrix, FinchAPI::Internal::AnyHash)).void } + sig do + params(company_benefits: T.any(FinchAPI::Models::OperationSupportMatrix, FinchAPI::Internal::AnyHash)).void + end attr_writer :company_benefits sig { returns(T.nilable(FinchAPI::Models::OperationSupportMatrix)) } @@ -26,8 +28,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(company_benefits: nil, individual_benefits: nil) - end + def self.new(company_benefits: nil, individual_benefits: nil); end sig do override @@ -38,8 +39,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/supported_benefit.rbi b/rbi/lib/finch_api/models/hris/supported_benefit.rbi index 554c6823..e45f6573 100644 --- a/rbi/lib/finch_api/models/hris/supported_benefit.rbi +++ b/rbi/lib/finch_api/models/hris/supported_benefit.rbi @@ -80,9 +80,7 @@ module FinchAPI frequencies: nil, hsa_contribution_limit: nil, type: nil - ) - end - + ); end sig do override .returns( @@ -102,8 +100,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module CompanyContribution extend FinchAPI::Internal::Type::Enum @@ -117,8 +114,7 @@ module FinchAPI PERCENT = T.let(:percent, FinchAPI::Models::HRIS::SupportedBenefit::CompanyContribution::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::SupportedBenefit::CompanyContribution::TaggedSymbol]) } - def self.values - end + def self.values; end end module EmployeeDeduction @@ -133,8 +129,7 @@ module FinchAPI PERCENT = T.let(:percent, FinchAPI::Models::HRIS::SupportedBenefit::EmployeeDeduction::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::SupportedBenefit::EmployeeDeduction::TaggedSymbol]) } - def self.values - end + def self.values; end end module HsaContributionLimit @@ -150,8 +145,7 @@ module FinchAPI FAMILY = T.let(:family, FinchAPI::Models::HRIS::SupportedBenefit::HsaContributionLimit::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::SupportedBenefit::HsaContributionLimit::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/update_company_benefit_response.rbi b/rbi/lib/finch_api/models/hris/update_company_benefit_response.rbi index 73b407cd..6dd1955b 100644 --- a/rbi/lib/finch_api/models/hris/update_company_benefit_response.rbi +++ b/rbi/lib/finch_api/models/hris/update_company_benefit_response.rbi @@ -9,12 +9,10 @@ module FinchAPI attr_accessor :benefit_id sig { params(benefit_id: String).returns(T.attached_class) } - def self.new(benefit_id:) - end + def self.new(benefit_id:); end sig { override.returns({benefit_id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/hris/w42005.rbi b/rbi/lib/finch_api/models/hris/w42005.rbi index 592a30c6..1c9bbba2 100644 --- a/rbi/lib/finch_api/models/hris/w42005.rbi +++ b/rbi/lib/finch_api/models/hris/w42005.rbi @@ -32,8 +32,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, type: nil, year: nil) - end + def self.new(data: nil, type: nil, year: nil); end sig do override @@ -45,8 +44,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Data < FinchAPI::Internal::Type::BaseModel # Additional withholding amount (in cents). @@ -92,9 +90,7 @@ module FinchAPI filing_status: nil, individual_id: nil, total_number_of_allowances: nil - ) - end - + ); end sig do override .returns( @@ -107,8 +103,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # Indicates exemption status from federal tax withholding. module Exemption @@ -122,8 +117,7 @@ module FinchAPI NON_EXEMPT = T.let(:non_exempt, FinchAPI::Models::HRIS::W42005::Data::Exemption::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::W42005::Data::Exemption::TaggedSymbol]) } - def self.values - end + def self.values; end end # The individual's filing status for tax purposes. @@ -143,8 +137,7 @@ module FinchAPI SINGLE = T.let(:single, FinchAPI::Models::HRIS::W42005::Data::FilingStatus::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::W42005::Data::FilingStatus::TaggedSymbol]) } - def self.values - end + def self.values; end end end @@ -158,8 +151,7 @@ module FinchAPI W4_2005 = T.let(:w4_2005, FinchAPI::Models::HRIS::W42005::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::W42005::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/hris/w42020.rbi b/rbi/lib/finch_api/models/hris/w42020.rbi index 68916c29..c22bdb84 100644 --- a/rbi/lib/finch_api/models/hris/w42020.rbi +++ b/rbi/lib/finch_api/models/hris/w42020.rbi @@ -32,8 +32,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, type: nil, year: nil) - end + def self.new(data: nil, type: nil, year: nil); end sig do override @@ -45,8 +44,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Data < FinchAPI::Internal::Type::BaseModel # Amount claimed for dependents other than qualifying children under 17 (in @@ -108,9 +106,7 @@ module FinchAPI individual_id: nil, other_income: nil, total_claim_dependent_and_other_credits: nil - ) - end - + ); end sig do override .returns( @@ -126,8 +122,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The individual's filing status for tax purposes. module FilingStatus @@ -151,8 +146,7 @@ module FinchAPI ) sig { override.returns(T::Array[FinchAPI::Models::HRIS::W42020::Data::FilingStatus::TaggedSymbol]) } - def self.values - end + def self.values; end end end @@ -166,8 +160,7 @@ module FinchAPI W4_2020 = T.let(:w4_2020, FinchAPI::Models::HRIS::W42020::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::HRIS::W42020::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/income.rbi b/rbi/lib/finch_api/models/income.rbi index 2464c872..0d023243 100644 --- a/rbi/lib/finch_api/models/income.rbi +++ b/rbi/lib/finch_api/models/income.rbi @@ -32,8 +32,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, currency: nil, effective_date: nil, unit: nil) - end + def self.new(amount: nil, currency: nil, effective_date: nil, unit: nil); end sig do override @@ -46,8 +45,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The income unit of payment. Options: `yearly`, `quarterly`, `monthly`, # `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`. @@ -68,8 +66,7 @@ module FinchAPI FIXED = T.let(:fixed, FinchAPI::Models::Income::Unit::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Income::Unit::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/individual_event.rbi b/rbi/lib/finch_api/models/individual_event.rbi index 13b295ba..98b67158 100644 --- a/rbi/lib/finch_api/models/individual_event.rbi +++ b/rbi/lib/finch_api/models/individual_event.rbi @@ -22,8 +22,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, event_type: nil) - end + def self.new(data: nil, event_type: nil); end sig do override @@ -34,8 +33,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Data < FinchAPI::Internal::Type::BaseModel # The ID of the individual related to the event. @@ -46,12 +44,10 @@ module FinchAPI attr_writer :individual_id sig { params(individual_id: String).returns(T.attached_class) } - def self.new(individual_id: nil) - end + def self.new(individual_id: nil); end sig { override.returns({individual_id: String}) } - def to_hash - end + def to_hash; end end module EventType @@ -69,8 +65,7 @@ module FinchAPI T.let(:"individual.deleted", FinchAPI::Models::IndividualEvent::EventType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::IndividualEvent::EventType::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/introspection.rbi b/rbi/lib/finch_api/models/introspection.rbi index 29032326..e611913d 100644 --- a/rbi/lib/finch_api/models/introspection.rbi +++ b/rbi/lib/finch_api/models/introspection.rbi @@ -122,9 +122,7 @@ module FinchAPI products:, provider_id:, username: - ) - end - + ); end sig do override .returns( @@ -148,8 +146,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class AuthenticationMethod < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(FinchAPI::Models::Introspection::AuthenticationMethod::ConnectionStatus)) } @@ -191,8 +188,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(connection_status: nil, products: nil, type: nil) - end + def self.new(connection_status: nil, products: nil, type: nil); end sig do override @@ -204,8 +200,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class ConnectionStatus < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(String)) } @@ -223,12 +218,10 @@ module FinchAPI sig do params(message: String, status: FinchAPI::Models::ConnectionStatusType::OrSymbol).returns(T.attached_class) end - def self.new(message: nil, status: nil) - end + def self.new(message: nil, status: nil); end sig { override.returns({message: String, status: FinchAPI::Models::ConnectionStatusType::TaggedSymbol}) } - def to_hash - end + def to_hash; end end # The type of authentication method. @@ -249,8 +242,7 @@ module FinchAPI OAUTH = T.let(:oauth, FinchAPI::Models::Introspection::AuthenticationMethod::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Introspection::AuthenticationMethod::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end @@ -267,8 +259,7 @@ module FinchAPI SANDBOX = T.let(:sandbox, FinchAPI::Models::Introspection::ClientType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Introspection::ClientType::TaggedSymbol]) } - def self.values - end + def self.values; end end class ConnectionStatus < FinchAPI::Internal::Type::BaseModel @@ -299,8 +290,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(last_successful_sync: nil, message: nil, status: nil) - end + def self.new(last_successful_sync: nil, message: nil, status: nil); end sig do override @@ -308,8 +298,7 @@ module FinchAPI {last_successful_sync: Time, message: String, status: FinchAPI::Models::ConnectionStatusType::TaggedSymbol} ) end - def to_hash - end + def to_hash; end end # The type of the connection associated with the token. @@ -327,8 +316,7 @@ module FinchAPI FINCH = T.let(:finch, FinchAPI::Models::Introspection::ConnectionType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Introspection::ConnectionType::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/job_completion_event.rbi b/rbi/lib/finch_api/models/job_completion_event.rbi index c6659326..969f4418 100644 --- a/rbi/lib/finch_api/models/job_completion_event.rbi +++ b/rbi/lib/finch_api/models/job_completion_event.rbi @@ -22,8 +22,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, event_type: nil) - end + def self.new(data: nil, event_type: nil); end sig do override @@ -34,8 +33,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Data < FinchAPI::Internal::Type::BaseModel # The id of the job which has completed. @@ -47,12 +45,10 @@ module FinchAPI attr_accessor :job_url sig { params(job_id: String, job_url: String).returns(T.attached_class) } - def self.new(job_id:, job_url:) - end + def self.new(job_id:, job_url:); end sig { override.returns({job_id: String, job_url: String}) } - def to_hash - end + def to_hash; end end module EventType @@ -76,8 +72,7 @@ module FinchAPI T.let(:"job.data_sync_all.completed", FinchAPI::Models::JobCompletionEvent::EventType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::JobCompletionEvent::EventType::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/jobs/automated_async_job.rbi b/rbi/lib/finch_api/models/jobs/automated_async_job.rbi index 08607b87..2e34bdee 100644 --- a/rbi/lib/finch_api/models/jobs/automated_async_job.rbi +++ b/rbi/lib/finch_api/models/jobs/automated_async_job.rbi @@ -94,8 +94,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Params < FinchAPI::Internal::Type::BaseModel # The ID of the individual that the job was completed for. @@ -107,12 +106,10 @@ module FinchAPI # The input parameters for the job. sig { params(individual_id: String).returns(T.attached_class) } - def self.new(individual_id: nil) - end + def self.new(individual_id: nil); end sig { override.returns({individual_id: String}) } - def to_hash - end + def to_hash; end end module Status @@ -131,8 +128,7 @@ module FinchAPI T.let(:permissions_error, FinchAPI::Models::Jobs::AutomatedAsyncJob::Status::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Jobs::AutomatedAsyncJob::Status::TaggedSymbol]) } - def self.values - end + def self.values; end end # The type of automated job @@ -148,8 +144,7 @@ module FinchAPI T.let(:w4_form_employee_sync, FinchAPI::Models::Jobs::AutomatedAsyncJob::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Jobs::AutomatedAsyncJob::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/jobs/automated_create_params.rbi b/rbi/lib/finch_api/models/jobs/automated_create_params.rbi index 64ed7c4f..91d88190 100644 --- a/rbi/lib/finch_api/models/jobs/automated_create_params.rbi +++ b/rbi/lib/finch_api/models/jobs/automated_create_params.rbi @@ -28,8 +28,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(type:, params:, request_options: {}) - end + def self.new(type:, params:, request_options: {}); end sig do override @@ -41,8 +40,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The type of job to start. module Type @@ -56,8 +54,7 @@ module FinchAPI T.let(:w4_form_employee_sync, FinchAPI::Models::Jobs::AutomatedCreateParams::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Jobs::AutomatedCreateParams::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end class Params < FinchAPI::Internal::Type::BaseModel @@ -66,12 +63,10 @@ module FinchAPI attr_accessor :individual_id sig { params(individual_id: String).returns(T.attached_class) } - def self.new(individual_id:) - end + def self.new(individual_id:); end sig { override.returns({individual_id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/jobs/automated_create_response.rbi b/rbi/lib/finch_api/models/jobs/automated_create_response.rbi index 0b33740d..3b963e91 100644 --- a/rbi/lib/finch_api/models/jobs/automated_create_response.rbi +++ b/rbi/lib/finch_api/models/jobs/automated_create_response.rbi @@ -24,8 +24,7 @@ module FinchAPI params(allowed_refreshes: Integer, job_id: String, job_url: String, remaining_refreshes: Integer) .returns(T.attached_class) end - def self.new(allowed_refreshes:, job_id:, job_url:, remaining_refreshes:) - end + def self.new(allowed_refreshes:, job_id:, job_url:, remaining_refreshes:); end sig do override @@ -36,8 +35,7 @@ module FinchAPI remaining_refreshes: Integer }) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/jobs/automated_list_params.rbi b/rbi/lib/finch_api/models/jobs/automated_list_params.rbi index b59aea5e..174fc6e7 100644 --- a/rbi/lib/finch_api/models/jobs/automated_list_params.rbi +++ b/rbi/lib/finch_api/models/jobs/automated_list_params.rbi @@ -29,12 +29,10 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(limit: nil, offset: nil, request_options: {}) - end + def self.new(limit: nil, offset: nil, request_options: {}); end sig { override.returns({limit: Integer, offset: Integer, request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/jobs/automated_list_response.rbi b/rbi/lib/finch_api/models/jobs/automated_list_response.rbi index 93b59fef..52eacda8 100644 --- a/rbi/lib/finch_api/models/jobs/automated_list_response.rbi +++ b/rbi/lib/finch_api/models/jobs/automated_list_response.rbi @@ -20,8 +20,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data:, meta:) - end + def self.new(data:, meta:); end sig do override @@ -32,8 +31,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Meta < FinchAPI::Internal::Type::BaseModel # Information about remaining quotas for this connection. Only applicable for @@ -57,12 +55,10 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(quotas: nil) - end + def self.new(quotas: nil); end sig { override.returns({quotas: FinchAPI::Models::Jobs::AutomatedListResponse::Meta::Quotas}) } - def to_hash - end + def to_hash; end class Quotas < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(FinchAPI::Models::Jobs::AutomatedListResponse::Meta::Quotas::DataSyncAll)) } @@ -92,14 +88,12 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data_sync_all: nil) - end + def self.new(data_sync_all: nil); end sig do override.returns({data_sync_all: FinchAPI::Models::Jobs::AutomatedListResponse::Meta::Quotas::DataSyncAll}) end - def to_hash - end + def to_hash; end class DataSyncAll < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(Integer)) } @@ -117,12 +111,10 @@ module FinchAPI sig do params(allowed_refreshes: Integer, remaining_refreshes: Integer).returns(T.attached_class) end - def self.new(allowed_refreshes: nil, remaining_refreshes: nil) - end + def self.new(allowed_refreshes: nil, remaining_refreshes: nil); end sig { override.returns({allowed_refreshes: Integer, remaining_refreshes: Integer}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/jobs/automated_retrieve_params.rbi b/rbi/lib/finch_api/models/jobs/automated_retrieve_params.rbi index 54f48b91..1f5982ad 100644 --- a/rbi/lib/finch_api/models/jobs/automated_retrieve_params.rbi +++ b/rbi/lib/finch_api/models/jobs/automated_retrieve_params.rbi @@ -11,12 +11,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/jobs/manual_async_job.rbi b/rbi/lib/finch_api/models/jobs/manual_async_job.rbi index f78c7215..575d3382 100644 --- a/rbi/lib/finch_api/models/jobs/manual_async_job.rbi +++ b/rbi/lib/finch_api/models/jobs/manual_async_job.rbi @@ -22,8 +22,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(body:, job_id:, status:) - end + def self.new(body:, job_id:, status:); end sig do override @@ -35,8 +34,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module Status extend FinchAPI::Internal::Type::Enum @@ -51,8 +49,7 @@ module FinchAPI COMPLETE = T.let(:complete, FinchAPI::Models::Jobs::ManualAsyncJob::Status::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Jobs::ManualAsyncJob::Status::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/jobs/manual_retrieve_params.rbi b/rbi/lib/finch_api/models/jobs/manual_retrieve_params.rbi index 93160846..8ce3f6c1 100644 --- a/rbi/lib/finch_api/models/jobs/manual_retrieve_params.rbi +++ b/rbi/lib/finch_api/models/jobs/manual_retrieve_params.rbi @@ -11,12 +11,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/location.rbi b/rbi/lib/finch_api/models/location.rbi index 5792276d..25b204a6 100644 --- a/rbi/lib/finch_api/models/location.rbi +++ b/rbi/lib/finch_api/models/location.rbi @@ -73,8 +73,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/money.rbi b/rbi/lib/finch_api/models/money.rbi index 64f5f82b..33aefef7 100644 --- a/rbi/lib/finch_api/models/money.rbi +++ b/rbi/lib/finch_api/models/money.rbi @@ -14,12 +14,10 @@ module FinchAPI attr_writer :currency sig { params(amount: T.nilable(Integer), currency: String).returns(T.attached_class) } - def self.new(amount: nil, currency: nil) - end + def self.new(amount: nil, currency: nil); end sig { override.returns({amount: T.nilable(Integer), currency: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/operation_support.rbi b/rbi/lib/finch_api/models/operation_support.rbi index b2084508..52fdde12 100644 --- a/rbi/lib/finch_api/models/operation_support.rbi +++ b/rbi/lib/finch_api/models/operation_support.rbi @@ -22,8 +22,7 @@ module FinchAPI CLIENT_ACCESS_ONLY = T.let(:client_access_only, FinchAPI::Models::OperationSupport::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::OperationSupport::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/operation_support_matrix.rbi b/rbi/lib/finch_api/models/operation_support_matrix.rbi index b31a673a..8ad43b1b 100644 --- a/rbi/lib/finch_api/models/operation_support_matrix.rbi +++ b/rbi/lib/finch_api/models/operation_support_matrix.rbi @@ -64,8 +64,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(create: nil, delete: nil, read: nil, update: nil) - end + def self.new(create: nil, delete: nil, read: nil, update: nil); end sig do override @@ -78,8 +77,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/paging.rbi b/rbi/lib/finch_api/models/paging.rbi index 3179e672..512a05eb 100644 --- a/rbi/lib/finch_api/models/paging.rbi +++ b/rbi/lib/finch_api/models/paging.rbi @@ -18,12 +18,10 @@ module FinchAPI attr_writer :offset sig { params(count: Integer, offset: Integer).returns(T.attached_class) } - def self.new(count: nil, offset: nil) - end + def self.new(count: nil, offset: nil); end sig { override.returns({count: Integer, offset: Integer}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/pay_statement_event.rbi b/rbi/lib/finch_api/models/pay_statement_event.rbi index 61f1af46..19bd7204 100644 --- a/rbi/lib/finch_api/models/pay_statement_event.rbi +++ b/rbi/lib/finch_api/models/pay_statement_event.rbi @@ -22,8 +22,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, event_type: nil) - end + def self.new(data: nil, event_type: nil); end sig do override @@ -34,8 +33,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Data < FinchAPI::Internal::Type::BaseModel # The ID of the individual associated with the pay statement. @@ -53,12 +51,10 @@ module FinchAPI attr_writer :payment_id sig { params(individual_id: String, payment_id: String).returns(T.attached_class) } - def self.new(individual_id: nil, payment_id: nil) - end + def self.new(individual_id: nil, payment_id: nil); end sig { override.returns({individual_id: String, payment_id: String}) } - def to_hash - end + def to_hash; end end module EventType @@ -76,8 +72,7 @@ module FinchAPI T.let(:"pay_statement.deleted", FinchAPI::Models::PayStatementEvent::EventType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::PayStatementEvent::EventType::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/payment_event.rbi b/rbi/lib/finch_api/models/payment_event.rbi index be4efa8a..c75076b8 100644 --- a/rbi/lib/finch_api/models/payment_event.rbi +++ b/rbi/lib/finch_api/models/payment_event.rbi @@ -22,8 +22,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, event_type: nil) - end + def self.new(data: nil, event_type: nil); end sig do override @@ -34,8 +33,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Data < FinchAPI::Internal::Type::BaseModel # The date of the payment. @@ -47,12 +45,10 @@ module FinchAPI attr_accessor :payment_id sig { params(pay_date: String, payment_id: String).returns(T.attached_class) } - def self.new(pay_date:, payment_id:) - end + def self.new(pay_date:, payment_id:); end sig { override.returns({pay_date: String, payment_id: String}) } - def to_hash - end + def to_hash; end end module EventType @@ -67,8 +63,7 @@ module FinchAPI PAYMENT_DELETED = T.let(:"payment.deleted", FinchAPI::Models::PaymentEvent::EventType::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::PaymentEvent::EventType::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/payroll/pay_group_list_params.rbi b/rbi/lib/finch_api/models/payroll/pay_group_list_params.rbi index d4d58f05..c734048a 100644 --- a/rbi/lib/finch_api/models/payroll/pay_group_list_params.rbi +++ b/rbi/lib/finch_api/models/payroll/pay_group_list_params.rbi @@ -27,8 +27,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(individual_id: nil, pay_frequencies: nil, request_options: {}) - end + def self.new(individual_id: nil, pay_frequencies: nil, request_options: {}); end sig do override @@ -40,8 +39,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/payroll/pay_group_list_response.rbi b/rbi/lib/finch_api/models/payroll/pay_group_list_response.rbi index c7ed3914..afb43535 100644 --- a/rbi/lib/finch_api/models/payroll/pay_group_list_response.rbi +++ b/rbi/lib/finch_api/models/payroll/pay_group_list_response.rbi @@ -36,8 +36,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(id: nil, name: nil, pay_frequencies: nil) - end + def self.new(id: nil, name: nil, pay_frequencies: nil); end sig do override @@ -49,8 +48,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module PayFrequency extend FinchAPI::Internal::Type::Enum @@ -75,8 +73,7 @@ module FinchAPI OTHER = T.let(:other, FinchAPI::Models::Payroll::PayGroupListResponse::PayFrequency::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Payroll::PayGroupListResponse::PayFrequency::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/payroll/pay_group_retrieve_params.rbi b/rbi/lib/finch_api/models/payroll/pay_group_retrieve_params.rbi index 4aabef86..dbee8c11 100644 --- a/rbi/lib/finch_api/models/payroll/pay_group_retrieve_params.rbi +++ b/rbi/lib/finch_api/models/payroll/pay_group_retrieve_params.rbi @@ -11,12 +11,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/payroll/pay_group_retrieve_response.rbi b/rbi/lib/finch_api/models/payroll/pay_group_retrieve_response.rbi index 582c68cd..cc1a35dd 100644 --- a/rbi/lib/finch_api/models/payroll/pay_group_retrieve_response.rbi +++ b/rbi/lib/finch_api/models/payroll/pay_group_retrieve_response.rbi @@ -28,8 +28,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(id:, individual_ids:, name:, pay_frequencies:) - end + def self.new(id:, individual_ids:, name:, pay_frequencies:); end sig do override @@ -42,8 +41,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module PayFrequency extend FinchAPI::Internal::Type::Enum @@ -72,8 +70,7 @@ module FinchAPI sig do override.returns(T::Array[FinchAPI::Models::Payroll::PayGroupRetrieveResponse::PayFrequency::TaggedSymbol]) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/provider.rbi b/rbi/lib/finch_api/models/provider.rbi index 76586590..ce989c21 100644 --- a/rbi/lib/finch_api/models/provider.rbi +++ b/rbi/lib/finch_api/models/provider.rbi @@ -106,9 +106,7 @@ module FinchAPI mfa_required: nil, primary_color: nil, products: nil - ) - end - + ); end sig do override .returns( @@ -126,8 +124,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class AuthenticationMethod < FinchAPI::Internal::Type::BaseModel # Each benefit type and their supported features. If the benefit type is not @@ -174,8 +171,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(benefits_support: nil, supported_fields: nil, type: nil) - end + def self.new(benefits_support: nil, supported_fields: nil, type: nil); end sig do override @@ -187,8 +183,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class SupportedFields < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(FinchAPI::Models::Provider::AuthenticationMethod::SupportedFields::Company)) } @@ -331,9 +326,7 @@ module FinchAPI pay_group: nil, pay_statement: nil, payment: nil - ) - end - + ); end sig do override .returns( @@ -348,8 +341,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Company < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -478,9 +470,7 @@ module FinchAPI locations: nil, primary_email: nil, primary_phone_number: nil - ) - end - + ); end sig do override .returns( @@ -497,8 +487,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Accounts < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -562,8 +551,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end class Departments < FinchAPI::Internal::Type::BaseModel @@ -601,8 +589,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(name: nil, parent: nil) - end + def self.new(name: nil, parent: nil); end sig do override @@ -613,8 +600,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Parent < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -624,12 +610,10 @@ module FinchAPI attr_writer :name sig { params(name: T::Boolean).returns(T.attached_class) } - def self.new(name: nil) - end + def self.new(name: nil); end sig { override.returns({name: T::Boolean}) } - def to_hash - end + def to_hash; end end end @@ -647,12 +631,10 @@ module FinchAPI attr_writer :type sig { params(subtype: T::Boolean, type: T::Boolean).returns(T.attached_class) } - def self.new(subtype: nil, type: nil) - end + def self.new(subtype: nil, type: nil); end sig { override.returns({subtype: T::Boolean, type: T::Boolean}) } - def to_hash - end + def to_hash; end end class Locations < FinchAPI::Internal::Type::BaseModel @@ -703,8 +685,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil) - end + def self.new(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil); end sig do override @@ -719,8 +700,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end @@ -770,8 +750,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(individuals: nil, paging: nil) - end + def self.new(individuals: nil, paging: nil); end sig do override @@ -782,8 +761,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Individuals < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -882,8 +860,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Manager < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -893,12 +870,10 @@ module FinchAPI attr_writer :id sig { params(id: T::Boolean).returns(T.attached_class) } - def self.new(id: nil) - end + def self.new(id: nil); end sig { override.returns({id: T::Boolean}) } - def to_hash - end + def to_hash; end end end @@ -916,12 +891,10 @@ module FinchAPI attr_writer :offset sig { params(count: T::Boolean, offset: T::Boolean).returns(T.attached_class) } - def self.new(count: nil, offset: nil) - end + def self.new(count: nil, offset: nil); end sig { override.returns({count: T::Boolean, offset: T::Boolean}) } - def to_hash - end + def to_hash; end end end @@ -1135,9 +1108,7 @@ module FinchAPI middle_name: nil, start_date: nil, title: nil - ) - end - + ); end sig do override .returns( @@ -1162,8 +1133,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Department < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -1173,12 +1143,10 @@ module FinchAPI attr_writer :name sig { params(name: T::Boolean).returns(T.attached_class) } - def self.new(name: nil) - end + def self.new(name: nil); end sig { override.returns({name: T::Boolean}) } - def to_hash - end + def to_hash; end end class Employment < FinchAPI::Internal::Type::BaseModel @@ -1195,12 +1163,10 @@ module FinchAPI attr_writer :type sig { params(subtype: T::Boolean, type: T::Boolean).returns(T.attached_class) } - def self.new(subtype: nil, type: nil) - end + def self.new(subtype: nil, type: nil); end sig { override.returns({subtype: T::Boolean, type: T::Boolean}) } - def to_hash - end + def to_hash; end end class Income < FinchAPI::Internal::Type::BaseModel @@ -1225,12 +1191,10 @@ module FinchAPI sig do params(amount: T::Boolean, currency: T::Boolean, unit: T::Boolean).returns(T.attached_class) end - def self.new(amount: nil, currency: nil, unit: nil) - end + def self.new(amount: nil, currency: nil, unit: nil); end sig { override.returns({amount: T::Boolean, currency: T::Boolean, unit: T::Boolean}) } - def to_hash - end + def to_hash; end end class Location < FinchAPI::Internal::Type::BaseModel @@ -1281,8 +1245,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil) - end + def self.new(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil); end sig do override @@ -1297,8 +1260,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end class Manager < FinchAPI::Internal::Type::BaseModel @@ -1309,12 +1271,10 @@ module FinchAPI attr_writer :id sig { params(id: T::Boolean).returns(T.attached_class) } - def self.new(id: nil) - end + def self.new(id: nil); end sig { override.returns({id: T::Boolean}) } - def to_hash - end + def to_hash; end end end @@ -1470,9 +1430,7 @@ module FinchAPI preferred_name: nil, residence: nil, ssn: nil - ) - end - + ); end sig do override .returns( @@ -1493,8 +1451,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Emails < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -1510,12 +1467,10 @@ module FinchAPI attr_writer :type sig { params(data: T::Boolean, type: T::Boolean).returns(T.attached_class) } - def self.new(data: nil, type: nil) - end + def self.new(data: nil, type: nil); end sig { override.returns({data: T::Boolean, type: T::Boolean}) } - def to_hash - end + def to_hash; end end class PhoneNumbers < FinchAPI::Internal::Type::BaseModel @@ -1532,12 +1487,10 @@ module FinchAPI attr_writer :type sig { params(data: T::Boolean, type: T::Boolean).returns(T.attached_class) } - def self.new(data: nil, type: nil) - end + def self.new(data: nil, type: nil); end sig { override.returns({data: T::Boolean, type: T::Boolean}) } - def to_hash - end + def to_hash; end end class Residence < FinchAPI::Internal::Type::BaseModel @@ -1588,8 +1541,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil) - end + def self.new(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil); end sig do override @@ -1604,8 +1556,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end @@ -1643,8 +1594,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(id: nil, individual_ids: nil, name: nil, pay_frequencies: nil) - end + def self.new(id: nil, individual_ids: nil, name: nil, pay_frequencies: nil); end sig do override @@ -1655,8 +1605,7 @@ module FinchAPI pay_frequencies: T::Boolean }) end - def to_hash - end + def to_hash; end end class PayStatement < FinchAPI::Internal::Type::BaseModel @@ -1709,8 +1658,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(paging: nil, pay_statements: nil) - end + def self.new(paging: nil, pay_statements: nil); end sig do override @@ -1721,8 +1669,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Paging < FinchAPI::Internal::Type::BaseModel sig { returns(T::Boolean) } @@ -1732,12 +1679,10 @@ module FinchAPI attr_accessor :offset sig { params(count: T::Boolean, offset: T::Boolean).returns(T.attached_class) } - def self.new(count:, offset:) - end + def self.new(count:, offset:); end sig { override.returns({count: T::Boolean, offset: T::Boolean}) } - def to_hash - end + def to_hash; end end class PayStatements < FinchAPI::Internal::Type::BaseModel @@ -1895,9 +1840,7 @@ module FinchAPI taxes: nil, total_hours: nil, type: nil - ) - end - + ); end sig do override .returns( @@ -1915,8 +1858,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Earnings < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -1947,8 +1889,7 @@ module FinchAPI params(amount: T::Boolean, currency: T::Boolean, name: T::Boolean, type: T::Boolean) .returns(T.attached_class) end - def self.new(amount: nil, currency: nil, name: nil, type: nil) - end + def self.new(amount: nil, currency: nil, name: nil, type: nil); end sig do override.returns( @@ -1960,8 +1901,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel @@ -2005,8 +1945,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, currency: nil, name: nil, pre_tax: nil, type: nil) - end + def self.new(amount: nil, currency: nil, name: nil, pre_tax: nil, type: nil); end sig do override @@ -2020,8 +1959,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end class EmployerContributions < FinchAPI::Internal::Type::BaseModel @@ -2046,12 +1984,10 @@ module FinchAPI sig do params(amount: T::Boolean, currency: T::Boolean, name: T::Boolean).returns(T.attached_class) end - def self.new(amount: nil, currency: nil, name: nil) - end + def self.new(amount: nil, currency: nil, name: nil); end sig { override.returns({amount: T::Boolean, currency: T::Boolean, name: T::Boolean}) } - def to_hash - end + def to_hash; end end class Taxes < FinchAPI::Internal::Type::BaseModel @@ -2095,8 +2031,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, currency: nil, employer: nil, name: nil, type: nil) - end + def self.new(amount: nil, currency: nil, employer: nil, name: nil, type: nil); end sig do override @@ -2110,8 +2045,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end @@ -2230,9 +2164,7 @@ module FinchAPI pay_frequencies: nil, pay_group_ids: nil, pay_period: nil - ) - end - + ); end sig do override .returns( @@ -2252,8 +2184,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class PayPeriod < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(T::Boolean)) } @@ -2269,12 +2200,10 @@ module FinchAPI attr_writer :start_date sig { params(end_date: T::Boolean, start_date: T::Boolean).returns(T.attached_class) } - def self.new(end_date: nil, start_date: nil) - end + def self.new(end_date: nil, start_date: nil); end sig { override.returns({end_date: T::Boolean, start_date: T::Boolean}) } - def to_hash - end + def to_hash; end end end end @@ -2295,8 +2224,7 @@ module FinchAPI OAUTH = T.let(:oauth, FinchAPI::Models::Provider::AuthenticationMethod::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Provider::AuthenticationMethod::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/provider_list_params.rbi b/rbi/lib/finch_api/models/provider_list_params.rbi index fa11410e..072c398b 100644 --- a/rbi/lib/finch_api/models/provider_list_params.rbi +++ b/rbi/lib/finch_api/models/provider_list_params.rbi @@ -10,12 +10,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/request_forwarding_forward_params.rbi b/rbi/lib/finch_api/models/request_forwarding_forward_params.rbi index 70eae296..047178c5 100644 --- a/rbi/lib/finch_api/models/request_forwarding_forward_params.rbi +++ b/rbi/lib/finch_api/models/request_forwarding_forward_params.rbi @@ -44,8 +44,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(method_:, route:, data: nil, headers: nil, params: nil, request_options: {}) - end + def self.new(method_:, route:, data: nil, headers: nil, params: nil, request_options: {}); end sig do override @@ -60,8 +59,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/request_forwarding_forward_response.rbi b/rbi/lib/finch_api/models/request_forwarding_forward_response.rbi index 75e92abf..f23a42dc 100644 --- a/rbi/lib/finch_api/models/request_forwarding_forward_response.rbi +++ b/rbi/lib/finch_api/models/request_forwarding_forward_response.rbi @@ -41,8 +41,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data:, headers:, request:, status_code:) - end + def self.new(data:, headers:, request:, status_code:); end sig do override @@ -55,8 +54,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Request < FinchAPI::Internal::Type::BaseModel # The body that was specified for the forwarded request. If a value was not @@ -96,8 +94,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data:, headers:, method_:, params:, route:) - end + def self.new(data:, headers:, method_:, params:, route:); end sig do override @@ -111,8 +108,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/company_update_params.rbi b/rbi/lib/finch_api/models/sandbox/company_update_params.rbi index b1b51c14..01851db6 100644 --- a/rbi/lib/finch_api/models/sandbox/company_update_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/company_update_params.rbi @@ -74,9 +74,7 @@ module FinchAPI primary_email:, primary_phone_number:, request_options: {} - ) - end - + ); end sig do override .returns( @@ -93,8 +91,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Account < FinchAPI::Internal::Type::BaseModel # The name of the bank associated in the payroll/HRIS system. @@ -149,8 +146,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The type of bank account. module AccountType @@ -170,8 +166,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::CompanyUpdateParams::Account::AccountType::TaggedSymbol]) end - def self.values - end + def self.values; end end end @@ -203,8 +198,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(name: nil, parent: nil) - end + def self.new(name: nil, parent: nil); end sig do override @@ -215,8 +209,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Parent < FinchAPI::Internal::Type::BaseModel # The parent department's name. @@ -225,12 +218,10 @@ module FinchAPI # The parent department, if present. sig { params(name: T.nilable(String)).returns(T.attached_class) } - def self.new(name: nil) - end + def self.new(name: nil); end sig { override.returns({name: T.nilable(String)}) } - def to_hash - end + def to_hash; end end end @@ -251,8 +242,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(subtype: nil, type: nil) - end + def self.new(subtype: nil, type: nil); end sig do override @@ -263,8 +253,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The tax payer subtype of the company. module Subtype @@ -283,8 +272,7 @@ module FinchAPI T.let(:b_corporation, FinchAPI::Models::Sandbox::CompanyUpdateParams::Entity::Subtype::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Sandbox::CompanyUpdateParams::Entity::Subtype::TaggedSymbol]) } - def self.values - end + def self.values; end end # The tax payer type of the company. @@ -310,8 +298,7 @@ module FinchAPI T.let(:cooperative, FinchAPI::Models::Sandbox::CompanyUpdateParams::Entity::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Sandbox::CompanyUpdateParams::Entity::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/company_update_response.rbi b/rbi/lib/finch_api/models/sandbox/company_update_response.rbi index 0ecae45b..4688accf 100644 --- a/rbi/lib/finch_api/models/sandbox/company_update_response.rbi +++ b/rbi/lib/finch_api/models/sandbox/company_update_response.rbi @@ -50,9 +50,9 @@ module FinchAPI ), departments: T.nilable( T::Array[ - T.nilable( - T.any(FinchAPI::Models::Sandbox::CompanyUpdateResponse::Department, FinchAPI::Internal::AnyHash) - ) + T.nilable( + T.any(FinchAPI::Models::Sandbox::CompanyUpdateResponse::Department, FinchAPI::Internal::AnyHash) + ) ] ), ein: T.nilable(String), @@ -91,8 +91,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Account < FinchAPI::Internal::Type::BaseModel # The name of the bank associated in the payroll/HRIS system. @@ -147,8 +146,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The type of bank account. module AccountType @@ -174,8 +172,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::CompanyUpdateResponse::Account::AccountType::TaggedSymbol]) end - def self.values - end + def self.values; end end end @@ -207,8 +204,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(name: nil, parent: nil) - end + def self.new(name: nil, parent: nil); end sig do override @@ -219,8 +215,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Parent < FinchAPI::Internal::Type::BaseModel # The parent department's name. @@ -229,12 +224,10 @@ module FinchAPI # The parent department, if present. sig { params(name: T.nilable(String)).returns(T.attached_class) } - def self.new(name: nil) - end + def self.new(name: nil); end sig { override.returns({name: T.nilable(String)}) } - def to_hash - end + def to_hash; end end end @@ -255,8 +248,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(subtype: nil, type: nil) - end + def self.new(subtype: nil, type: nil); end sig do override @@ -267,8 +259,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The tax payer subtype of the company. module Subtype @@ -289,8 +280,7 @@ module FinchAPI sig do override.returns(T::Array[FinchAPI::Models::Sandbox::CompanyUpdateResponse::Entity::Subtype::TaggedSymbol]) end - def self.values - end + def self.values; end end # The tax payer type of the company. @@ -316,8 +306,7 @@ module FinchAPI T.let(:cooperative, FinchAPI::Models::Sandbox::CompanyUpdateResponse::Entity::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Sandbox::CompanyUpdateResponse::Entity::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/connection_create_params.rbi b/rbi/lib/finch_api/models/sandbox/connection_create_params.rbi index 644661d5..b2095c42 100644 --- a/rbi/lib/finch_api/models/sandbox/connection_create_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/connection_create_params.rbi @@ -68,8 +68,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module AuthenticationType extend FinchAPI::Internal::Type::Enum @@ -92,8 +91,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::ConnectionCreateParams::AuthenticationType::TaggedSymbol]) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/connection_create_response.rbi b/rbi/lib/finch_api/models/sandbox/connection_create_response.rbi index b15a38fb..17fdab9e 100644 --- a/rbi/lib/finch_api/models/sandbox/connection_create_response.rbi +++ b/rbi/lib/finch_api/models/sandbox/connection_create_response.rbi @@ -57,9 +57,7 @@ module FinchAPI products:, provider_id:, token_type: nil - ) - end - + ); end sig do override .returns( @@ -75,8 +73,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module AuthenticationType extend FinchAPI::Internal::Type::Enum @@ -105,8 +102,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType::TaggedSymbol]) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/connections/account_create_params.rbi b/rbi/lib/finch_api/models/sandbox/connections/account_create_params.rbi index 4be45f51..7e4a92bf 100644 --- a/rbi/lib/finch_api/models/sandbox/connections/account_create_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/connections/account_create_params.rbi @@ -69,8 +69,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module AuthenticationType extend FinchAPI::Internal::Type::Enum @@ -113,8 +112,7 @@ module FinchAPI T::Array[FinchAPI::Models::Sandbox::Connections::AccountCreateParams::AuthenticationType::TaggedSymbol] ) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/connections/account_create_response.rbi b/rbi/lib/finch_api/models/sandbox/connections/account_create_response.rbi index 289d06dd..8008d45f 100644 --- a/rbi/lib/finch_api/models/sandbox/connections/account_create_response.rbi +++ b/rbi/lib/finch_api/models/sandbox/connections/account_create_response.rbi @@ -67,8 +67,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module AuthenticationType extend FinchAPI::Internal::Type::Enum @@ -111,8 +110,7 @@ module FinchAPI T::Array[FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::AuthenticationType::TaggedSymbol] ) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/connections/account_update_params.rbi b/rbi/lib/finch_api/models/sandbox/connections/account_update_params.rbi index 49752c17..347a3eb8 100644 --- a/rbi/lib/finch_api/models/sandbox/connections/account_update_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/connections/account_update_params.rbi @@ -21,8 +21,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(connection_status: nil, request_options: {}) - end + def self.new(connection_status: nil, request_options: {}); end sig do override @@ -33,8 +32,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/connections/account_update_response.rbi b/rbi/lib/finch_api/models/sandbox/connections/account_update_response.rbi index 1565f208..e440071d 100644 --- a/rbi/lib/finch_api/models/sandbox/connections/account_update_response.rbi +++ b/rbi/lib/finch_api/models/sandbox/connections/account_update_response.rbi @@ -64,8 +64,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module AuthenticationType extend FinchAPI::Internal::Type::Enum @@ -108,8 +107,7 @@ module FinchAPI T::Array[FinchAPI::Models::Sandbox::Connections::AccountUpdateResponse::AuthenticationType::TaggedSymbol] ) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/directory_create_params.rbi b/rbi/lib/finch_api/models/sandbox/directory_create_params.rbi index 0852c1b2..ed8b82f1 100644 --- a/rbi/lib/finch_api/models/sandbox/directory_create_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/directory_create_params.rbi @@ -27,8 +27,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(body: nil, request_options: {}) - end + def self.new(body: nil, request_options: {}); end sig do override @@ -39,8 +38,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Body < FinchAPI::Internal::Type::BaseModel # Worker's compensation classification code for this employee @@ -238,9 +236,9 @@ module FinchAPI middle_name: T.nilable(String), phone_numbers: T.nilable( T::Array[ - T.nilable( - T.any(FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber, FinchAPI::Internal::AnyHash) - ) + T.nilable( + T.any(FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber, FinchAPI::Internal::AnyHash) + ) ] ), preferred_name: T.nilable(String), @@ -280,9 +278,7 @@ module FinchAPI ssn: nil, start_date: nil, title: nil - ) - end - + ); end sig do override .returns( @@ -317,8 +313,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class CustomField < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(String)) } @@ -331,12 +326,10 @@ module FinchAPI attr_writer :value sig { params(name: T.nilable(String), value: T.anything).returns(T.attached_class) } - def self.new(name: nil, value: nil) - end + def self.new(name: nil, value: nil); end sig { override.returns({name: T.nilable(String), value: T.anything}) } - def to_hash - end + def to_hash; end end class Department < FinchAPI::Internal::Type::BaseModel @@ -346,12 +339,10 @@ module FinchAPI # The department object. sig { params(name: T.nilable(String)).returns(T.attached_class) } - def self.new(name: nil) - end + def self.new(name: nil); end sig { override.returns({name: T.nilable(String)}) } - def to_hash - end + def to_hash; end end class Email < FinchAPI::Internal::Type::BaseModel @@ -371,8 +362,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, type: nil) - end + def self.new(data: nil, type: nil); end sig do override @@ -380,8 +370,7 @@ module FinchAPI {data: String, type: T.nilable(FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Email::Type::OrSymbol)} ) end - def to_hash - end + def to_hash; end module Type extend FinchAPI::Internal::Type::Enum @@ -399,8 +388,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Email::Type::TaggedSymbol]) end - def self.values - end + def self.values; end end end @@ -422,8 +410,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(subtype: nil, type: nil) - end + def self.new(subtype: nil, type: nil); end sig do override @@ -434,8 +421,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The secondary employment type of the individual. Options: `full_time`, # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. @@ -484,8 +470,7 @@ module FinchAPI T::Array[FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Employment::Subtype::TaggedSymbol] ) end - def self.values - end + def self.values; end end # The main employment type of the individual. @@ -512,8 +497,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Employment::Type::TaggedSymbol]) end - def self.values - end + def self.values; end end end @@ -551,8 +535,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::EmploymentStatus::TaggedSymbol]) end - def self.values - end + def self.values; end end # The EEOC-defined ethnicity of the individual. @@ -597,8 +580,7 @@ module FinchAPI sig do override.returns(T::Array[FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Ethnicity::TaggedSymbol]) end - def self.values - end + def self.values; end end # The gender of the individual. @@ -617,8 +599,7 @@ module FinchAPI T.let(:decline_to_specify, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Gender::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Gender::TaggedSymbol]) } - def self.values - end + def self.values; end end class Manager < FinchAPI::Internal::Type::BaseModel @@ -631,12 +612,10 @@ module FinchAPI # The manager object representing the manager of the individual within the org. sig { params(id: String).returns(T.attached_class) } - def self.new(id: nil) - end + def self.new(id: nil); end sig { override.returns({id: String}) } - def to_hash - end + def to_hash; end end class PhoneNumber < FinchAPI::Internal::Type::BaseModel @@ -653,8 +632,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, type: nil) - end + def self.new(data: nil, type: nil); end sig do override @@ -665,8 +643,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module Type extend FinchAPI::Internal::Type::Enum @@ -691,8 +668,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber::Type::TaggedSymbol]) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/employment_update_params.rbi b/rbi/lib/finch_api/models/sandbox/employment_update_params.rbi index a6777886..a1c8a57c 100644 --- a/rbi/lib/finch_api/models/sandbox/employment_update_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/employment_update_params.rbi @@ -172,9 +172,7 @@ module FinchAPI start_date: nil, title: nil, request_options: {} - ) - end - + ); end sig do override .returns( @@ -201,8 +199,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class CustomField < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(String)) } @@ -215,12 +212,10 @@ module FinchAPI attr_writer :value sig { params(name: T.nilable(String), value: T.anything).returns(T.attached_class) } - def self.new(name: nil, value: nil) - end + def self.new(name: nil, value: nil); end sig { override.returns({name: T.nilable(String), value: T.anything}) } - def to_hash - end + def to_hash; end end class Department < FinchAPI::Internal::Type::BaseModel @@ -230,12 +225,10 @@ module FinchAPI # The department object. sig { params(name: T.nilable(String)).returns(T.attached_class) } - def self.new(name: nil) - end + def self.new(name: nil); end sig { override.returns({name: T.nilable(String)}) } - def to_hash - end + def to_hash; end end class Employment < FinchAPI::Internal::Type::BaseModel @@ -256,8 +249,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(subtype: nil, type: nil) - end + def self.new(subtype: nil, type: nil); end sig do override @@ -268,8 +260,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The secondary employment type of the individual. Options: `full_time`, # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. @@ -306,8 +297,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::EmploymentUpdateParams::Employment::Subtype::TaggedSymbol]) end - def self.values - end + def self.values; end end # The main employment type of the individual. @@ -328,8 +318,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::EmploymentUpdateParams::Employment::Type::TaggedSymbol]) end - def self.values - end + def self.values; end end end @@ -360,8 +349,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::EmploymentUpdateParams::EmploymentStatus::TaggedSymbol]) end - def self.values - end + def self.values; end end class Manager < FinchAPI::Internal::Type::BaseModel @@ -374,12 +362,10 @@ module FinchAPI # The manager object representing the manager of the individual within the org. sig { params(id: String).returns(T.attached_class) } - def self.new(id: nil) - end + def self.new(id: nil); end sig { override.returns({id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/employment_update_response.rbi b/rbi/lib/finch_api/models/sandbox/employment_update_response.rbi index 009c76e7..9d2bbf97 100644 --- a/rbi/lib/finch_api/models/sandbox/employment_update_response.rbi +++ b/rbi/lib/finch_api/models/sandbox/employment_update_response.rbi @@ -180,9 +180,7 @@ module FinchAPI source_id: nil, start_date: nil, title: nil - ) - end - + ); end sig do override .returns( @@ -209,8 +207,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class CustomField < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(String)) } @@ -223,12 +220,10 @@ module FinchAPI attr_writer :value sig { params(name: T.nilable(String), value: T.anything).returns(T.attached_class) } - def self.new(name: nil, value: nil) - end + def self.new(name: nil, value: nil); end sig { override.returns({name: T.nilable(String), value: T.anything}) } - def to_hash - end + def to_hash; end end class Department < FinchAPI::Internal::Type::BaseModel @@ -238,12 +233,10 @@ module FinchAPI # The department object. sig { params(name: T.nilable(String)).returns(T.attached_class) } - def self.new(name: nil) - end + def self.new(name: nil); end sig { override.returns({name: T.nilable(String)}) } - def to_hash - end + def to_hash; end end class Employment < FinchAPI::Internal::Type::BaseModel @@ -264,8 +257,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(subtype: nil, type: nil) - end + def self.new(subtype: nil, type: nil); end sig do override @@ -276,8 +268,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end # The secondary employment type of the individual. Options: `full_time`, # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. @@ -315,8 +306,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::EmploymentUpdateResponse::Employment::Subtype::TaggedSymbol]) end - def self.values - end + def self.values; end end # The main employment type of the individual. @@ -337,8 +327,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::EmploymentUpdateResponse::Employment::Type::TaggedSymbol]) end - def self.values - end + def self.values; end end end @@ -370,8 +359,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::EmploymentUpdateResponse::EmploymentStatus::TaggedSymbol]) end - def self.values - end + def self.values; end end class Manager < FinchAPI::Internal::Type::BaseModel @@ -384,12 +372,10 @@ module FinchAPI # The manager object representing the manager of the individual within the org. sig { params(id: String).returns(T.attached_class) } - def self.new(id: nil) - end + def self.new(id: nil); end sig { override.returns({id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/individual_update_params.rbi b/rbi/lib/finch_api/models/sandbox/individual_update_params.rbi index 3812a842..dc37daa9 100644 --- a/rbi/lib/finch_api/models/sandbox/individual_update_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/individual_update_params.rbi @@ -73,9 +73,9 @@ module FinchAPI middle_name: T.nilable(String), phone_numbers: T.nilable( T::Array[ - T.nilable( - T.any(FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber, FinchAPI::Internal::AnyHash) - ) + T.nilable( + T.any(FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber, FinchAPI::Internal::AnyHash) + ) ] ), preferred_name: T.nilable(String), @@ -99,9 +99,7 @@ module FinchAPI residence: nil, ssn: nil, request_options: {} - ) - end - + ); end sig do override .returns( @@ -122,8 +120,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Email < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(String)) } @@ -142,8 +139,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, type: nil) - end + def self.new(data: nil, type: nil); end sig do override @@ -151,8 +147,7 @@ module FinchAPI {data: String, type: T.nilable(FinchAPI::Models::Sandbox::IndividualUpdateParams::Email::Type::OrSymbol)} ) end - def to_hash - end + def to_hash; end module Type extend FinchAPI::Internal::Type::Enum @@ -166,8 +161,7 @@ module FinchAPI PERSONAL = T.let(:personal, FinchAPI::Models::Sandbox::IndividualUpdateParams::Email::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Sandbox::IndividualUpdateParams::Email::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end @@ -205,8 +199,7 @@ module FinchAPI T.let(:decline_to_specify, FinchAPI::Models::Sandbox::IndividualUpdateParams::Ethnicity::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Sandbox::IndividualUpdateParams::Ethnicity::TaggedSymbol]) } - def self.values - end + def self.values; end end # The gender of the individual. @@ -224,8 +217,7 @@ module FinchAPI T.let(:decline_to_specify, FinchAPI::Models::Sandbox::IndividualUpdateParams::Gender::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Sandbox::IndividualUpdateParams::Gender::TaggedSymbol]) } - def self.values - end + def self.values; end end class PhoneNumber < FinchAPI::Internal::Type::BaseModel @@ -242,8 +234,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, type: nil) - end + def self.new(data: nil, type: nil); end sig do override @@ -254,8 +245,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module Type extend FinchAPI::Internal::Type::Enum @@ -273,8 +263,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber::Type::TaggedSymbol]) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/individual_update_response.rbi b/rbi/lib/finch_api/models/sandbox/individual_update_response.rbi index 4e77f901..5ae6b7e1 100644 --- a/rbi/lib/finch_api/models/sandbox/individual_update_response.rbi +++ b/rbi/lib/finch_api/models/sandbox/individual_update_response.rbi @@ -78,9 +78,9 @@ module FinchAPI middle_name: T.nilable(String), phone_numbers: T.nilable( T::Array[ - T.nilable( - T.any(FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber, FinchAPI::Internal::AnyHash) - ) + T.nilable( + T.any(FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber, FinchAPI::Internal::AnyHash) + ) ] ), preferred_name: T.nilable(String), @@ -103,9 +103,7 @@ module FinchAPI preferred_name: nil, residence: nil, ssn: nil - ) - end - + ); end sig do override .returns( @@ -126,8 +124,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Email < FinchAPI::Internal::Type::BaseModel sig { returns(T.nilable(String)) } @@ -146,8 +143,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, type: nil) - end + def self.new(data: nil, type: nil); end sig do override @@ -158,8 +154,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module Type extend FinchAPI::Internal::Type::Enum @@ -174,8 +169,7 @@ module FinchAPI T.let(:personal, FinchAPI::Models::Sandbox::IndividualUpdateResponse::Email::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Sandbox::IndividualUpdateResponse::Email::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end @@ -213,8 +207,7 @@ module FinchAPI T.let(:decline_to_specify, FinchAPI::Models::Sandbox::IndividualUpdateResponse::Ethnicity::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Sandbox::IndividualUpdateResponse::Ethnicity::TaggedSymbol]) } - def self.values - end + def self.values; end end # The gender of the individual. @@ -233,8 +226,7 @@ module FinchAPI T.let(:decline_to_specify, FinchAPI::Models::Sandbox::IndividualUpdateResponse::Gender::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Sandbox::IndividualUpdateResponse::Gender::TaggedSymbol]) } - def self.values - end + def self.values; end end class PhoneNumber < FinchAPI::Internal::Type::BaseModel @@ -251,8 +243,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(data: nil, type: nil) - end + def self.new(data: nil, type: nil); end sig do override @@ -263,8 +254,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module Type extend FinchAPI::Internal::Type::Enum @@ -288,8 +278,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::IndividualUpdateResponse::PhoneNumber::Type::TaggedSymbol]) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/job_create_params.rbi b/rbi/lib/finch_api/models/sandbox/job_create_params.rbi index 32c2e2e5..ad133db6 100644 --- a/rbi/lib/finch_api/models/sandbox/job_create_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/job_create_params.rbi @@ -18,8 +18,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(type:, request_options: {}) - end + def self.new(type:, request_options: {}); end sig do override @@ -27,8 +26,7 @@ module FinchAPI {type: FinchAPI::Models::Sandbox::JobCreateParams::Type::OrSymbol, request_options: FinchAPI::RequestOptions} ) end - def to_hash - end + def to_hash; end # The type of job to start. Currently the only supported type is `data_sync_all` module Type @@ -41,8 +39,7 @@ module FinchAPI DATA_SYNC_ALL = T.let(:data_sync_all, FinchAPI::Models::Sandbox::JobCreateParams::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Sandbox::JobCreateParams::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/job_create_response.rbi b/rbi/lib/finch_api/models/sandbox/job_create_response.rbi index 52a35cfa..40b3da87 100644 --- a/rbi/lib/finch_api/models/sandbox/job_create_response.rbi +++ b/rbi/lib/finch_api/models/sandbox/job_create_response.rbi @@ -24,8 +24,7 @@ module FinchAPI params(allowed_refreshes: Integer, job_id: String, job_url: String, remaining_refreshes: Integer) .returns(T.attached_class) end - def self.new(allowed_refreshes:, job_id:, job_url:, remaining_refreshes:) - end + def self.new(allowed_refreshes:, job_id:, job_url:, remaining_refreshes:); end sig do override @@ -36,8 +35,7 @@ module FinchAPI remaining_refreshes: Integer }) end - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/jobs/configuration_retrieve_params.rbi b/rbi/lib/finch_api/models/sandbox/jobs/configuration_retrieve_params.rbi index 112474c3..2c437639 100644 --- a/rbi/lib/finch_api/models/sandbox/jobs/configuration_retrieve_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/jobs/configuration_retrieve_params.rbi @@ -12,12 +12,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/jobs/configuration_update_params.rbi b/rbi/lib/finch_api/models/sandbox/jobs/configuration_update_params.rbi index bd0b3f11..2770373e 100644 --- a/rbi/lib/finch_api/models/sandbox/jobs/configuration_update_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/jobs/configuration_update_params.rbi @@ -12,12 +12,10 @@ module FinchAPI params(request_options: T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) .returns(T.attached_class) end - def self.new(request_options: {}) - end + def self.new(request_options: {}); end sig { override.returns({request_options: FinchAPI::RequestOptions}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/jobs/sandbox_job_configuration.rbi b/rbi/lib/finch_api/models/sandbox/jobs/sandbox_job_configuration.rbi index 3076fd8a..0a6be35e 100644 --- a/rbi/lib/finch_api/models/sandbox/jobs/sandbox_job_configuration.rbi +++ b/rbi/lib/finch_api/models/sandbox/jobs/sandbox_job_configuration.rbi @@ -18,8 +18,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(completion_status:, type:) - end + def self.new(completion_status:, type:); end sig do override @@ -30,8 +29,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end module CompletionStatus extend FinchAPI::Internal::Type::Enum @@ -68,8 +66,7 @@ module FinchAPI T::Array[FinchAPI::Models::Sandbox::Jobs::SandboxJobConfiguration::CompletionStatus::TaggedSymbol] ) end - def self.values - end + def self.values; end end module Type @@ -84,8 +81,7 @@ module FinchAPI T.let(:data_sync_all, FinchAPI::Models::Sandbox::Jobs::SandboxJobConfiguration::Type::TaggedSymbol) sig { override.returns(T::Array[FinchAPI::Models::Sandbox::Jobs::SandboxJobConfiguration::Type::TaggedSymbol]) } - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/payment_create_params.rbi b/rbi/lib/finch_api/models/sandbox/payment_create_params.rbi index b0015426..83cefbaa 100644 --- a/rbi/lib/finch_api/models/sandbox/payment_create_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/payment_create_params.rbi @@ -39,8 +39,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(end_date: nil, pay_statements: nil, start_date: nil, request_options: {}) - end + def self.new(end_date: nil, pay_statements: nil, start_date: nil, request_options: {}); end sig do override @@ -53,8 +52,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class PayStatement < FinchAPI::Internal::Type::BaseModel # The array of earnings objects associated with this pay statement @@ -123,29 +121,29 @@ module FinchAPI params( earnings: T.nilable( T::Array[ - T.nilable( - T.any(FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::Earning, FinchAPI::Internal::AnyHash) - ) + T.nilable( + T.any(FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::Earning, FinchAPI::Internal::AnyHash) + ) ] ), employee_deductions: T.nilable( T::Array[ - T.nilable( - T.any( - FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployeeDeduction, - FinchAPI::Internal::AnyHash + T.nilable( + T.any( + FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployeeDeduction, + FinchAPI::Internal::AnyHash + ) ) - ) ] ), employer_contributions: T.nilable( T::Array[ - T.nilable( - T.any( - FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution, - FinchAPI::Internal::AnyHash + T.nilable( + T.any( + FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution, + FinchAPI::Internal::AnyHash + ) ) - ) ] ), gross_pay: T.nilable(T.any(FinchAPI::Models::Money, FinchAPI::Internal::AnyHash)), @@ -154,9 +152,9 @@ module FinchAPI payment_method: T.nilable(FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::PaymentMethod::OrSymbol), taxes: T.nilable( T::Array[ - T.nilable( - T.any(FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::Tax, FinchAPI::Internal::AnyHash) - ) + T.nilable( + T.any(FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::Tax, FinchAPI::Internal::AnyHash) + ) ] ), total_hours: T.nilable(Float), @@ -175,9 +173,7 @@ module FinchAPI taxes: nil, total_hours: nil, type: nil - ) - end - + ); end sig do override .returns( @@ -199,8 +195,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Earning < FinchAPI::Internal::Type::BaseModel # The earnings amount in cents. @@ -256,8 +251,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, attributes: nil, currency: nil, hours: nil, name: nil, type: nil) - end + def self.new(amount: nil, attributes: nil, currency: nil, hours: nil, name: nil, type: nil); end sig do override @@ -272,8 +266,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel sig do @@ -303,8 +296,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig do override @@ -312,8 +304,7 @@ module FinchAPI {metadata: FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::Earning::Attributes::Metadata} ) end - def to_hash - end + def to_hash; end class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value @@ -326,12 +317,10 @@ module FinchAPI attr_writer :metadata sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end end @@ -398,8 +387,7 @@ module FinchAPI T::Array[FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::Earning::Type::TaggedSymbol] ) end - def self.values - end + def self.values; end end end @@ -460,8 +448,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, attributes: nil, currency: nil, name: nil, pre_tax: nil, type: nil) - end + def self.new(amount: nil, attributes: nil, currency: nil, name: nil, pre_tax: nil, type: nil); end sig do override @@ -476,8 +463,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel sig do @@ -509,8 +495,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig do override @@ -520,8 +505,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value @@ -534,12 +518,10 @@ module FinchAPI attr_writer :metadata sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end end end @@ -596,8 +578,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(amount: nil, attributes: nil, currency: nil, name: nil, type: nil) - end + def self.new(amount: nil, attributes: nil, currency: nil, name: nil, type: nil); end sig do override @@ -611,8 +592,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel sig do @@ -644,8 +624,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig do override @@ -655,8 +634,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value @@ -669,12 +647,10 @@ module FinchAPI attr_writer :metadata sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end end end @@ -708,8 +684,7 @@ module FinchAPI T::Array[FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::PaymentMethod::TaggedSymbol] ) end - def self.values - end + def self.values; end end class Tax < FinchAPI::Internal::Type::BaseModel @@ -781,8 +756,7 @@ module FinchAPI } ) end - def to_hash - end + def to_hash; end class Attributes < FinchAPI::Internal::Type::BaseModel sig do @@ -812,8 +786,7 @@ module FinchAPI ) .returns(T.attached_class) end - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig do override @@ -821,8 +794,7 @@ module FinchAPI {metadata: FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::Tax::Attributes::Metadata} ) end - def to_hash - end + def to_hash; end class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value @@ -835,12 +807,10 @@ module FinchAPI attr_writer :metadata sig { params(metadata: T::Hash[Symbol, T.anything]).returns(T.attached_class) } - def self.new(metadata: nil) - end + def self.new(metadata: nil); end sig { override.returns({metadata: T::Hash[Symbol, T.anything]}) } - def to_hash - end + def to_hash; end end end @@ -872,8 +842,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::Tax::Type::TaggedSymbol]) end - def self.values - end + def self.values; end end end @@ -900,8 +869,7 @@ module FinchAPI override .returns(T::Array[FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::Type::TaggedSymbol]) end - def self.values - end + def self.values; end end end end diff --git a/rbi/lib/finch_api/models/sandbox/payment_create_response.rbi b/rbi/lib/finch_api/models/sandbox/payment_create_response.rbi index 08607189..177179a9 100644 --- a/rbi/lib/finch_api/models/sandbox/payment_create_response.rbi +++ b/rbi/lib/finch_api/models/sandbox/payment_create_response.rbi @@ -13,12 +13,10 @@ module FinchAPI attr_accessor :payment_id sig { params(pay_date: String, payment_id: String).returns(T.attached_class) } - def self.new(pay_date:, payment_id:) - end + def self.new(pay_date:, payment_id:); end sig { override.returns({pay_date: String, payment_id: String}) } - def to_hash - end + def to_hash; end end end end diff --git a/rbi/lib/finch_api/models/webhook_event.rbi b/rbi/lib/finch_api/models/webhook_event.rbi index 2d8a454f..f2835def 100644 --- a/rbi/lib/finch_api/models/webhook_event.rbi +++ b/rbi/lib/finch_api/models/webhook_event.rbi @@ -11,8 +11,7 @@ module FinchAPI [FinchAPI::Models::AccountUpdateEvent, FinchAPI::Models::CompanyEvent, FinchAPI::Models::JobCompletionEvent, FinchAPI::Models::DirectoryEvent, FinchAPI::Models::EmploymentEvent, FinchAPI::Models::IndividualEvent, FinchAPI::Models::PaymentEvent, FinchAPI::Models::PayStatementEvent] ) end - def self.variants - end + def self.variants; end end end end diff --git a/rbi/lib/finch_api/request_options.rbi b/rbi/lib/finch_api/request_options.rbi index 62adf0e3..f68b4ad2 100644 --- a/rbi/lib/finch_api/request_options.rbi +++ b/rbi/lib/finch_api/request_options.rbi @@ -9,8 +9,7 @@ module FinchAPI class RequestOptions < FinchAPI::Internal::Type::BaseModel # @api private sig { params(opts: T.any(T.self_type, T::Hash[Symbol, T.anything])).void } - def self.validate!(opts) - end + def self.validate!(opts); end # Idempotency key to send with request and all associated retries. Will only be # sent for write requests. @@ -42,7 +41,6 @@ module FinchAPI # Returns a new instance of RequestOptions. sig { params(values: FinchAPI::Internal::AnyHash).returns(T.attached_class) } - def self.new(values = {}) - end + def self.new(values = {}); end end end diff --git a/rbi/lib/finch_api/resources/access_tokens.rbi b/rbi/lib/finch_api/resources/access_tokens.rbi index 8df776c8..6fa1e342 100644 --- a/rbi/lib/finch_api/resources/access_tokens.rbi +++ b/rbi/lib/finch_api/resources/access_tokens.rbi @@ -14,13 +14,11 @@ module FinchAPI ) .returns(FinchAPI::Models::CreateAccessTokenResponse) end - def create(code:, client_id: nil, client_secret: nil, redirect_uri: nil, request_options: {}) - end + def create(code:, client_id: nil, client_secret: nil, redirect_uri: nil, request_options: {}); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/account.rbi b/rbi/lib/finch_api/resources/account.rbi index 4585b73d..b23f9674 100644 --- a/rbi/lib/finch_api/resources/account.rbi +++ b/rbi/lib/finch_api/resources/account.rbi @@ -8,21 +8,18 @@ module FinchAPI params(request_options: T.nilable(T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash))) .returns(FinchAPI::Models::DisconnectResponse) end - def disconnect(request_options: {}) - end + def disconnect(request_options: {}); end # Read account information associated with an `access_token` sig do params(request_options: T.nilable(T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash))) .returns(FinchAPI::Models::Introspection) end - def introspect(request_options: {}) - end + def introspect(request_options: {}); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/connect.rbi b/rbi/lib/finch_api/resources/connect.rbi index 63c93029..b647069c 100644 --- a/rbi/lib/finch_api/resources/connect.rbi +++ b/rbi/lib/finch_api/resources/connect.rbi @@ -8,8 +8,7 @@ module FinchAPI # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/connect/sessions.rbi b/rbi/lib/finch_api/resources/connect/sessions.rbi index b403d322..ffe6436d 100644 --- a/rbi/lib/finch_api/resources/connect/sessions.rbi +++ b/rbi/lib/finch_api/resources/connect/sessions.rbi @@ -33,9 +33,7 @@ module FinchAPI redirect_uri: nil, sandbox: nil, request_options: {} - ) - end - + ); end # Create a new Connect session for reauthenticating an existing connection sig do params( @@ -58,13 +56,10 @@ module FinchAPI # The URI to redirect to after the Connect flow is completed redirect_uri: nil, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/hris.rbi b/rbi/lib/finch_api/resources/hris.rbi index 460c720e..8a76d043 100644 --- a/rbi/lib/finch_api/resources/hris.rbi +++ b/rbi/lib/finch_api/resources/hris.rbi @@ -29,8 +29,7 @@ module FinchAPI # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/hris/benefits.rbi b/rbi/lib/finch_api/resources/hris/benefits.rbi index b3562454..5e94f625 100644 --- a/rbi/lib/finch_api/resources/hris/benefits.rbi +++ b/rbi/lib/finch_api/resources/hris/benefits.rbi @@ -28,9 +28,7 @@ module FinchAPI # Type of benefit. type: nil, request_options: {} - ) - end - + ); end # Lists deductions and contributions information for a given item sig do params( @@ -39,8 +37,7 @@ module FinchAPI ) .returns(FinchAPI::Models::HRIS::CompanyBenefit) end - def retrieve(benefit_id, request_options: {}) - end + def retrieve(benefit_id, request_options: {}); end # Updates an existing company-wide deduction or contribution sig do @@ -56,29 +53,24 @@ module FinchAPI # Updated name or description. description: nil, request_options: {} - ) - end - + ); end # List all company-wide deductions and contributions. sig do params(request_options: T.nilable(T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash))) .returns(FinchAPI::Internal::SinglePage[FinchAPI::Models::HRIS::CompanyBenefit]) end - def list(request_options: {}) - end + def list(request_options: {}); end # Get deductions metadata sig do params(request_options: T.nilable(T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash))) .returns(FinchAPI::Internal::SinglePage[FinchAPI::Models::HRIS::SupportedBenefit]) end - def list_supported_benefits(request_options: {}) - end + def list_supported_benefits(request_options: {}); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/hris/benefits/individuals.rbi b/rbi/lib/finch_api/resources/hris/benefits/individuals.rbi index 48103e1b..f2d5882d 100644 --- a/rbi/lib/finch_api/resources/hris/benefits/individuals.rbi +++ b/rbi/lib/finch_api/resources/hris/benefits/individuals.rbi @@ -13,10 +13,10 @@ module FinchAPI params( benefit_id: String, individuals: T::Array[ - T.any( - FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual, + FinchAPI::Internal::AnyHash + ) ], request_options: T.nilable(T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash)) ) @@ -27,9 +27,7 @@ module FinchAPI # Array of the individual_id to enroll and a configuration object. individuals: nil, request_options: {} - ) - end - + ); end # Lists individuals currently enrolled in a given deduction. sig do params( @@ -38,8 +36,7 @@ module FinchAPI ) .returns(FinchAPI::Models::HRIS::Benefits::IndividualEnrolledIDsResponse) end - def enrolled_ids(benefit_id, request_options: {}) - end + def enrolled_ids(benefit_id, request_options: {}); end # Get enrollment information for the given individuals. sig do @@ -56,9 +53,7 @@ module FinchAPI # defaults to all individuals individual_ids: nil, request_options: {} - ) - end - + ); end # Unenroll individuals from a deduction or contribution sig do params( @@ -73,13 +68,10 @@ module FinchAPI # Array of individual_ids to unenroll. individual_ids: nil, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/hris/company.rbi b/rbi/lib/finch_api/resources/hris/company.rbi index ee1d7fec..9e924600 100644 --- a/rbi/lib/finch_api/resources/hris/company.rbi +++ b/rbi/lib/finch_api/resources/hris/company.rbi @@ -12,13 +12,11 @@ module FinchAPI params(request_options: T.nilable(T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash))) .returns(FinchAPI::Models::HRIS::HRISCompany) end - def retrieve(request_options: {}) - end + def retrieve(request_options: {}); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/hris/company/pay_statement_item.rbi b/rbi/lib/finch_api/resources/hris/company/pay_statement_item.rbi index 8ee202c3..bde3b0e4 100644 --- a/rbi/lib/finch_api/resources/hris/company/pay_statement_item.rbi +++ b/rbi/lib/finch_api/resources/hris/company/pay_statement_item.rbi @@ -37,13 +37,10 @@ module FinchAPI # String search by pay statement item type. type: nil, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/hris/company/pay_statement_item/rules.rbi b/rbi/lib/finch_api/resources/hris/company/pay_statement_item/rules.rbi index 2d94add5..feefe7b6 100644 --- a/rbi/lib/finch_api/resources/hris/company/pay_statement_item/rules.rbi +++ b/rbi/lib/finch_api/resources/hris/company/pay_statement_item/rules.rbi @@ -19,10 +19,10 @@ module FinchAPI FinchAPI::Internal::AnyHash ), conditions: T::Array[ - T.any( - FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition, - FinchAPI::Internal::AnyHash - ) + T.any( + FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition, + FinchAPI::Internal::AnyHash + ) ], effective_end_date: T.nilable(String), effective_start_date: T.nilable(String), @@ -42,9 +42,7 @@ module FinchAPI # The entity type to which the rule is applied. entity_type: nil, request_options: {} - ) - end - + ); end # **Beta:** this endpoint currently serves employers onboarded after March 4th and # historical support will be added soon Update a rule for a pay statement item. sig do @@ -55,8 +53,7 @@ module FinchAPI ) .returns(FinchAPI::Models::HRIS::Company::PayStatementItem::RuleUpdateResponse) end - def update(rule_id, optional_property: nil, request_options: {}) - end + def update(rule_id, optional_property: nil, request_options: {}); end # **Beta:** this endpoint currently serves employers onboarded after March 4th and # historical support will be added soon List all rules of a connection account. @@ -66,8 +63,7 @@ module FinchAPI FinchAPI::Internal::ResponsesPage[FinchAPI::Models::HRIS::Company::PayStatementItem::RuleListResponse] ) end - def list(request_options: {}) - end + def list(request_options: {}); end # **Beta:** this endpoint currently serves employers onboarded after March 4th and # historical support will be added soon Delete a rule for a pay statement item. @@ -78,13 +74,11 @@ module FinchAPI ) .returns(FinchAPI::Models::HRIS::Company::PayStatementItem::RuleDeleteResponse) end - def delete(rule_id, request_options: {}) - end + def delete(rule_id, request_options: {}); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/hris/directory.rbi b/rbi/lib/finch_api/resources/hris/directory.rbi index 39bac6c2..e51a57a4 100644 --- a/rbi/lib/finch_api/resources/hris/directory.rbi +++ b/rbi/lib/finch_api/resources/hris/directory.rbi @@ -19,13 +19,10 @@ module FinchAPI # Index to start from (defaults to 0) offset: nil, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/hris/documents.rbi b/rbi/lib/finch_api/resources/hris/documents.rbi index b9afbcac..6372b56d 100644 --- a/rbi/lib/finch_api/resources/hris/documents.rbi +++ b/rbi/lib/finch_api/resources/hris/documents.rbi @@ -28,9 +28,7 @@ module FinchAPI # types types: nil, request_options: {} - ) - end - + ); end # **Beta:** This endpoint is in beta and may change. Retrieve details of a # specific document by its ID. sig do @@ -44,13 +42,10 @@ module FinchAPI # The unique identifier of the document. document_id, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/hris/employments.rbi b/rbi/lib/finch_api/resources/hris/employments.rbi index 63415bab..3c3989f7 100644 --- a/rbi/lib/finch_api/resources/hris/employments.rbi +++ b/rbi/lib/finch_api/resources/hris/employments.rbi @@ -16,13 +16,10 @@ module FinchAPI # The array of batch requests. requests:, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/hris/individuals.rbi b/rbi/lib/finch_api/resources/hris/individuals.rbi index 45204dc7..411cd091 100644 --- a/rbi/lib/finch_api/resources/hris/individuals.rbi +++ b/rbi/lib/finch_api/resources/hris/individuals.rbi @@ -15,13 +15,11 @@ module FinchAPI ) .returns(FinchAPI::Internal::ResponsesPage[FinchAPI::Models::HRIS::IndividualResponse]) end - def retrieve_many(options: nil, requests: nil, request_options: {}) - end + def retrieve_many(options: nil, requests: nil, request_options: {}); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/hris/pay_statements.rbi b/rbi/lib/finch_api/resources/hris/pay_statements.rbi index 348149a9..d6bf8ccf 100644 --- a/rbi/lib/finch_api/resources/hris/pay_statements.rbi +++ b/rbi/lib/finch_api/resources/hris/pay_statements.rbi @@ -19,13 +19,10 @@ module FinchAPI # The array of batch requests. requests:, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/hris/payments.rbi b/rbi/lib/finch_api/resources/hris/payments.rbi index 5376a486..c7177109 100644 --- a/rbi/lib/finch_api/resources/hris/payments.rbi +++ b/rbi/lib/finch_api/resources/hris/payments.rbi @@ -21,13 +21,10 @@ module FinchAPI # format. start_date:, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/jobs.rbi b/rbi/lib/finch_api/resources/jobs.rbi index 58bbffff..bc73497f 100644 --- a/rbi/lib/finch_api/resources/jobs.rbi +++ b/rbi/lib/finch_api/resources/jobs.rbi @@ -11,8 +11,7 @@ module FinchAPI # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/jobs/automated.rbi b/rbi/lib/finch_api/resources/jobs/automated.rbi index b7c30bc8..d2400e7e 100644 --- a/rbi/lib/finch_api/resources/jobs/automated.rbi +++ b/rbi/lib/finch_api/resources/jobs/automated.rbi @@ -31,9 +31,7 @@ module FinchAPI type:, params:, request_options: {} - ) - end - + ); end # Get an automated job by `job_id`. sig do params( @@ -42,8 +40,7 @@ module FinchAPI ) .returns(FinchAPI::Models::Jobs::AutomatedAsyncJob) end - def retrieve(job_id, request_options: {}) - end + def retrieve(job_id, request_options: {}); end # Get all automated jobs. Automated jobs are completed by a machine. By default, # jobs are sorted in descending order by submission time. For scheduled jobs such @@ -62,13 +59,10 @@ module FinchAPI # Index to start from (defaults to 0) offset: nil, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/jobs/manual.rbi b/rbi/lib/finch_api/resources/jobs/manual.rbi index 28efce16..b1b22307 100644 --- a/rbi/lib/finch_api/resources/jobs/manual.rbi +++ b/rbi/lib/finch_api/resources/jobs/manual.rbi @@ -13,13 +13,11 @@ module FinchAPI ) .returns(FinchAPI::Models::Jobs::ManualAsyncJob) end - def retrieve(job_id, request_options: {}) - end + def retrieve(job_id, request_options: {}); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/payroll.rbi b/rbi/lib/finch_api/resources/payroll.rbi index 922677a1..692e69d5 100644 --- a/rbi/lib/finch_api/resources/payroll.rbi +++ b/rbi/lib/finch_api/resources/payroll.rbi @@ -8,8 +8,7 @@ module FinchAPI # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/payroll/pay_groups.rbi b/rbi/lib/finch_api/resources/payroll/pay_groups.rbi index a296fbb2..1d11e921 100644 --- a/rbi/lib/finch_api/resources/payroll/pay_groups.rbi +++ b/rbi/lib/finch_api/resources/payroll/pay_groups.rbi @@ -12,8 +12,7 @@ module FinchAPI ) .returns(FinchAPI::Models::Payroll::PayGroupRetrieveResponse) end - def retrieve(pay_group_id, request_options: {}) - end + def retrieve(pay_group_id, request_options: {}); end # Read company pay groups and frequencies sig do @@ -24,13 +23,11 @@ module FinchAPI ) .returns(FinchAPI::Internal::SinglePage[FinchAPI::Models::Payroll::PayGroupListResponse]) end - def list(individual_id: nil, pay_frequencies: nil, request_options: {}) - end + def list(individual_id: nil, pay_frequencies: nil, request_options: {}); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/providers.rbi b/rbi/lib/finch_api/resources/providers.rbi index ca7c6572..257d2793 100644 --- a/rbi/lib/finch_api/resources/providers.rbi +++ b/rbi/lib/finch_api/resources/providers.rbi @@ -8,13 +8,11 @@ module FinchAPI params(request_options: T.nilable(T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash))) .returns(FinchAPI::Internal::SinglePage[FinchAPI::Models::Provider]) end - def list(request_options: {}) - end + def list(request_options: {}); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/request_forwarding.rbi b/rbi/lib/finch_api/resources/request_forwarding.rbi index 9d4c432d..121fadd9 100644 --- a/rbi/lib/finch_api/resources/request_forwarding.rbi +++ b/rbi/lib/finch_api/resources/request_forwarding.rbi @@ -37,13 +37,10 @@ module FinchAPI # a valid JSON object rather than a query string. params: nil, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/sandbox.rbi b/rbi/lib/finch_api/resources/sandbox.rbi index 4d3407f7..84634c40 100644 --- a/rbi/lib/finch_api/resources/sandbox.rbi +++ b/rbi/lib/finch_api/resources/sandbox.rbi @@ -26,8 +26,7 @@ module FinchAPI # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/sandbox/company.rbi b/rbi/lib/finch_api/resources/sandbox/company.rbi index 2cf35f82..0a84e396 100644 --- a/rbi/lib/finch_api/resources/sandbox/company.rbi +++ b/rbi/lib/finch_api/resources/sandbox/company.rbi @@ -40,13 +40,10 @@ module FinchAPI # The phone number of the main administrator on the account. Format: `XXXXXXXXXX` primary_phone_number:, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/sandbox/connections.rbi b/rbi/lib/finch_api/resources/sandbox/connections.rbi index ab0edade..eba94c87 100644 --- a/rbi/lib/finch_api/resources/sandbox/connections.rbi +++ b/rbi/lib/finch_api/resources/sandbox/connections.rbi @@ -28,13 +28,10 @@ module FinchAPI employee_size: nil, products: nil, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/sandbox/connections/accounts.rbi b/rbi/lib/finch_api/resources/sandbox/connections/accounts.rbi index 35047ebc..4897cd58 100644 --- a/rbi/lib/finch_api/resources/sandbox/connections/accounts.rbi +++ b/rbi/lib/finch_api/resources/sandbox/connections/accounts.rbi @@ -25,9 +25,7 @@ module FinchAPI # `employment`, `individual`) products: nil, request_options: {} - ) - end - + ); end # Update an existing sandbox account. Change the connection status to understand # how the Finch API responds. sig do @@ -37,13 +35,11 @@ module FinchAPI ) .returns(FinchAPI::Models::Sandbox::Connections::AccountUpdateResponse) end - def update(connection_status: nil, request_options: {}) - end + def update(connection_status: nil, request_options: {}); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/sandbox/directory.rbi b/rbi/lib/finch_api/resources/sandbox/directory.rbi index 8c95414b..5ce6a337 100644 --- a/rbi/lib/finch_api/resources/sandbox/directory.rbi +++ b/rbi/lib/finch_api/resources/sandbox/directory.rbi @@ -17,13 +17,10 @@ module FinchAPI # `/employment` endpoints. All fields are optional. body: nil, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/sandbox/employment.rbi b/rbi/lib/finch_api/resources/sandbox/employment.rbi index 83e927b9..39f2a84e 100644 --- a/rbi/lib/finch_api/resources/sandbox/employment.rbi +++ b/rbi/lib/finch_api/resources/sandbox/employment.rbi @@ -73,13 +73,10 @@ module FinchAPI # The current title of the individual. title: nil, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/sandbox/individual.rbi b/rbi/lib/finch_api/resources/sandbox/individual.rbi index 83c2ba4f..9cd3165a 100644 --- a/rbi/lib/finch_api/resources/sandbox/individual.rbi +++ b/rbi/lib/finch_api/resources/sandbox/individual.rbi @@ -20,9 +20,9 @@ module FinchAPI middle_name: T.nilable(String), phone_numbers: T.nilable( T::Array[ - T.nilable( - T.any(FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber, FinchAPI::Internal::AnyHash) - ) + T.nilable( + T.any(FinchAPI::Models::Sandbox::IndividualUpdateParams::PhoneNumber, FinchAPI::Internal::AnyHash) + ) ] ), preferred_name: T.nilable(String), @@ -60,13 +60,10 @@ module FinchAPI # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). ssn: nil, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/sandbox/jobs.rbi b/rbi/lib/finch_api/resources/sandbox/jobs.rbi index aecb8ea4..35f09b57 100644 --- a/rbi/lib/finch_api/resources/sandbox/jobs.rbi +++ b/rbi/lib/finch_api/resources/sandbox/jobs.rbi @@ -19,13 +19,10 @@ module FinchAPI # The type of job to start. Currently the only supported type is `data_sync_all` type:, request_options: {} - ) - end - + ); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/sandbox/jobs/configuration.rbi b/rbi/lib/finch_api/resources/sandbox/jobs/configuration.rbi index 2f9c9e99..7f34336f 100644 --- a/rbi/lib/finch_api/resources/sandbox/jobs/configuration.rbi +++ b/rbi/lib/finch_api/resources/sandbox/jobs/configuration.rbi @@ -10,8 +10,7 @@ module FinchAPI params(request_options: T.nilable(T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash))) .returns(T::Array[FinchAPI::Models::Sandbox::Jobs::SandboxJobConfiguration]) end - def retrieve(request_options: {}) - end + def retrieve(request_options: {}); end # Update configurations for sandbox jobs sig do @@ -22,13 +21,11 @@ module FinchAPI ) .returns(FinchAPI::Models::Sandbox::Jobs::SandboxJobConfiguration) end - def update(completion_status:, type:, request_options: {}) - end + def update(completion_status:, type:, request_options: {}); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/sandbox/payment.rbi b/rbi/lib/finch_api/resources/sandbox/payment.rbi index d68baff2..08b09383 100644 --- a/rbi/lib/finch_api/resources/sandbox/payment.rbi +++ b/rbi/lib/finch_api/resources/sandbox/payment.rbi @@ -14,13 +14,11 @@ module FinchAPI ) .returns(FinchAPI::Models::Sandbox::PaymentCreateResponse) end - def create(end_date: nil, pay_statements: nil, start_date: nil, request_options: {}) - end + def create(end_date: nil, pay_statements: nil, start_date: nil, request_options: {}); end # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end diff --git a/rbi/lib/finch_api/resources/webhooks.rbi b/rbi/lib/finch_api/resources/webhooks.rbi index 10670e8d..2da7fe6d 100644 --- a/rbi/lib/finch_api/resources/webhooks.rbi +++ b/rbi/lib/finch_api/resources/webhooks.rbi @@ -5,8 +5,7 @@ module FinchAPI class Webhooks # @api private sig { params(client: FinchAPI::Client).returns(T.attached_class) } - def self.new(client:) - end + def self.new(client:); end end end end From 695363a4a80ebae5104a0a01c9427abfc277afb0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 23:45:57 +0000 Subject: [PATCH 13/16] chore: update yard comment formatting (#126) --- .solargraph.yml | 1 + .../internal/transport/base_client.rb | 2 +- .../transport/pooled_net_requester.rb | 2 +- lib/finch_api/internal/type/base_model.rb | 22 ++++----- lib/finch_api/internal/type/converter.rb | 40 ++++++++-------- lib/finch_api/internal/type/enum.rb | 16 +++---- lib/finch_api/internal/util.rb | 2 +- lib/finch_api/models/account_update_event.rb | 2 +- lib/finch_api/models/base_webhook_event.rb | 6 +-- .../models/connect/session_new_params.rb | 2 +- .../connect/session_reauthenticate_params.rb | 2 +- .../models/create_access_token_response.rb | 14 +++--- .../models/hris/benefit_create_params.rb | 4 +- .../hris/benefit_features_and_operations.rb | 8 ++-- .../hris/benefits/individual_benefit.rb | 2 +- .../benefits/individual_enroll_many_params.rb | 8 ++-- ...ndividual_retrieve_many_benefits_params.rb | 2 +- lib/finch_api/models/hris/benefits_support.rb | 2 +- lib/finch_api/models/hris/company.rb | 2 +- .../pay_statement_item/rule_create_params.rb | 2 +- .../rule_create_response.rb | 2 +- .../rule_delete_response.rb | 2 +- .../pay_statement_item/rule_list_response.rb | 2 +- .../rule_update_response.rb | 2 +- .../company/pay_statement_item_list_params.rb | 6 +-- .../pay_statement_item_list_response.rb | 6 +-- .../models/hris/document_list_params.rb | 4 +- .../models/hris/document_response.rb | 4 +- .../models/hris/document_retreive_response.rb | 2 +- lib/finch_api/models/hris/employment_data.rb | 14 +++--- .../hris/employment_retrieve_many_params.rb | 4 +- lib/finch_api/models/hris/individual.rb | 10 ++-- lib/finch_api/models/hris/pay_statement.rb | 18 +++---- .../models/hris/payment_list_params.rb | 4 +- .../models/hris/supported_benefit.rb | 8 ++-- lib/finch_api/models/hris/w42005.rb | 2 +- lib/finch_api/models/hris/w42020.rb | 4 +- lib/finch_api/models/income.rb | 8 ++-- lib/finch_api/models/introspection.rb | 24 +++++----- .../models/jobs/automated_async_job.rb | 8 ++-- .../models/jobs/automated_list_response.rb | 12 ++--- lib/finch_api/models/operation_support.rb | 12 ++--- .../models/operation_support_matrix.rb | 48 +++++++++---------- lib/finch_api/models/provider.rb | 6 +-- .../request_forwarding_forward_params.rb | 14 +++--- .../request_forwarding_forward_response.rb | 22 ++++----- .../models/sandbox/company_update_params.rb | 2 +- .../models/sandbox/company_update_response.rb | 2 +- .../sandbox/connection_create_params.rb | 4 +- .../connections/account_create_params.rb | 2 +- .../models/sandbox/directory_create_params.rb | 24 +++++----- .../sandbox/employment_update_params.rb | 12 ++--- .../sandbox/employment_update_response.rb | 12 ++--- .../sandbox/individual_update_params.rb | 10 ++-- .../sandbox/individual_update_response.rb | 10 ++-- .../models/sandbox/payment_create_params.rb | 18 +++---- lib/finch_api/request_options.rb | 14 +++--- lib/finch_api/resources/hris/benefits.rb | 2 +- .../resources/hris/benefits/individuals.rb | 6 +-- .../hris/company/pay_statement_item.rb | 4 +- .../hris/company/pay_statement_item/rules.rb | 16 +++---- lib/finch_api/resources/hris/documents.rb | 4 +- .../resources/hris/pay_statements.rb | 4 +- lib/finch_api/resources/jobs/automated.rb | 24 +++++----- lib/finch_api/resources/jobs/manual.rb | 2 +- lib/finch_api/resources/request_forwarding.rb | 6 +-- .../resources/sandbox/connections/accounts.rb | 2 +- rbi/lib/finch_api/internal.rbi | 2 +- .../internal/transport/base_client.rbi | 2 +- .../transport/pooled_net_requester.rbi | 2 +- .../finch_api/internal/type/base_model.rbi | 32 ++++++------- rbi/lib/finch_api/internal/type/converter.rbi | 40 ++++++++-------- rbi/lib/finch_api/internal/type/enum.rbi | 16 +++---- rbi/lib/finch_api/internal/util.rbi | 2 +- .../finch_api/models/account_update_event.rbi | 2 +- .../finch_api/models/base_webhook_event.rbi | 6 +-- .../models/connect/session_new_params.rbi | 2 +- .../connect/session_reauthenticate_params.rbi | 2 +- .../models/create_access_token_response.rbi | 14 +++--- .../models/hris/benefit_create_params.rbi | 4 +- .../hris/benefit_features_and_operations.rbi | 8 ++-- .../hris/benefits/individual_benefit.rbi | 2 +- .../individual_enroll_many_params.rbi | 8 ++-- ...dividual_retrieve_many_benefits_params.rbi | 2 +- .../models/hris/benefits_support.rbi | 2 +- rbi/lib/finch_api/models/hris/company.rbi | 2 +- .../pay_statement_item/rule_create_params.rbi | 2 +- .../rule_create_response.rbi | 2 +- .../rule_delete_response.rbi | 2 +- .../pay_statement_item/rule_list_response.rbi | 2 +- .../rule_update_response.rbi | 2 +- .../pay_statement_item_list_params.rbi | 6 +-- .../pay_statement_item_list_response.rbi | 6 +-- .../models/hris/document_list_params.rbi | 4 +- .../models/hris/document_response.rbi | 4 +- .../hris/document_retreive_response.rbi | 2 +- .../finch_api/models/hris/employment_data.rbi | 14 +++--- .../hris/employment_retrieve_many_params.rbi | 4 +- rbi/lib/finch_api/models/hris/individual.rbi | 10 ++-- .../finch_api/models/hris/pay_statement.rbi | 18 +++---- .../models/hris/payment_list_params.rbi | 4 +- .../models/hris/supported_benefit.rbi | 8 ++-- rbi/lib/finch_api/models/hris/w42005.rbi | 2 +- rbi/lib/finch_api/models/hris/w42020.rbi | 4 +- rbi/lib/finch_api/models/income.rbi | 8 ++-- rbi/lib/finch_api/models/introspection.rbi | 24 +++++----- .../models/jobs/automated_async_job.rbi | 8 ++-- .../models/jobs/automated_list_response.rbi | 12 ++--- .../finch_api/models/operation_support.rbi | 12 ++--- .../models/operation_support_matrix.rbi | 48 +++++++++---------- rbi/lib/finch_api/models/provider.rbi | 6 +-- .../request_forwarding_forward_params.rbi | 14 +++--- .../request_forwarding_forward_response.rbi | 22 ++++----- .../models/sandbox/company_update_params.rbi | 2 +- .../sandbox/company_update_response.rbi | 2 +- .../sandbox/connection_create_params.rbi | 4 +- .../connections/account_create_params.rbi | 2 +- .../sandbox/directory_create_params.rbi | 24 +++++----- .../sandbox/employment_update_params.rbi | 12 ++--- .../sandbox/employment_update_response.rbi | 12 ++--- .../sandbox/individual_update_params.rbi | 10 ++-- .../sandbox/individual_update_response.rbi | 10 ++-- .../models/sandbox/payment_create_params.rbi | 18 +++---- rbi/lib/finch_api/request_options.rbi | 14 +++--- .../finch_api/resources/connect/sessions.rbi | 4 +- rbi/lib/finch_api/resources/hris/benefits.rbi | 6 +-- .../resources/hris/benefits/individuals.rbi | 8 ++-- .../hris/company/pay_statement_item.rbi | 10 ++-- .../hris/company/pay_statement_item/rules.rbi | 16 +++---- .../finch_api/resources/hris/documents.rbi | 8 ++-- .../resources/hris/pay_statements.rbi | 4 +- rbi/lib/finch_api/resources/hris/payments.rbi | 4 +- .../finch_api/resources/jobs/automated.rbi | 24 +++++----- rbi/lib/finch_api/resources/jobs/manual.rbi | 2 +- .../resources/request_forwarding.rbi | 20 ++++---- .../resources/sandbox/connections.rbi | 4 +- .../sandbox/connections/accounts.rbi | 4 +- .../finch_api/resources/sandbox/directory.rbi | 2 +- .../resources/sandbox/employment.rbi | 8 ++-- .../resources/sandbox/individual.rbi | 10 ++-- 140 files changed, 607 insertions(+), 606 deletions(-) diff --git a/.solargraph.yml b/.solargraph.yml index 21a04d80..e3984420 100644 --- a/.solargraph.yml +++ b/.solargraph.yml @@ -5,6 +5,7 @@ include: - 'Rakefile' - 'examples/**/*.rb' - 'lib/**/*.rb' + - 'test/finch-api/resource_namespaces.rb' - 'test/finch-api/test_helper.rb' exclude: - 'rbi/**/*' diff --git a/lib/finch_api/internal/transport/base_client.rb b/lib/finch_api/internal/transport/base_client.rb index ef75eb28..e45306a9 100644 --- a/lib/finch_api/internal/transport/base_client.rb +++ b/lib/finch_api/internal/transport/base_client.rb @@ -393,7 +393,7 @@ def initialize( end # Execute the request specified by `req`. This is the method that all resource - # methods call into. + # methods call into. # # @overload request(method, path, query: {}, headers: {}, body: nil, unwrap: nil, page: nil, stream: nil, model: FinchAPI::Internal::Type::Unknown, options: {}) # diff --git a/lib/finch_api/internal/transport/pooled_net_requester.rb b/lib/finch_api/internal/transport/pooled_net_requester.rb index 210fbc45..e256e83e 100644 --- a/lib/finch_api/internal/transport/pooled_net_requester.rb +++ b/lib/finch_api/internal/transport/pooled_net_requester.rb @@ -6,7 +6,7 @@ module Transport # @api private class PooledNetRequester # from the golang stdlib - # https://github.com/golang/go/blob/c8eced8580028328fde7c03cbfcb720ce15b2358/src/net/http/transport.go#L49 + # https://github.com/golang/go/blob/c8eced8580028328fde7c03cbfcb720ce15b2358/src/net/http/transport.go#L49 KEEP_ALIVE_TIMEOUT = 30 class << self diff --git a/lib/finch_api/internal/type/base_model.rb b/lib/finch_api/internal/type/base_model.rb index 2fe14c06..fbca817d 100644 --- a/lib/finch_api/internal/type/base_model.rb +++ b/lib/finch_api/internal/type/base_model.rb @@ -19,7 +19,7 @@ class << self # @api private # # Assumes superclass fields are totally defined before fields are accessed / - # defined on subclasses. + # defined on subclasses. # # @return [Hash{Symbol=>Hash{Symbol=>Object}}] def known_fields @@ -150,7 +150,7 @@ def optional(name_sym, type_info, spec = {}) # @api private # # `request_only` attributes not excluded from `.#coerce` when receiving responses - # even if well behaved servers should not send them + # even if well behaved servers should not send them # # @param blk [Proc] private def request_only(&blk) @@ -298,11 +298,11 @@ def dump(value) end # Returns the raw value associated with the given key, if found. Otherwise, nil is - # returned. + # returned. # - # It is valid to lookup keys that are not in the API spec, for example to access - # undocumented features. This method does not parse response data into - # higher-level types. Lookup by anything other than a Symbol is an ArgumentError. + # It is valid to lookup keys that are not in the API spec, for example to access + # undocumented features. This method does not parse response data into + # higher-level types. Lookup by anything other than a Symbol is an ArgumentError. # # @param key [Symbol] # @@ -317,12 +317,12 @@ def [](key) # Returns a Hash of the data underlying this object. O(1) # - # Keys are Symbols and values are the raw values from the response. The return - # value indicates which values were ever set on the object. i.e. there will be a - # key in this hash if they ever were, even if the set value was nil. + # Keys are Symbols and values are the raw values from the response. The return + # value indicates which values were ever set on the object. i.e. there will be a + # key in this hash if they ever were, even if the set value was nil. # - # This method is not recursive. The returned value is shared by the object, so it - # should not be mutated. + # This method is not recursive. The returned value is shared by the object, so it + # should not be mutated. # # @return [Hash{Symbol=>Object}] def to_h = @data diff --git a/lib/finch_api/internal/type/converter.rb b/lib/finch_api/internal/type/converter.rb index f321570d..d9f4c09b 100644 --- a/lib/finch_api/internal/type/converter.rb +++ b/lib/finch_api/internal/type/converter.rb @@ -75,37 +75,37 @@ def type_info(spec) # # Based on `target`, transform `value` into `target`, to the extent possible: # - # 1. if the given `value` conforms to `target` already, return the given `value` - # 2. if it's possible and safe to convert the given `value` to `target`, then the - # converted value - # 3. otherwise, the given `value` unaltered + # 1. if the given `value` conforms to `target` already, return the given `value` + # 2. if it's possible and safe to convert the given `value` to `target`, then the + # converted value + # 3. otherwise, the given `value` unaltered # - # The coercion process is subject to improvement between minor release versions. - # See https://docs.pydantic.dev/latest/concepts/unions/#smart-mode + # The coercion process is subject to improvement between minor release versions. + # See https://docs.pydantic.dev/latest/concepts/unions/#smart-mode # # @param target [FinchAPI::Internal::Type::Converter, Class] # # @param value [Object] # # @param state [Hash{Symbol=>Object}] The `strictness` is one of `true`, `false`, or `:strong`. This informs the - # coercion strategy when we have to decide between multiple possible conversion - # targets: + # coercion strategy when we have to decide between multiple possible conversion + # targets: # - # - `true`: the conversion must be exact, with minimum coercion. - # - `false`: the conversion can be approximate, with some coercion. - # - `:strong`: the conversion must be exact, with no coercion, and raise an error - # if not possible. + # - `true`: the conversion must be exact, with minimum coercion. + # - `false`: the conversion can be approximate, with some coercion. + # - `:strong`: the conversion must be exact, with no coercion, and raise an error + # if not possible. # - # The `exactness` is `Hash` with keys being one of `yes`, `no`, or `maybe`. For - # any given conversion attempt, the exactness will be updated based on how closely - # the value recursively matches the target type: + # The `exactness` is `Hash` with keys being one of `yes`, `no`, or `maybe`. For + # any given conversion attempt, the exactness will be updated based on how closely + # the value recursively matches the target type: # - # - `yes`: the value can be converted to the target type with minimum coercion. - # - `maybe`: the value can be converted to the target type with some reasonable - # coercion. - # - `no`: the value cannot be converted to the target type. + # - `yes`: the value can be converted to the target type with minimum coercion. + # - `maybe`: the value can be converted to the target type with some reasonable + # coercion. + # - `no`: the value cannot be converted to the target type. # - # See implementation below for more details. + # See implementation below for more details. # # @option state [Boolean, :strong] :strictness # diff --git a/lib/finch_api/internal/type/enum.rb b/lib/finch_api/internal/type/enum.rb index 5502ef63..9e0290c6 100644 --- a/lib/finch_api/internal/type/enum.rb +++ b/lib/finch_api/internal/type/enum.rb @@ -6,15 +6,15 @@ module Type # @api private # # A value from among a specified list of options. OpenAPI enum values map to Ruby - # values in the SDK as follows: + # values in the SDK as follows: # - # 1. boolean => true | false - # 2. integer => Integer - # 3. float => Float - # 4. string => Symbol + # 1. boolean => true | false + # 2. integer => Integer + # 3. float => Float + # 4. string => Symbol # - # We can therefore convert string values to Symbols, but can't convert other - # values safely. + # We can therefore convert string values to Symbols, but can't convert other + # values safely. # # @example # # `connection_status_type` is a `FinchAPI::Models::ConnectionStatusType` @@ -70,7 +70,7 @@ def ==(other) # @api private # # Unlike with primitives, `Enum` additionally validates that the value is a member - # of the enum. + # of the enum. # # @param value [String, Symbol, Object] # diff --git a/lib/finch_api/internal/util.rb b/lib/finch_api/internal/util.rb index 7e5507ed..271c3058 100644 --- a/lib/finch_api/internal/util.rb +++ b/lib/finch_api/internal/util.rb @@ -152,7 +152,7 @@ class << self # @api private # # Recursively merge one hash with another. If the values at a given key are not - # both hashes, just take the new value. + # both hashes, just take the new value. # # @param values [Array] # diff --git a/lib/finch_api/models/account_update_event.rb b/lib/finch_api/models/account_update_event.rb index 8f7d8c8f..2fb4312f 100644 --- a/lib/finch_api/models/account_update_event.rb +++ b/lib/finch_api/models/account_update_event.rb @@ -52,7 +52,7 @@ class Data < FinchAPI::Internal::Type::BaseModel class AuthenticationMethod < FinchAPI::Internal::Type::BaseModel # @!attribute benefits_support # Each benefit type and their supported features. If the benefit type is not - # supported, the property will be null + # supported, the property will be null # # @return [FinchAPI::Models::HRIS::BenefitsSupport, nil] optional :benefits_support, -> { FinchAPI::Models::HRIS::BenefitsSupport }, nil?: true diff --git a/lib/finch_api/models/base_webhook_event.rb b/lib/finch_api/models/base_webhook_event.rb index ffa9dbe5..01d3fba8 100644 --- a/lib/finch_api/models/base_webhook_event.rb +++ b/lib/finch_api/models/base_webhook_event.rb @@ -5,15 +5,15 @@ module Models class BaseWebhookEvent < FinchAPI::Internal::Type::BaseModel # @!attribute account_id # [DEPRECATED] Unique Finch ID of the employer account used to make this - # connection. Use `connection_id` instead to identify the connection associated - # with this event. + # connection. Use `connection_id` instead to identify the connection associated + # with this event. # # @return [String] required :account_id, String # @!attribute company_id # [DEPRECATED] Unique Finch ID of the company for which data has been updated. Use - # `connection_id` instead to identify the connection associated with this event. + # `connection_id` instead to identify the connection associated with this event. # # @return [String] required :company_id, String diff --git a/lib/finch_api/models/connect/session_new_params.rb b/lib/finch_api/models/connect/session_new_params.rb index 511b76cd..884abf81 100644 --- a/lib/finch_api/models/connect/session_new_params.rb +++ b/lib/finch_api/models/connect/session_new_params.rb @@ -42,7 +42,7 @@ class SessionNewParams < FinchAPI::Internal::Type::BaseModel # @!attribute minutes_to_expire # The number of minutes until the session expires (defaults to 43,200, which is 30 - # days) + # days) # # @return [Float, nil] optional :minutes_to_expire, Float, nil?: true diff --git a/lib/finch_api/models/connect/session_reauthenticate_params.rb b/lib/finch_api/models/connect/session_reauthenticate_params.rb index 7ce17b5c..cdcca2b7 100644 --- a/lib/finch_api/models/connect/session_reauthenticate_params.rb +++ b/lib/finch_api/models/connect/session_reauthenticate_params.rb @@ -17,7 +17,7 @@ class SessionReauthenticateParams < FinchAPI::Internal::Type::BaseModel # @!attribute minutes_to_expire # The number of minutes until the session expires (defaults to 43,200, which is 30 - # days) + # days) # # @return [Integer, nil] optional :minutes_to_expire, Integer, nil?: true diff --git a/lib/finch_api/models/create_access_token_response.rb b/lib/finch_api/models/create_access_token_response.rb index 45cbc8ca..f6a05247 100644 --- a/lib/finch_api/models/create_access_token_response.rb +++ b/lib/finch_api/models/create_access_token_response.rb @@ -12,7 +12,7 @@ class CreateAccessTokenResponse < FinchAPI::Internal::Type::BaseModel # @!attribute account_id # [DEPRECATED] Use `connection_id` to identify the connection instead of this - # account ID. + # account ID. # # @return [String] required :account_id, String @@ -25,7 +25,7 @@ class CreateAccessTokenResponse < FinchAPI::Internal::Type::BaseModel # @!attribute company_id # [DEPRECATED] Use `connection_id` to identify the connection instead of this - # company ID. + # company ID. # # @return [String] required :company_id, String @@ -39,8 +39,8 @@ class CreateAccessTokenResponse < FinchAPI::Internal::Type::BaseModel # @!attribute connection_type # The type of the connection associated with the token. # - # - `provider` - connection to an external provider - # - `finch` - finch-generated data. + # - `provider` - connection to an external provider + # - `finch` - finch-generated data. # # @return [Symbol, FinchAPI::Models::CreateAccessTokenResponse::ConnectionType] required :connection_type, enum: -> { FinchAPI::Models::CreateAccessTokenResponse::ConnectionType } @@ -59,7 +59,7 @@ class CreateAccessTokenResponse < FinchAPI::Internal::Type::BaseModel # @!attribute customer_id # The ID of your customer you provided to Finch when a connect session was created - # for this connection. + # for this connection. # # @return [String, nil] optional :customer_id, String, nil?: true @@ -123,8 +123,8 @@ module ClientType # The type of the connection associated with the token. # - # - `provider` - connection to an external provider - # - `finch` - finch-generated data. + # - `provider` - connection to an external provider + # - `finch` - finch-generated data. # # @see FinchAPI::Models::CreateAccessTokenResponse#connection_type module ConnectionType diff --git a/lib/finch_api/models/hris/benefit_create_params.rb b/lib/finch_api/models/hris/benefit_create_params.rb index 184ea121..9eefce01 100644 --- a/lib/finch_api/models/hris/benefit_create_params.rb +++ b/lib/finch_api/models/hris/benefit_create_params.rb @@ -11,8 +11,8 @@ class BenefitCreateParams < FinchAPI::Internal::Type::BaseModel # @!attribute [r] description # Name of the benefit as it appears in the provider and pay statements. Recommend - # limiting this to <30 characters due to limitations in specific providers (e.g. - # Justworks). + # limiting this to <30 characters due to limitations in specific providers (e.g. + # Justworks). # # @return [String, nil] optional :description, String diff --git a/lib/finch_api/models/hris/benefit_features_and_operations.rb b/lib/finch_api/models/hris/benefit_features_and_operations.rb index 20fa027f..85ca73d4 100644 --- a/lib/finch_api/models/hris/benefit_features_and_operations.rb +++ b/lib/finch_api/models/hris/benefit_features_and_operations.rb @@ -41,14 +41,14 @@ class SupportedFeatures < FinchAPI::Internal::Type::BaseModel # @!attribute catch_up # Whether the provider supports catch up for this benefit. This field will only be - # true for retirement benefits. + # true for retirement benefits. # # @return [Boolean, nil] optional :catch_up, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute company_contribution # Supported contribution types. An empty array indicates contributions are not - # supported. + # supported. # # @return [Array, nil] optional :company_contribution, @@ -66,7 +66,7 @@ class SupportedFeatures < FinchAPI::Internal::Type::BaseModel # @!attribute employee_deduction # Supported deduction types. An empty array indicates deductions are not - # supported. + # supported. # # @return [Array, nil] optional :employee_deduction, @@ -90,7 +90,7 @@ class SupportedFeatures < FinchAPI::Internal::Type::BaseModel # @!attribute hsa_contribution_limit # Whether the provider supports HSA contribution limits. Empty if this feature is - # not supported for the benefit. This array only has values for HSA benefits. + # not supported for the benefit. This array only has values for HSA benefits. # # @return [Array, nil] optional :hsa_contribution_limit, diff --git a/lib/finch_api/models/hris/benefits/individual_benefit.rb b/lib/finch_api/models/hris/benefits/individual_benefit.rb index e8cf3eef..b7c62aa9 100644 --- a/lib/finch_api/models/hris/benefits/individual_benefit.rb +++ b/lib/finch_api/models/hris/benefits/individual_benefit.rb @@ -52,7 +52,7 @@ class Body < FinchAPI::Internal::Type::BaseModel # @!attribute catch_up # If the benefit supports catch up (401k, 403b, etc.), whether catch up is enabled - # for this individual. + # for this individual. # # @return [Boolean, nil] optional :catch_up, FinchAPI::Internal::Type::Boolean, nil?: true diff --git a/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb b/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb index fa9a7fa2..017f2b32 100644 --- a/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +++ b/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb @@ -62,7 +62,7 @@ class Individual < FinchAPI::Internal::Type::BaseModel class Configuration < FinchAPI::Internal::Type::BaseModel # @!attribute [r] annual_contribution_limit # For HSA benefits only - whether the contribution limit is for an individual or - # family + # family # # @return [Symbol, FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::AnnualContributionLimit, nil] optional :annual_contribution_limit, @@ -141,7 +141,7 @@ class Configuration < FinchAPI::Internal::Type::BaseModel # def initialize: (Hash | FinchAPI::Internal::Type::BaseModel) -> void # For HSA benefits only - whether the contribution limit is for an individual or - # family + # family # # @see FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration#annual_contribution_limit module AnnualContributionLimit @@ -161,7 +161,7 @@ module AnnualContributionLimit class CompanyContribution < FinchAPI::Internal::Type::BaseModel # @!attribute [r] amount # Amount in cents for fixed type or basis points (1/100th of a percent) for - # percent type + # percent type # # @return [Integer, nil] optional :amount, Integer @@ -207,7 +207,7 @@ module Type class EmployeeDeduction < FinchAPI::Internal::Type::BaseModel # @!attribute [r] amount # Amount in cents for fixed type or basis points (1/100th of a percent) for - # percent type + # percent type # # @return [Integer, nil] optional :amount, Integer diff --git a/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb b/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb index 31eb0757..f7cf6c21 100644 --- a/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +++ b/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb @@ -12,7 +12,7 @@ class IndividualRetrieveManyBenefitsParams < FinchAPI::Internal::Type::BaseModel # @!attribute [r] individual_ids # comma-delimited list of stable Finch uuids for each individual. If empty, - # defaults to all individuals + # defaults to all individuals # # @return [String, nil] optional :individual_ids, String diff --git a/lib/finch_api/models/hris/benefits_support.rb b/lib/finch_api/models/hris/benefits_support.rb index ff5c0950..c5a246ea 100644 --- a/lib/finch_api/models/hris/benefits_support.rb +++ b/lib/finch_api/models/hris/benefits_support.rb @@ -66,7 +66,7 @@ class BenefitsSupport < FinchAPI::Internal::Type::BaseModel # @!parse # # Each benefit type and their supported features. If the benefit type is not - # # supported, the property will be null + # # supported, the property will be null # # # # @param commuter [FinchAPI::Models::HRIS::BenefitFeaturesAndOperations, nil] # # @param custom_post_tax [FinchAPI::Models::HRIS::BenefitFeaturesAndOperations, nil] diff --git a/lib/finch_api/models/hris/company.rb b/lib/finch_api/models/hris/company.rb index 71ade59d..51dc9408 100644 --- a/lib/finch_api/models/hris/company.rb +++ b/lib/finch_api/models/hris/company.rb @@ -119,7 +119,7 @@ class Account < FinchAPI::Internal::Type::BaseModel # @!attribute routing_number # A nine-digit code that's based on the U.S. Bank location where your account was - # opened. + # opened. # # @return [String, nil] optional :routing_number, String, nil?: true diff --git a/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb b/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb index 5197bc40..8478c728 100644 --- a/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb +++ b/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb @@ -80,7 +80,7 @@ class RuleCreateParams < FinchAPI::Internal::Type::BaseModel class Attributes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached in the entity. It is a key-value pairs where the - # values can be of any type (string, number, boolean, object, array, etc.). + # values can be of any type (string, number, boolean, object, array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] diff --git a/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rb b/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rb index 6d1f7d07..7ef56692 100644 --- a/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rb +++ b/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rb @@ -123,7 +123,7 @@ class RuleCreateResponse < FinchAPI::Internal::Type::BaseModel class Attributes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached in the entity. It is a key-value pairs where the - # values can be of any type (string, number, boolean, object, array, etc.). + # values can be of any type (string, number, boolean, object, array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] diff --git a/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rb b/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rb index df3fe097..c4c2d3f9 100644 --- a/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rb +++ b/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rb @@ -135,7 +135,7 @@ class RuleDeleteResponse < FinchAPI::Internal::Type::BaseModel class Attributes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached in the entity. It is a key-value pairs where the - # values can be of any type (string, number, boolean, object, array, etc.). + # values can be of any type (string, number, boolean, object, array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] diff --git a/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rb b/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rb index 9f54a59b..94b99919 100644 --- a/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rb +++ b/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rb @@ -123,7 +123,7 @@ class RuleListResponse < FinchAPI::Internal::Type::BaseModel class Attributes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached in the entity. It is a key-value pairs where the - # values can be of any type (string, number, boolean, object, array, etc.). + # values can be of any type (string, number, boolean, object, array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] diff --git a/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rb b/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rb index 33ab8123..6fd6442a 100644 --- a/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rb +++ b/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rb @@ -123,7 +123,7 @@ class RuleUpdateResponse < FinchAPI::Internal::Type::BaseModel class Attributes < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached in the entity. It is a key-value pairs where the - # values can be of any type (string, number, boolean, object, array, etc.). + # values can be of any type (string, number, boolean, object, array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] diff --git a/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb b/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb index d8110541..09fd6395 100644 --- a/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb +++ b/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb @@ -12,7 +12,7 @@ class PayStatementItemListParams < FinchAPI::Internal::Type::BaseModel # @!attribute [r] categories # Comma-delimited list of pay statement item categories to filter on. If empty, - # defaults to all categories. + # defaults to all categories. # # @return [Array, nil] optional :categories, @@ -24,7 +24,7 @@ class PayStatementItemListParams < FinchAPI::Internal::Type::BaseModel # @!attribute [r] end_date # The end date to retrieve pay statement items by via their last seen pay date in - # `YYYY-MM-DD` format. + # `YYYY-MM-DD` format. # # @return [Date, nil] optional :end_date, Date @@ -45,7 +45,7 @@ class PayStatementItemListParams < FinchAPI::Internal::Type::BaseModel # @!attribute [r] start_date # The start date to retrieve pay statement items by via their last seen pay date - # (inclusive) in `YYYY-MM-DD` format. + # (inclusive) in `YYYY-MM-DD` format. # # @return [Date, nil] optional :start_date, Date diff --git a/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb b/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb index e0c7373e..c6a91045 100644 --- a/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb +++ b/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb @@ -49,21 +49,21 @@ class PayStatementItemListResponse < FinchAPI::Internal::Type::BaseModel class Attributes < FinchAPI::Internal::Type::BaseModel # @!attribute employer # `true` if the amount is paid by the employers. This field is only available for - # taxes. + # taxes. # # @return [Boolean, nil] optional :employer, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute metadata # The metadata of the pay statement item derived by the rules engine if available. - # Each attribute will be a key-value pair defined by a rule. + # Each attribute will be a key-value pair defined by a rule. # # @return [Object, nil] optional :metadata, FinchAPI::Internal::Type::Unknown, nil?: true # @!attribute pre_tax # `true` if the pay statement item is pre-tax. This field is only available for - # employee deductions. + # employee deductions. # # @return [Boolean, nil] optional :pre_tax, FinchAPI::Internal::Type::Boolean, nil?: true diff --git a/lib/finch_api/models/hris/document_list_params.rb b/lib/finch_api/models/hris/document_list_params.rb index ce4766a2..5f035ba6 100644 --- a/lib/finch_api/models/hris/document_list_params.rb +++ b/lib/finch_api/models/hris/document_list_params.rb @@ -11,7 +11,7 @@ class DocumentListParams < FinchAPI::Internal::Type::BaseModel # @!attribute [r] individual_ids # Comma-delimited list of stable Finch uuids for each individual. If empty, - # defaults to all individuals + # defaults to all individuals # # @return [Array, nil] optional :individual_ids, FinchAPI::Internal::Type::ArrayOf[String] @@ -42,7 +42,7 @@ class DocumentListParams < FinchAPI::Internal::Type::BaseModel # @!attribute [r] types # Comma-delimited list of document types to filter on. If empty, defaults to all - # types + # types # # @return [Array, nil] optional :types, diff --git a/lib/finch_api/models/hris/document_response.rb b/lib/finch_api/models/hris/document_response.rb index ff3d7e8b..ce7de77a 100644 --- a/lib/finch_api/models/hris/document_response.rb +++ b/lib/finch_api/models/hris/document_response.rb @@ -16,7 +16,7 @@ class DocumentResponse < FinchAPI::Internal::Type::BaseModel # @!attribute individual_id # The ID of the individual associated with the document. This will be null for - # employer-level documents. + # employer-level documents. # # @return [String, nil] optional :individual_id, String, nil?: true @@ -33,7 +33,7 @@ class DocumentResponse < FinchAPI::Internal::Type::BaseModel # @!attribute [r] url # A URL to access the document. Format: - # `https://api.tryfinch.com/employer/documents/:document_id`. + # `https://api.tryfinch.com/employer/documents/:document_id`. # # @return [String, nil] optional :url, String diff --git a/lib/finch_api/models/hris/document_retreive_response.rb b/lib/finch_api/models/hris/document_retreive_response.rb index 9599ce84..065f2af3 100644 --- a/lib/finch_api/models/hris/document_retreive_response.rb +++ b/lib/finch_api/models/hris/document_retreive_response.rb @@ -4,7 +4,7 @@ module FinchAPI module Models module HRIS # A 2020 version of the W-4 tax form containing information on an individual's - # filing status, dependents, and withholding details. + # filing status, dependents, and withholding details. # # @see FinchAPI::Resources::HRIS::Documents#retreive module DocumentRetreiveResponse diff --git a/lib/finch_api/models/hris/employment_data.rb b/lib/finch_api/models/hris/employment_data.rb index 894154a5..4a7bb993 100644 --- a/lib/finch_api/models/hris/employment_data.rb +++ b/lib/finch_api/models/hris/employment_data.rb @@ -22,7 +22,7 @@ class EmploymentData < FinchAPI::Internal::Type::BaseModel # @!attribute custom_fields # Custom fields for the individual. These are fields which are defined by the - # employer in the system. + # employer in the system. # # @return [Array, nil] optional :custom_fields, @@ -43,7 +43,7 @@ class EmploymentData < FinchAPI::Internal::Type::BaseModel # @!attribute employment_status # The detailed employment status of the individual. Available options: `active`, - # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`. + # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`. # # @return [Symbol, FinchAPI::Models::HRIS::EmploymentData::EmploymentStatus, nil] optional :employment_status, @@ -63,8 +63,8 @@ class EmploymentData < FinchAPI::Internal::Type::BaseModel # @!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, - # depending on what information the provider returns. + # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, + # depending on what information the provider returns. # # @return [FinchAPI::Models::Income, nil] optional :income, -> { FinchAPI::Models::Income }, nil?: true @@ -234,7 +234,7 @@ class Department < FinchAPI::Internal::Type::BaseModel class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute subtype # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. # # @return [Symbol, FinchAPI::Models::HRIS::EmploymentData::Employment::Subtype, nil] optional :subtype, enum: -> { FinchAPI::Models::HRIS::EmploymentData::Employment::Subtype }, nil?: true @@ -256,7 +256,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # def initialize: (Hash | FinchAPI::Internal::Type::BaseModel) -> void # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. # # @see FinchAPI::Models::HRIS::EmploymentData::Employment#subtype module Subtype @@ -294,7 +294,7 @@ module Type end # The detailed employment status of the individual. Available options: `active`, - # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`. + # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`. # # @see FinchAPI::Models::HRIS::EmploymentData#employment_status module EmploymentStatus diff --git a/lib/finch_api/models/hris/employment_retrieve_many_params.rb b/lib/finch_api/models/hris/employment_retrieve_many_params.rb index 06b6deca..c1f52d85 100644 --- a/lib/finch_api/models/hris/employment_retrieve_many_params.rb +++ b/lib/finch_api/models/hris/employment_retrieve_many_params.rb @@ -27,8 +27,8 @@ class EmploymentRetrieveManyParams < FinchAPI::Internal::Type::BaseModel class Request < FinchAPI::Internal::Type::BaseModel # @!attribute individual_id # A stable Finch `id` (UUID v4) for an individual in the company. There is no - # limit to the number of `individual_id` to send per request. It is preferantial - # to send all ids in a single request for Finch to optimize provider rate-limits. + # limit to the number of `individual_id` to send per request. It is preferantial + # to send all ids in a single request for Finch to optimize provider rate-limits. # # @return [String] required :individual_id, String diff --git a/lib/finch_api/models/hris/individual.rb b/lib/finch_api/models/hris/individual.rb index 7d5a82d1..dcbb2db4 100644 --- a/lib/finch_api/models/hris/individual.rb +++ b/lib/finch_api/models/hris/individual.rb @@ -28,8 +28,8 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute encrypted_ssn # Social Security Number of the individual in **encrypted** format. This field is - # only available with the `ssn` scope enabled and the - # `options: { include: ['ssn'] }` param set in the body. + # only available with the `ssn` scope enabled and the + # `options: { include: ['ssn'] }` param set in the body. # # @return [String, nil] optional :encrypted_ssn, String, nil?: true @@ -84,9 +84,9 @@ class Individual < FinchAPI::Internal::Type::BaseModel # @!attribute ssn # Social Security Number of the individual. This field is only available with the - # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the - # body. - # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). + # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the + # body. + # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). # # @return [String, nil] optional :ssn, String, nil?: true diff --git a/lib/finch_api/models/hris/pay_statement.rb b/lib/finch_api/models/hris/pay_statement.rb index 7f2c9b25..38dfe4ae 100644 --- a/lib/finch_api/models/hris/pay_statement.rb +++ b/lib/finch_api/models/hris/pay_statement.rb @@ -123,7 +123,7 @@ class Earning < FinchAPI::Internal::Type::BaseModel # @!attribute hours # The number of hours associated with this earning. (For salaried employees, this - # could be hours per pay period, `0` or `null`, depending on the provider). + # could be hours per pay period, `0` or `null`, depending on the provider). # # @return [Float, nil] optional :hours, Float, nil?: true @@ -174,8 +174,8 @@ class Attributes < FinchAPI::Internal::Type::BaseModel class Metadata < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] @@ -293,8 +293,8 @@ class Attributes < FinchAPI::Internal::Type::BaseModel class Metadata < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] @@ -379,8 +379,8 @@ class Attributes < FinchAPI::Internal::Type::BaseModel class Metadata < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] @@ -485,8 +485,8 @@ class Attributes < FinchAPI::Internal::Type::BaseModel class Metadata < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] diff --git a/lib/finch_api/models/hris/payment_list_params.rb b/lib/finch_api/models/hris/payment_list_params.rb index b7a1cb90..fda048b7 100644 --- a/lib/finch_api/models/hris/payment_list_params.rb +++ b/lib/finch_api/models/hris/payment_list_params.rb @@ -11,14 +11,14 @@ class PaymentListParams < FinchAPI::Internal::Type::BaseModel # @!attribute end_date # The end date to retrieve payments by a company (inclusive) in `YYYY-MM-DD` - # format. + # format. # # @return [Date] required :end_date, Date # @!attribute start_date # The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD` - # format. + # format. # # @return [Date] required :start_date, Date diff --git a/lib/finch_api/models/hris/supported_benefit.rb b/lib/finch_api/models/hris/supported_benefit.rb index 49a09c8c..256e87cd 100644 --- a/lib/finch_api/models/hris/supported_benefit.rb +++ b/lib/finch_api/models/hris/supported_benefit.rb @@ -13,14 +13,14 @@ class SupportedBenefit < FinchAPI::Internal::Type::BaseModel # @!attribute catch_up # Whether the provider supports catch up for this benefit. This field will only be - # true for retirement benefits. + # true for retirement benefits. # # @return [Boolean, nil] optional :catch_up, FinchAPI::Internal::Type::Boolean, nil?: true # @!attribute company_contribution # Supported contribution types. An empty array indicates contributions are not - # supported. + # supported. # # @return [Array, nil] optional :company_contribution, @@ -34,7 +34,7 @@ class SupportedBenefit < FinchAPI::Internal::Type::BaseModel # @!attribute employee_deduction # Supported deduction types. An empty array indicates deductions are not - # supported. + # supported. # # @return [Array, nil] optional :employee_deduction, @@ -54,7 +54,7 @@ class SupportedBenefit < FinchAPI::Internal::Type::BaseModel # @!attribute hsa_contribution_limit # Whether the provider supports HSA contribution limits. Empty if this feature is - # not supported for the benefit. This array only has values for HSA benefits. + # not supported for the benefit. This array only has values for HSA benefits. # # @return [Array, nil] optional :hsa_contribution_limit, diff --git a/lib/finch_api/models/hris/w42005.rb b/lib/finch_api/models/hris/w42005.rb index 578294e3..5f6c3c84 100644 --- a/lib/finch_api/models/hris/w42005.rb +++ b/lib/finch_api/models/hris/w42005.rb @@ -32,7 +32,7 @@ class W42005 < FinchAPI::Internal::Type::BaseModel # @!parse # # A 2005 version of the W-4 tax form containing information on an individual's - # # filing status, dependents, and withholding details. + # # filing status, dependents, and withholding details. # # # # @param data [FinchAPI::Models::HRIS::W42005::Data] # # @param type [Symbol, FinchAPI::Models::HRIS::W42005::Type] diff --git a/lib/finch_api/models/hris/w42020.rb b/lib/finch_api/models/hris/w42020.rb index e49ee0ef..3b3018c6 100644 --- a/lib/finch_api/models/hris/w42020.rb +++ b/lib/finch_api/models/hris/w42020.rb @@ -32,7 +32,7 @@ class W42020 < FinchAPI::Internal::Type::BaseModel # @!parse # # A 2020 version of the W-4 tax form containing information on an individual's - # # filing status, dependents, and withholding details. + # # filing status, dependents, and withholding details. # # # # @param data [FinchAPI::Models::HRIS::W42020::Data] # # @param type [Symbol, FinchAPI::Models::HRIS::W42020::Type] @@ -46,7 +46,7 @@ class W42020 < FinchAPI::Internal::Type::BaseModel class Data < FinchAPI::Internal::Type::BaseModel # @!attribute amount_for_other_dependents # Amount claimed for dependents other than qualifying children under 17 (in - # cents). + # cents). # # @return [Integer, nil] optional :amount_for_other_dependents, Integer, nil?: true diff --git a/lib/finch_api/models/income.rb b/lib/finch_api/models/income.rb index 48b724de..bf621c47 100644 --- a/lib/finch_api/models/income.rb +++ b/lib/finch_api/models/income.rb @@ -23,15 +23,15 @@ class Income < FinchAPI::Internal::Type::BaseModel # @!attribute unit # The income unit of payment. Options: `yearly`, `quarterly`, `monthly`, - # `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`. + # `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`. # # @return [Symbol, FinchAPI::Models::Income::Unit, nil] optional :unit, enum: -> { FinchAPI::Models::Income::Unit }, nil?: true # @!parse # # 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. + # # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, + # # depending on what information the provider returns. # # # # @param amount [Integer, nil] # # @param currency [String, nil] @@ -43,7 +43,7 @@ class Income < FinchAPI::Internal::Type::BaseModel # def initialize: (Hash | FinchAPI::Internal::Type::BaseModel) -> void # The income unit of payment. Options: `yearly`, `quarterly`, `monthly`, - # `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`. + # `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`. # # @see FinchAPI::Models::Income#unit module Unit diff --git a/lib/finch_api/models/introspection.rb b/lib/finch_api/models/introspection.rb index f0871df6..dc118ba8 100644 --- a/lib/finch_api/models/introspection.rb +++ b/lib/finch_api/models/introspection.rb @@ -6,7 +6,7 @@ module Models class Introspection < FinchAPI::Internal::Type::BaseModel # @!attribute account_id # [DEPRECATED] Use `connection_id` to associate tokens with a Finch connection - # instead of this account ID. + # instead of this account ID. # # @return [String] required :account_id, String @@ -31,7 +31,7 @@ class Introspection < FinchAPI::Internal::Type::BaseModel # @!attribute company_id # [DEPRECATED] Use `connection_id` to associate tokens with a Finch connection - # instead of this company ID. + # instead of this company ID. # # @return [String] required :company_id, String @@ -50,44 +50,44 @@ class Introspection < FinchAPI::Internal::Type::BaseModel # @!attribute connection_type # The type of the connection associated with the token. # - # - `provider` - connection to an external provider - # - `finch` - finch-generated data. + # - `provider` - connection to an external provider + # - `finch` - finch-generated data. # # @return [Symbol, FinchAPI::Models::Introspection::ConnectionType] required :connection_type, enum: -> { FinchAPI::Models::Introspection::ConnectionType } # @!attribute customer_email # The email of your customer you provided to Finch when a connect session was - # created for this connection. + # created for this connection. # # @return [String, nil] required :customer_email, String, nil?: true # @!attribute customer_id # The ID of your customer you provided to Finch when a connect session was created - # for this connection. + # for this connection. # # @return [String, nil] required :customer_id, String, nil?: true # @!attribute customer_name # The name of your customer you provided to Finch when a connect session was - # created for this connection. + # created for this connection. # # @return [String, nil] required :customer_name, String, nil?: true # @!attribute manual # Whether the connection associated with the `access_token` uses the Assisted - # Connect Flow. (`true` if using Assisted Connect, `false` if connection is - # automated) + # Connect Flow. (`true` if using Assisted Connect, `false` if connection is + # automated) # # @return [Boolean] required :manual, FinchAPI::Internal::Type::Boolean # @!attribute payroll_provider_id # [DEPRECATED] Use `provider_id` to identify the provider instead of this payroll - # provider ID. + # provider ID. # # @return [String] required :payroll_provider_id, String @@ -300,8 +300,8 @@ class ConnectionStatus < FinchAPI::Internal::Type::BaseModel # The type of the connection associated with the token. # - # - `provider` - connection to an external provider - # - `finch` - finch-generated data. + # - `provider` - connection to an external provider + # - `finch` - finch-generated data. # # @see FinchAPI::Models::Introspection#connection_type module ConnectionType diff --git a/lib/finch_api/models/jobs/automated_async_job.rb b/lib/finch_api/models/jobs/automated_async_job.rb index b5d04f9f..1ebd8222 100644 --- a/lib/finch_api/models/jobs/automated_async_job.rb +++ b/lib/finch_api/models/jobs/automated_async_job.rb @@ -13,8 +13,8 @@ class AutomatedAsyncJob < FinchAPI::Internal::Type::BaseModel # @!attribute created_at # The datetime when the job was created. for scheduled jobs, this will be the - # initial connection time. For ad-hoc jobs, this will be the time the creation - # request was received. + # initial connection time. For ad-hoc jobs, this will be the time the creation + # request was received. # # @return [Time] required :created_at, Time @@ -39,8 +39,8 @@ class AutomatedAsyncJob < FinchAPI::Internal::Type::BaseModel # @!attribute scheduled_at # The datetime a job is scheduled to be run. For scheduled jobs, this datetime can - # be in the future if the job has not yet been enqueued. For ad-hoc jobs, this - # field will be null. + # be in the future if the job has not yet been enqueued. For ad-hoc jobs, this + # field will be null. # # @return [Time, nil] required :scheduled_at, Time, nil?: true diff --git a/lib/finch_api/models/jobs/automated_list_response.rb b/lib/finch_api/models/jobs/automated_list_response.rb index 29b249f2..93005bba 100644 --- a/lib/finch_api/models/jobs/automated_list_response.rb +++ b/lib/finch_api/models/jobs/automated_list_response.rb @@ -27,9 +27,9 @@ class AutomatedListResponse < FinchAPI::Internal::Type::BaseModel class Meta < FinchAPI::Internal::Type::BaseModel # @!attribute [r] quotas # Information about remaining quotas for this connection. Only applicable for - # customers opted in to use Finch's Data Sync Refresh endpoint - # (`POST /jobs/automated`). Please contact a Finch representative for more - # details. + # customers opted in to use Finch's Data Sync Refresh endpoint + # (`POST /jobs/automated`). Please contact a Finch representative for more + # details. # # @return [FinchAPI::Models::Jobs::AutomatedListResponse::Meta::Quotas, nil] optional :quotas, -> { FinchAPI::Models::Jobs::AutomatedListResponse::Meta::Quotas } @@ -58,9 +58,9 @@ class Quotas < FinchAPI::Internal::Type::BaseModel # @!parse # # Information about remaining quotas for this connection. Only applicable for - # # customers opted in to use Finch's Data Sync Refresh endpoint - # # (`POST /jobs/automated`). Please contact a Finch representative for more - # # details. + # # customers opted in to use Finch's Data Sync Refresh endpoint + # # (`POST /jobs/automated`). Please contact a Finch representative for more + # # details. # # # # @param data_sync_all [FinchAPI::Models::Jobs::AutomatedListResponse::Meta::Quotas::DataSyncAll] # # diff --git a/lib/finch_api/models/operation_support.rb b/lib/finch_api/models/operation_support.rb index 0e3e6740..4986e267 100644 --- a/lib/finch_api/models/operation_support.rb +++ b/lib/finch_api/models/operation_support.rb @@ -3,12 +3,12 @@ module FinchAPI module Models # - `supported`: This operation is supported by both the provider and Finch - # - `not_supported_by_finch`: This operation is not supported by Finch but - # supported by the provider - # - `not_supported_by_provider`: This operation is not supported by the provider, - # so Finch cannot support - # - `client_access_only`: This behavior is supported by the provider, but only - # available to the client and not to Finch + # - `not_supported_by_finch`: This operation is not supported by Finch but + # supported by the provider + # - `not_supported_by_provider`: This operation is not supported by the provider, + # so Finch cannot support + # - `client_access_only`: This behavior is supported by the provider, but only + # available to the client and not to Finch module OperationSupport extend FinchAPI::Internal::Type::Enum diff --git a/lib/finch_api/models/operation_support_matrix.rb b/lib/finch_api/models/operation_support_matrix.rb index 6fc1233e..cb9d9b08 100644 --- a/lib/finch_api/models/operation_support_matrix.rb +++ b/lib/finch_api/models/operation_support_matrix.rb @@ -5,12 +5,12 @@ module Models class OperationSupportMatrix < FinchAPI::Internal::Type::BaseModel # @!attribute [r] create # - `supported`: This operation is supported by both the provider and Finch - # - `not_supported_by_finch`: This operation is not supported by Finch but - # supported by the provider - # - `not_supported_by_provider`: This operation is not supported by the provider, - # so Finch cannot support - # - `client_access_only`: This behavior is supported by the provider, but only - # available to the client and not to Finch + # - `not_supported_by_finch`: This operation is not supported by Finch but + # supported by the provider + # - `not_supported_by_provider`: This operation is not supported by the provider, + # so Finch cannot support + # - `client_access_only`: This behavior is supported by the provider, but only + # available to the client and not to Finch # # @return [Symbol, FinchAPI::Models::OperationSupport, nil] optional :create, enum: -> { FinchAPI::Models::OperationSupport } @@ -21,12 +21,12 @@ class OperationSupportMatrix < FinchAPI::Internal::Type::BaseModel # @!attribute [r] delete # - `supported`: This operation is supported by both the provider and Finch - # - `not_supported_by_finch`: This operation is not supported by Finch but - # supported by the provider - # - `not_supported_by_provider`: This operation is not supported by the provider, - # so Finch cannot support - # - `client_access_only`: This behavior is supported by the provider, but only - # available to the client and not to Finch + # - `not_supported_by_finch`: This operation is not supported by Finch but + # supported by the provider + # - `not_supported_by_provider`: This operation is not supported by the provider, + # so Finch cannot support + # - `client_access_only`: This behavior is supported by the provider, but only + # available to the client and not to Finch # # @return [Symbol, FinchAPI::Models::OperationSupport, nil] optional :delete, enum: -> { FinchAPI::Models::OperationSupport } @@ -37,12 +37,12 @@ class OperationSupportMatrix < FinchAPI::Internal::Type::BaseModel # @!attribute [r] read # - `supported`: This operation is supported by both the provider and Finch - # - `not_supported_by_finch`: This operation is not supported by Finch but - # supported by the provider - # - `not_supported_by_provider`: This operation is not supported by the provider, - # so Finch cannot support - # - `client_access_only`: This behavior is supported by the provider, but only - # available to the client and not to Finch + # - `not_supported_by_finch`: This operation is not supported by Finch but + # supported by the provider + # - `not_supported_by_provider`: This operation is not supported by the provider, + # so Finch cannot support + # - `client_access_only`: This behavior is supported by the provider, but only + # available to the client and not to Finch # # @return [Symbol, FinchAPI::Models::OperationSupport, nil] optional :read, enum: -> { FinchAPI::Models::OperationSupport } @@ -53,12 +53,12 @@ class OperationSupportMatrix < FinchAPI::Internal::Type::BaseModel # @!attribute [r] update # - `supported`: This operation is supported by both the provider and Finch - # - `not_supported_by_finch`: This operation is not supported by Finch but - # supported by the provider - # - `not_supported_by_provider`: This operation is not supported by the provider, - # so Finch cannot support - # - `client_access_only`: This behavior is supported by the provider, but only - # available to the client and not to Finch + # - `not_supported_by_finch`: This operation is not supported by Finch but + # supported by the provider + # - `not_supported_by_provider`: This operation is not supported by the provider, + # so Finch cannot support + # - `client_access_only`: This behavior is supported by the provider, but only + # available to the client and not to Finch # # @return [Symbol, FinchAPI::Models::OperationSupport, nil] optional :update, enum: -> { FinchAPI::Models::OperationSupport } diff --git a/lib/finch_api/models/provider.rb b/lib/finch_api/models/provider.rb index 28203d6c..b027dc86 100644 --- a/lib/finch_api/models/provider.rb +++ b/lib/finch_api/models/provider.rb @@ -67,8 +67,8 @@ class Provider < FinchAPI::Internal::Type::BaseModel # @!attribute [r] manual # [DEPRECATED] Whether the Finch integration with this provider uses the Assisted - # Connect Flow by default. This field is now deprecated. Please check for a `type` - # of `assisted` in the `authentication_methods` field instead. + # Connect Flow by default. This field is now deprecated. Please check for a `type` + # of `assisted` in the `authentication_methods` field instead. # # @return [Boolean, nil] optional :manual, FinchAPI::Internal::Type::Boolean @@ -140,7 +140,7 @@ class Provider < FinchAPI::Internal::Type::BaseModel class AuthenticationMethod < FinchAPI::Internal::Type::BaseModel # @!attribute benefits_support # Each benefit type and their supported features. If the benefit type is not - # supported, the property will be null + # supported, the property will be null # # @return [FinchAPI::Models::HRIS::BenefitsSupport, nil] optional :benefits_support, -> { FinchAPI::Models::HRIS::BenefitsSupport }, nil?: true diff --git a/lib/finch_api/models/request_forwarding_forward_params.rb b/lib/finch_api/models/request_forwarding_forward_params.rb index 9329ddcb..81186e5d 100644 --- a/lib/finch_api/models/request_forwarding_forward_params.rb +++ b/lib/finch_api/models/request_forwarding_forward_params.rb @@ -10,37 +10,37 @@ class RequestForwardingForwardParams < FinchAPI::Internal::Type::BaseModel # @!attribute method_ # The HTTP method for the forwarded request. Valid values include: `GET` , `POST` - # , `PUT` , `DELETE` , and `PATCH`. + # , `PUT` , `DELETE` , and `PATCH`. # # @return [String] required :method_, String, api_name: :method # @!attribute route # The URL route path for the forwarded request. This value must begin with a - # forward-slash ( / ) and may only contain alphanumeric characters, hyphens, and - # underscores. + # forward-slash ( / ) and may only contain alphanumeric characters, hyphens, and + # underscores. # # @return [String] required :route, String # @!attribute data # The body for the forwarded request. This value must be specified as either a - # string or a valid JSON object. + # string or a valid JSON object. # # @return [String, nil] optional :data, String, nil?: true # @!attribute headers # The HTTP headers to include on the forwarded request. This value must be - # specified as an object of key-value pairs. Example: - # `{"Content-Type": "application/xml", "X-API-Version": "v1" }` + # specified as an object of key-value pairs. Example: + # `{"Content-Type": "application/xml", "X-API-Version": "v1" }` # # @return [Object, nil] optional :headers, FinchAPI::Internal::Type::Unknown, nil?: true # @!attribute params # The query parameters for the forwarded request. This value must be specified as - # a valid JSON object rather than a query string. + # a valid JSON object rather than a query string. # # @return [Object, nil] optional :params, FinchAPI::Internal::Type::Unknown, nil?: true diff --git a/lib/finch_api/models/request_forwarding_forward_response.rb b/lib/finch_api/models/request_forwarding_forward_response.rb index 517cda67..10f0b88d 100644 --- a/lib/finch_api/models/request_forwarding_forward_response.rb +++ b/lib/finch_api/models/request_forwarding_forward_response.rb @@ -6,29 +6,29 @@ module Models class RequestForwardingForwardResponse < FinchAPI::Internal::Type::BaseModel # @!attribute data # A string representation of the HTTP response body of the forwarded request’s - # response received from the underlying integration’s API. This field may be null - # in the case where the upstream system’s response is empty. + # response received from the underlying integration’s API. This field may be null + # in the case where the upstream system’s response is empty. # # @return [String, nil] required :data, String, nil?: true # @!attribute headers # The HTTP headers of the forwarded request’s response, exactly as received from - # the underlying integration’s API. + # the underlying integration’s API. # # @return [Object, nil] required :headers, FinchAPI::Internal::Type::Unknown, nil?: true # @!attribute request # An object containing details of your original forwarded request, for your ease - # of reference. + # of reference. # # @return [FinchAPI::Models::RequestForwardingForwardResponse::Request] required :request, -> { FinchAPI::Models::RequestForwardingForwardResponse::Request } # @!attribute status_code # The HTTP status code of the forwarded request’s response, exactly received from - # the underlying integration’s API. This value will be returned as an integer. + # the underlying integration’s API. This value will be returned as an integer. # # @return [Integer] required :status_code, Integer, api_name: :statusCode @@ -47,29 +47,29 @@ class RequestForwardingForwardResponse < FinchAPI::Internal::Type::BaseModel class Request < FinchAPI::Internal::Type::BaseModel # @!attribute data # The body that was specified for the forwarded request. If a value was not - # specified in the original request, this value will be returned as null ; - # otherwise, this value will always be returned as a string. + # specified in the original request, this value will be returned as null ; + # otherwise, this value will always be returned as a string. # # @return [String, nil] required :data, String, nil?: true # @!attribute headers # The specified HTTP headers that were included in the forwarded request. If no - # headers were specified, this will be returned as `null`. + # headers were specified, this will be returned as `null`. # # @return [Object, nil] required :headers, FinchAPI::Internal::Type::Unknown, nil?: true # @!attribute method_ # The HTTP method that was specified for the forwarded request. Valid values - # include: `GET` , `POST` , `PUT` , `DELETE` , and `PATCH`. + # include: `GET` , `POST` , `PUT` , `DELETE` , and `PATCH`. # # @return [String] required :method_, String, api_name: :method # @!attribute params # The query parameters that were included in the forwarded request. If no query - # parameters were specified, this will be returned as `null`. + # parameters were specified, this will be returned as `null`. # # @return [Object, nil] required :params, FinchAPI::Internal::Type::Unknown, nil?: true @@ -82,7 +82,7 @@ class Request < FinchAPI::Internal::Type::BaseModel # @!parse # # An object containing details of your original forwarded request, for your ease - # # of reference. + # # of reference. # # # # @param data [String, nil] # # @param headers [Object, nil] diff --git a/lib/finch_api/models/sandbox/company_update_params.rb b/lib/finch_api/models/sandbox/company_update_params.rb index 8cae2f0d..69da1024 100644 --- a/lib/finch_api/models/sandbox/company_update_params.rb +++ b/lib/finch_api/models/sandbox/company_update_params.rb @@ -119,7 +119,7 @@ class Account < FinchAPI::Internal::Type::BaseModel # @!attribute routing_number # A nine-digit code that's based on the U.S. Bank location where your account was - # opened. + # opened. # # @return [String, nil] optional :routing_number, String, nil?: true diff --git a/lib/finch_api/models/sandbox/company_update_response.rb b/lib/finch_api/models/sandbox/company_update_response.rb index f010028d..a16b0110 100644 --- a/lib/finch_api/models/sandbox/company_update_response.rb +++ b/lib/finch_api/models/sandbox/company_update_response.rb @@ -101,7 +101,7 @@ class Account < FinchAPI::Internal::Type::BaseModel # @!attribute routing_number # A nine-digit code that's based on the U.S. Bank location where your account was - # opened. + # opened. # # @return [String, nil] optional :routing_number, String, nil?: true diff --git a/lib/finch_api/models/sandbox/connection_create_params.rb b/lib/finch_api/models/sandbox/connection_create_params.rb index 989085a8..3f11f4c4 100644 --- a/lib/finch_api/models/sandbox/connection_create_params.rb +++ b/lib/finch_api/models/sandbox/connection_create_params.rb @@ -27,8 +27,8 @@ class ConnectionCreateParams < FinchAPI::Internal::Type::BaseModel # @!attribute [r] employee_size # Optional: the size of the employer to be created with this connection. Defaults - # to 20. Note that if this is higher than 100, historical payroll data will not be - # generated, and instead only one pay period will be created. + # to 20. Note that if this is higher than 100, historical payroll data will not be + # generated, and instead only one pay period will be created. # # @return [Integer, nil] optional :employee_size, Integer diff --git a/lib/finch_api/models/sandbox/connections/account_create_params.rb b/lib/finch_api/models/sandbox/connections/account_create_params.rb index 13553593..bbd8a933 100644 --- a/lib/finch_api/models/sandbox/connections/account_create_params.rb +++ b/lib/finch_api/models/sandbox/connections/account_create_params.rb @@ -33,7 +33,7 @@ class AccountCreateParams < FinchAPI::Internal::Type::BaseModel # @!attribute [r] products # Optional, defaults to Organization products (`company`, `directory`, - # `employment`, `individual`) + # `employment`, `individual`) # # @return [Array, nil] optional :products, FinchAPI::Internal::Type::ArrayOf[String] diff --git a/lib/finch_api/models/sandbox/directory_create_params.rb b/lib/finch_api/models/sandbox/directory_create_params.rb index 0c4dd0ac..e751f61a 100644 --- a/lib/finch_api/models/sandbox/directory_create_params.rb +++ b/lib/finch_api/models/sandbox/directory_create_params.rb @@ -11,7 +11,7 @@ class DirectoryCreateParams < FinchAPI::Internal::Type::BaseModel # @!attribute [r] body # Array of individuals to create. Takes all combined fields from `/individual` and - # `/employment` endpoints. All fields are optional. + # `/employment` endpoints. All fields are optional. # # @return [Array, nil] optional :body, @@ -38,8 +38,8 @@ class Body < FinchAPI::Internal::Type::BaseModel # @!attribute [r] 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 - # connections. + # employer in the system. Custom fields are not currently supported for assisted + # connections. # # @return [Array, nil] optional :custom_fields, @@ -87,8 +87,8 @@ class Body < FinchAPI::Internal::Type::BaseModel # @!attribute encrypted_ssn # Social Security Number of the individual in **encrypted** format. This field is - # only available with the `ssn` scope enabled and the - # `options: { include: ['ssn'] }` param set in the body. + # only available with the `ssn` scope enabled and the + # `options: { include: ['ssn'] }` param set in the body. # # @return [String, nil] optional :encrypted_ssn, String, nil?: true @@ -120,8 +120,8 @@ class Body < FinchAPI::Internal::Type::BaseModel # @!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, - # depending on what information the provider returns. + # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, + # depending on what information the provider returns. # # @return [FinchAPI::Models::Income, nil] optional :income, -> { FinchAPI::Models::Income }, nil?: true @@ -198,9 +198,9 @@ class Body < FinchAPI::Internal::Type::BaseModel # @!attribute ssn # Social Security Number of the individual. This field is only available with the - # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the - # body. - # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). + # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the + # body. + # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). # # @return [String, nil] optional :ssn, String, nil?: true @@ -366,7 +366,7 @@ module Type class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute subtype # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. # # @return [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Employment::Subtype, nil] optional :subtype, @@ -392,7 +392,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # def initialize: (Hash | FinchAPI::Internal::Type::BaseModel) -> void # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. # # @see FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Employment#subtype module Subtype diff --git a/lib/finch_api/models/sandbox/employment_update_params.rb b/lib/finch_api/models/sandbox/employment_update_params.rb index ebddfa64..97110833 100644 --- a/lib/finch_api/models/sandbox/employment_update_params.rb +++ b/lib/finch_api/models/sandbox/employment_update_params.rb @@ -17,8 +17,8 @@ class EmploymentUpdateParams < FinchAPI::Internal::Type::BaseModel # @!attribute [r] 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 - # connections. + # employer in the system. Custom fields are not currently supported for assisted + # connections. # # @return [Array, nil] optional :custom_fields, @@ -61,8 +61,8 @@ class EmploymentUpdateParams < FinchAPI::Internal::Type::BaseModel # @!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, - # depending on what information the provider returns. + # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, + # depending on what information the provider returns. # # @return [FinchAPI::Models::Income, nil] optional :income, -> { FinchAPI::Models::Income }, nil?: true @@ -222,7 +222,7 @@ class Department < FinchAPI::Internal::Type::BaseModel class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute subtype # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. # # @return [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::Employment::Subtype, nil] optional :subtype, @@ -248,7 +248,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # def initialize: (Hash | FinchAPI::Internal::Type::BaseModel) -> void # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. # # @see FinchAPI::Models::Sandbox::EmploymentUpdateParams::Employment#subtype module Subtype diff --git a/lib/finch_api/models/sandbox/employment_update_response.rb b/lib/finch_api/models/sandbox/employment_update_response.rb index 652bdf2a..955c2c56 100644 --- a/lib/finch_api/models/sandbox/employment_update_response.rb +++ b/lib/finch_api/models/sandbox/employment_update_response.rb @@ -23,8 +23,8 @@ class EmploymentUpdateResponse < FinchAPI::Internal::Type::BaseModel # @!attribute [r] 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 - # connections. + # employer in the system. Custom fields are not currently supported for assisted + # connections. # # @return [Array, nil] optional :custom_fields, @@ -67,8 +67,8 @@ class EmploymentUpdateResponse < FinchAPI::Internal::Type::BaseModel # @!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, - # depending on what information the provider returns. + # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, + # depending on what information the provider returns. # # @return [FinchAPI::Models::Income, nil] optional :income, -> { FinchAPI::Models::Income }, nil?: true @@ -230,7 +230,7 @@ class Department < FinchAPI::Internal::Type::BaseModel class Employment < FinchAPI::Internal::Type::BaseModel # @!attribute subtype # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. # # @return [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateResponse::Employment::Subtype, nil] optional :subtype, @@ -256,7 +256,7 @@ class Employment < FinchAPI::Internal::Type::BaseModel # def initialize: (Hash | FinchAPI::Internal::Type::BaseModel) -> void # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. # # @see FinchAPI::Models::Sandbox::EmploymentUpdateResponse::Employment#subtype module Subtype diff --git a/lib/finch_api/models/sandbox/individual_update_params.rb b/lib/finch_api/models/sandbox/individual_update_params.rb index b4d8a2ed..3a70752e 100644 --- a/lib/finch_api/models/sandbox/individual_update_params.rb +++ b/lib/finch_api/models/sandbox/individual_update_params.rb @@ -23,8 +23,8 @@ class IndividualUpdateParams < FinchAPI::Internal::Type::BaseModel # @!attribute encrypted_ssn # Social Security Number of the individual in **encrypted** format. This field is - # only available with the `ssn` scope enabled and the - # `options: { include: ['ssn'] }` param set in the body. + # only available with the `ssn` scope enabled and the + # `options: { include: ['ssn'] }` param set in the body. # # @return [String, nil] optional :encrypted_ssn, String, nil?: true @@ -79,9 +79,9 @@ class IndividualUpdateParams < FinchAPI::Internal::Type::BaseModel # @!attribute ssn # Social Security Number of the individual. This field is only available with the - # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the - # body. - # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). + # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the + # body. + # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). # # @return [String, nil] optional :ssn, String, nil?: true diff --git a/lib/finch_api/models/sandbox/individual_update_response.rb b/lib/finch_api/models/sandbox/individual_update_response.rb index 42212f3d..97770ced 100644 --- a/lib/finch_api/models/sandbox/individual_update_response.rb +++ b/lib/finch_api/models/sandbox/individual_update_response.rb @@ -29,8 +29,8 @@ class IndividualUpdateResponse < FinchAPI::Internal::Type::BaseModel # @!attribute encrypted_ssn # Social Security Number of the individual in **encrypted** format. This field is - # only available with the `ssn` scope enabled and the - # `options: { include: ['ssn'] }` param set in the body. + # only available with the `ssn` scope enabled and the + # `options: { include: ['ssn'] }` param set in the body. # # @return [String, nil] optional :encrypted_ssn, String, nil?: true @@ -87,9 +87,9 @@ class IndividualUpdateResponse < FinchAPI::Internal::Type::BaseModel # @!attribute ssn # Social Security Number of the individual. This field is only available with the - # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the - # body. - # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). + # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the + # body. + # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). # # @return [String, nil] optional :ssn, String, nil?: true diff --git a/lib/finch_api/models/sandbox/payment_create_params.rb b/lib/finch_api/models/sandbox/payment_create_params.rb index 469f8218..f8eed62a 100644 --- a/lib/finch_api/models/sandbox/payment_create_params.rb +++ b/lib/finch_api/models/sandbox/payment_create_params.rb @@ -173,7 +173,7 @@ class Earning < FinchAPI::Internal::Type::BaseModel # @!attribute hours # The number of hours associated with this earning. (For salaried employees, this - # could be hours per pay period, `0` or `null`, depending on the provider). + # could be hours per pay period, `0` or `null`, depending on the provider). # # @return [Float, nil] optional :hours, Float, nil?: true @@ -227,8 +227,8 @@ class Attributes < FinchAPI::Internal::Type::BaseModel class Metadata < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] @@ -347,8 +347,8 @@ class Attributes < FinchAPI::Internal::Type::BaseModel class Metadata < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] @@ -433,8 +433,8 @@ class Attributes < FinchAPI::Internal::Type::BaseModel class Metadata < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] @@ -544,8 +544,8 @@ class Attributes < FinchAPI::Internal::Type::BaseModel class Metadata < FinchAPI::Internal::Type::BaseModel # @!attribute [r] metadata # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). # # @return [Hash{Symbol=>Object}, nil] optional :metadata, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] diff --git a/lib/finch_api/request_options.rb b/lib/finch_api/request_options.rb index a8cc7cc6..df8b9c7e 100644 --- a/lib/finch_api/request_options.rb +++ b/lib/finch_api/request_options.rb @@ -2,10 +2,10 @@ module FinchAPI # Specify HTTP behaviour to use for a specific request. These options supplement - # or override those provided at the client level. + # or override those provided at the client level. # - # When making a request, you can pass an actual {RequestOptions} instance, or - # simply pass a Hash with symbol keys matching the attributes on this class. + # When making a request, you can pass an actual {RequestOptions} instance, or + # simply pass a Hash with symbol keys matching the attributes on this class. class RequestOptions < FinchAPI::Internal::Type::BaseModel # @api private # @@ -27,28 +27,28 @@ def self.validate!(opts) # @!attribute idempotency_key # Idempotency key to send with request and all associated retries. Will only be - # sent for write requests. + # sent for write requests. # # @return [String, nil] optional :idempotency_key, String # @!attribute extra_query # Extra query params to send with the request. These are `.merge`’d into any - # `query` given at the client level. + # `query` given at the client level. # # @return [Hash{String=>Array, String, nil}, nil] optional :extra_query, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::ArrayOf[String]] # @!attribute extra_headers # Extra headers to send with the request. These are `.merged`’d into any - # `extra_headers` given at the client level. + # `extra_headers` given at the client level. # # @return [Hash{String=>String, nil}, nil] optional :extra_headers, FinchAPI::Internal::Type::HashOf[String, nil?: true] # @!attribute extra_body # Extra data to send with the request. These are deep merged into any data - # generated as part of the normal request. + # generated as part of the normal request. # # @return [Object, nil] optional :extra_body, FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown] diff --git a/lib/finch_api/resources/hris/benefits.rb b/lib/finch_api/resources/hris/benefits.rb index 42d97884..fcfdd9a6 100644 --- a/lib/finch_api/resources/hris/benefits.rb +++ b/lib/finch_api/resources/hris/benefits.rb @@ -8,7 +8,7 @@ class Benefits attr_reader :individuals # Creates a new company-wide deduction or contribution. Please use the - # `/providers` endpoint to view available types for each provider. + # `/providers` endpoint to view available types for each provider. # # @overload create(description: nil, frequency: nil, type: nil, request_options: {}) # diff --git a/lib/finch_api/resources/hris/benefits/individuals.rb b/lib/finch_api/resources/hris/benefits/individuals.rb index 58493932..5d3e03fb 100644 --- a/lib/finch_api/resources/hris/benefits/individuals.rb +++ b/lib/finch_api/resources/hris/benefits/individuals.rb @@ -6,9 +6,9 @@ class HRIS class Benefits class Individuals # Enroll an individual into a deduction or contribution. This is an overwrite - # operation. If the employee is already enrolled, the enrollment amounts will be - # adjusted. Making the same request multiple times will not create new - # enrollments, but will continue to set the state of the existing enrollment. + # operation. If the employee is already enrolled, the enrollment amounts will be + # adjusted. Making the same request multiple times will not create new + # enrollments, but will continue to set the state of the existing enrollment. # # @overload enroll_many(benefit_id, individuals: nil, request_options: {}) # diff --git a/lib/finch_api/resources/hris/company/pay_statement_item.rb b/lib/finch_api/resources/hris/company/pay_statement_item.rb index 82a3bd2f..02b107df 100644 --- a/lib/finch_api/resources/hris/company/pay_statement_item.rb +++ b/lib/finch_api/resources/hris/company/pay_statement_item.rb @@ -9,8 +9,8 @@ class PayStatementItem attr_reader :rules # **Beta:** this endpoint currently serves employers onboarded after March 4th and - # historical support will be added soon Retrieve a list of detailed pay statement - # items for the access token's connection account. + # historical support will be added soon Retrieve a list of detailed pay statement + # items for the access token's connection account. # # @overload list(categories: nil, end_date: nil, name: nil, start_date: nil, type: nil, request_options: {}) # diff --git a/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb b/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb index 5ac36519..7b4a0648 100644 --- a/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +++ b/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb @@ -7,11 +7,11 @@ class Company class PayStatementItem class Rules # **Beta:** this endpoint currently serves employers onboarded after March 4th and - # historical support will be added soon Custom rules can be created to associate - # specific attributes to pay statement items depending on the use case. For - # example, pay statement items that meet certain conditions can be labeled as a - # pre-tax 401k. This metadata can be retrieved where pay statement item - # information is available. + # historical support will be added soon Custom rules can be created to associate + # specific attributes to pay statement items depending on the use case. For + # example, pay statement items that meet certain conditions can be labeled as a + # pre-tax 401k. This metadata can be retrieved where pay statement item + # information is available. # # @overload create(attributes: nil, conditions: nil, effective_end_date: nil, effective_start_date: nil, entity_type: nil, request_options: {}) # @@ -38,7 +38,7 @@ def create(params = {}) end # **Beta:** this endpoint currently serves employers onboarded after March 4th and - # historical support will be added soon Update a rule for a pay statement item. + # historical support will be added soon Update a rule for a pay statement item. # # @overload update(rule_id, optional_property: nil, request_options: {}) # @@ -62,7 +62,7 @@ def update(rule_id, params = {}) end # **Beta:** this endpoint currently serves employers onboarded after March 4th and - # historical support will be added soon List all rules of a connection account. + # historical support will be added soon List all rules of a connection account. # # @overload list(request_options: {}) # @@ -82,7 +82,7 @@ def list(params = {}) end # **Beta:** this endpoint currently serves employers onboarded after March 4th and - # historical support will be added soon Delete a rule for a pay statement item. + # historical support will be added soon Delete a rule for a pay statement item. # # @overload delete(rule_id, request_options: {}) # diff --git a/lib/finch_api/resources/hris/documents.rb b/lib/finch_api/resources/hris/documents.rb index 72a8b88c..5ff8f92d 100644 --- a/lib/finch_api/resources/hris/documents.rb +++ b/lib/finch_api/resources/hris/documents.rb @@ -5,7 +5,7 @@ module Resources class HRIS class Documents # **Beta:** This endpoint is in beta and may change. Retrieve a list of - # company-wide documents. + # company-wide documents. # # @overload list(individual_ids: nil, limit: nil, offset: nil, types: nil, request_options: {}) # @@ -30,7 +30,7 @@ def list(params = {}) end # **Beta:** This endpoint is in beta and may change. Retrieve details of a - # specific document by its ID. + # specific document by its ID. # # @overload retreive(document_id, request_options: {}) # diff --git a/lib/finch_api/resources/hris/pay_statements.rb b/lib/finch_api/resources/hris/pay_statements.rb index 1111a9c4..c76827de 100644 --- a/lib/finch_api/resources/hris/pay_statements.rb +++ b/lib/finch_api/resources/hris/pay_statements.rb @@ -6,8 +6,8 @@ class HRIS class PayStatements # Read detailed pay statements for each individual. # - # Deduction and contribution types are supported by the payroll systems that - # supports Benefits. + # Deduction and contribution types are supported by the payroll systems that + # supports Benefits. # # @overload retrieve_many(requests:, request_options: {}) # diff --git a/lib/finch_api/resources/jobs/automated.rb b/lib/finch_api/resources/jobs/automated.rb index 3afa9591..17f9d8bc 100644 --- a/lib/finch_api/resources/jobs/automated.rb +++ b/lib/finch_api/resources/jobs/automated.rb @@ -6,18 +6,18 @@ class Jobs class Automated # Enqueue an automated job. # - # `data_sync_all`: Enqueue a job to re-sync all data for a connection. - # `data_sync_all` has a concurrency limit of 1 job at a time per connection. This - # means that if this endpoint is called while a job is already in progress for - # this connection, Finch will return the `job_id` of the job that is currently in - # progress. Finch allows a fixed window rate limit of 1 forced refresh per hour - # per connection. + # `data_sync_all`: Enqueue a job to re-sync all data for a connection. + # `data_sync_all` has a concurrency limit of 1 job at a time per connection. This + # means that if this endpoint is called while a job is already in progress for + # this connection, Finch will return the `job_id` of the job that is currently in + # progress. Finch allows a fixed window rate limit of 1 forced refresh per hour + # per connection. # - # `w4_form_employee_sync`: Enqueues a job for sync W-4 data for a particular - # individual, identified by `individual_id`. This feature is currently in beta. + # `w4_form_employee_sync`: Enqueues a job for sync W-4 data for a particular + # individual, identified by `individual_id`. This feature is currently in beta. # - # This endpoint is available for _Scale_ tier customers as an add-on. To request - # access to this endpoint, please contact your Finch account manager. + # This endpoint is available for _Scale_ tier customers as an add-on. To request + # access to this endpoint, please contact your Finch account manager. # # @overload create(type:, params:, request_options: {}) # @@ -59,8 +59,8 @@ def retrieve(job_id, params = {}) end # Get all automated jobs. Automated jobs are completed by a machine. By default, - # jobs are sorted in descending order by submission time. For scheduled jobs such - # as data syncs, only the next scheduled job is shown. + # jobs are sorted in descending order by submission time. For scheduled jobs such + # as data syncs, only the next scheduled job is shown. # # @overload list(limit: nil, offset: nil, request_options: {}) # diff --git a/lib/finch_api/resources/jobs/manual.rb b/lib/finch_api/resources/jobs/manual.rb index 15a00d99..c591382c 100644 --- a/lib/finch_api/resources/jobs/manual.rb +++ b/lib/finch_api/resources/jobs/manual.rb @@ -5,7 +5,7 @@ module Resources class Jobs class Manual # Get a manual job by `job_id`. Manual jobs are completed by a human and include - # Assisted Benefits jobs. + # Assisted Benefits jobs. # # @overload retrieve(job_id, request_options: {}) # diff --git a/lib/finch_api/resources/request_forwarding.rb b/lib/finch_api/resources/request_forwarding.rb index b00d4fac..2f763ae2 100644 --- a/lib/finch_api/resources/request_forwarding.rb +++ b/lib/finch_api/resources/request_forwarding.rb @@ -4,9 +4,9 @@ module FinchAPI module Resources class RequestForwarding # The Forward API allows you to make direct requests to an employment system. If - # Finch’s unified API doesn’t have a data model that cleanly fits your needs, then - # Forward allows you to push or pull data models directly against an integration’s - # API. + # Finch’s unified API doesn’t have a data model that cleanly fits your needs, then + # Forward allows you to push or pull data models directly against an integration’s + # API. # # @overload forward(method_:, route:, data: nil, headers: nil, params: nil, request_options: {}) # diff --git a/lib/finch_api/resources/sandbox/connections/accounts.rb b/lib/finch_api/resources/sandbox/connections/accounts.rb index 378d2dd7..ed5dec20 100644 --- a/lib/finch_api/resources/sandbox/connections/accounts.rb +++ b/lib/finch_api/resources/sandbox/connections/accounts.rb @@ -30,7 +30,7 @@ def create(params) end # Update an existing sandbox account. Change the connection status to understand - # how the Finch API responds. + # how the Finch API responds. # # @overload update(connection_status: nil, request_options: {}) # diff --git a/rbi/lib/finch_api/internal.rbi b/rbi/lib/finch_api/internal.rbi index 1936f73e..cf92b7f1 100644 --- a/rbi/lib/finch_api/internal.rbi +++ b/rbi/lib/finch_api/internal.rbi @@ -4,7 +4,7 @@ module FinchAPI # @api private module Internal # Due to the current WIP status of Shapes support in Sorbet, types referencing - # this alias might be refined in the future. + # this alias might be refined in the future. AnyHash = T.type_alias { T::Hash[Symbol, T.anything] } OMIT = T.let(T.anything, T.anything) diff --git a/rbi/lib/finch_api/internal/transport/base_client.rbi b/rbi/lib/finch_api/internal/transport/base_client.rbi index dcee007c..97064ad4 100644 --- a/rbi/lib/finch_api/internal/transport/base_client.rbi +++ b/rbi/lib/finch_api/internal/transport/base_client.rbi @@ -151,7 +151,7 @@ module FinchAPI private def send_request(request, redirect_count:, retry_count:, send_retry_header:); end # Execute the request specified by `req`. This is the method that all resource - # methods call into. + # methods call into. # # @overload request(method, path, query: {}, headers: {}, body: nil, unwrap: nil, page: nil, stream: nil, model: FinchAPI::Internal::Type::Unknown, options: {}) sig do diff --git a/rbi/lib/finch_api/internal/transport/pooled_net_requester.rbi b/rbi/lib/finch_api/internal/transport/pooled_net_requester.rbi index 0e030e15..07527cdc 100644 --- a/rbi/lib/finch_api/internal/transport/pooled_net_requester.rbi +++ b/rbi/lib/finch_api/internal/transport/pooled_net_requester.rbi @@ -17,7 +17,7 @@ module FinchAPI end # from the golang stdlib - # https://github.com/golang/go/blob/c8eced8580028328fde7c03cbfcb720ce15b2358/src/net/http/transport.go#L49 + # https://github.com/golang/go/blob/c8eced8580028328fde7c03cbfcb720ce15b2358/src/net/http/transport.go#L49 KEEP_ALIVE_TIMEOUT = 30 class << self diff --git a/rbi/lib/finch_api/internal/type/base_model.rbi b/rbi/lib/finch_api/internal/type/base_model.rbi index 8099c73a..a5ec046e 100644 --- a/rbi/lib/finch_api/internal/type/base_model.rbi +++ b/rbi/lib/finch_api/internal/type/base_model.rbi @@ -16,7 +16,7 @@ module FinchAPI # @api private # # Assumes superclass fields are totally defined before fields are accessed / - # defined on subclasses. + # defined on subclasses. sig do returns( T::Hash[ @@ -99,7 +99,7 @@ module FinchAPI # @api private # # `request_only` attributes not excluded from `.#coerce` when receiving responses - # even if well behaved servers should not send them + # even if well behaved servers should not send them sig { params(blk: T.proc.void).void } private def request_only(&blk); end @@ -142,33 +142,33 @@ module FinchAPI end # Returns the raw value associated with the given key, if found. Otherwise, nil is - # returned. + # returned. # - # It is valid to lookup keys that are not in the API spec, for example to access - # undocumented features. This method does not parse response data into - # higher-level types. Lookup by anything other than a Symbol is an ArgumentError. + # It is valid to lookup keys that are not in the API spec, for example to access + # undocumented features. This method does not parse response data into + # higher-level types. Lookup by anything other than a Symbol is an ArgumentError. sig { params(key: Symbol).returns(T.nilable(T.anything)) } def [](key); end # Returns a Hash of the data underlying this object. O(1) # - # Keys are Symbols and values are the raw values from the response. The return - # value indicates which values were ever set on the object. i.e. there will be a - # key in this hash if they ever were, even if the set value was nil. + # Keys are Symbols and values are the raw values from the response. The return + # value indicates which values were ever set on the object. i.e. there will be a + # key in this hash if they ever were, even if the set value was nil. # - # This method is not recursive. The returned value is shared by the object, so it - # should not be mutated. + # This method is not recursive. The returned value is shared by the object, so it + # should not be mutated. sig { overridable.returns(FinchAPI::Internal::AnyHash) } def to_h; end # Returns a Hash of the data underlying this object. O(1) # - # Keys are Symbols and values are the raw values from the response. The return - # value indicates which values were ever set on the object. i.e. there will be a - # key in this hash if they ever were, even if the set value was nil. + # Keys are Symbols and values are the raw values from the response. The return + # value indicates which values were ever set on the object. i.e. there will be a + # key in this hash if they ever were, even if the set value was nil. # - # This method is not recursive. The returned value is shared by the object, so it - # should not be mutated. + # This method is not recursive. The returned value is shared by the object, so it + # should not be mutated. sig { overridable.returns(FinchAPI::Internal::AnyHash) } def to_hash; end diff --git a/rbi/lib/finch_api/internal/type/converter.rbi b/rbi/lib/finch_api/internal/type/converter.rbi index 82c51eb7..9b3933bf 100644 --- a/rbi/lib/finch_api/internal/type/converter.rbi +++ b/rbi/lib/finch_api/internal/type/converter.rbi @@ -51,13 +51,13 @@ module FinchAPI # # Based on `target`, transform `value` into `target`, to the extent possible: # - # 1. if the given `value` conforms to `target` already, return the given `value` - # 2. if it's possible and safe to convert the given `value` to `target`, then the - # converted value - # 3. otherwise, the given `value` unaltered + # 1. if the given `value` conforms to `target` already, return the given `value` + # 2. if it's possible and safe to convert the given `value` to `target`, then the + # converted value + # 3. otherwise, the given `value` unaltered # - # The coercion process is subject to improvement between minor release versions. - # See https://docs.pydantic.dev/latest/concepts/unions/#smart-mode + # The coercion process is subject to improvement between minor release versions. + # See https://docs.pydantic.dev/latest/concepts/unions/#smart-mode sig do params( target: FinchAPI::Internal::Type::Converter::Input, @@ -70,24 +70,24 @@ module FinchAPI target, value, # The `strictness` is one of `true`, `false`, or `:strong`. This informs the - # coercion strategy when we have to decide between multiple possible conversion - # targets: + # coercion strategy when we have to decide between multiple possible conversion + # targets: # - # - `true`: the conversion must be exact, with minimum coercion. - # - `false`: the conversion can be approximate, with some coercion. - # - `:strong`: the conversion must be exact, with no coercion, and raise an error - # if not possible. + # - `true`: the conversion must be exact, with minimum coercion. + # - `false`: the conversion can be approximate, with some coercion. + # - `:strong`: the conversion must be exact, with no coercion, and raise an error + # if not possible. # - # The `exactness` is `Hash` with keys being one of `yes`, `no`, or `maybe`. For - # any given conversion attempt, the exactness will be updated based on how closely - # the value recursively matches the target type: + # The `exactness` is `Hash` with keys being one of `yes`, `no`, or `maybe`. For + # any given conversion attempt, the exactness will be updated based on how closely + # the value recursively matches the target type: # - # - `yes`: the value can be converted to the target type with minimum coercion. - # - `maybe`: the value can be converted to the target type with some reasonable - # coercion. - # - `no`: the value cannot be converted to the target type. + # - `yes`: the value can be converted to the target type with minimum coercion. + # - `maybe`: the value can be converted to the target type with some reasonable + # coercion. + # - `no`: the value cannot be converted to the target type. # - # See implementation below for more details. + # See implementation below for more details. state: {strictness: true, exactness: {yes: 0, no: 0, maybe: 0}, branched: 0} ); end # @api private diff --git a/rbi/lib/finch_api/internal/type/enum.rbi b/rbi/lib/finch_api/internal/type/enum.rbi index a288584e..5e0fb98f 100644 --- a/rbi/lib/finch_api/internal/type/enum.rbi +++ b/rbi/lib/finch_api/internal/type/enum.rbi @@ -6,15 +6,15 @@ module FinchAPI # @api private # # A value from among a specified list of options. OpenAPI enum values map to Ruby - # values in the SDK as follows: + # values in the SDK as follows: # - # 1. boolean => true | false - # 2. integer => Integer - # 3. float => Float - # 4. string => Symbol + # 1. boolean => true | false + # 2. integer => Integer + # 3. float => Float + # 4. string => Symbol # - # We can therefore convert string values to Symbols, but can't convert other - # values safely. + # We can therefore convert string values to Symbols, but can't convert other + # values safely. module Enum include FinchAPI::Internal::Type::Converter @@ -37,7 +37,7 @@ module FinchAPI # @api private # # Unlike with primitives, `Enum` additionally validates that the value is a member - # of the enum. + # of the enum. sig do override .params(value: T.any( diff --git a/rbi/lib/finch_api/internal/util.rbi b/rbi/lib/finch_api/internal/util.rbi index 5288f4a8..bb5d0abc 100644 --- a/rbi/lib/finch_api/internal/util.rbi +++ b/rbi/lib/finch_api/internal/util.rbi @@ -52,7 +52,7 @@ module FinchAPI # @api private # # Recursively merge one hash with another. If the values at a given key are not - # both hashes, just take the new value. + # both hashes, just take the new value. sig do params(values: T::Array[T.anything], sentinel: T.nilable(T.anything), concat: T::Boolean) .returns(T.anything) diff --git a/rbi/lib/finch_api/models/account_update_event.rbi b/rbi/lib/finch_api/models/account_update_event.rbi index 59dc9206..2f3efb72 100644 --- a/rbi/lib/finch_api/models/account_update_event.rbi +++ b/rbi/lib/finch_api/models/account_update_event.rbi @@ -72,7 +72,7 @@ module FinchAPI class AuthenticationMethod < FinchAPI::Internal::Type::BaseModel # Each benefit type and their supported features. If the benefit type is not - # supported, the property will be null + # supported, the property will be null sig { returns(T.nilable(FinchAPI::Models::HRIS::BenefitsSupport)) } attr_reader :benefits_support diff --git a/rbi/lib/finch_api/models/base_webhook_event.rbi b/rbi/lib/finch_api/models/base_webhook_event.rbi index 63066b56..18ed7194 100644 --- a/rbi/lib/finch_api/models/base_webhook_event.rbi +++ b/rbi/lib/finch_api/models/base_webhook_event.rbi @@ -4,13 +4,13 @@ module FinchAPI module Models class BaseWebhookEvent < FinchAPI::Internal::Type::BaseModel # [DEPRECATED] Unique Finch ID of the employer account used to make this - # connection. Use `connection_id` instead to identify the connection associated - # with this event. + # connection. Use `connection_id` instead to identify the connection associated + # with this event. sig { returns(String) } attr_accessor :account_id # [DEPRECATED] Unique Finch ID of the company for which data has been updated. Use - # `connection_id` instead to identify the connection associated with this event. + # `connection_id` instead to identify the connection associated with this event. sig { returns(String) } attr_accessor :company_id diff --git a/rbi/lib/finch_api/models/connect/session_new_params.rbi b/rbi/lib/finch_api/models/connect/session_new_params.rbi index 48518875..753f77c5 100644 --- a/rbi/lib/finch_api/models/connect/session_new_params.rbi +++ b/rbi/lib/finch_api/models/connect/session_new_params.rbi @@ -34,7 +34,7 @@ module FinchAPI attr_accessor :manual # The number of minutes until the session expires (defaults to 43,200, which is 30 - # days) + # days) sig { returns(T.nilable(Float)) } attr_accessor :minutes_to_expire diff --git a/rbi/lib/finch_api/models/connect/session_reauthenticate_params.rbi b/rbi/lib/finch_api/models/connect/session_reauthenticate_params.rbi index 2c078fd7..255caef8 100644 --- a/rbi/lib/finch_api/models/connect/session_reauthenticate_params.rbi +++ b/rbi/lib/finch_api/models/connect/session_reauthenticate_params.rbi @@ -12,7 +12,7 @@ module FinchAPI attr_accessor :connection_id # The number of minutes until the session expires (defaults to 43,200, which is 30 - # days) + # days) sig { returns(T.nilable(Integer)) } attr_accessor :minutes_to_expire diff --git a/rbi/lib/finch_api/models/create_access_token_response.rbi b/rbi/lib/finch_api/models/create_access_token_response.rbi index dde939e1..77fa21fa 100644 --- a/rbi/lib/finch_api/models/create_access_token_response.rbi +++ b/rbi/lib/finch_api/models/create_access_token_response.rbi @@ -8,7 +8,7 @@ module FinchAPI attr_accessor :access_token # [DEPRECATED] Use `connection_id` to identify the connection instead of this - # account ID. + # account ID. sig { returns(String) } attr_accessor :account_id @@ -17,7 +17,7 @@ module FinchAPI attr_accessor :client_type # [DEPRECATED] Use `connection_id` to identify the connection instead of this - # company ID. + # company ID. sig { returns(String) } attr_accessor :company_id @@ -27,8 +27,8 @@ module FinchAPI # The type of the connection associated with the token. # - # - `provider` - connection to an external provider - # - `finch` - finch-generated data. + # - `provider` - connection to an external provider + # - `finch` - finch-generated data. sig { returns(FinchAPI::Models::CreateAccessTokenResponse::ConnectionType::TaggedSymbol) } attr_accessor :connection_type @@ -41,7 +41,7 @@ module FinchAPI attr_accessor :provider_id # The ID of your customer you provided to Finch when a connect session was created - # for this connection. + # for this connection. sig { returns(T.nilable(String)) } attr_accessor :customer_id @@ -116,8 +116,8 @@ module FinchAPI # The type of the connection associated with the token. # - # - `provider` - connection to an external provider - # - `finch` - finch-generated data. + # - `provider` - connection to an external provider + # - `finch` - finch-generated data. module ConnectionType extend FinchAPI::Internal::Type::Enum diff --git a/rbi/lib/finch_api/models/hris/benefit_create_params.rbi b/rbi/lib/finch_api/models/hris/benefit_create_params.rbi index 13c58ad1..d3769b9b 100644 --- a/rbi/lib/finch_api/models/hris/benefit_create_params.rbi +++ b/rbi/lib/finch_api/models/hris/benefit_create_params.rbi @@ -8,8 +8,8 @@ module FinchAPI include FinchAPI::Internal::Type::RequestParameters # Name of the benefit as it appears in the provider and pay statements. Recommend - # limiting this to <30 characters due to limitations in specific providers (e.g. - # Justworks). + # limiting this to <30 characters due to limitations in specific providers (e.g. + # Justworks). sig { returns(T.nilable(String)) } attr_reader :description diff --git a/rbi/lib/finch_api/models/hris/benefit_features_and_operations.rbi b/rbi/lib/finch_api/models/hris/benefit_features_and_operations.rbi index 1dc04293..d9ca53a7 100644 --- a/rbi/lib/finch_api/models/hris/benefit_features_and_operations.rbi +++ b/rbi/lib/finch_api/models/hris/benefit_features_and_operations.rbi @@ -58,12 +58,12 @@ module FinchAPI attr_accessor :annual_maximum # Whether the provider supports catch up for this benefit. This field will only be - # true for retirement benefits. + # true for retirement benefits. sig { returns(T.nilable(T::Boolean)) } attr_accessor :catch_up # Supported contribution types. An empty array indicates contributions are not - # supported. + # supported. sig do returns( T.nilable( @@ -81,7 +81,7 @@ module FinchAPI attr_accessor :description # Supported deduction types. An empty array indicates deductions are not - # supported. + # supported. sig do returns( T.nilable( @@ -103,7 +103,7 @@ module FinchAPI attr_writer :frequencies # Whether the provider supports HSA contribution limits. Empty if this feature is - # not supported for the benefit. This array only has values for HSA benefits. + # not supported for the benefit. This array only has values for HSA benefits. sig do returns( T.nilable( diff --git a/rbi/lib/finch_api/models/hris/benefits/individual_benefit.rbi b/rbi/lib/finch_api/models/hris/benefits/individual_benefit.rbi index b80ccc3e..6a86304d 100644 --- a/rbi/lib/finch_api/models/hris/benefits/individual_benefit.rbi +++ b/rbi/lib/finch_api/models/hris/benefits/individual_benefit.rbi @@ -52,7 +52,7 @@ module FinchAPI attr_accessor :annual_maximum # If the benefit supports catch up (401k, 403b, etc.), whether catch up is enabled - # for this individual. + # for this individual. sig { returns(T.nilable(T::Boolean)) } attr_accessor :catch_up diff --git a/rbi/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rbi b/rbi/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rbi index 01c26091..714f9075 100644 --- a/rbi/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +++ b/rbi/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rbi @@ -101,7 +101,7 @@ module FinchAPI class Configuration < FinchAPI::Internal::Type::BaseModel # For HSA benefits only - whether the contribution limit is for an individual or - # family + # family sig do returns( T.nilable( @@ -218,7 +218,7 @@ module FinchAPI def to_hash; end # For HSA benefits only - whether the contribution limit is for an individual or - # family + # family module AnnualContributionLimit extend FinchAPI::Internal::Type::Enum @@ -259,7 +259,7 @@ module FinchAPI class CompanyContribution < FinchAPI::Internal::Type::BaseModel # Amount in cents for fixed type or basis points (1/100th of a percent) for - # percent type + # percent type sig { returns(T.nilable(Integer)) } attr_reader :amount @@ -344,7 +344,7 @@ module FinchAPI class EmployeeDeduction < FinchAPI::Internal::Type::BaseModel # Amount in cents for fixed type or basis points (1/100th of a percent) for - # percent type + # percent type sig { returns(T.nilable(Integer)) } attr_reader :amount diff --git a/rbi/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi b/rbi/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi index 50993c94..95fa46dd 100644 --- a/rbi/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +++ b/rbi/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi @@ -9,7 +9,7 @@ module FinchAPI include FinchAPI::Internal::Type::RequestParameters # comma-delimited list of stable Finch uuids for each individual. If empty, - # defaults to all individuals + # defaults to all individuals sig { returns(T.nilable(String)) } attr_reader :individual_ids diff --git a/rbi/lib/finch_api/models/hris/benefits_support.rbi b/rbi/lib/finch_api/models/hris/benefits_support.rbi index 1732abc8..344d0e92 100644 --- a/rbi/lib/finch_api/models/hris/benefits_support.rbi +++ b/rbi/lib/finch_api/models/hris/benefits_support.rbi @@ -137,7 +137,7 @@ module FinchAPI attr_writer :simple_ira # Each benefit type and their supported features. If the benefit type is not - # supported, the property will be null + # supported, the property will be null sig do params( commuter: T.nilable(T.any(FinchAPI::Models::HRIS::BenefitFeaturesAndOperations, FinchAPI::Internal::AnyHash)), diff --git a/rbi/lib/finch_api/models/hris/company.rbi b/rbi/lib/finch_api/models/hris/company.rbi index 78e3d96e..cd9f2820 100644 --- a/rbi/lib/finch_api/models/hris/company.rbi +++ b/rbi/lib/finch_api/models/hris/company.rbi @@ -108,7 +108,7 @@ module FinchAPI attr_accessor :institution_name # A nine-digit code that's based on the U.S. Bank location where your account was - # opened. + # opened. sig { returns(T.nilable(String)) } attr_accessor :routing_number diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi index f3236582..7d05d70a 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi @@ -112,7 +112,7 @@ module FinchAPI class Attributes < FinchAPI::Internal::Type::BaseModel # The metadata to be attached in the entity. It is a key-value pairs where the - # values can be of any type (string, number, boolean, object, array, etc.). + # values can be of any type (string, number, boolean, object, array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi index a488c0f1..0ccb847a 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi @@ -146,7 +146,7 @@ module FinchAPI class Attributes < FinchAPI::Internal::Type::BaseModel # The metadata to be attached in the entity. It is a key-value pairs where the - # values can be of any type (string, number, boolean, object, array, etc.). + # values can be of any type (string, number, boolean, object, array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi index af60164f..fa98c441 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi @@ -156,7 +156,7 @@ module FinchAPI class Attributes < FinchAPI::Internal::Type::BaseModel # The metadata to be attached in the entity. It is a key-value pairs where the - # values can be of any type (string, number, boolean, object, array, etc.). + # values can be of any type (string, number, boolean, object, array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi index f3d900b1..853dafc4 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi @@ -146,7 +146,7 @@ module FinchAPI class Attributes < FinchAPI::Internal::Type::BaseModel # The metadata to be attached in the entity. It is a key-value pairs where the - # values can be of any type (string, number, boolean, object, array, etc.). + # values can be of any type (string, number, boolean, object, array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi index 26f78e9e..39e98ac6 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi @@ -146,7 +146,7 @@ module FinchAPI class Attributes < FinchAPI::Internal::Type::BaseModel # The metadata to be attached in the entity. It is a key-value pairs where the - # values can be of any type (string, number, boolean, object, array, etc.). + # values can be of any type (string, number, boolean, object, array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_params.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_params.rbi index babfad19..e2765a6a 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_params.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_params.rbi @@ -9,7 +9,7 @@ module FinchAPI include FinchAPI::Internal::Type::RequestParameters # Comma-delimited list of pay statement item categories to filter on. If empty, - # defaults to all categories. + # defaults to all categories. sig do returns( T.nilable(T::Array[FinchAPI::Models::HRIS::Company::PayStatementItemListParams::Category::OrSymbol]) @@ -26,7 +26,7 @@ module FinchAPI attr_writer :categories # The end date to retrieve pay statement items by via their last seen pay date in - # `YYYY-MM-DD` format. + # `YYYY-MM-DD` format. sig { returns(T.nilable(Date)) } attr_reader :end_date @@ -41,7 +41,7 @@ module FinchAPI attr_writer :name # The start date to retrieve pay statement items by via their last seen pay date - # (inclusive) in `YYYY-MM-DD` format. + # (inclusive) in `YYYY-MM-DD` format. sig { returns(T.nilable(Date)) } attr_reader :start_date diff --git a/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_response.rbi b/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_response.rbi index 49c53322..af9de71d 100644 --- a/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_response.rbi +++ b/rbi/lib/finch_api/models/hris/company/pay_statement_item_list_response.rbi @@ -61,17 +61,17 @@ module FinchAPI class Attributes < FinchAPI::Internal::Type::BaseModel # `true` if the amount is paid by the employers. This field is only available for - # taxes. + # taxes. sig { returns(T.nilable(T::Boolean)) } attr_accessor :employer # The metadata of the pay statement item derived by the rules engine if available. - # Each attribute will be a key-value pair defined by a rule. + # Each attribute will be a key-value pair defined by a rule. sig { returns(T.nilable(T.anything)) } attr_accessor :metadata # `true` if the pay statement item is pre-tax. This field is only available for - # employee deductions. + # employee deductions. sig { returns(T.nilable(T::Boolean)) } attr_accessor :pre_tax diff --git a/rbi/lib/finch_api/models/hris/document_list_params.rbi b/rbi/lib/finch_api/models/hris/document_list_params.rbi index 1b179b0b..6b5889fb 100644 --- a/rbi/lib/finch_api/models/hris/document_list_params.rbi +++ b/rbi/lib/finch_api/models/hris/document_list_params.rbi @@ -8,7 +8,7 @@ module FinchAPI include FinchAPI::Internal::Type::RequestParameters # Comma-delimited list of stable Finch uuids for each individual. If empty, - # defaults to all individuals + # defaults to all individuals sig { returns(T.nilable(T::Array[String])) } attr_reader :individual_ids @@ -30,7 +30,7 @@ module FinchAPI attr_writer :offset # Comma-delimited list of document types to filter on. If empty, defaults to all - # types + # types sig { returns(T.nilable(T::Array[FinchAPI::Models::HRIS::DocumentListParams::Type::OrSymbol])) } attr_reader :types diff --git a/rbi/lib/finch_api/models/hris/document_response.rbi b/rbi/lib/finch_api/models/hris/document_response.rbi index c6657ac7..984f58f3 100644 --- a/rbi/lib/finch_api/models/hris/document_response.rbi +++ b/rbi/lib/finch_api/models/hris/document_response.rbi @@ -12,7 +12,7 @@ module FinchAPI attr_writer :id # The ID of the individual associated with the document. This will be null for - # employer-level documents. + # employer-level documents. sig { returns(T.nilable(String)) } attr_accessor :individual_id @@ -24,7 +24,7 @@ module FinchAPI attr_writer :type # A URL to access the document. Format: - # `https://api.tryfinch.com/employer/documents/:document_id`. + # `https://api.tryfinch.com/employer/documents/:document_id`. sig { returns(T.nilable(String)) } attr_reader :url diff --git a/rbi/lib/finch_api/models/hris/document_retreive_response.rbi b/rbi/lib/finch_api/models/hris/document_retreive_response.rbi index 470d9525..8fe4e05a 100644 --- a/rbi/lib/finch_api/models/hris/document_retreive_response.rbi +++ b/rbi/lib/finch_api/models/hris/document_retreive_response.rbi @@ -4,7 +4,7 @@ module FinchAPI module Models module HRIS # A 2020 version of the W-4 tax form containing information on an individual's - # filing status, dependents, and withholding details. + # filing status, dependents, and withholding details. module DocumentRetreiveResponse extend FinchAPI::Internal::Type::Union diff --git a/rbi/lib/finch_api/models/hris/employment_data.rbi b/rbi/lib/finch_api/models/hris/employment_data.rbi index 86ee2e72..9e79e163 100644 --- a/rbi/lib/finch_api/models/hris/employment_data.rbi +++ b/rbi/lib/finch_api/models/hris/employment_data.rbi @@ -16,7 +16,7 @@ module FinchAPI attr_accessor :class_code # Custom fields for the individual. These are fields which are defined by the - # employer in the system. + # employer in the system. sig { returns(T.nilable(T::Array[FinchAPI::Models::HRIS::EmploymentData::CustomField])) } attr_accessor :custom_fields @@ -45,7 +45,7 @@ module FinchAPI attr_writer :employment # The detailed employment status of the individual. Available options: `active`, - # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`. + # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`. sig { returns(T.nilable(FinchAPI::Models::HRIS::EmploymentData::EmploymentStatus::TaggedSymbol)) } attr_accessor :employment_status @@ -57,8 +57,8 @@ module FinchAPI attr_accessor :first_name # 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. + # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, + # depending on what information the provider returns. sig { returns(T.nilable(FinchAPI::Models::Income)) } attr_reader :income @@ -230,7 +230,7 @@ module FinchAPI class Employment < FinchAPI::Internal::Type::BaseModel # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. sig { returns(T.nilable(FinchAPI::Models::HRIS::EmploymentData::Employment::Subtype::TaggedSymbol)) } attr_accessor :subtype @@ -260,7 +260,7 @@ module FinchAPI def to_hash; end # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. module Subtype extend FinchAPI::Internal::Type::Enum @@ -298,7 +298,7 @@ module FinchAPI end # The detailed employment status of the individual. Available options: `active`, - # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`. + # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`. module EmploymentStatus extend FinchAPI::Internal::Type::Enum diff --git a/rbi/lib/finch_api/models/hris/employment_retrieve_many_params.rbi b/rbi/lib/finch_api/models/hris/employment_retrieve_many_params.rbi index e0f0bc6c..de2b394c 100644 --- a/rbi/lib/finch_api/models/hris/employment_retrieve_many_params.rbi +++ b/rbi/lib/finch_api/models/hris/employment_retrieve_many_params.rbi @@ -33,8 +33,8 @@ module FinchAPI class Request < FinchAPI::Internal::Type::BaseModel # A stable Finch `id` (UUID v4) for an individual in the company. There is no - # limit to the number of `individual_id` to send per request. It is preferantial - # to send all ids in a single request for Finch to optimize provider rate-limits. + # limit to the number of `individual_id` to send per request. It is preferantial + # to send all ids in a single request for Finch to optimize provider rate-limits. sig { returns(String) } attr_accessor :individual_id diff --git a/rbi/lib/finch_api/models/hris/individual.rbi b/rbi/lib/finch_api/models/hris/individual.rbi index 852e47c4..b6d21ee5 100644 --- a/rbi/lib/finch_api/models/hris/individual.rbi +++ b/rbi/lib/finch_api/models/hris/individual.rbi @@ -18,8 +18,8 @@ module FinchAPI attr_accessor :emails # Social Security Number of the individual in **encrypted** format. This field is - # only available with the `ssn` scope enabled and the - # `options: { include: ['ssn'] }` param set in the body. + # only available with the `ssn` scope enabled and the + # `options: { include: ['ssn'] }` param set in the body. sig { returns(T.nilable(String)) } attr_accessor :encrypted_ssn @@ -57,9 +57,9 @@ module FinchAPI attr_writer :residence # Social Security Number of the individual. This field is only available with the - # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the - # body. - # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). + # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the + # body. + # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). sig { returns(T.nilable(String)) } attr_accessor :ssn diff --git a/rbi/lib/finch_api/models/hris/pay_statement.rbi b/rbi/lib/finch_api/models/hris/pay_statement.rbi index 603a9a11..d914ae3d 100644 --- a/rbi/lib/finch_api/models/hris/pay_statement.rbi +++ b/rbi/lib/finch_api/models/hris/pay_statement.rbi @@ -125,7 +125,7 @@ module FinchAPI attr_accessor :currency # The number of hours associated with this earning. (For salaried employees, this - # could be hours per pay period, `0` or `null`, depending on the provider). + # could be hours per pay period, `0` or `null`, depending on the provider). sig { returns(T.nilable(Float)) } attr_accessor :hours @@ -190,8 +190,8 @@ module FinchAPI class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata @@ -331,8 +331,8 @@ module FinchAPI class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata @@ -440,8 +440,8 @@ module FinchAPI class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata @@ -558,8 +558,8 @@ module FinchAPI class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata diff --git a/rbi/lib/finch_api/models/hris/payment_list_params.rbi b/rbi/lib/finch_api/models/hris/payment_list_params.rbi index 0c292855..0856ac74 100644 --- a/rbi/lib/finch_api/models/hris/payment_list_params.rbi +++ b/rbi/lib/finch_api/models/hris/payment_list_params.rbi @@ -8,12 +8,12 @@ module FinchAPI include FinchAPI::Internal::Type::RequestParameters # The end date to retrieve payments by a company (inclusive) in `YYYY-MM-DD` - # format. + # format. sig { returns(Date) } attr_accessor :end_date # The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD` - # format. + # format. sig { returns(Date) } attr_accessor :start_date diff --git a/rbi/lib/finch_api/models/hris/supported_benefit.rbi b/rbi/lib/finch_api/models/hris/supported_benefit.rbi index e45f6573..921e40e1 100644 --- a/rbi/lib/finch_api/models/hris/supported_benefit.rbi +++ b/rbi/lib/finch_api/models/hris/supported_benefit.rbi @@ -9,12 +9,12 @@ module FinchAPI attr_accessor :annual_maximum # Whether the provider supports catch up for this benefit. This field will only be - # true for retirement benefits. + # true for retirement benefits. sig { returns(T.nilable(T::Boolean)) } attr_accessor :catch_up # Supported contribution types. An empty array indicates contributions are not - # supported. + # supported. sig do returns( T.nilable( @@ -28,7 +28,7 @@ module FinchAPI attr_accessor :description # Supported deduction types. An empty array indicates deductions are not - # supported. + # supported. sig do returns( T.nilable(T::Array[T.nilable(FinchAPI::Models::HRIS::SupportedBenefit::EmployeeDeduction::TaggedSymbol)]) @@ -44,7 +44,7 @@ module FinchAPI attr_writer :frequencies # Whether the provider supports HSA contribution limits. Empty if this feature is - # not supported for the benefit. This array only has values for HSA benefits. + # not supported for the benefit. This array only has values for HSA benefits. sig do returns( T.nilable( diff --git a/rbi/lib/finch_api/models/hris/w42005.rbi b/rbi/lib/finch_api/models/hris/w42005.rbi index 1c9bbba2..d3e4cb1a 100644 --- a/rbi/lib/finch_api/models/hris/w42005.rbi +++ b/rbi/lib/finch_api/models/hris/w42005.rbi @@ -23,7 +23,7 @@ module FinchAPI attr_accessor :year # A 2005 version of the W-4 tax form containing information on an individual's - # filing status, dependents, and withholding details. + # filing status, dependents, and withholding details. sig do params( data: T.any(FinchAPI::Models::HRIS::W42005::Data, FinchAPI::Internal::AnyHash), diff --git a/rbi/lib/finch_api/models/hris/w42020.rbi b/rbi/lib/finch_api/models/hris/w42020.rbi index c22bdb84..3f00c1b7 100644 --- a/rbi/lib/finch_api/models/hris/w42020.rbi +++ b/rbi/lib/finch_api/models/hris/w42020.rbi @@ -23,7 +23,7 @@ module FinchAPI attr_accessor :year # A 2020 version of the W-4 tax form containing information on an individual's - # filing status, dependents, and withholding details. + # filing status, dependents, and withholding details. sig do params( data: T.any(FinchAPI::Models::HRIS::W42020::Data, FinchAPI::Internal::AnyHash), @@ -48,7 +48,7 @@ module FinchAPI class Data < FinchAPI::Internal::Type::BaseModel # Amount claimed for dependents other than qualifying children under 17 (in - # cents). + # cents). sig { returns(T.nilable(Integer)) } attr_accessor :amount_for_other_dependents diff --git a/rbi/lib/finch_api/models/income.rbi b/rbi/lib/finch_api/models/income.rbi index 0d023243..8b3c3822 100644 --- a/rbi/lib/finch_api/models/income.rbi +++ b/rbi/lib/finch_api/models/income.rbi @@ -16,13 +16,13 @@ module FinchAPI attr_accessor :effective_date # The income unit of payment. Options: `yearly`, `quarterly`, `monthly`, - # `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`. + # `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`. sig { returns(T.nilable(FinchAPI::Models::Income::Unit::OrSymbol)) } attr_accessor :unit # 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. + # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, + # depending on what information the provider returns. sig do params( amount: T.nilable(Integer), @@ -48,7 +48,7 @@ module FinchAPI def to_hash; end # The income unit of payment. Options: `yearly`, `quarterly`, `monthly`, - # `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`. + # `semi_monthly`, `bi_weekly`, `weekly`, `daily`, `hourly`, and `fixed`. module Unit extend FinchAPI::Internal::Type::Enum diff --git a/rbi/lib/finch_api/models/introspection.rbi b/rbi/lib/finch_api/models/introspection.rbi index e611913d..36804325 100644 --- a/rbi/lib/finch_api/models/introspection.rbi +++ b/rbi/lib/finch_api/models/introspection.rbi @@ -4,7 +4,7 @@ module FinchAPI module Models class Introspection < FinchAPI::Internal::Type::BaseModel # [DEPRECATED] Use `connection_id` to associate tokens with a Finch connection - # instead of this account ID. + # instead of this account ID. sig { returns(String) } attr_accessor :account_id @@ -20,7 +20,7 @@ module FinchAPI attr_accessor :client_type # [DEPRECATED] Use `connection_id` to associate tokens with a Finch connection - # instead of this company ID. + # instead of this company ID. sig { returns(String) } attr_accessor :company_id @@ -41,34 +41,34 @@ module FinchAPI # The type of the connection associated with the token. # - # - `provider` - connection to an external provider - # - `finch` - finch-generated data. + # - `provider` - connection to an external provider + # - `finch` - finch-generated data. sig { returns(FinchAPI::Models::Introspection::ConnectionType::TaggedSymbol) } attr_accessor :connection_type # The email of your customer you provided to Finch when a connect session was - # created for this connection. + # created for this connection. sig { returns(T.nilable(String)) } attr_accessor :customer_email # The ID of your customer you provided to Finch when a connect session was created - # for this connection. + # for this connection. sig { returns(T.nilable(String)) } attr_accessor :customer_id # The name of your customer you provided to Finch when a connect session was - # created for this connection. + # created for this connection. sig { returns(T.nilable(String)) } attr_accessor :customer_name # Whether the connection associated with the `access_token` uses the Assisted - # Connect Flow. (`true` if using Assisted Connect, `false` if connection is - # automated) + # Connect Flow. (`true` if using Assisted Connect, `false` if connection is + # automated) sig { returns(T::Boolean) } attr_accessor :manual # [DEPRECATED] Use `provider_id` to identify the provider instead of this payroll - # provider ID. + # provider ID. sig { returns(String) } attr_accessor :payroll_provider_id @@ -303,8 +303,8 @@ module FinchAPI # The type of the connection associated with the token. # - # - `provider` - connection to an external provider - # - `finch` - finch-generated data. + # - `provider` - connection to an external provider + # - `finch` - finch-generated data. module ConnectionType extend FinchAPI::Internal::Type::Enum diff --git a/rbi/lib/finch_api/models/jobs/automated_async_job.rbi b/rbi/lib/finch_api/models/jobs/automated_async_job.rbi index 2e34bdee..354cbf09 100644 --- a/rbi/lib/finch_api/models/jobs/automated_async_job.rbi +++ b/rbi/lib/finch_api/models/jobs/automated_async_job.rbi @@ -9,8 +9,8 @@ module FinchAPI attr_accessor :completed_at # The datetime when the job was created. for scheduled jobs, this will be the - # initial connection time. For ad-hoc jobs, this will be the time the creation - # request was received. + # initial connection time. For ad-hoc jobs, this will be the time the creation + # request was received. sig { returns(Time) } attr_accessor :created_at @@ -35,8 +35,8 @@ module FinchAPI attr_writer :params # The datetime a job is scheduled to be run. For scheduled jobs, this datetime can - # be in the future if the job has not yet been enqueued. For ad-hoc jobs, this - # field will be null. + # be in the future if the job has not yet been enqueued. For ad-hoc jobs, this + # field will be null. sig { returns(T.nilable(Time)) } attr_accessor :scheduled_at diff --git a/rbi/lib/finch_api/models/jobs/automated_list_response.rbi b/rbi/lib/finch_api/models/jobs/automated_list_response.rbi index 52eacda8..ad992a0c 100644 --- a/rbi/lib/finch_api/models/jobs/automated_list_response.rbi +++ b/rbi/lib/finch_api/models/jobs/automated_list_response.rbi @@ -35,9 +35,9 @@ module FinchAPI class Meta < FinchAPI::Internal::Type::BaseModel # Information about remaining quotas for this connection. Only applicable for - # customers opted in to use Finch's Data Sync Refresh endpoint - # (`POST /jobs/automated`). Please contact a Finch representative for more - # details. + # customers opted in to use Finch's Data Sync Refresh endpoint + # (`POST /jobs/automated`). Please contact a Finch representative for more + # details. sig { returns(T.nilable(FinchAPI::Models::Jobs::AutomatedListResponse::Meta::Quotas)) } attr_reader :quotas @@ -76,9 +76,9 @@ module FinchAPI attr_writer :data_sync_all # Information about remaining quotas for this connection. Only applicable for - # customers opted in to use Finch's Data Sync Refresh endpoint - # (`POST /jobs/automated`). Please contact a Finch representative for more - # details. + # customers opted in to use Finch's Data Sync Refresh endpoint + # (`POST /jobs/automated`). Please contact a Finch representative for more + # details. sig do params( data_sync_all: T.any( diff --git a/rbi/lib/finch_api/models/operation_support.rbi b/rbi/lib/finch_api/models/operation_support.rbi index 52fdde12..8ace05d6 100644 --- a/rbi/lib/finch_api/models/operation_support.rbi +++ b/rbi/lib/finch_api/models/operation_support.rbi @@ -3,12 +3,12 @@ module FinchAPI module Models # - `supported`: This operation is supported by both the provider and Finch - # - `not_supported_by_finch`: This operation is not supported by Finch but - # supported by the provider - # - `not_supported_by_provider`: This operation is not supported by the provider, - # so Finch cannot support - # - `client_access_only`: This behavior is supported by the provider, but only - # available to the client and not to Finch + # - `not_supported_by_finch`: This operation is not supported by Finch but + # supported by the provider + # - `not_supported_by_provider`: This operation is not supported by the provider, + # so Finch cannot support + # - `client_access_only`: This behavior is supported by the provider, but only + # available to the client and not to Finch module OperationSupport extend FinchAPI::Internal::Type::Enum diff --git a/rbi/lib/finch_api/models/operation_support_matrix.rbi b/rbi/lib/finch_api/models/operation_support_matrix.rbi index 8ad43b1b..3587ec0e 100644 --- a/rbi/lib/finch_api/models/operation_support_matrix.rbi +++ b/rbi/lib/finch_api/models/operation_support_matrix.rbi @@ -4,12 +4,12 @@ module FinchAPI module Models class OperationSupportMatrix < FinchAPI::Internal::Type::BaseModel # - `supported`: This operation is supported by both the provider and Finch - # - `not_supported_by_finch`: This operation is not supported by Finch but - # supported by the provider - # - `not_supported_by_provider`: This operation is not supported by the provider, - # so Finch cannot support - # - `client_access_only`: This behavior is supported by the provider, but only - # available to the client and not to Finch + # - `not_supported_by_finch`: This operation is not supported by Finch but + # supported by the provider + # - `not_supported_by_provider`: This operation is not supported by the provider, + # so Finch cannot support + # - `client_access_only`: This behavior is supported by the provider, but only + # available to the client and not to Finch sig { returns(T.nilable(FinchAPI::Models::OperationSupport::TaggedSymbol)) } attr_reader :create @@ -17,12 +17,12 @@ module FinchAPI attr_writer :create # - `supported`: This operation is supported by both the provider and Finch - # - `not_supported_by_finch`: This operation is not supported by Finch but - # supported by the provider - # - `not_supported_by_provider`: This operation is not supported by the provider, - # so Finch cannot support - # - `client_access_only`: This behavior is supported by the provider, but only - # available to the client and not to Finch + # - `not_supported_by_finch`: This operation is not supported by Finch but + # supported by the provider + # - `not_supported_by_provider`: This operation is not supported by the provider, + # so Finch cannot support + # - `client_access_only`: This behavior is supported by the provider, but only + # available to the client and not to Finch sig { returns(T.nilable(FinchAPI::Models::OperationSupport::TaggedSymbol)) } attr_reader :delete @@ -30,12 +30,12 @@ module FinchAPI attr_writer :delete # - `supported`: This operation is supported by both the provider and Finch - # - `not_supported_by_finch`: This operation is not supported by Finch but - # supported by the provider - # - `not_supported_by_provider`: This operation is not supported by the provider, - # so Finch cannot support - # - `client_access_only`: This behavior is supported by the provider, but only - # available to the client and not to Finch + # - `not_supported_by_finch`: This operation is not supported by Finch but + # supported by the provider + # - `not_supported_by_provider`: This operation is not supported by the provider, + # so Finch cannot support + # - `client_access_only`: This behavior is supported by the provider, but only + # available to the client and not to Finch sig { returns(T.nilable(FinchAPI::Models::OperationSupport::TaggedSymbol)) } attr_reader :read @@ -43,12 +43,12 @@ module FinchAPI attr_writer :read # - `supported`: This operation is supported by both the provider and Finch - # - `not_supported_by_finch`: This operation is not supported by Finch but - # supported by the provider - # - `not_supported_by_provider`: This operation is not supported by the provider, - # so Finch cannot support - # - `client_access_only`: This behavior is supported by the provider, but only - # available to the client and not to Finch + # - `not_supported_by_finch`: This operation is not supported by Finch but + # supported by the provider + # - `not_supported_by_provider`: This operation is not supported by the provider, + # so Finch cannot support + # - `client_access_only`: This behavior is supported by the provider, but only + # available to the client and not to Finch sig { returns(T.nilable(FinchAPI::Models::OperationSupport::TaggedSymbol)) } attr_reader :update diff --git a/rbi/lib/finch_api/models/provider.rbi b/rbi/lib/finch_api/models/provider.rbi index ce989c21..658e5081 100644 --- a/rbi/lib/finch_api/models/provider.rbi +++ b/rbi/lib/finch_api/models/provider.rbi @@ -51,8 +51,8 @@ module FinchAPI attr_writer :logo # [DEPRECATED] Whether the Finch integration with this provider uses the Assisted - # Connect Flow by default. This field is now deprecated. Please check for a `type` - # of `assisted` in the `authentication_methods` field instead. + # Connect Flow by default. This field is now deprecated. Please check for a `type` + # of `assisted` in the `authentication_methods` field instead. sig { returns(T.nilable(T::Boolean)) } attr_reader :manual @@ -128,7 +128,7 @@ module FinchAPI class AuthenticationMethod < FinchAPI::Internal::Type::BaseModel # Each benefit type and their supported features. If the benefit type is not - # supported, the property will be null + # supported, the property will be null sig { returns(T.nilable(FinchAPI::Models::HRIS::BenefitsSupport)) } attr_reader :benefits_support diff --git a/rbi/lib/finch_api/models/request_forwarding_forward_params.rbi b/rbi/lib/finch_api/models/request_forwarding_forward_params.rbi index 047178c5..41f4e0b5 100644 --- a/rbi/lib/finch_api/models/request_forwarding_forward_params.rbi +++ b/rbi/lib/finch_api/models/request_forwarding_forward_params.rbi @@ -7,29 +7,29 @@ module FinchAPI include FinchAPI::Internal::Type::RequestParameters # The HTTP method for the forwarded request. Valid values include: `GET` , `POST` - # , `PUT` , `DELETE` , and `PATCH`. + # , `PUT` , `DELETE` , and `PATCH`. sig { returns(String) } attr_accessor :method_ # The URL route path for the forwarded request. This value must begin with a - # forward-slash ( / ) and may only contain alphanumeric characters, hyphens, and - # underscores. + # forward-slash ( / ) and may only contain alphanumeric characters, hyphens, and + # underscores. sig { returns(String) } attr_accessor :route # The body for the forwarded request. This value must be specified as either a - # string or a valid JSON object. + # string or a valid JSON object. sig { returns(T.nilable(String)) } attr_accessor :data # The HTTP headers to include on the forwarded request. This value must be - # specified as an object of key-value pairs. Example: - # `{"Content-Type": "application/xml", "X-API-Version": "v1" }` + # specified as an object of key-value pairs. Example: + # `{"Content-Type": "application/xml", "X-API-Version": "v1" }` sig { returns(T.nilable(T.anything)) } attr_accessor :headers # The query parameters for the forwarded request. This value must be specified as - # a valid JSON object rather than a query string. + # a valid JSON object rather than a query string. sig { returns(T.nilable(T.anything)) } attr_accessor :params diff --git a/rbi/lib/finch_api/models/request_forwarding_forward_response.rbi b/rbi/lib/finch_api/models/request_forwarding_forward_response.rbi index f23a42dc..128548f8 100644 --- a/rbi/lib/finch_api/models/request_forwarding_forward_response.rbi +++ b/rbi/lib/finch_api/models/request_forwarding_forward_response.rbi @@ -4,18 +4,18 @@ module FinchAPI module Models class RequestForwardingForwardResponse < FinchAPI::Internal::Type::BaseModel # A string representation of the HTTP response body of the forwarded request’s - # response received from the underlying integration’s API. This field may be null - # in the case where the upstream system’s response is empty. + # response received from the underlying integration’s API. This field may be null + # in the case where the upstream system’s response is empty. sig { returns(T.nilable(String)) } attr_accessor :data # The HTTP headers of the forwarded request’s response, exactly as received from - # the underlying integration’s API. + # the underlying integration’s API. sig { returns(T.nilable(T.anything)) } attr_accessor :headers # An object containing details of your original forwarded request, for your ease - # of reference. + # of reference. sig { returns(FinchAPI::Models::RequestForwardingForwardResponse::Request) } attr_reader :request @@ -28,7 +28,7 @@ module FinchAPI attr_writer :request # The HTTP status code of the forwarded request’s response, exactly received from - # the underlying integration’s API. This value will be returned as an integer. + # the underlying integration’s API. This value will be returned as an integer. sig { returns(Integer) } attr_accessor :status_code @@ -58,23 +58,23 @@ module FinchAPI class Request < FinchAPI::Internal::Type::BaseModel # The body that was specified for the forwarded request. If a value was not - # specified in the original request, this value will be returned as null ; - # otherwise, this value will always be returned as a string. + # specified in the original request, this value will be returned as null ; + # otherwise, this value will always be returned as a string. sig { returns(T.nilable(String)) } attr_accessor :data # The specified HTTP headers that were included in the forwarded request. If no - # headers were specified, this will be returned as `null`. + # headers were specified, this will be returned as `null`. sig { returns(T.nilable(T.anything)) } attr_accessor :headers # The HTTP method that was specified for the forwarded request. Valid values - # include: `GET` , `POST` , `PUT` , `DELETE` , and `PATCH`. + # include: `GET` , `POST` , `PUT` , `DELETE` , and `PATCH`. sig { returns(String) } attr_accessor :method_ # The query parameters that were included in the forwarded request. If no query - # parameters were specified, this will be returned as `null`. + # parameters were specified, this will be returned as `null`. sig { returns(T.nilable(T.anything)) } attr_accessor :params @@ -83,7 +83,7 @@ module FinchAPI attr_accessor :route # An object containing details of your original forwarded request, for your ease - # of reference. + # of reference. sig do params( data: T.nilable(String), diff --git a/rbi/lib/finch_api/models/sandbox/company_update_params.rbi b/rbi/lib/finch_api/models/sandbox/company_update_params.rbi index 01851db6..20f54e0d 100644 --- a/rbi/lib/finch_api/models/sandbox/company_update_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/company_update_params.rbi @@ -111,7 +111,7 @@ module FinchAPI attr_accessor :institution_name # A nine-digit code that's based on the U.S. Bank location where your account was - # opened. + # opened. sig { returns(T.nilable(String)) } attr_accessor :routing_number diff --git a/rbi/lib/finch_api/models/sandbox/company_update_response.rbi b/rbi/lib/finch_api/models/sandbox/company_update_response.rbi index 4688accf..62f45285 100644 --- a/rbi/lib/finch_api/models/sandbox/company_update_response.rbi +++ b/rbi/lib/finch_api/models/sandbox/company_update_response.rbi @@ -111,7 +111,7 @@ module FinchAPI attr_accessor :institution_name # A nine-digit code that's based on the U.S. Bank location where your account was - # opened. + # opened. sig { returns(T.nilable(String)) } attr_accessor :routing_number diff --git a/rbi/lib/finch_api/models/sandbox/connection_create_params.rbi b/rbi/lib/finch_api/models/sandbox/connection_create_params.rbi index b2095c42..007d8b88 100644 --- a/rbi/lib/finch_api/models/sandbox/connection_create_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/connection_create_params.rbi @@ -23,8 +23,8 @@ module FinchAPI attr_writer :authentication_type # Optional: the size of the employer to be created with this connection. Defaults - # to 20. Note that if this is higher than 100, historical payroll data will not be - # generated, and instead only one pay period will be created. + # to 20. Note that if this is higher than 100, historical payroll data will not be + # generated, and instead only one pay period will be created. sig { returns(T.nilable(Integer)) } attr_reader :employee_size diff --git a/rbi/lib/finch_api/models/sandbox/connections/account_create_params.rbi b/rbi/lib/finch_api/models/sandbox/connections/account_create_params.rbi index 7e4a92bf..ded540b8 100644 --- a/rbi/lib/finch_api/models/sandbox/connections/account_create_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/connections/account_create_params.rbi @@ -31,7 +31,7 @@ module FinchAPI attr_writer :authentication_type # Optional, defaults to Organization products (`company`, `directory`, - # `employment`, `individual`) + # `employment`, `individual`) sig { returns(T.nilable(T::Array[String])) } attr_reader :products diff --git a/rbi/lib/finch_api/models/sandbox/directory_create_params.rbi b/rbi/lib/finch_api/models/sandbox/directory_create_params.rbi index ed8b82f1..c9429eed 100644 --- a/rbi/lib/finch_api/models/sandbox/directory_create_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/directory_create_params.rbi @@ -8,7 +8,7 @@ module FinchAPI include FinchAPI::Internal::Type::RequestParameters # Array of individuals to create. Takes all combined fields from `/individual` and - # `/employment` endpoints. All fields are optional. + # `/employment` endpoints. All fields are optional. sig { returns(T.nilable(T::Array[FinchAPI::Models::Sandbox::DirectoryCreateParams::Body])) } attr_reader :body @@ -46,8 +46,8 @@ module FinchAPI attr_accessor :class_code # 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. + # employer in the system. Custom fields are not currently supported for assisted + # connections. sig { returns(T.nilable(T::Array[FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::CustomField])) } attr_reader :custom_fields @@ -98,8 +98,8 @@ module FinchAPI attr_accessor :employment_status # Social Security Number of the individual in **encrypted** format. This field is - # only available with the `ssn` scope enabled and the - # `options: { include: ['ssn'] }` param set in the body. + # only available with the `ssn` scope enabled and the + # `options: { include: ['ssn'] }` param set in the body. sig { returns(T.nilable(String)) } attr_accessor :encrypted_ssn @@ -119,8 +119,8 @@ module FinchAPI attr_accessor :gender # 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. + # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, + # depending on what information the provider returns. sig { returns(T.nilable(FinchAPI::Models::Income)) } attr_reader :income @@ -191,9 +191,9 @@ module FinchAPI attr_writer :source_id # Social Security Number of the individual. This field is only available with the - # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the - # body. - # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). + # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the + # body. + # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). sig { returns(T.nilable(String)) } attr_accessor :ssn @@ -394,7 +394,7 @@ module FinchAPI class Employment < FinchAPI::Internal::Type::BaseModel # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. sig { returns(T.nilable(FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Employment::Subtype::OrSymbol)) } attr_accessor :subtype @@ -424,7 +424,7 @@ module FinchAPI def to_hash; end # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. module Subtype extend FinchAPI::Internal::Type::Enum diff --git a/rbi/lib/finch_api/models/sandbox/employment_update_params.rbi b/rbi/lib/finch_api/models/sandbox/employment_update_params.rbi index a1c8a57c..81fc885f 100644 --- a/rbi/lib/finch_api/models/sandbox/employment_update_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/employment_update_params.rbi @@ -12,8 +12,8 @@ module FinchAPI attr_accessor :class_code # 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. + # employer in the system. Custom fields are not currently supported for assisted + # connections. sig { returns(T.nilable(T::Array[FinchAPI::Models::Sandbox::EmploymentUpdateParams::CustomField])) } attr_reader :custom_fields @@ -65,8 +65,8 @@ module FinchAPI attr_accessor :first_name # 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. + # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, + # depending on what information the provider returns. sig { returns(T.nilable(FinchAPI::Models::Income)) } attr_reader :income @@ -233,7 +233,7 @@ module FinchAPI class Employment < FinchAPI::Internal::Type::BaseModel # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. sig { returns(T.nilable(FinchAPI::Models::Sandbox::EmploymentUpdateParams::Employment::Subtype::OrSymbol)) } attr_accessor :subtype @@ -263,7 +263,7 @@ module FinchAPI def to_hash; end # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. module Subtype extend FinchAPI::Internal::Type::Enum diff --git a/rbi/lib/finch_api/models/sandbox/employment_update_response.rbi b/rbi/lib/finch_api/models/sandbox/employment_update_response.rbi index 9d2bbf97..24c39502 100644 --- a/rbi/lib/finch_api/models/sandbox/employment_update_response.rbi +++ b/rbi/lib/finch_api/models/sandbox/employment_update_response.rbi @@ -16,8 +16,8 @@ module FinchAPI attr_accessor :class_code # 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. + # employer in the system. Custom fields are not currently supported for assisted + # connections. sig { returns(T.nilable(T::Array[FinchAPI::Models::Sandbox::EmploymentUpdateResponse::CustomField])) } attr_reader :custom_fields @@ -69,8 +69,8 @@ module FinchAPI attr_accessor :first_name # 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. + # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, + # depending on what information the provider returns. sig { returns(T.nilable(FinchAPI::Models::Income)) } attr_reader :income @@ -241,7 +241,7 @@ module FinchAPI class Employment < FinchAPI::Internal::Type::BaseModel # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. sig { returns(T.nilable(FinchAPI::Models::Sandbox::EmploymentUpdateResponse::Employment::Subtype::TaggedSymbol)) } attr_accessor :subtype @@ -271,7 +271,7 @@ module FinchAPI def to_hash; end # The secondary employment type of the individual. Options: `full_time`, - # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. + # `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`. module Subtype extend FinchAPI::Internal::Type::Enum diff --git a/rbi/lib/finch_api/models/sandbox/individual_update_params.rbi b/rbi/lib/finch_api/models/sandbox/individual_update_params.rbi index dc37daa9..96de9fad 100644 --- a/rbi/lib/finch_api/models/sandbox/individual_update_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/individual_update_params.rbi @@ -14,8 +14,8 @@ module FinchAPI attr_accessor :emails # Social Security Number of the individual in **encrypted** format. This field is - # only available with the `ssn` scope enabled and the - # `options: { include: ['ssn'] }` param set in the body. + # only available with the `ssn` scope enabled and the + # `options: { include: ['ssn'] }` param set in the body. sig { returns(T.nilable(String)) } attr_accessor :encrypted_ssn @@ -53,9 +53,9 @@ module FinchAPI attr_writer :residence # Social Security Number of the individual. This field is only available with the - # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the - # body. - # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). + # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the + # body. + # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). sig { returns(T.nilable(String)) } attr_accessor :ssn diff --git a/rbi/lib/finch_api/models/sandbox/individual_update_response.rbi b/rbi/lib/finch_api/models/sandbox/individual_update_response.rbi index 5ae6b7e1..04e8f7d4 100644 --- a/rbi/lib/finch_api/models/sandbox/individual_update_response.rbi +++ b/rbi/lib/finch_api/models/sandbox/individual_update_response.rbi @@ -18,8 +18,8 @@ module FinchAPI attr_accessor :emails # Social Security Number of the individual in **encrypted** format. This field is - # only available with the `ssn` scope enabled and the - # `options: { include: ['ssn'] }` param set in the body. + # only available with the `ssn` scope enabled and the + # `options: { include: ['ssn'] }` param set in the body. sig { returns(T.nilable(String)) } attr_accessor :encrypted_ssn @@ -57,9 +57,9 @@ module FinchAPI attr_writer :residence # Social Security Number of the individual. This field is only available with the - # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the - # body. - # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). + # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the + # body. + # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). sig { returns(T.nilable(String)) } attr_accessor :ssn diff --git a/rbi/lib/finch_api/models/sandbox/payment_create_params.rbi b/rbi/lib/finch_api/models/sandbox/payment_create_params.rbi index 83cefbaa..1676a4bf 100644 --- a/rbi/lib/finch_api/models/sandbox/payment_create_params.rbi +++ b/rbi/lib/finch_api/models/sandbox/payment_create_params.rbi @@ -223,7 +223,7 @@ module FinchAPI attr_accessor :currency # The number of hours associated with this earning. (For salaried employees, this - # could be hours per pay period, `0` or `null`, depending on the provider). + # could be hours per pay period, `0` or `null`, depending on the provider). sig { returns(T.nilable(Float)) } attr_accessor :hours @@ -308,8 +308,8 @@ module FinchAPI class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata @@ -509,8 +509,8 @@ module FinchAPI class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata @@ -638,8 +638,8 @@ module FinchAPI class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata @@ -798,8 +798,8 @@ module FinchAPI class Metadata < FinchAPI::Internal::Type::BaseModel # The metadata to be attached to the entity by existing rules. It is a key-value - # pairs where the values can be of any type (string, number, boolean, object, - # array, etc.). + # pairs where the values can be of any type (string, number, boolean, object, + # array, etc.). sig { returns(T.nilable(T::Hash[Symbol, T.anything])) } attr_reader :metadata diff --git a/rbi/lib/finch_api/request_options.rbi b/rbi/lib/finch_api/request_options.rbi index f68b4ad2..7c3a77f2 100644 --- a/rbi/lib/finch_api/request_options.rbi +++ b/rbi/lib/finch_api/request_options.rbi @@ -2,32 +2,32 @@ module FinchAPI # Specify HTTP behaviour to use for a specific request. These options supplement - # or override those provided at the client level. + # or override those provided at the client level. # - # When making a request, you can pass an actual {RequestOptions} instance, or - # simply pass a Hash with symbol keys matching the attributes on this class. + # When making a request, you can pass an actual {RequestOptions} instance, or + # simply pass a Hash with symbol keys matching the attributes on this class. class RequestOptions < FinchAPI::Internal::Type::BaseModel # @api private sig { params(opts: T.any(T.self_type, T::Hash[Symbol, T.anything])).void } def self.validate!(opts); end # Idempotency key to send with request and all associated retries. Will only be - # sent for write requests. + # sent for write requests. sig { returns(T.nilable(String)) } attr_accessor :idempotency_key # Extra query params to send with the request. These are `.merge`’d into any - # `query` given at the client level. + # `query` given at the client level. sig { returns(T.nilable(T::Hash[String, T.nilable(T.any(T::Array[String], String))])) } attr_accessor :extra_query # Extra headers to send with the request. These are `.merged`’d into any - # `extra_headers` given at the client level. + # `extra_headers` given at the client level. sig { returns(T.nilable(T::Hash[String, T.nilable(String)])) } attr_accessor :extra_headers # Extra data to send with the request. These are deep merged into any data - # generated as part of the normal request. + # generated as part of the normal request. sig { returns(T.nilable(T.anything)) } attr_accessor :extra_body diff --git a/rbi/lib/finch_api/resources/connect/sessions.rbi b/rbi/lib/finch_api/resources/connect/sessions.rbi index ffe6436d..fb09e4c0 100644 --- a/rbi/lib/finch_api/resources/connect/sessions.rbi +++ b/rbi/lib/finch_api/resources/connect/sessions.rbi @@ -28,7 +28,7 @@ module FinchAPI integration: nil, manual: nil, # The number of minutes until the session expires (defaults to 43,200, which is 30 - # days) + # days) minutes_to_expire: nil, redirect_uri: nil, sandbox: nil, @@ -49,7 +49,7 @@ module FinchAPI # The ID of the existing connection to reauthenticate connection_id:, # The number of minutes until the session expires (defaults to 43,200, which is 30 - # days) + # days) minutes_to_expire: nil, # The products to request access to (optional for reauthentication) products: nil, diff --git a/rbi/lib/finch_api/resources/hris/benefits.rbi b/rbi/lib/finch_api/resources/hris/benefits.rbi index 5e94f625..5cfe0695 100644 --- a/rbi/lib/finch_api/resources/hris/benefits.rbi +++ b/rbi/lib/finch_api/resources/hris/benefits.rbi @@ -8,7 +8,7 @@ module FinchAPI attr_reader :individuals # Creates a new company-wide deduction or contribution. Please use the - # `/providers` endpoint to view available types for each provider. + # `/providers` endpoint to view available types for each provider. sig do params( description: String, @@ -20,8 +20,8 @@ module FinchAPI end def create( # Name of the benefit as it appears in the provider and pay statements. Recommend - # limiting this to <30 characters due to limitations in specific providers (e.g. - # Justworks). + # limiting this to <30 characters due to limitations in specific providers (e.g. + # Justworks). description: nil, # The frequency of the benefit deduction/contribution. frequency: nil, diff --git a/rbi/lib/finch_api/resources/hris/benefits/individuals.rbi b/rbi/lib/finch_api/resources/hris/benefits/individuals.rbi index f2d5882d..54d7b273 100644 --- a/rbi/lib/finch_api/resources/hris/benefits/individuals.rbi +++ b/rbi/lib/finch_api/resources/hris/benefits/individuals.rbi @@ -6,9 +6,9 @@ module FinchAPI class Benefits class Individuals # Enroll an individual into a deduction or contribution. This is an overwrite - # operation. If the employee is already enrolled, the enrollment amounts will be - # adjusted. Making the same request multiple times will not create new - # enrollments, but will continue to set the state of the existing enrollment. + # operation. If the employee is already enrolled, the enrollment amounts will be + # adjusted. Making the same request multiple times will not create new + # enrollments, but will continue to set the state of the existing enrollment. sig do params( benefit_id: String, @@ -50,7 +50,7 @@ module FinchAPI def retrieve_many_benefits( benefit_id, # comma-delimited list of stable Finch uuids for each individual. If empty, - # defaults to all individuals + # defaults to all individuals individual_ids: nil, request_options: {} ); end diff --git a/rbi/lib/finch_api/resources/hris/company/pay_statement_item.rbi b/rbi/lib/finch_api/resources/hris/company/pay_statement_item.rbi index bde3b0e4..88080728 100644 --- a/rbi/lib/finch_api/resources/hris/company/pay_statement_item.rbi +++ b/rbi/lib/finch_api/resources/hris/company/pay_statement_item.rbi @@ -9,8 +9,8 @@ module FinchAPI attr_reader :rules # **Beta:** this endpoint currently serves employers onboarded after March 4th and - # historical support will be added soon Retrieve a list of detailed pay statement - # items for the access token's connection account. + # historical support will be added soon Retrieve a list of detailed pay statement + # items for the access token's connection account. sig do params( categories: T::Array[FinchAPI::Models::HRIS::Company::PayStatementItemListParams::Category::OrSymbol], @@ -24,15 +24,15 @@ module FinchAPI end def list( # Comma-delimited list of pay statement item categories to filter on. If empty, - # defaults to all categories. + # defaults to all categories. categories: nil, # The end date to retrieve pay statement items by via their last seen pay date in - # `YYYY-MM-DD` format. + # `YYYY-MM-DD` format. end_date: nil, # Case-insensitive partial match search by pay statement item name. name: nil, # The start date to retrieve pay statement items by via their last seen pay date - # (inclusive) in `YYYY-MM-DD` format. + # (inclusive) in `YYYY-MM-DD` format. start_date: nil, # String search by pay statement item type. type: nil, diff --git a/rbi/lib/finch_api/resources/hris/company/pay_statement_item/rules.rbi b/rbi/lib/finch_api/resources/hris/company/pay_statement_item/rules.rbi index feefe7b6..8878dfaf 100644 --- a/rbi/lib/finch_api/resources/hris/company/pay_statement_item/rules.rbi +++ b/rbi/lib/finch_api/resources/hris/company/pay_statement_item/rules.rbi @@ -7,11 +7,11 @@ module FinchAPI class PayStatementItem class Rules # **Beta:** this endpoint currently serves employers onboarded after March 4th and - # historical support will be added soon Custom rules can be created to associate - # specific attributes to pay statement items depending on the use case. For - # example, pay statement items that meet certain conditions can be labeled as a - # pre-tax 401k. This metadata can be retrieved where pay statement item - # information is available. + # historical support will be added soon Custom rules can be created to associate + # specific attributes to pay statement items depending on the use case. For + # example, pay statement items that meet certain conditions can be labeled as a + # pre-tax 401k. This metadata can be retrieved where pay statement item + # information is available. sig do params( attributes: T.any( @@ -44,7 +44,7 @@ module FinchAPI request_options: {} ); end # **Beta:** this endpoint currently serves employers onboarded after March 4th and - # historical support will be added soon Update a rule for a pay statement item. + # historical support will be added soon Update a rule for a pay statement item. sig do params( rule_id: String, @@ -56,7 +56,7 @@ module FinchAPI def update(rule_id, optional_property: nil, request_options: {}); end # **Beta:** this endpoint currently serves employers onboarded after March 4th and - # historical support will be added soon List all rules of a connection account. + # historical support will be added soon List all rules of a connection account. sig do params(request_options: T.nilable(T.any(FinchAPI::RequestOptions, FinchAPI::Internal::AnyHash))) .returns( @@ -66,7 +66,7 @@ module FinchAPI def list(request_options: {}); end # **Beta:** this endpoint currently serves employers onboarded after March 4th and - # historical support will be added soon Delete a rule for a pay statement item. + # historical support will be added soon Delete a rule for a pay statement item. sig do params( rule_id: String, diff --git a/rbi/lib/finch_api/resources/hris/documents.rbi b/rbi/lib/finch_api/resources/hris/documents.rbi index 6372b56d..a53b9c30 100644 --- a/rbi/lib/finch_api/resources/hris/documents.rbi +++ b/rbi/lib/finch_api/resources/hris/documents.rbi @@ -5,7 +5,7 @@ module FinchAPI class HRIS class Documents # **Beta:** This endpoint is in beta and may change. Retrieve a list of - # company-wide documents. + # company-wide documents. sig do params( individual_ids: T::Array[String], @@ -18,19 +18,19 @@ module FinchAPI end def list( # Comma-delimited list of stable Finch uuids for each individual. If empty, - # defaults to all individuals + # defaults to all individuals individual_ids: nil, # Number of documents to return (defaults to all) limit: nil, # Index to start from (defaults to 0) offset: nil, # Comma-delimited list of document types to filter on. If empty, defaults to all - # types + # types types: nil, request_options: {} ); end # **Beta:** This endpoint is in beta and may change. Retrieve details of a - # specific document by its ID. + # specific document by its ID. sig do params( document_id: String, diff --git a/rbi/lib/finch_api/resources/hris/pay_statements.rbi b/rbi/lib/finch_api/resources/hris/pay_statements.rbi index d6bf8ccf..a41306ad 100644 --- a/rbi/lib/finch_api/resources/hris/pay_statements.rbi +++ b/rbi/lib/finch_api/resources/hris/pay_statements.rbi @@ -6,8 +6,8 @@ module FinchAPI class PayStatements # Read detailed pay statements for each individual. # - # Deduction and contribution types are supported by the payroll systems that - # supports Benefits. + # Deduction and contribution types are supported by the payroll systems that + # supports Benefits. sig do params( requests: T::Array[T.any(FinchAPI::Models::HRIS::PayStatementRetrieveManyParams::Request, FinchAPI::Internal::AnyHash)], diff --git a/rbi/lib/finch_api/resources/hris/payments.rbi b/rbi/lib/finch_api/resources/hris/payments.rbi index c7177109..400b58e0 100644 --- a/rbi/lib/finch_api/resources/hris/payments.rbi +++ b/rbi/lib/finch_api/resources/hris/payments.rbi @@ -15,10 +15,10 @@ module FinchAPI end def list( # The end date to retrieve payments by a company (inclusive) in `YYYY-MM-DD` - # format. + # format. end_date:, # The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD` - # format. + # format. start_date:, request_options: {} ); end diff --git a/rbi/lib/finch_api/resources/jobs/automated.rbi b/rbi/lib/finch_api/resources/jobs/automated.rbi index d2400e7e..38304e69 100644 --- a/rbi/lib/finch_api/resources/jobs/automated.rbi +++ b/rbi/lib/finch_api/resources/jobs/automated.rbi @@ -6,18 +6,18 @@ module FinchAPI class Automated # Enqueue an automated job. # - # `data_sync_all`: Enqueue a job to re-sync all data for a connection. - # `data_sync_all` has a concurrency limit of 1 job at a time per connection. This - # means that if this endpoint is called while a job is already in progress for - # this connection, Finch will return the `job_id` of the job that is currently in - # progress. Finch allows a fixed window rate limit of 1 forced refresh per hour - # per connection. + # `data_sync_all`: Enqueue a job to re-sync all data for a connection. + # `data_sync_all` has a concurrency limit of 1 job at a time per connection. This + # means that if this endpoint is called while a job is already in progress for + # this connection, Finch will return the `job_id` of the job that is currently in + # progress. Finch allows a fixed window rate limit of 1 forced refresh per hour + # per connection. # - # `w4_form_employee_sync`: Enqueues a job for sync W-4 data for a particular - # individual, identified by `individual_id`. This feature is currently in beta. + # `w4_form_employee_sync`: Enqueues a job for sync W-4 data for a particular + # individual, identified by `individual_id`. This feature is currently in beta. # - # This endpoint is available for _Scale_ tier customers as an add-on. To request - # access to this endpoint, please contact your Finch account manager. + # This endpoint is available for _Scale_ tier customers as an add-on. To request + # access to this endpoint, please contact your Finch account manager. sig do params( type: FinchAPI::Models::Jobs::AutomatedCreateParams::Type::OrSymbol, @@ -43,8 +43,8 @@ module FinchAPI def retrieve(job_id, request_options: {}); end # Get all automated jobs. Automated jobs are completed by a machine. By default, - # jobs are sorted in descending order by submission time. For scheduled jobs such - # as data syncs, only the next scheduled job is shown. + # jobs are sorted in descending order by submission time. For scheduled jobs such + # as data syncs, only the next scheduled job is shown. sig do params( limit: Integer, diff --git a/rbi/lib/finch_api/resources/jobs/manual.rbi b/rbi/lib/finch_api/resources/jobs/manual.rbi index b1b22307..ecfd3d00 100644 --- a/rbi/lib/finch_api/resources/jobs/manual.rbi +++ b/rbi/lib/finch_api/resources/jobs/manual.rbi @@ -5,7 +5,7 @@ module FinchAPI class Jobs class Manual # Get a manual job by `job_id`. Manual jobs are completed by a human and include - # Assisted Benefits jobs. + # Assisted Benefits jobs. sig do params( job_id: String, diff --git a/rbi/lib/finch_api/resources/request_forwarding.rbi b/rbi/lib/finch_api/resources/request_forwarding.rbi index 121fadd9..2c49e5cc 100644 --- a/rbi/lib/finch_api/resources/request_forwarding.rbi +++ b/rbi/lib/finch_api/resources/request_forwarding.rbi @@ -4,9 +4,9 @@ module FinchAPI module Resources class RequestForwarding # The Forward API allows you to make direct requests to an employment system. If - # Finch’s unified API doesn’t have a data model that cleanly fits your needs, then - # Forward allows you to push or pull data models directly against an integration’s - # API. + # Finch’s unified API doesn’t have a data model that cleanly fits your needs, then + # Forward allows you to push or pull data models directly against an integration’s + # API. sig do params( method_: String, @@ -20,21 +20,21 @@ module FinchAPI end def forward( # The HTTP method for the forwarded request. Valid values include: `GET` , `POST` - # , `PUT` , `DELETE` , and `PATCH`. + # , `PUT` , `DELETE` , and `PATCH`. method_:, # The URL route path for the forwarded request. This value must begin with a - # forward-slash ( / ) and may only contain alphanumeric characters, hyphens, and - # underscores. + # forward-slash ( / ) and may only contain alphanumeric characters, hyphens, and + # underscores. route:, # The body for the forwarded request. This value must be specified as either a - # string or a valid JSON object. + # string or a valid JSON object. data: nil, # The HTTP headers to include on the forwarded request. This value must be - # specified as an object of key-value pairs. Example: - # `{"Content-Type": "application/xml", "X-API-Version": "v1" }` + # specified as an object of key-value pairs. Example: + # `{"Content-Type": "application/xml", "X-API-Version": "v1" }` headers: nil, # The query parameters for the forwarded request. This value must be specified as - # a valid JSON object rather than a query string. + # a valid JSON object rather than a query string. params: nil, request_options: {} ); end diff --git a/rbi/lib/finch_api/resources/sandbox/connections.rbi b/rbi/lib/finch_api/resources/sandbox/connections.rbi index eba94c87..d64f618b 100644 --- a/rbi/lib/finch_api/resources/sandbox/connections.rbi +++ b/rbi/lib/finch_api/resources/sandbox/connections.rbi @@ -23,8 +23,8 @@ module FinchAPI provider_id:, authentication_type: nil, # Optional: the size of the employer to be created with this connection. Defaults - # to 20. Note that if this is higher than 100, historical payroll data will not be - # generated, and instead only one pay period will be created. + # to 20. Note that if this is higher than 100, historical payroll data will not be + # generated, and instead only one pay period will be created. employee_size: nil, products: nil, request_options: {} diff --git a/rbi/lib/finch_api/resources/sandbox/connections/accounts.rbi b/rbi/lib/finch_api/resources/sandbox/connections/accounts.rbi index 4897cd58..df64fc2c 100644 --- a/rbi/lib/finch_api/resources/sandbox/connections/accounts.rbi +++ b/rbi/lib/finch_api/resources/sandbox/connections/accounts.rbi @@ -22,12 +22,12 @@ module FinchAPI provider_id:, authentication_type: nil, # Optional, defaults to Organization products (`company`, `directory`, - # `employment`, `individual`) + # `employment`, `individual`) products: nil, request_options: {} ); end # Update an existing sandbox account. Change the connection status to understand - # how the Finch API responds. + # how the Finch API responds. sig do params( connection_status: FinchAPI::Models::ConnectionStatusType::OrSymbol, diff --git a/rbi/lib/finch_api/resources/sandbox/directory.rbi b/rbi/lib/finch_api/resources/sandbox/directory.rbi index 5ce6a337..352da20b 100644 --- a/rbi/lib/finch_api/resources/sandbox/directory.rbi +++ b/rbi/lib/finch_api/resources/sandbox/directory.rbi @@ -14,7 +14,7 @@ module FinchAPI end def create( # Array of individuals to create. Takes all combined fields from `/individual` and - # `/employment` endpoints. All fields are optional. + # `/employment` endpoints. All fields are optional. body: nil, request_options: {} ); end diff --git a/rbi/lib/finch_api/resources/sandbox/employment.rbi b/rbi/lib/finch_api/resources/sandbox/employment.rbi index 39f2a84e..8d9bf2a4 100644 --- a/rbi/lib/finch_api/resources/sandbox/employment.rbi +++ b/rbi/lib/finch_api/resources/sandbox/employment.rbi @@ -39,8 +39,8 @@ module FinchAPI # Worker's compensation classification code for this employee class_code: nil, # 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. + # employer in the system. Custom fields are not currently supported for assisted + # connections. custom_fields: nil, # The department object. department: nil, @@ -52,8 +52,8 @@ module FinchAPI # The legal first name of the individual. first_name: 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. + # annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, + # depending on what information the provider returns. income: nil, # The array of income history. income_history: nil, diff --git a/rbi/lib/finch_api/resources/sandbox/individual.rbi b/rbi/lib/finch_api/resources/sandbox/individual.rbi index 9cd3165a..8742f5e8 100644 --- a/rbi/lib/finch_api/resources/sandbox/individual.rbi +++ b/rbi/lib/finch_api/resources/sandbox/individual.rbi @@ -37,8 +37,8 @@ module FinchAPI dob: nil, emails: nil, # Social Security Number of the individual in **encrypted** format. This field is - # only available with the `ssn` scope enabled and the - # `options: { include: ['ssn'] }` param set in the body. + # only available with the `ssn` scope enabled and the + # `options: { include: ['ssn'] }` param set in the body. encrypted_ssn: nil, # The EEOC-defined ethnicity of the individual. ethnicity: nil, @@ -55,9 +55,9 @@ module FinchAPI preferred_name: nil, residence: nil, # Social Security Number of the individual. This field is only available with the - # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the - # body. - # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). + # `ssn` scope enabled and the `options: { include: ['ssn'] }` param set in the + # body. + # [Click here to learn more about enabling the SSN field](/developer-resources/Enable-SSN-Field). ssn: nil, request_options: {} ); end From 81414ea8318e9f7fef2fece402c9e31088a62c99 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 6 Apr 2025 13:30:44 +0000 Subject: [PATCH 14/16] chore(internal): more concise handling of parameter naming conflicts (#127) --- lib/finch_api/internal/type/base_model.rb | 9 +++------ .../resources/hris/company/pay_statement_item/rules.rb | 2 +- lib/finch_api/resources/request_forwarding.rb | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/lib/finch_api/internal/type/base_model.rb b/lib/finch_api/internal/type/base_model.rb index fbca817d..6f6f4c10 100644 --- a/lib/finch_api/internal/type/base_model.rb +++ b/lib/finch_api/internal/type/base_model.rb @@ -265,7 +265,6 @@ def dump(value) return super end - is_param = singleton_class <= FinchAPI::Internal::Type::RequestParameters::Converter acc = {} coerced.each do |key, val| @@ -274,21 +273,19 @@ def dump(value) in nil acc.store(name, super(val)) else - mode, type_fn = field.fetch_values(:mode, :type_fn) + api_name, mode, type_fn = field.fetch_values(:api_name, :mode, :type_fn) case mode in :coerce next else target = type_fn.call - api_name = is_param ? name : field.fetch(:api_name) acc.store(api_name, FinchAPI::Internal::Type::Converter.dump(target, val)) end end end - known_fields.each do |name, field| - mode, const = field.fetch_values(:mode, :const) - api_name = is_param ? name : field.fetch(:api_name) + known_fields.each_value do |field| + api_name, mode, const = field.fetch_values(:api_name, :mode, :const) next if mode == :coerce || acc.key?(api_name) || const == FinchAPI::Internal::OMIT acc.store(api_name, const) end diff --git a/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb b/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb index 7b4a0648..420ff27d 100644 --- a/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +++ b/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb @@ -55,7 +55,7 @@ def update(rule_id, params = {}) @client.request( method: :put, path: ["employer/pay-statement-item/rule/%1$s", rule_id], - body: parsed.transform_keys(optional_property: :optionalProperty), + body: parsed, model: FinchAPI::Models::HRIS::Company::PayStatementItem::RuleUpdateResponse, options: options ) diff --git a/lib/finch_api/resources/request_forwarding.rb b/lib/finch_api/resources/request_forwarding.rb index 2f763ae2..2b0d420d 100644 --- a/lib/finch_api/resources/request_forwarding.rb +++ b/lib/finch_api/resources/request_forwarding.rb @@ -25,7 +25,7 @@ def forward(params) @client.request( method: :post, path: "forward", - body: parsed.transform_keys(method_: :method), + body: parsed, model: FinchAPI::Models::RequestForwardingForwardResponse, options: options ) From 6ea95edb587af5ff353a6baa261b8f0bd71e2e07 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 8 Apr 2025 04:33:24 +0000 Subject: [PATCH 15/16] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 05cd9fbf..a45a587e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 46 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-14d375aab89e6b212fe459805a42d6ea7d7da8eae2037ae710a187d06911be1d.yml openapi_spec_hash: 08b86ecbec3323717d48e4aaee48ed54 -config_hash: 2bca9e6b32f742acb077cf8822ec9e23 +config_hash: ce10384813f68ba3fed61c7b601b396b From a37f564bdb2b0e6b0486f0ce8c2b7a4568e90c6a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 8 Apr 2025 04:33:49 +0000 Subject: [PATCH 16/16] release: 0.1.0-alpha.7 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ lib/finch_api/version.rb | 2 +- 3 files changed, 31 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4f9005ea..b5db7ce1 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.6" + ".": "0.1.0-alpha.7" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 351a0b44..50dceb96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## 0.1.0-alpha.7 (2025-04-08) + +Full Changelog: [v0.1.0-alpha.6...v0.1.0-alpha.7](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.6...v0.1.0-alpha.7) + +### Features + +* allow all valid `JSON` types to be encoded ([#119](https://github.com/Finch-API/finch-api-ruby/issues/119)) ([a67519c](https://github.com/Finch-API/finch-api-ruby/commit/a67519c5f2039cccce94f069ad1eeb40252290c1)) +* support query, header, and body params that have identical names ([#118](https://github.com/Finch-API/finch-api-ruby/issues/118)) ([4fa584a](https://github.com/Finch-API/finch-api-ruby/commit/4fa584ab9a22689faa9b218f508a38188d5847d3)) + + +### Bug Fixes + +* converter should transform stringio into string where applicable ([#121](https://github.com/Finch-API/finch-api-ruby/issues/121)) ([432e28e](https://github.com/Finch-API/finch-api-ruby/commit/432e28e92b9704f9692937315a5bb129fccb9ed5)) + + +### Chores + +* always fold up method bodies in sorbet type definitions ([#125](https://github.com/Finch-API/finch-api-ruby/issues/125)) ([ff97af2](https://github.com/Finch-API/finch-api-ruby/commit/ff97af205ffe88a190d05f6ecaf63d73794b39c0)) +* document LSP support in read me ([#117](https://github.com/Finch-API/finch-api-ruby/issues/117)) ([469c82c](https://github.com/Finch-API/finch-api-ruby/commit/469c82c13e10eff05dc59148195e41a8060c660f)) +* **internal:** misc small improvements ([#122](https://github.com/Finch-API/finch-api-ruby/issues/122)) ([9817037](https://github.com/Finch-API/finch-api-ruby/commit/981703710cff8afcdedc0c133457f54480f0cd7e)) +* **internal:** more concise handling of parameter naming conflicts ([#127](https://github.com/Finch-API/finch-api-ruby/issues/127)) ([81414ea](https://github.com/Finch-API/finch-api-ruby/commit/81414ea8318e9f7fef2fece402c9e31088a62c99)) +* **internal:** rubocop rules ([#124](https://github.com/Finch-API/finch-api-ruby/issues/124)) ([7e59465](https://github.com/Finch-API/finch-api-ruby/commit/7e59465247659dac04e33e608c8308c56fea8d58)) +* **internal:** run rubocop linter in parallel ([#123](https://github.com/Finch-API/finch-api-ruby/issues/123)) ([53b1156](https://github.com/Finch-API/finch-api-ruby/commit/53b1156d97634b97ad54330a2860b9cdbe996947)) +* **internal:** version bump ([#113](https://github.com/Finch-API/finch-api-ruby/issues/113)) ([14b68c9](https://github.com/Finch-API/finch-api-ruby/commit/14b68c95d5b50abe3d46745a86054d81e80684c1)) +* misc sdk polish ([#116](https://github.com/Finch-API/finch-api-ruby/issues/116)) ([9af5943](https://github.com/Finch-API/finch-api-ruby/commit/9af5943664bddedd57feab75609521ccfbf3afbd)) +* rename confusing `Type::BooleanModel` to `Type::Boolean` ([#120](https://github.com/Finch-API/finch-api-ruby/issues/120)) ([4295175](https://github.com/Finch-API/finch-api-ruby/commit/429517572c98a1ccc9851a6cb16e875546b637ee)) +* simplify internal utils ([#114](https://github.com/Finch-API/finch-api-ruby/issues/114)) ([0745cc7](https://github.com/Finch-API/finch-api-ruby/commit/0745cc74ce9ef4c0fa2c391ac62b155188110990)) +* update yard comment formatting ([#126](https://github.com/Finch-API/finch-api-ruby/issues/126)) ([695363a](https://github.com/Finch-API/finch-api-ruby/commit/695363a4a80ebae5104a0a01c9427abfc277afb0)) + ## 0.1.0-alpha.6 (2025-04-04) Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.5...v0.1.0-alpha.6) diff --git a/lib/finch_api/version.rb b/lib/finch_api/version.rb index 143ed57a..f1ccf5ac 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.6" + VERSION = "0.1.0.pre.alpha.7" end