Skip to content

Commit 98866d5

Browse files
chore: use fully qualified names for yard annotations and rbs aliases
1 parent 2f00817 commit 98866d5

File tree

211 files changed

+3037
-1279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+3037
-1279
lines changed

lib/finch_api/internal/individuals_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class IndividualsPage
1919
# @return [Array<generic<Elem>>, nil]
2020
attr_accessor :individuals
2121

22-
# @return [FinchAPI::Paging]
22+
# @return [FinchAPI::Models::Paging]
2323
attr_accessor :paging
2424

2525
# @return [Boolean]

lib/finch_api/internal/page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Page
1919
# @return [Array<generic<Elem>>, nil]
2020
attr_accessor :data
2121

22-
# @return [FinchAPI::Paging]
22+
# @return [FinchAPI::Models::Paging]
2323
attr_accessor :paging
2424

2525
# @return [Boolean]

lib/finch_api/models/account_update_event.rb

Lines changed: 110 additions & 109 deletions
Large diffs are not rendered by default.

lib/finch_api/models/base_webhook_event.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class BaseWebhookEvent < FinchAPI::Internal::Type::BaseModel
3030

3131
# @!method initialize(account_id:, company_id:, connection_id: nil)
3232
# Some parameter documentations has been truncated, see
33-
# {FinchAPI::BaseWebhookEvent} for more details.
33+
# {FinchAPI::Models::BaseWebhookEvent} for more details.
3434
#
3535
# @param account_id [String] [DEPRECATED] Unique Finch ID of the employer account used to make this connectio
3636
#

lib/finch_api/models/company_event.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ class CompanyEvent < FinchAPI::Models::BaseWebhookEvent
1010

1111
# @!attribute event_type
1212
#
13-
# @return [Symbol, FinchAPI::CompanyEvent::EventType, nil]
13+
# @return [Symbol, FinchAPI::Models::CompanyEvent::EventType, nil]
1414
optional :event_type, enum: -> { FinchAPI::CompanyEvent::EventType }
1515

1616
# @!method initialize(data: nil, event_type: nil)
1717
# @param data [Hash{Symbol=>Object}, nil]
18-
# @param event_type [Symbol, FinchAPI::CompanyEvent::EventType]
18+
# @param event_type [Symbol, FinchAPI::Models::CompanyEvent::EventType]
1919

2020
module EventType
2121
extend FinchAPI::Internal::Type::Enum

lib/finch_api/models/connect/session_new_params.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class SessionNewParams < FinchAPI::Internal::Type::BaseModel
2020

2121
# @!attribute products
2222
#
23-
# @return [Array<Symbol, FinchAPI::Connect::SessionNewParams::Product>]
23+
# @return [Array<Symbol, FinchAPI::Models::Connect::SessionNewParams::Product>]
2424
required :products,
2525
-> { FinchAPI::Internal::Type::ArrayOf[enum: FinchAPI::Connect::SessionNewParams::Product] }
2626

@@ -31,7 +31,7 @@ class SessionNewParams < FinchAPI::Internal::Type::BaseModel
3131

3232
# @!attribute integration
3333
#
34-
# @return [FinchAPI::Connect::SessionNewParams::Integration, nil]
34+
# @return [FinchAPI::Models::Connect::SessionNewParams::Integration, nil]
3535
optional :integration, -> { FinchAPI::Connect::SessionNewParams::Integration }, nil?: true
3636

3737
# @!attribute manual
@@ -53,7 +53,7 @@ class SessionNewParams < FinchAPI::Internal::Type::BaseModel
5353

5454
# @!attribute sandbox
5555
#
56-
# @return [Symbol, FinchAPI::Connect::SessionNewParams::Sandbox, nil]
56+
# @return [Symbol, FinchAPI::Models::Connect::SessionNewParams::Sandbox, nil]
5757
optional :sandbox, enum: -> { FinchAPI::Connect::SessionNewParams::Sandbox }, nil?: true
5858

5959
# @!method initialize(customer_id:, customer_name:, products:, customer_email: nil, integration: nil, manual: nil, minutes_to_expire: nil, redirect_uri: nil, sandbox: nil, request_options: {})
@@ -64,19 +64,19 @@ class SessionNewParams < FinchAPI::Internal::Type::BaseModel
6464
#
6565
# @param customer_name [String]
6666
#
67-
# @param products [Array<Symbol, FinchAPI::Connect::SessionNewParams::Product>]
67+
# @param products [Array<Symbol, FinchAPI::Models::Connect::SessionNewParams::Product>]
6868
#
6969
# @param customer_email [String, nil]
7070
#
71-
# @param integration [FinchAPI::Connect::SessionNewParams::Integration, nil]
71+
# @param integration [FinchAPI::Models::Connect::SessionNewParams::Integration, nil]
7272
#
7373
# @param manual [Boolean, nil]
7474
#
7575
# @param minutes_to_expire [Float, nil] The number of minutes until the session expires (defaults to 43,200, which is 30
7676
#
7777
# @param redirect_uri [String, nil]
7878
#
79-
# @param sandbox [Symbol, FinchAPI::Connect::SessionNewParams::Sandbox, nil]
79+
# @param sandbox [Symbol, FinchAPI::Models::Connect::SessionNewParams::Sandbox, nil]
8080
#
8181
# @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
8282

