Skip to content

Commit 414af1a

Browse files
chore: add type annotations for enum and union member listing methods (#60)
1 parent de42306 commit 414af1a

File tree

163 files changed

+1727
-278
lines changed

Some content is hidden

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

163 files changed

+1727
-278
lines changed

lib/finch-api/models/account_update_event.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1929,6 +1929,12 @@ module Type
19291929
OAUTH = :oauth
19301930

19311931
finalize!
1932+
1933+
class << self
1934+
# @!parse
1935+
# # @return [Array<Symbol>]
1936+
# def values; end
1937+
end
19321938
end
19331939
end
19341940
end
@@ -1939,6 +1945,12 @@ module EventType
19391945
ACCOUNT_UPDATED = :"account.updated"
19401946

19411947
finalize!
1948+
1949+
class << self
1950+
# @!parse
1951+
# # @return [Array<Symbol>]
1952+
# def values; end
1953+
end
19421954
end
19431955
end
19441956
end

lib/finch-api/models/company_event.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ module EventType
3131
COMPANY_UPDATED = :"company.updated"
3232

3333
finalize!
34+
35+
class << self
36+
# @!parse
37+
# # @return [Array<Symbol>]
38+
# def values; end
39+
end
3440
end
3541
end
3642
end

lib/finch-api/models/connect/session_new_params.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ module Product
9999
SSN = :ssn
100100

101101
finalize!
102+
103+
class << self
104+
# @!parse
105+
# # @return [Array<Symbol>]
106+
# def values; end
107+
end
102108
end
103109

104110
class Integration < FinchAPI::BaseModel
@@ -131,6 +137,12 @@ module AuthMethod
131137
API_TOKEN = :api_token
132138

133139
finalize!
140+
141+
class << self
142+
# @!parse
143+
# # @return [Array<Symbol>]
144+
# def values; end
145+
end
134146
end
135147
end
136148

@@ -141,6 +153,12 @@ module Sandbox
141153
PROVIDER = :provider
142154

143155
finalize!
156+
157+
class << self
158+
# @!parse
159+
# # @return [Array<Symbol>]
160+
# def values; end
161+
end
144162
end
145163
end
146164
end

lib/finch-api/models/connect/session_reauthenticate_params.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ module Product
6060
SSN = :ssn
6161

6262
finalize!
63+
64+
class << self
65+
# @!parse
66+
# # @return [Array<Symbol>]
67+
# def values; end
68+
end
6369
end
6470
end
6571
end

lib/finch-api/models/connection_status_type.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ module ConnectionStatusType
1313
REAUTH = :reauth
1414

1515
finalize!
16+
17+
class << self
18+
# @!parse
19+
# # @return [Array<Symbol>]
20+
# def values; end
21+
end
1622
end
1723
end
1824
end

lib/finch-api/models/create_access_token_response.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ module ClientType
112112
SANDBOX = :sandbox
113113

114114
finalize!
115+
116+
class << self
117+
# @!parse
118+
# # @return [Array<Symbol>]
119+
# def values; end
120+
end
115121
end
116122

117123
# The type of the connection associated with the token.
@@ -125,6 +131,12 @@ module ConnectionType
125131
FINCH = :finch
126132

127133
finalize!
134+
135+
class << self
136+
# @!parse
137+
# # @return [Array<Symbol>]
138+
# def values; end
139+
end
128140
end
129141
end
130142
end

lib/finch-api/models/directory_event.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ module EventType
5656
DIRECTORY_DELETED = :"directory.deleted"
5757

5858
finalize!
59+
60+
class << self
61+
# @!parse
62+
# # @return [Array<Symbol>]
63+
# def values; end
64+
end
5965
end
6066
end
6167
end

lib/finch-api/models/employment_event.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ module EventType
5656
EMPLOYMENT_DELETED = :"employment.deleted"
5757

5858
finalize!
59+
60+
class << self
61+
# @!parse
62+
# # @return [Array<Symbol>]
63+
# def values; end
64+
end
5965
end
6066
end
6167
end

lib/finch-api/models/hris/benefit_contribution.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ module Type
3232
PERCENT = :percent
3333

3434
finalize!
35+
36+
class << self
37+
# @!parse
38+
# # @return [Array<Symbol>]
39+
# def values; end
40+
end
3541
end
3642
end
3743
end

lib/finch-api/models/hris/benefit_features_and_operations.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ module CompanyContribution
131131
PERCENT = :percent
132132

133133
finalize!
134+
135+
class << self
136+
# @!parse
137+
# # @return [Array<Symbol>]
138+
# def values; end
139+
end
134140
end
135141

136142
module EmployeeDeduction
@@ -140,6 +146,12 @@ module EmployeeDeduction
140146
PERCENT = :percent
141147

142148
finalize!
149+
150+
class << self
151+
# @!parse
152+
# # @return [Array<Symbol>]
153+
# def values; end
154+
end
143155
end
144156

145157
module HsaContributionLimit
@@ -149,6 +161,12 @@ module HsaContributionLimit
149161
FAMILY = :family
150162

151163
finalize!
164+
165+
class << self
166+
# @!parse
167+
# # @return [Array<Symbol>]
168+
# def values; end
169+
end
152170
end
153171
end
154172
end

0 commit comments

Comments
 (0)