finch-api 0.1.0.pre.alpha.53 → 0.1.0.pre.alpha.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/README.md +1 -1
- data/lib/finch_api/models/connect/session_new_params.rb +49 -1
- data/lib/finch_api/models/sandbox/connection_create_response.rb +7 -7
- data/lib/finch_api/resources/connect/sessions.rb +3 -1
- data/lib/finch_api/version.rb +1 -1
- data/rbi/finch_api/models/connect/session_new_params.rbi +125 -0
- data/rbi/finch_api/models/sandbox/connection_create_response.rbi +9 -9
- data/rbi/finch_api/resources/connect/sessions.rbi +8 -0
- data/sig/finch_api/models/connect/session_new_params.rbs +40 -0
- data/sig/finch_api/models/sandbox/connection_create_response.rbs +8 -8
- data/sig/finch_api/resources/connect/sessions.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6eee3021f4fc42cd9883cd280e27567db13660d06902e6632f99e07ec0722fc4
|
|
4
|
+
data.tar.gz: beb752156687e60dfc0e570c7d5418361b74e374c563ef1591c32f0875fd18d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b0e288e8c437c82ea6d382877e1ec8ac6b553df761beb161b1c4d9b7343089b2d9f9424b745c02ea5edad724d65357e08939a1bffe3d71a8d777e7c5f9c2e4fd
|
|
7
|
+
data.tar.gz: 789d1b194b665bb969760140be9813aa34ecf30990e324980860653b4a818a8e9e2075c16eb1ddc1504f98fc94997815fb9ae3fd141f48385884b8fe8c9f0e71
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.0-alpha.55](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.54...v0.1.0-alpha.55) (2026-08-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **stainless:** migrate SDK generation from Stainless SaaS to self-hosted stlc - PLAT-3989 ([3b99962](https://github.com/Finch-API/finch-api-ruby/commit/3b99962dbd58f8c0566f8412406cce02c73c272a))
|
|
9
|
+
|
|
10
|
+
## 0.1.0-alpha.54 (2026-08-07)
|
|
11
|
+
|
|
12
|
+
Full Changelog: [v0.1.0-alpha.53...v0.1.0-alpha.54](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.53...v0.1.0-alpha.54)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **api:** api update ([49620bb](https://github.com/Finch-API/finch-api-ruby/commit/49620bb6a71aaa6bce7078c57020f36c63f2a778))
|
|
17
|
+
|
|
3
18
|
## 0.1.0-alpha.53 (2026-08-07)
|
|
4
19
|
|
|
5
20
|
Full Changelog: [v0.1.0-alpha.52...v0.1.0-alpha.53](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.52...v0.1.0-alpha.53)
|
data/README.md
CHANGED
|
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
26
26
|
<!-- x-release-please-start-version -->
|
|
27
27
|
|
|
28
28
|
```ruby
|
|
29
|
-
gem "finch-api", "~> 0.1.0.pre.alpha.
|
|
29
|
+
gem "finch-api", "~> 0.1.0-alpha.55.pre.alpha.54"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
<!-- x-release-please-end -->
|
|
@@ -54,6 +54,14 @@ module FinchAPI
|
|
|
54
54
|
# @return [Float, nil]
|
|
55
55
|
optional :minutes_to_expire, Float, nil?: true
|
|
56
56
|
|
|
57
|
+
# @!attribute recordkeeping
|
|
58
|
+
# Optional recordkeeping configuration. Can only be provided when the
|
|
59
|
+
# `recordkeeping` product is requested. Currently supports `recordkeeper` set to
|
|
60
|
+
# `voya`, `empower`, `fidelity`, or `transamerica`.
|
|
61
|
+
#
|
|
62
|
+
# @return [FinchAPI::Models::Connect::SessionNewParams::Recordkeeping, nil]
|
|
63
|
+
optional :recordkeeping, -> { FinchAPI::Connect::SessionNewParams::Recordkeeping }, nil?: true
|
|
64
|
+
|
|
57
65
|
# @!attribute redirect_uri
|
|
58
66
|
# The URI to redirect to after the Connect flow is completed
|
|
59
67
|
#
|
|
@@ -66,7 +74,7 @@ module FinchAPI
|
|
|
66
74
|
# @return [Symbol, FinchAPI::Models::Connect::SessionNewParams::Sandbox, nil]
|
|
67
75
|
optional :sandbox, enum: -> { FinchAPI::Connect::SessionNewParams::Sandbox }, nil?: true
|
|
68
76
|
|
|
69
|
-
# @!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: {})
|
|
77
|
+
# @!method initialize(customer_id:, customer_name:, products:, customer_email: nil, integration: nil, manual: nil, minutes_to_expire: nil, recordkeeping: nil, redirect_uri: nil, sandbox: nil, request_options: {})
|
|
70
78
|
# Some parameter documentations has been truncated, see
|
|
71
79
|
# {FinchAPI::Models::Connect::SessionNewParams} for more details.
|
|
72
80
|
#
|
|
@@ -84,6 +92,8 @@ module FinchAPI
|
|
|
84
92
|
#
|
|
85
93
|
# @param minutes_to_expire [Float, nil] The number of minutes until the session expires (defaults to 129,600, which is 9
|
|
86
94
|
#
|
|
95
|
+
# @param recordkeeping [FinchAPI::Models::Connect::SessionNewParams::Recordkeeping, nil] Optional recordkeeping configuration. Can only be provided when the `recordkeepi
|
|
96
|
+
#
|
|
87
97
|
# @param redirect_uri [String, nil] The URI to redirect to after the Connect flow is completed
|
|
88
98
|
#
|
|
89
99
|
# @param sandbox [Symbol, FinchAPI::Models::Connect::SessionNewParams::Sandbox, nil] Sandbox mode for testing
|
|
@@ -150,6 +160,44 @@ module FinchAPI
|
|
|
150
160
|
end
|
|
151
161
|
end
|
|
152
162
|
|
|
163
|
+
class Recordkeeping < FinchAPI::Internal::Type::BaseModel
|
|
164
|
+
# @!attribute recordkeeper
|
|
165
|
+
# The recordkeeper to configure for this connection
|
|
166
|
+
#
|
|
167
|
+
# @return [Symbol, FinchAPI::Models::Connect::SessionNewParams::Recordkeeping::Recordkeeper]
|
|
168
|
+
required :recordkeeper, enum: -> { FinchAPI::Connect::SessionNewParams::Recordkeeping::Recordkeeper }
|
|
169
|
+
|
|
170
|
+
# @!attribute plan_id
|
|
171
|
+
# The plan identifier used by the recordkeeper
|
|
172
|
+
#
|
|
173
|
+
# @return [String, nil]
|
|
174
|
+
optional :plan_id, String, nil?: true
|
|
175
|
+
|
|
176
|
+
# @!method initialize(recordkeeper:, plan_id: nil)
|
|
177
|
+
# Optional recordkeeping configuration. Can only be provided when the
|
|
178
|
+
# `recordkeeping` product is requested. Currently supports `recordkeeper` set to
|
|
179
|
+
# `voya`, `empower`, `fidelity`, or `transamerica`.
|
|
180
|
+
#
|
|
181
|
+
# @param recordkeeper [Symbol, FinchAPI::Models::Connect::SessionNewParams::Recordkeeping::Recordkeeper] The recordkeeper to configure for this connection
|
|
182
|
+
#
|
|
183
|
+
# @param plan_id [String, nil] The plan identifier used by the recordkeeper
|
|
184
|
+
|
|
185
|
+
# The recordkeeper to configure for this connection
|
|
186
|
+
#
|
|
187
|
+
# @see FinchAPI::Models::Connect::SessionNewParams::Recordkeeping#recordkeeper
|
|
188
|
+
module Recordkeeper
|
|
189
|
+
extend FinchAPI::Internal::Type::Enum
|
|
190
|
+
|
|
191
|
+
VOYA = :voya
|
|
192
|
+
EMPOWER = :empower
|
|
193
|
+
FIDELITY = :fidelity
|
|
194
|
+
TRANSAMERICA = :transamerica
|
|
195
|
+
|
|
196
|
+
# @!method self.values
|
|
197
|
+
# @return [Array<Symbol>]
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
|
|
153
201
|
# Sandbox mode for testing
|
|
154
202
|
module Sandbox
|
|
155
203
|
extend FinchAPI::Internal::Type::Enum
|
|
@@ -21,11 +21,6 @@ module FinchAPI
|
|
|
21
21
|
required :authentication_type,
|
|
22
22
|
enum: -> { FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType }
|
|
23
23
|
|
|
24
|
-
# @!attribute company_id
|
|
25
|
-
#
|
|
26
|
-
# @return [String, nil]
|
|
27
|
-
required :company_id, String, nil?: true
|
|
28
|
-
|
|
29
24
|
# @!attribute connection_id
|
|
30
25
|
#
|
|
31
26
|
# @return [String]
|
|
@@ -51,16 +46,21 @@ module FinchAPI
|
|
|
51
46
|
# @return [String]
|
|
52
47
|
required :token_type, String
|
|
53
48
|
|
|
54
|
-
# @!
|
|
49
|
+
# @!attribute company_id
|
|
50
|
+
#
|
|
51
|
+
# @return [String, nil]
|
|
52
|
+
optional :company_id, String, nil?: true
|
|
53
|
+
|
|
54
|
+
# @!method initialize(access_token:, account_id:, authentication_type:, connection_id:, entity_id:, products:, provider_id:, token_type:, company_id: nil)
|
|
55
55
|
# @param access_token [String]
|
|
56
56
|
# @param account_id [String]
|
|
57
57
|
# @param authentication_type [Symbol, FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType]
|
|
58
|
-
# @param company_id [String, nil]
|
|
59
58
|
# @param connection_id [String]
|
|
60
59
|
# @param entity_id [String]
|
|
61
60
|
# @param products [Array<String>]
|
|
62
61
|
# @param provider_id [String]
|
|
63
62
|
# @param token_type [String]
|
|
63
|
+
# @param company_id [String, nil]
|
|
64
64
|
|
|
65
65
|
# @see FinchAPI::Models::Sandbox::ConnectionCreateResponse#authentication_type
|
|
66
66
|
module AuthenticationType
|
|
@@ -9,7 +9,7 @@ module FinchAPI
|
|
|
9
9
|
#
|
|
10
10
|
# Create a new connect session for an employer
|
|
11
11
|
#
|
|
12
|
-
# @overload new(customer_id:, customer_name:, products:, customer_email: nil, integration: nil, manual: nil, minutes_to_expire: nil, redirect_uri: nil, sandbox: nil, request_options: {})
|
|
12
|
+
# @overload new(customer_id:, customer_name:, products:, customer_email: nil, integration: nil, manual: nil, minutes_to_expire: nil, recordkeeping: nil, redirect_uri: nil, sandbox: nil, request_options: {})
|
|
13
13
|
#
|
|
14
14
|
# @param customer_id [String] Unique identifier for the customer
|
|
15
15
|
#
|
|
@@ -25,6 +25,8 @@ module FinchAPI
|
|
|
25
25
|
#
|
|
26
26
|
# @param minutes_to_expire [Float, nil] The number of minutes until the session expires (defaults to 129,600, which is 9
|
|
27
27
|
#
|
|
28
|
+
# @param recordkeeping [FinchAPI::Models::Connect::SessionNewParams::Recordkeeping, nil] Optional recordkeeping configuration. Can only be provided when the `recordkeepi
|
|
29
|
+
#
|
|
28
30
|
# @param redirect_uri [String, nil] The URI to redirect to after the Connect flow is completed
|
|
29
31
|
#
|
|
30
32
|
# @param sandbox [Symbol, FinchAPI::Models::Connect::SessionNewParams::Sandbox, nil] Sandbox mode for testing
|
data/lib/finch_api/version.rb
CHANGED
|
@@ -62,6 +62,24 @@ module FinchAPI
|
|
|
62
62
|
sig { returns(T.nilable(Float)) }
|
|
63
63
|
attr_accessor :minutes_to_expire
|
|
64
64
|
|
|
65
|
+
# Optional recordkeeping configuration. Can only be provided when the
|
|
66
|
+
# `recordkeeping` product is requested. Currently supports `recordkeeper` set to
|
|
67
|
+
# `voya`, `empower`, `fidelity`, or `transamerica`.
|
|
68
|
+
sig do
|
|
69
|
+
returns(T.nilable(FinchAPI::Connect::SessionNewParams::Recordkeeping))
|
|
70
|
+
end
|
|
71
|
+
attr_reader :recordkeeping
|
|
72
|
+
|
|
73
|
+
sig do
|
|
74
|
+
params(
|
|
75
|
+
recordkeeping:
|
|
76
|
+
T.nilable(
|
|
77
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping::OrHash
|
|
78
|
+
)
|
|
79
|
+
).void
|
|
80
|
+
end
|
|
81
|
+
attr_writer :recordkeeping
|
|
82
|
+
|
|
65
83
|
# The URI to redirect to after the Connect flow is completed
|
|
66
84
|
sig { returns(T.nilable(String)) }
|
|
67
85
|
attr_accessor :redirect_uri
|
|
@@ -87,6 +105,10 @@ module FinchAPI
|
|
|
87
105
|
),
|
|
88
106
|
manual: T.nilable(T::Boolean),
|
|
89
107
|
minutes_to_expire: T.nilable(Float),
|
|
108
|
+
recordkeeping:
|
|
109
|
+
T.nilable(
|
|
110
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping::OrHash
|
|
111
|
+
),
|
|
90
112
|
redirect_uri: T.nilable(String),
|
|
91
113
|
sandbox:
|
|
92
114
|
T.nilable(FinchAPI::Connect::SessionNewParams::Sandbox::OrSymbol),
|
|
@@ -111,6 +133,10 @@ module FinchAPI
|
|
|
111
133
|
# The number of minutes until the session expires (defaults to 129,600, which is
|
|
112
134
|
# 90 days)
|
|
113
135
|
minutes_to_expire: nil,
|
|
136
|
+
# Optional recordkeeping configuration. Can only be provided when the
|
|
137
|
+
# `recordkeeping` product is requested. Currently supports `recordkeeper` set to
|
|
138
|
+
# `voya`, `empower`, `fidelity`, or `transamerica`.
|
|
139
|
+
recordkeeping: nil,
|
|
114
140
|
# The URI to redirect to after the Connect flow is completed
|
|
115
141
|
redirect_uri: nil,
|
|
116
142
|
# Sandbox mode for testing
|
|
@@ -133,6 +159,8 @@ module FinchAPI
|
|
|
133
159
|
T.nilable(FinchAPI::Connect::SessionNewParams::Integration),
|
|
134
160
|
manual: T.nilable(T::Boolean),
|
|
135
161
|
minutes_to_expire: T.nilable(Float),
|
|
162
|
+
recordkeeping:
|
|
163
|
+
T.nilable(FinchAPI::Connect::SessionNewParams::Recordkeeping),
|
|
136
164
|
redirect_uri: T.nilable(String),
|
|
137
165
|
sandbox:
|
|
138
166
|
T.nilable(
|
|
@@ -337,6 +365,103 @@ module FinchAPI
|
|
|
337
365
|
end
|
|
338
366
|
end
|
|
339
367
|
|
|
368
|
+
class Recordkeeping < FinchAPI::Internal::Type::BaseModel
|
|
369
|
+
OrHash =
|
|
370
|
+
T.type_alias do
|
|
371
|
+
T.any(
|
|
372
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping,
|
|
373
|
+
FinchAPI::Internal::AnyHash
|
|
374
|
+
)
|
|
375
|
+
end
|
|
376
|
+
|
|
377
|
+
# The recordkeeper to configure for this connection
|
|
378
|
+
sig do
|
|
379
|
+
returns(
|
|
380
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping::Recordkeeper::OrSymbol
|
|
381
|
+
)
|
|
382
|
+
end
|
|
383
|
+
attr_accessor :recordkeeper
|
|
384
|
+
|
|
385
|
+
# The plan identifier used by the recordkeeper
|
|
386
|
+
sig { returns(T.nilable(String)) }
|
|
387
|
+
attr_accessor :plan_id
|
|
388
|
+
|
|
389
|
+
# Optional recordkeeping configuration. Can only be provided when the
|
|
390
|
+
# `recordkeeping` product is requested. Currently supports `recordkeeper` set to
|
|
391
|
+
# `voya`, `empower`, `fidelity`, or `transamerica`.
|
|
392
|
+
sig do
|
|
393
|
+
params(
|
|
394
|
+
recordkeeper:
|
|
395
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping::Recordkeeper::OrSymbol,
|
|
396
|
+
plan_id: T.nilable(String)
|
|
397
|
+
).returns(T.attached_class)
|
|
398
|
+
end
|
|
399
|
+
def self.new(
|
|
400
|
+
# The recordkeeper to configure for this connection
|
|
401
|
+
recordkeeper:,
|
|
402
|
+
# The plan identifier used by the recordkeeper
|
|
403
|
+
plan_id: nil
|
|
404
|
+
)
|
|
405
|
+
end
|
|
406
|
+
|
|
407
|
+
sig do
|
|
408
|
+
override.returns(
|
|
409
|
+
{
|
|
410
|
+
recordkeeper:
|
|
411
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping::Recordkeeper::OrSymbol,
|
|
412
|
+
plan_id: T.nilable(String)
|
|
413
|
+
}
|
|
414
|
+
)
|
|
415
|
+
end
|
|
416
|
+
def to_hash
|
|
417
|
+
end
|
|
418
|
+
|
|
419
|
+
# The recordkeeper to configure for this connection
|
|
420
|
+
module Recordkeeper
|
|
421
|
+
extend FinchAPI::Internal::Type::Enum
|
|
422
|
+
|
|
423
|
+
TaggedSymbol =
|
|
424
|
+
T.type_alias do
|
|
425
|
+
T.all(
|
|
426
|
+
Symbol,
|
|
427
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping::Recordkeeper
|
|
428
|
+
)
|
|
429
|
+
end
|
|
430
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
431
|
+
|
|
432
|
+
VOYA =
|
|
433
|
+
T.let(
|
|
434
|
+
:voya,
|
|
435
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping::Recordkeeper::TaggedSymbol
|
|
436
|
+
)
|
|
437
|
+
EMPOWER =
|
|
438
|
+
T.let(
|
|
439
|
+
:empower,
|
|
440
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping::Recordkeeper::TaggedSymbol
|
|
441
|
+
)
|
|
442
|
+
FIDELITY =
|
|
443
|
+
T.let(
|
|
444
|
+
:fidelity,
|
|
445
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping::Recordkeeper::TaggedSymbol
|
|
446
|
+
)
|
|
447
|
+
TRANSAMERICA =
|
|
448
|
+
T.let(
|
|
449
|
+
:transamerica,
|
|
450
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping::Recordkeeper::TaggedSymbol
|
|
451
|
+
)
|
|
452
|
+
|
|
453
|
+
sig do
|
|
454
|
+
override.returns(
|
|
455
|
+
T::Array[
|
|
456
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping::Recordkeeper::TaggedSymbol
|
|
457
|
+
]
|
|
458
|
+
)
|
|
459
|
+
end
|
|
460
|
+
def self.values
|
|
461
|
+
end
|
|
462
|
+
end
|
|
463
|
+
end
|
|
464
|
+
|
|
340
465
|
# Sandbox mode for testing
|
|
341
466
|
module Sandbox
|
|
342
467
|
extend FinchAPI::Internal::Type::Enum
|
|
@@ -25,9 +25,6 @@ module FinchAPI
|
|
|
25
25
|
end
|
|
26
26
|
attr_accessor :authentication_type
|
|
27
27
|
|
|
28
|
-
sig { returns(T.nilable(String)) }
|
|
29
|
-
attr_accessor :company_id
|
|
30
|
-
|
|
31
28
|
sig { returns(String) }
|
|
32
29
|
attr_accessor :connection_id
|
|
33
30
|
|
|
@@ -43,30 +40,33 @@ module FinchAPI
|
|
|
43
40
|
sig { returns(String) }
|
|
44
41
|
attr_accessor :token_type
|
|
45
42
|
|
|
43
|
+
sig { returns(T.nilable(String)) }
|
|
44
|
+
attr_accessor :company_id
|
|
45
|
+
|
|
46
46
|
sig do
|
|
47
47
|
params(
|
|
48
48
|
access_token: String,
|
|
49
49
|
account_id: String,
|
|
50
50
|
authentication_type:
|
|
51
51
|
FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType::OrSymbol,
|
|
52
|
-
company_id: T.nilable(String),
|
|
53
52
|
connection_id: String,
|
|
54
53
|
entity_id: String,
|
|
55
54
|
products: T::Array[String],
|
|
56
55
|
provider_id: String,
|
|
57
|
-
token_type: String
|
|
56
|
+
token_type: String,
|
|
57
|
+
company_id: T.nilable(String)
|
|
58
58
|
).returns(T.attached_class)
|
|
59
59
|
end
|
|
60
60
|
def self.new(
|
|
61
61
|
access_token:,
|
|
62
62
|
account_id:,
|
|
63
63
|
authentication_type:,
|
|
64
|
-
company_id:,
|
|
65
64
|
connection_id:,
|
|
66
65
|
entity_id:,
|
|
67
66
|
products:,
|
|
68
67
|
provider_id:,
|
|
69
|
-
token_type
|
|
68
|
+
token_type:,
|
|
69
|
+
company_id: nil
|
|
70
70
|
)
|
|
71
71
|
end
|
|
72
72
|
|
|
@@ -77,12 +77,12 @@ module FinchAPI
|
|
|
77
77
|
account_id: String,
|
|
78
78
|
authentication_type:
|
|
79
79
|
FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType::TaggedSymbol,
|
|
80
|
-
company_id: T.nilable(String),
|
|
81
80
|
connection_id: String,
|
|
82
81
|
entity_id: String,
|
|
83
82
|
products: T::Array[String],
|
|
84
83
|
provider_id: String,
|
|
85
|
-
token_type: String
|
|
84
|
+
token_type: String,
|
|
85
|
+
company_id: T.nilable(String)
|
|
86
86
|
}
|
|
87
87
|
)
|
|
88
88
|
end
|
|
@@ -18,6 +18,10 @@ module FinchAPI
|
|
|
18
18
|
),
|
|
19
19
|
manual: T.nilable(T::Boolean),
|
|
20
20
|
minutes_to_expire: T.nilable(Float),
|
|
21
|
+
recordkeeping:
|
|
22
|
+
T.nilable(
|
|
23
|
+
FinchAPI::Connect::SessionNewParams::Recordkeeping::OrHash
|
|
24
|
+
),
|
|
21
25
|
redirect_uri: T.nilable(String),
|
|
22
26
|
sandbox:
|
|
23
27
|
T.nilable(FinchAPI::Connect::SessionNewParams::Sandbox::OrSymbol),
|
|
@@ -42,6 +46,10 @@ module FinchAPI
|
|
|
42
46
|
# The number of minutes until the session expires (defaults to 129,600, which is
|
|
43
47
|
# 90 days)
|
|
44
48
|
minutes_to_expire: nil,
|
|
49
|
+
# Optional recordkeeping configuration. Can only be provided when the
|
|
50
|
+
# `recordkeeping` product is requested. Currently supports `recordkeeper` set to
|
|
51
|
+
# `voya`, `empower`, `fidelity`, or `transamerica`.
|
|
52
|
+
recordkeeping: nil,
|
|
45
53
|
# The URI to redirect to after the Connect flow is completed
|
|
46
54
|
redirect_uri: nil,
|
|
47
55
|
# Sandbox mode for testing
|
|
@@ -10,6 +10,7 @@ module FinchAPI
|
|
|
10
10
|
integration: FinchAPI::Connect::SessionNewParams::Integration?,
|
|
11
11
|
manual: bool?,
|
|
12
12
|
minutes_to_expire: Float?,
|
|
13
|
+
recordkeeping: FinchAPI::Connect::SessionNewParams::Recordkeeping?,
|
|
13
14
|
redirect_uri: String?,
|
|
14
15
|
sandbox: FinchAPI::Models::Connect::SessionNewParams::sandbox?
|
|
15
16
|
}
|
|
@@ -33,6 +34,8 @@ module FinchAPI
|
|
|
33
34
|
|
|
34
35
|
attr_accessor minutes_to_expire: Float?
|
|
35
36
|
|
|
37
|
+
attr_accessor recordkeeping: FinchAPI::Connect::SessionNewParams::Recordkeeping?
|
|
38
|
+
|
|
36
39
|
attr_accessor redirect_uri: String?
|
|
37
40
|
|
|
38
41
|
attr_accessor sandbox: FinchAPI::Models::Connect::SessionNewParams::sandbox?
|
|
@@ -45,6 +48,7 @@ module FinchAPI
|
|
|
45
48
|
?integration: FinchAPI::Connect::SessionNewParams::Integration?,
|
|
46
49
|
?manual: bool?,
|
|
47
50
|
?minutes_to_expire: Float?,
|
|
51
|
+
?recordkeeping: FinchAPI::Connect::SessionNewParams::Recordkeeping?,
|
|
48
52
|
?redirect_uri: String?,
|
|
49
53
|
?sandbox: FinchAPI::Models::Connect::SessionNewParams::sandbox?,
|
|
50
54
|
?request_options: FinchAPI::request_opts
|
|
@@ -58,6 +62,7 @@ module FinchAPI
|
|
|
58
62
|
integration: FinchAPI::Connect::SessionNewParams::Integration?,
|
|
59
63
|
manual: bool?,
|
|
60
64
|
minutes_to_expire: Float?,
|
|
65
|
+
recordkeeping: FinchAPI::Connect::SessionNewParams::Recordkeeping?,
|
|
61
66
|
redirect_uri: String?,
|
|
62
67
|
sandbox: FinchAPI::Models::Connect::SessionNewParams::sandbox?,
|
|
63
68
|
request_options: FinchAPI::RequestOptions
|
|
@@ -135,6 +140,41 @@ module FinchAPI
|
|
|
135
140
|
end
|
|
136
141
|
end
|
|
137
142
|
|
|
143
|
+
type recordkeeping =
|
|
144
|
+
{
|
|
145
|
+
recordkeeper: FinchAPI::Models::Connect::SessionNewParams::Recordkeeping::recordkeeper,
|
|
146
|
+
plan_id: String?
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
class Recordkeeping < FinchAPI::Internal::Type::BaseModel
|
|
150
|
+
attr_accessor recordkeeper: FinchAPI::Models::Connect::SessionNewParams::Recordkeeping::recordkeeper
|
|
151
|
+
|
|
152
|
+
attr_accessor plan_id: String?
|
|
153
|
+
|
|
154
|
+
def initialize: (
|
|
155
|
+
recordkeeper: FinchAPI::Models::Connect::SessionNewParams::Recordkeeping::recordkeeper,
|
|
156
|
+
?plan_id: String?
|
|
157
|
+
) -> void
|
|
158
|
+
|
|
159
|
+
def to_hash: -> {
|
|
160
|
+
recordkeeper: FinchAPI::Models::Connect::SessionNewParams::Recordkeeping::recordkeeper,
|
|
161
|
+
plan_id: String?
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
type recordkeeper = :voya | :empower | :fidelity | :transamerica
|
|
165
|
+
|
|
166
|
+
module Recordkeeper
|
|
167
|
+
extend FinchAPI::Internal::Type::Enum
|
|
168
|
+
|
|
169
|
+
VOYA: :voya
|
|
170
|
+
EMPOWER: :empower
|
|
171
|
+
FIDELITY: :fidelity
|
|
172
|
+
TRANSAMERICA: :transamerica
|
|
173
|
+
|
|
174
|
+
def self?.values: -> ::Array[FinchAPI::Models::Connect::SessionNewParams::Recordkeeping::recordkeeper]
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
|
|
138
178
|
type sandbox = :finch | :provider
|
|
139
179
|
|
|
140
180
|
module Sandbox
|
|
@@ -6,12 +6,12 @@ module FinchAPI
|
|
|
6
6
|
access_token: String,
|
|
7
7
|
account_id: String,
|
|
8
8
|
authentication_type: FinchAPI::Models::Sandbox::ConnectionCreateResponse::authentication_type,
|
|
9
|
-
company_id: String?,
|
|
10
9
|
connection_id: String,
|
|
11
10
|
entity_id: String,
|
|
12
11
|
products: ::Array[String],
|
|
13
12
|
provider_id: String,
|
|
14
|
-
token_type: String
|
|
13
|
+
token_type: String,
|
|
14
|
+
company_id: String?
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
class ConnectionCreateResponse < FinchAPI::Internal::Type::BaseModel
|
|
@@ -21,8 +21,6 @@ module FinchAPI
|
|
|
21
21
|
|
|
22
22
|
attr_accessor authentication_type: FinchAPI::Models::Sandbox::ConnectionCreateResponse::authentication_type
|
|
23
23
|
|
|
24
|
-
attr_accessor company_id: String?
|
|
25
|
-
|
|
26
24
|
attr_accessor connection_id: String
|
|
27
25
|
|
|
28
26
|
attr_accessor entity_id: String
|
|
@@ -33,28 +31,30 @@ module FinchAPI
|
|
|
33
31
|
|
|
34
32
|
attr_accessor token_type: String
|
|
35
33
|
|
|
34
|
+
attr_accessor company_id: String?
|
|
35
|
+
|
|
36
36
|
def initialize: (
|
|
37
37
|
access_token: String,
|
|
38
38
|
account_id: String,
|
|
39
39
|
authentication_type: FinchAPI::Models::Sandbox::ConnectionCreateResponse::authentication_type,
|
|
40
|
-
company_id: String?,
|
|
41
40
|
connection_id: String,
|
|
42
41
|
entity_id: String,
|
|
43
42
|
products: ::Array[String],
|
|
44
43
|
provider_id: String,
|
|
45
|
-
token_type: String
|
|
44
|
+
token_type: String,
|
|
45
|
+
?company_id: String?
|
|
46
46
|
) -> void
|
|
47
47
|
|
|
48
48
|
def to_hash: -> {
|
|
49
49
|
access_token: String,
|
|
50
50
|
account_id: String,
|
|
51
51
|
authentication_type: FinchAPI::Models::Sandbox::ConnectionCreateResponse::authentication_type,
|
|
52
|
-
company_id: String?,
|
|
53
52
|
connection_id: String,
|
|
54
53
|
entity_id: String,
|
|
55
54
|
products: ::Array[String],
|
|
56
55
|
provider_id: String,
|
|
57
|
-
token_type: String
|
|
56
|
+
token_type: String,
|
|
57
|
+
company_id: String?
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
type authentication_type = :api_token | :assisted | :credential | :oauth
|
|
@@ -10,6 +10,7 @@ module FinchAPI
|
|
|
10
10
|
?integration: FinchAPI::Connect::SessionNewParams::Integration?,
|
|
11
11
|
?manual: bool?,
|
|
12
12
|
?minutes_to_expire: Float?,
|
|
13
|
+
?recordkeeping: FinchAPI::Connect::SessionNewParams::Recordkeeping?,
|
|
13
14
|
?redirect_uri: String?,
|
|
14
15
|
?sandbox: FinchAPI::Models::Connect::SessionNewParams::sandbox?,
|
|
15
16
|
?request_options: FinchAPI::request_opts
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: finch-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.0.pre.alpha.
|
|
4
|
+
version: 0.1.0.pre.alpha.55
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Finch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|