@@ -102,7 +102,7 @@ module Product
102102
class Integration < FinchAPI::Internal::Type::BaseModel
103103
# @!attribute auth_method
104104
#
105-
# @return [Symbol, FinchAPI::Connect::SessionNewParams::Integration::AuthMethod, nil]
105+
# @return [Symbol, FinchAPI::Models::Connect::SessionNewParams::Integration::AuthMethod, nil]
106106
optional :auth_method,
107107
enum: -> { FinchAPI::Connect::SessionNewParams::Integration::AuthMethod },
108108
nil?: true
@@ -113,10 +113,10 @@ class Integration < FinchAPI::Internal::Type::BaseModel
113113
optional :provider, String, nil?: true
114114

115115
# @!method initialize(auth_method: nil, provider: nil)
116-
# @param auth_method [Symbol, FinchAPI::Connect::SessionNewParams::Integration::AuthMethod, nil]
116+
# @param auth_method [Symbol, FinchAPI::Models::Connect::SessionNewParams::Integration::AuthMethod, nil]
117117
# @param provider [String, nil]
118118

119-
# @see FinchAPI::Connect::SessionNewParams::Integration#auth_method
119+
# @see FinchAPI::Models::Connect::SessionNewParams::Integration#auth_method
120120
module AuthMethod
121121
extend FinchAPI::Internal::Type::Enum
122122

lib/finch_api/models/connect/session_reauthenticate_params.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class SessionReauthenticateParams < FinchAPI::Internal::Type::BaseModel
2424
# @!attribute products
2525
# The products to request access to (optional for reauthentication)
2626
#
27-
# @return [Array<Symbol, FinchAPI::Connect::SessionReauthenticateParams::Product>, nil]
27+
# @return [Array<Symbol, FinchAPI::Models::Connect::SessionReauthenticateParams::Product>, nil]
2828
optional :products,
2929
-> {
3030
FinchAPI::Internal::Type::ArrayOf[enum: FinchAPI::Connect::SessionReauthenticateParams::Product]
@@ -45,7 +45,7 @@ class SessionReauthenticateParams < FinchAPI::Internal::Type::BaseModel
4545
#
4646
# @param minutes_to_expire [Integer, nil] The number of minutes until the session expires (defaults to 43,200, which is 30
4747
#
48-
# @param products [Array<Symbol, FinchAPI::Connect::SessionReauthenticateParams::Product>, nil] The products to request access to (optional for reauthentication)
48+
# @param products [Array<Symbol, FinchAPI::Models::Connect::SessionReauthenticateParams::Product>, nil] The products to request access to (optional for reauthentication)
4949
#
5050
# @param redirect_uri [String, nil] The URI to redirect to after the Connect flow is completed
5151
#

lib/finch_api/models/create_access_token_response.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CreateAccessTokenResponse < FinchAPI::Internal::Type::BaseModel
2222
# @!attribute client_type
2323
# The type of application associated with a token.
2424
#
25-
# @return [Symbol, FinchAPI::CreateAccessTokenResponse::ClientType]
25+
# @return [Symbol, FinchAPI::Models::CreateAccessTokenResponse::ClientType]
2626
required :client_type, enum: -> { FinchAPI::CreateAccessTokenResponse::ClientType }
2727

2828
# @!attribute company_id
@@ -46,7 +46,7 @@ class CreateAccessTokenResponse < FinchAPI::Internal::Type::BaseModel
4646
# - `provider` - connection to an external provider
4747
# - `finch` - finch-generated data.
4848
#
49-
# @return [Symbol, FinchAPI::CreateAccessTokenResponse::ConnectionType]
49+
# @return [Symbol, FinchAPI::Models::CreateAccessTokenResponse::ConnectionType]
5050
required :connection_type, enum: -> { FinchAPI::CreateAccessTokenResponse::ConnectionType }
5151

5252
# @!attribute products
@@ -76,19 +76,19 @@ class CreateAccessTokenResponse < FinchAPI::Internal::Type::BaseModel
7676

7777
# @!method initialize(access_token:, account_id:, client_type:, company_id:, connection_id:, connection_type:, products:, provider_id:, customer_id: nil, token_type: nil)
7878
# Some parameter documentations has been truncated, see
79-
# {FinchAPI::CreateAccessTokenResponse} for more details.
79+
# {FinchAPI::Models::CreateAccessTokenResponse} for more details.
8080
#
8181
# @param access_token [String] The access token for the connection.
8282
#
8383
# @param account_id [String] [DEPRECATED] Use `connection_id` to identify the connection instead of this acco
8484
#
85-
# @param client_type [Symbol, FinchAPI::CreateAccessTokenResponse::ClientType] The type of application associated with a token.
85+
# @param client_type [Symbol, FinchAPI::Models::CreateAccessTokenResponse::ClientType] The type of application associated with a token.
8686
#
8787
# @param company_id [String] [DEPRECATED] Use `connection_id` to identify the connection instead of this comp
8888
#
8989
# @param connection_id [String] The Finch UUID of the connection associated with the `access_token`.
9090
#
91-
# @param connection_type [Symbol, FinchAPI::CreateAccessTokenResponse::ConnectionType] The type of the connection associated with the token.
91+
# @param connection_type [Symbol, FinchAPI::Models::CreateAccessTokenResponse::ConnectionType] The type of the connection associated with the token.
9292
#
9393
# @param products [Array<String>] An array of the authorized products associated with the `access_token`.
9494
#
@@ -100,7 +100,7 @@ class CreateAccessTokenResponse < FinchAPI::Internal::Type::BaseModel
100100

101101
# The type of application associated with a token.
102102
#
103-
# @see FinchAPI::CreateAccessTokenResponse#client_type
103+
# @see FinchAPI::Models::CreateAccessTokenResponse#client_type
104104
module ClientType
105105
extend FinchAPI::Internal::Type::Enum
106106

@@ -117,7 +117,7 @@ module ClientType
117117
# - `provider` - connection to an external provider
118118
# - `finch` - finch-generated data.
119119
#
120-
# @see FinchAPI::CreateAccessTokenResponse#connection_type
120+
# @see FinchAPI::Models::CreateAccessTokenResponse#connection_type
121121
module ConnectionType
122122
extend FinchAPI::Internal::Type::Enum
123123

lib/finch_api/models/directory_event.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ module Models
55
class DirectoryEvent < FinchAPI::Models::BaseWebhookEvent
66
# @!attribute data
77
#
8-
# @return [FinchAPI::DirectoryEvent::Data, nil]
8+
# @return [FinchAPI::Models::DirectoryEvent::Data, nil]
99
optional :data, -> { FinchAPI::DirectoryEvent::Data }
1010

1111
# @!attribute event_type
1212
#
13-
# @return [Symbol, FinchAPI::DirectoryEvent::EventType, nil]
13+
# @return [Symbol, FinchAPI::Models::DirectoryEvent::EventType, nil]
1414
optional :event_type, enum: -> { FinchAPI::DirectoryEvent::EventType }
1515

1616
# @!method initialize(data: nil, event_type: nil)
17-
# @param data [FinchAPI::DirectoryEvent::Data]
18-
# @param event_type [Symbol, FinchAPI::DirectoryEvent::EventType]
17+
# @param data [FinchAPI::Models::DirectoryEvent::Data]
18+
# @param event_type [Symbol, FinchAPI::Models::DirectoryEvent::EventType]
1919

2020
class Data < FinchAPI::Internal::Type::BaseModel
2121
# @!attribute individual_id

lib/finch_api/models/employment_event.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ module Models
55
class EmploymentEvent < FinchAPI::Models::BaseWebhookEvent
66
# @!attribute data
77
#
8-
# @return [FinchAPI::EmploymentEvent::Data, nil]
8+
# @return [FinchAPI::Models::EmploymentEvent::Data, nil]
99
optional :data, -> { FinchAPI::EmploymentEvent::Data }
1010

1111
# @!attribute event_type
1212
#
13-
# @return [Symbol, FinchAPI::EmploymentEvent::EventType, nil]
13+
# @return [Symbol, FinchAPI::Models::EmploymentEvent::EventType, nil]
1414
optional :event_type, enum: -> { FinchAPI::EmploymentEvent::EventType }
1515

1616
# @!method initialize(data: nil, event_type: nil)
17-
# @param data [FinchAPI::EmploymentEvent::Data]
18-
# @param event_type [Symbol, FinchAPI::EmploymentEvent::EventType]
17+
# @param data [FinchAPI::Models::EmploymentEvent::Data]
18+
# @param event_type [Symbol, FinchAPI::Models::EmploymentEvent::EventType]
1919

2020
class Data < FinchAPI::Internal::Type::BaseModel
2121
# @!attribute individual_id

0 commit comments

Comments
 (0)