finch-api 0.1.0.pre.alpha.39 → 0.1.0.pre.alpha.41

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/README.md +10 -1
  4. data/lib/finch_api/models/hris/employment_data.rb +3 -5
  5. data/lib/finch_api/models/hris/payment_list_params.rb +2 -2
  6. data/lib/finch_api/models/sandbox/connection_create_response.rb +9 -1
  7. data/lib/finch_api/models/sandbox/connections/account_create_response.rb +9 -1
  8. data/lib/finch_api/models/sandbox/connections/account_update_response.rb +17 -9
  9. data/lib/finch_api/models/sandbox/directory_create_params.rb +3 -5
  10. data/lib/finch_api/models/sandbox/employment_update_params.rb +3 -5
  11. data/lib/finch_api/models/sandbox/employment_update_response.rb +3 -5
  12. data/lib/finch_api/resources/hris/benefits/individuals.rb +2 -2
  13. data/lib/finch_api/resources/hris/benefits.rb +1 -1
  14. data/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +10 -15
  15. data/lib/finch_api/resources/hris/company/pay_statement_item.rb +2 -3
  16. data/lib/finch_api/resources/hris/individuals.rb +2 -2
  17. data/lib/finch_api/resources/jobs/manual.rb +2 -2
  18. data/lib/finch_api/resources/sandbox/employment.rb +1 -1
  19. data/lib/finch_api/version.rb +1 -1
  20. data/rbi/finch_api/models/hris/employment_data.rbi +3 -6
  21. data/rbi/finch_api/models/hris/payment_list_params.rbi +4 -4
  22. data/rbi/finch_api/models/sandbox/connection_create_response.rbi +8 -0
  23. data/rbi/finch_api/models/sandbox/connections/account_create_response.rbi +8 -0
  24. data/rbi/finch_api/models/sandbox/connections/account_update_response.rbi +19 -14
  25. data/rbi/finch_api/models/sandbox/directory_create_params.rbi +3 -6
  26. data/rbi/finch_api/models/sandbox/employment_update_params.rbi +3 -6
  27. data/rbi/finch_api/models/sandbox/employment_update_response.rbi +3 -6
  28. data/rbi/finch_api/resources/hris/benefits/individuals.rbi +2 -2
  29. data/rbi/finch_api/resources/hris/benefits.rbi +1 -1
  30. data/rbi/finch_api/resources/hris/company/pay_statement_item/rules.rbi +10 -15
  31. data/rbi/finch_api/resources/hris/company/pay_statement_item.rbi +2 -3
  32. data/rbi/finch_api/resources/hris/individuals.rbi +2 -2
  33. data/rbi/finch_api/resources/hris/payments.rbi +2 -2
  34. data/rbi/finch_api/resources/jobs/manual.rbi +2 -2
  35. data/rbi/finch_api/resources/sandbox/employment.rbi +1 -2
  36. data/sig/finch_api/models/sandbox/connection_create_response.rbs +5 -0
  37. data/sig/finch_api/models/sandbox/connections/account_create_response.rbs +5 -0
  38. data/sig/finch_api/models/sandbox/connections/account_update_response.rbs +13 -10
  39. metadata +16 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0111f0539076aa0b796deb95cd2735264cde7205b9128ef2ab38c14451bab976
4
- data.tar.gz: 38b82f3652758882b70bc01aef5f370d3c0dbbdd0f1b60e8ad3b47a0ab7568f0
3
+ metadata.gz: f0c2c976c70cb05a8a51e10cc2dd857fe65096c2547a525d0322d728d6b9c273
4
+ data.tar.gz: 25b6ecd53cfa6fbab429c14406bbe99d4b29cf261123db10253d66c6b9d56004
5
5
  SHA512:
6
- metadata.gz: 30086bac7adbb05f5cddb9c0d8ed2c64ef68845ce83748e176fbff16c31c5d7e27df60682cfeeb3cbebb556f61206c60581ac15cdb1cd7068325ba707365e47d
7
- data.tar.gz: 758c7e5addb846651c1ee651b64f38dac9ca141714dc61f26bd710e06ba119fb83bd415e2e4ffa94d4337ba8d9f61c633b8f5aa3935ae14941bbb00d0eb6822b
6
+ metadata.gz: 0676202b2ce5c5e50799b4b507b92a27fc63ba723ac05e56363621082032992c1f2bf3a9f74d27c860120141eb8e2df3904d37a3acf8f17f8fc55cfafb36fc4f
7
+ data.tar.gz: acaa49d18fc5567cd1d04cb8f34b80d62570f08d9c0cd4bc69230736249f2b5c138191e5b5f82e79875ae225175265a502a479604d341b40ae7657d675c4174e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.41 (2026-01-13)
4
+
5
+ Full Changelog: [v0.1.0-alpha.40...v0.1.0-alpha.41](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.40...v0.1.0-alpha.41)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([c7cf406](https://github.com/Finch-API/finch-api-ruby/commit/c7cf4068b9cff10eb1b8c34ee507375a31bcc412))
10
+
11
+
12
+ ### Chores
13
+
14
+ * fix typo in descriptions ([6ea1ae9](https://github.com/Finch-API/finch-api-ruby/commit/6ea1ae93b192ad7ec8a54e9881665decc46a716b))
15
+ * move `cgi` into dependencies for ruby 4 ([05f9567](https://github.com/Finch-API/finch-api-ruby/commit/05f95676c9102c184d4d157c055f4387f42dc66b))
16
+
17
+ ## 0.1.0-alpha.40 (2026-01-05)
18
+
19
+ Full Changelog: [v0.1.0-alpha.39...v0.1.0-alpha.40](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.39...v0.1.0-alpha.40)
20
+
21
+ ### Features
22
+
23
+ * **api:** api update ([82c2483](https://github.com/Finch-API/finch-api-ruby/commit/82c2483e09e0facae50bc1fc3601b922ae86a5a5))
24
+
25
+
26
+ ### Chores
27
+
28
+ * **internal:** codegen related update ([74a742a](https://github.com/Finch-API/finch-api-ruby/commit/74a742a5f1c7673a9f8fb06b5daaac5daf204fd5))
29
+
30
+
31
+ ### Documentation
32
+
33
+ * prominently feature MCP server setup in root SDK readmes ([6d995c9](https://github.com/Finch-API/finch-api-ruby/commit/6d995c9789915687a71b11c33b1b5b8ccc9ffa48))
34
+
3
35
  ## 0.1.0-alpha.39 (2025-12-19)
4
36
 
5
37
  Full Changelog: [v0.1.0-alpha.38...v0.1.0-alpha.39](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.38...v0.1.0-alpha.39)
data/README.md CHANGED
@@ -4,6 +4,15 @@ The Finch Ruby library provides convenient access to the Finch REST API from any
4
4
 
5
5
  It is generated with [Stainless](https://www.stainless.com/).
6
6
 
7
+ ## MCP Server
8
+
9
+ Use the Finch MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
10
+
11
+ [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40tryfinch%2Ffinch-api-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB0cnlmaW5jaC9maW5jaC1hcGktbWNwIl19)
12
+ [![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40tryfinch%2Ffinch-api-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40tryfinch%2Ffinch-api-mcp%22%5D%7D)
13
+
14
+ > Note: You may need to set environment variables in your MCP client.
15
+
7
16
  ## Documentation
8
17
 
9
18
  Documentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/finch-api).
@@ -17,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
17
26
  <!-- x-release-please-start-version -->
18
27
 
19
28
  ```ruby
20
- gem "finch-api", "~> 0.1.0.pre.alpha.39"
29
+ gem "finch-api", "~> 0.1.0.pre.alpha.41"
21
30
  ```
22
31
 
23
32
  <!-- x-release-please-end -->
@@ -36,8 +36,7 @@ module FinchAPI
36
36
  required :employment, -> { FinchAPI::HRIS::EmploymentData::UnionMember0::Employment }, nil?: true
37
37
 
38
38
  # @!attribute employment_status
39
- # The detailed employment status of the individual. Available options: `active`,
40
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
39
+ # The detailed employment status of the individual.
41
40
  #
42
41
  # @return [Symbol, FinchAPI::Models::HRIS::EmploymentData::UnionMember0::EmploymentStatus, nil]
43
42
  required :employment_status,
@@ -154,7 +153,7 @@ module FinchAPI
154
153
  #
155
154
  # @param employment [FinchAPI::Models::HRIS::EmploymentData::UnionMember0::Employment, nil] The employment object.
156
155
  #
157
- # @param employment_status [Symbol, FinchAPI::Models::HRIS::EmploymentData::UnionMember0::EmploymentStatus, nil] The detailed employment status of the individual. Available options: `active`, `
156
+ # @param employment_status [Symbol, FinchAPI::Models::HRIS::EmploymentData::UnionMember0::EmploymentStatus, nil] The detailed employment status of the individual.
158
157
  #
159
158
  # @param end_date [String, nil]
160
159
  #
@@ -264,8 +263,7 @@ module FinchAPI
264
263
  end
265
264
  end
266
265
 
267
- # The detailed employment status of the individual. Available options: `active`,
268
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
266
+ # The detailed employment status of the individual.
269
267
  #
270
268
  # @see FinchAPI::Models::HRIS::EmploymentData::UnionMember0#employment_status
271
269
  module EmploymentStatus
@@ -10,14 +10,14 @@ module FinchAPI
10
10
 
11
11
  # @!attribute end_date
12
12
  # The end date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
13
- # format.
13
+ # format. Filters payments by their **pay_date** field.
14
14
  #
15
15
  # @return [Date]
16
16
  required :end_date, Date
17
17
 
18
18
  # @!attribute start_date
19
19
  # The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
20
- # format.
20
+ # format. Filters payments by their **pay_date** field.
21
21
  #
22
22
  # @return [Date]
23
23
  required :start_date, Date
@@ -38,6 +38,12 @@ module FinchAPI
38
38
  # @return [String]
39
39
  required :connection_id, String
40
40
 
41
+ # @!attribute entity_id
42
+ # The ID of the entity for this connection
43
+ #
44
+ # @return [String]
45
+ required :entity_id, String
46
+
41
47
  # @!attribute products
42
48
  #
43
49
  # @return [Array<String>]
@@ -54,7 +60,7 @@ module FinchAPI
54
60
  # @return [String, nil]
55
61
  optional :token_type, String
56
62
 
57
- # @!method initialize(access_token:, account_id:, authentication_type:, company_id:, connection_id:, products:, provider_id:, token_type: nil)
63
+ # @!method initialize(access_token:, account_id:, authentication_type:, company_id:, connection_id:, entity_id:, products:, provider_id:, token_type: nil)
58
64
  # @param access_token [String]
59
65
  #
60
66
  # @param account_id [String] [DEPRECATED] Use `connection_id` to associate a connection with an access token
@@ -65,6 +71,8 @@ module FinchAPI
65
71
  #
66
72
  # @param connection_id [String] The ID of the new connection
67
73
  #
74
+ # @param entity_id [String] The ID of the entity for this connection
75
+ #
68
76
  # @param products [Array<String>]
69
77
  #
70
78
  # @param provider_id [String] The ID of the provider associated with the `access_token`.
@@ -39,6 +39,12 @@ module FinchAPI
39
39
  # @return [String]
40
40
  required :connection_id, String
41
41
 
42
+ # @!attribute entity_id
43
+ # The ID of the entity for this connection
44
+ #
45
+ # @return [String]
46
+ required :entity_id, String
47
+
42
48
  # @!attribute products
43
49
  #
44
50
  # @return [Array<String>]
@@ -50,7 +56,7 @@ module FinchAPI
50
56
  # @return [String]
51
57
  required :provider_id, String
52
58
 
53
- # @!method initialize(access_token:, account_id:, authentication_type:, company_id:, connection_id:, products:, provider_id:)
59
+ # @!method initialize(access_token:, account_id:, authentication_type:, company_id:, connection_id:, entity_id:, products:, provider_id:)
54
60
  # @param access_token [String]
55
61
  #
56
62
  # @param account_id [String] [DEPRECATED] Use `connection_id` to associate a connection with an access token
@@ -61,6 +67,8 @@ module FinchAPI
61
67
  #
62
68
  # @param connection_id [String] The ID of the new connection
63
69
  #
70
+ # @param entity_id [String] The ID of the entity for this connection
71
+ #
64
72
  # @param products [Array<String>]
65
73
  #
66
74
  # @param provider_id [String] The ID of the provider associated with the `access_token`
@@ -28,6 +28,18 @@ module FinchAPI
28
28
  # @return [String]
29
29
  required :company_id, String
30
30
 
31
+ # @!attribute connection_id
32
+ # The ID of the new connection
33
+ #
34
+ # @return [String]
35
+ required :connection_id, String
36
+
37
+ # @!attribute entity_id
38
+ # The ID of the entity whose status was updated
39
+ #
40
+ # @return [String]
41
+ required :entity_id, String
42
+
31
43
  # @!attribute products
32
44
  #
33
45
  # @return [Array<String>]
@@ -39,24 +51,20 @@ module FinchAPI
39
51
  # @return [String]
40
52
  required :provider_id, String
41
53
 
42
- # @!attribute connection_id
43
- # The ID of the new connection
44
- #
45
- # @return [String, nil]
46
- optional :connection_id, String
47
-
48
- # @!method initialize(account_id:, authentication_type:, company_id:, products:, provider_id:, connection_id: nil)
54
+ # @!method initialize(account_id:, authentication_type:, company_id:, connection_id:, entity_id:, products:, provider_id:)
49
55
  # @param account_id [String] [DEPRECATED] Use `connection_id` to associate a connection with an access token
50
56
  #
51
57
  # @param authentication_type [Symbol, FinchAPI::Models::Sandbox::Connections::AccountUpdateResponse::AuthenticationType]
52
58
  #
53
59
  # @param company_id [String] [DEPRECATED] Use `connection_id` to associate a connection with an access token
54
60
  #
61
+ # @param connection_id [String] The ID of the new connection
62
+ #
63
+ # @param entity_id [String] The ID of the entity whose status was updated
64
+ #
55
65
  # @param products [Array<String>]
56
66
  #
57
67
  # @param provider_id [String] The ID of the provider associated with the `access_token`
58
- #
59
- # @param connection_id [String] The ID of the new connection
60
68
 
61
69
  # @see FinchAPI::Models::Sandbox::Connections::AccountUpdateResponse#authentication_type
62
70
  module AuthenticationType
@@ -69,8 +69,7 @@ module FinchAPI
69
69
  optional :employment, -> { FinchAPI::Sandbox::DirectoryCreateParams::Body::Employment }, nil?: true
70
70
 
71
71
  # @!attribute employment_status
72
- # The detailed employment status of the individual. Available options: `active`,
73
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
72
+ # The detailed employment status of the individual.
74
73
  #
75
74
  # @return [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::EmploymentStatus, nil]
76
75
  optional :employment_status,
@@ -225,7 +224,7 @@ module FinchAPI
225
224
  #
226
225
  # @param employment [FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Employment, nil] The employment object.
227
226
  #
228
- # @param employment_status [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::EmploymentStatus, nil] The detailed employment status of the individual. Available options: `active`, `
227
+ # @param employment_status [Symbol, FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::EmploymentStatus, nil] The detailed employment status of the individual.
229
228
  #
230
229
  # @param encrypted_ssn [String, nil] Social Security Number of the individual in **encrypted** format. This field is
231
230
  #
@@ -392,8 +391,7 @@ module FinchAPI
392
391
  end
393
392
  end
394
393
 
395
- # The detailed employment status of the individual. Available options: `active`,
396
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
394
+ # The detailed employment status of the individual.
397
395
  #
398
396
  # @see FinchAPI::Models::Sandbox::DirectoryCreateParams::Body#employment_status
399
397
  module EmploymentStatus
@@ -39,8 +39,7 @@ module FinchAPI
39
39
  optional :employment, -> { FinchAPI::Sandbox::EmploymentUpdateParams::Employment }, nil?: true
40
40
 
41
41
  # @!attribute employment_status
42
- # The detailed employment status of the individual. Available options: `active`,
43
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
42
+ # The detailed employment status of the individual.
44
43
  #
45
44
  # @return [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::EmploymentStatus, nil]
46
45
  optional :employment_status,
@@ -137,7 +136,7 @@ module FinchAPI
137
136
  #
138
137
  # @param employment [FinchAPI::Models::Sandbox::EmploymentUpdateParams::Employment, nil] The employment object.
139
138
  #
140
- # @param employment_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::EmploymentStatus, nil] The detailed employment status of the individual. Available options: `active`, `
139
+ # @param employment_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::EmploymentStatus, nil] The detailed employment status of the individual.
141
140
  #
142
141
  # @param end_date [String, nil]
143
142
  #
@@ -257,8 +256,7 @@ module FinchAPI
257
256
  end
258
257
  end
259
258
 
260
- # The detailed employment status of the individual. Available options: `active`,
261
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
259
+ # The detailed employment status of the individual.
262
260
  module EmploymentStatus
263
261
  extend FinchAPI::Internal::Type::Enum
264
262
 
@@ -40,8 +40,7 @@ module FinchAPI
40
40
  optional :employment, -> { FinchAPI::Models::Sandbox::EmploymentUpdateResponse::Employment }, nil?: true
41
41
 
42
42
  # @!attribute employment_status
43
- # The detailed employment status of the individual. Available options: `active`,
44
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
43
+ # The detailed employment status of the individual.
45
44
  #
46
45
  # @return [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateResponse::EmploymentStatus, nil]
47
46
  optional :employment_status,
@@ -140,7 +139,7 @@ module FinchAPI
140
139
  #
141
140
  # @param employment [FinchAPI::Models::Sandbox::EmploymentUpdateResponse::Employment, nil] The employment object.
142
141
  #
143
- # @param employment_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateResponse::EmploymentStatus, nil] The detailed employment status of the individual. Available options: `active`, `
142
+ # @param employment_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateResponse::EmploymentStatus, nil] The detailed employment status of the individual.
144
143
  #
145
144
  # @param end_date [String, nil]
146
145
  #
@@ -260,8 +259,7 @@ module FinchAPI
260
259
  end
261
260
  end
262
261
 
263
- # The detailed employment status of the individual. Available options: `active`,
264
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
262
+ # The detailed employment status of the individual.
265
263
  #
266
264
  # @see FinchAPI::Models::Sandbox::EmploymentUpdateResponse#employment_status
267
265
  module EmploymentStatus
@@ -12,7 +12,7 @@ module FinchAPI
12
12
  #
13
13
  # @overload enroll_many(benefit_id, entity_ids: nil, individuals: nil, request_options: {})
14
14
  #
15
- # @param benefit_id [String] Path param:
15
+ # @param benefit_id [String] Path param
16
16
  #
17
17
  # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
18
18
  #
@@ -94,7 +94,7 @@ module FinchAPI
94
94
  #
95
95
  # @overload unenroll_many(benefit_id, entity_ids: nil, individual_ids: nil, request_options: {})
96
96
  #
97
- # @param benefit_id [String] Path param:
97
+ # @param benefit_id [String] Path param
98
98
  #
99
99
  # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
100
100
  #
@@ -71,7 +71,7 @@ module FinchAPI
71
71
  #
72
72
  # @overload update(benefit_id, entity_ids: nil, description: nil, request_options: {})
73
73
  #
74
- # @param benefit_id [String] Path param:
74
+ # @param benefit_id [String] Path param
75
75
  #
76
76
  # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
77
77
  #
@@ -10,12 +10,10 @@ module FinchAPI
10
10
  # {FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams} for more
11
11
  # details.
12
12
  #
13
- # **Beta:** this endpoint currently serves employers onboarded after March 4th and
14
- # historical support will be added soon Custom rules can be created to associate
15
- # specific attributes to pay statement items depending on the use case. For
16
- # example, pay statement items that meet certain conditions can be labeled as a
17
- # pre-tax 401k. This metadata can be retrieved where pay statement item
18
- # information is available.
13
+ # Custom rules can be created to associate specific attributes to pay statement
14
+ # items depending on the use case. For example, pay statement items that meet
15
+ # certain conditions can be labeled as a pre-tax 401k. This metadata can be
16
+ # retrieved where pay statement item information is available.
19
17
  #
20
18
  # @overload create(entity_ids: nil, attributes: nil, conditions: nil, effective_end_date: nil, effective_start_date: nil, entity_type: nil, request_options: {})
21
19
  #
@@ -23,7 +21,7 @@ module FinchAPI
23
21
  #
24
22
  # @param attributes [FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Attributes] Body param: Specifies the fields to be applied when the condition is met.
25
23
  #
26
- # @param conditions [Array<FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition>] Body param:
24
+ # @param conditions [Array<FinchAPI::Models::HRIS::Company::PayStatementItem::RuleCreateParams::Condition>] Body param
27
25
  #
28
26
  # @param effective_end_date [String, nil] Body param: Specifies when the rules should stop applying rules based on the dat
29
27
  #
@@ -49,16 +47,15 @@ module FinchAPI
49
47
  )
50
48
  end
51
49
 
52
- # **Beta:** this endpoint currently serves employers onboarded after March 4th and
53
- # historical support will be added soon Update a rule for a pay statement item.
50
+ # Update a rule for a pay statement item.
54
51
  #
55
52
  # @overload update(rule_id, entity_ids: nil, optional_property: nil, request_options: {})
56
53
  #
57
- # @param rule_id [String] Path param:
54
+ # @param rule_id [String] Path param
58
55
  #
59
56
  # @param entity_ids [Array<String>] Query param: The entity IDs to update the rule for.
60
57
  #
61
- # @param optional_property [Object] Body param:
58
+ # @param optional_property [Object] Body param
62
59
  #
63
60
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
64
61
  #
@@ -78,8 +75,7 @@ module FinchAPI
78
75
  )
79
76
  end
80
77
 
81
- # **Beta:** this endpoint currently serves employers onboarded after March 4th and
82
- # historical support will be added soon List all rules of a connection account.
78
+ # List all rules of a connection account.
83
79
  #
84
80
  # @overload list(entity_ids: nil, request_options: {})
85
81
  #
@@ -102,8 +98,7 @@ module FinchAPI
102
98
  )
103
99
  end
104
100
 
105
- # **Beta:** this endpoint currently serves employers onboarded after March 4th and
106
- # historical support will be added soon Delete a rule for a pay statement item.
101
+ # Delete a rule for a pay statement item.
107
102
  #
108
103
  # @overload delete(rule_id, entity_ids: nil, request_options: {})
109
104
  #
@@ -11,9 +11,8 @@ module FinchAPI
11
11
  # Some parameter documentations has been truncated, see
12
12
  # {FinchAPI::Models::HRIS::Company::PayStatementItemListParams} for more details.
13
13
  #
14
- # **Beta:** this endpoint currently serves employers onboarded after March 4th and
15
- # historical support will be added soon Retrieve a list of detailed pay statement
16
- # items for the access token's connection account.
14
+ # Retrieve a list of detailed pay statement items for the access token's
15
+ # connection account.
17
16
  #
18
17
  # @overload list(categories: nil, end_date: nil, entity_ids: nil, name: nil, start_date: nil, type: nil, request_options: {})
19
18
  #
@@ -10,9 +10,9 @@ module FinchAPI
10
10
  #
11
11
  # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
12
12
  #
13
- # @param options [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil] Body param:
13
+ # @param options [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil] Body param
14
14
  #
15
- # @param requests [Array<FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Request>] Body param:
15
+ # @param requests [Array<FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Request>] Body param
16
16
  #
17
17
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
18
18
  #
@@ -4,8 +4,8 @@ module FinchAPI
4
4
  module Resources
5
5
  class Jobs
6
6
  class Manual
7
- # Get a manual job by `job_id`. Manual jobs are completed by a human and include
8
- # Assisted Benefits jobs.
7
+ # Check the status and outcome of a job by `job_id`. This includes all deductions
8
+ # jobs including those for both automated and assisted integrations.
9
9
  #
10
10
  # @overload retrieve(job_id, request_options: {})
11
11
  #
@@ -21,7 +21,7 @@ module FinchAPI
21
21
  #
22
22
  # @param employment [FinchAPI::Models::Sandbox::EmploymentUpdateParams::Employment, nil] The employment object.
23
23
  #
24
- # @param employment_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::EmploymentStatus, nil] The detailed employment status of the individual. Available options: `active`, `
24
+ # @param employment_status [Symbol, FinchAPI::Models::Sandbox::EmploymentUpdateParams::EmploymentStatus, nil] The detailed employment status of the individual.
25
25
  #
26
26
  # @param end_date [String, nil]
27
27
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FinchAPI
4
- VERSION = "0.1.0.pre.alpha.39"
4
+ VERSION = "0.1.0.pre.alpha.41"
5
5
  end
@@ -71,8 +71,7 @@ module FinchAPI
71
71
  end
72
72
  attr_writer :employment
73
73
 
74
- # The detailed employment status of the individual. Available options: `active`,
75
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
74
+ # The detailed employment status of the individual.
76
75
  sig do
77
76
  returns(
78
77
  T.nilable(
@@ -221,8 +220,7 @@ module FinchAPI
221
220
  department:,
222
221
  # The employment object.
223
222
  employment:,
224
- # The detailed employment status of the individual. Available options: `active`,
225
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
223
+ # The detailed employment status of the individual.
226
224
  employment_status:,
227
225
  end_date:,
228
226
  # The legal first name of the individual.
@@ -491,8 +489,7 @@ module FinchAPI
491
489
  end
492
490
  end
493
491
 
494
- # The detailed employment status of the individual. Available options: `active`,
495
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
492
+ # The detailed employment status of the individual.
496
493
  module EmploymentStatus
497
494
  extend FinchAPI::Internal::Type::Enum
498
495
 
@@ -16,12 +16,12 @@ module FinchAPI
16
16
  end
17
17
 
18
18
  # The end date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
19
- # format.
19
+ # format. Filters payments by their **pay_date** field.
20
20
  sig { returns(Date) }
21
21
  attr_accessor :end_date
22
22
 
23
23
  # The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
24
- # format.
24
+ # format. Filters payments by their **pay_date** field.
25
25
  sig { returns(Date) }
26
26
  attr_accessor :start_date
27
27
 
@@ -42,10 +42,10 @@ module FinchAPI
42
42
  end
43
43
  def self.new(
44
44
  # The end date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
45
- # format.
45
+ # format. Filters payments by their **pay_date** field.
46
46
  end_date:,
47
47
  # The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
48
- # format.
48
+ # format. Filters payments by their **pay_date** field.
49
49
  start_date:,
50
50
  # The entity IDs to specify which entities' data to access.
51
51
  entity_ids: nil,
@@ -34,6 +34,10 @@ module FinchAPI
34
34
  sig { returns(String) }
35
35
  attr_accessor :connection_id
36
36
 
37
+ # The ID of the entity for this connection
38
+ sig { returns(String) }
39
+ attr_accessor :entity_id
40
+
37
41
  sig { returns(T::Array[String]) }
38
42
  attr_accessor :products
39
43
 
@@ -55,6 +59,7 @@ module FinchAPI
55
59
  FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType::OrSymbol,
56
60
  company_id: String,
57
61
  connection_id: String,
62
+ entity_id: String,
58
63
  products: T::Array[String],
59
64
  provider_id: String,
60
65
  token_type: String
@@ -69,6 +74,8 @@ module FinchAPI
69
74
  company_id:,
70
75
  # The ID of the new connection
71
76
  connection_id:,
77
+ # The ID of the entity for this connection
78
+ entity_id:,
72
79
  products:,
73
80
  # The ID of the provider associated with the `access_token`.
74
81
  provider_id:,
@@ -85,6 +92,7 @@ module FinchAPI
85
92
  FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType::TaggedSymbol,
86
93
  company_id: String,
87
94
  connection_id: String,
95
+ entity_id: String,
88
96
  products: T::Array[String],
89
97
  provider_id: String,
90
98
  token_type: String
@@ -35,6 +35,10 @@ module FinchAPI
35
35
  sig { returns(String) }
36
36
  attr_accessor :connection_id
37
37
 
38
+ # The ID of the entity for this connection
39
+ sig { returns(String) }
40
+ attr_accessor :entity_id
41
+
38
42
  sig { returns(T::Array[String]) }
39
43
  attr_accessor :products
40
44
 
@@ -50,6 +54,7 @@ module FinchAPI
50
54
  FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::AuthenticationType::OrSymbol,
51
55
  company_id: String,
52
56
  connection_id: String,
57
+ entity_id: String,
53
58
  products: T::Array[String],
54
59
  provider_id: String
55
60
  ).returns(T.attached_class)
@@ -63,6 +68,8 @@ module FinchAPI
63
68
  company_id:,
64
69
  # The ID of the new connection
65
70
  connection_id:,
71
+ # The ID of the entity for this connection
72
+ entity_id:,
66
73
  products:,
67
74
  # The ID of the provider associated with the `access_token`
68
75
  provider_id:
@@ -78,6 +85,7 @@ module FinchAPI
78
85
  FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::AuthenticationType::TaggedSymbol,
79
86
  company_id: String,
80
87
  connection_id: String,
88
+ entity_id: String,
81
89
  products: T::Array[String],
82
90
  provider_id: String
83
91
  }
@@ -28,6 +28,14 @@ module FinchAPI
28
28
  sig { returns(String) }
29
29
  attr_accessor :company_id
30
30
 
31
+ # The ID of the new connection
32
+ sig { returns(String) }
33
+ attr_accessor :connection_id
34
+
35
+ # The ID of the entity whose status was updated
36
+ sig { returns(String) }
37
+ attr_accessor :entity_id
38
+
31
39
  sig { returns(T::Array[String]) }
32
40
  attr_accessor :products
33
41
 
@@ -35,22 +43,16 @@ module FinchAPI
35
43
  sig { returns(String) }
36
44
  attr_accessor :provider_id
37
45
 
38
- # The ID of the new connection
39
- sig { returns(T.nilable(String)) }
40
- attr_reader :connection_id
41
-
42
- sig { params(connection_id: String).void }
43
- attr_writer :connection_id
44
-
45
46
  sig do
46
47
  params(
47
48
  account_id: String,
48
49
  authentication_type:
49
50
  FinchAPI::Models::Sandbox::Connections::AccountUpdateResponse::AuthenticationType::OrSymbol,
50
51
  company_id: String,
52
+ connection_id: String,
53
+ entity_id: String,
51
54
  products: T::Array[String],
52
- provider_id: String,
53
- connection_id: String
55
+ provider_id: String
54
56
  ).returns(T.attached_class)
55
57
  end
56
58
  def self.new(
@@ -59,11 +61,13 @@ module FinchAPI
59
61
  authentication_type:,
60
62
  # [DEPRECATED] Use `connection_id` to associate a connection with an access token
61
63
  company_id:,
64
+ # The ID of the new connection
65
+ connection_id:,
66
+ # The ID of the entity whose status was updated
67
+ entity_id:,
62
68
  products:,
63
69
  # The ID of the provider associated with the `access_token`
64
- provider_id:,
65
- # The ID of the new connection
66
- connection_id: nil
70
+ provider_id:
67
71
  )
68
72
  end
69
73
 
@@ -74,9 +78,10 @@ module FinchAPI
74
78
  authentication_type:
75
79
  FinchAPI::Models::Sandbox::Connections::AccountUpdateResponse::AuthenticationType::TaggedSymbol,
76
80
  company_id: String,
81
+ connection_id: String,
82
+ entity_id: String,
77
83
  products: T::Array[String],
78
- provider_id: String,
79
- connection_id: String
84
+ provider_id: String
80
85
  }
81
86
  )
82
87
  end
@@ -137,8 +137,7 @@ module FinchAPI
137
137
  end
138
138
  attr_writer :employment
139
139
 
140
- # The detailed employment status of the individual. Available options: `active`,
141
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
140
+ # The detailed employment status of the individual.
142
141
  sig do
143
142
  returns(
144
143
  T.nilable(
@@ -354,8 +353,7 @@ module FinchAPI
354
353
  emails: nil,
355
354
  # The employment object.
356
355
  employment: nil,
357
- # The detailed employment status of the individual. Available options: `active`,
358
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
356
+ # The detailed employment status of the individual.
359
357
  employment_status: nil,
360
358
  # Social Security Number of the individual in **encrypted** format. This field is
361
359
  # only available with the `ssn` scope enabled and the
@@ -778,8 +776,7 @@ module FinchAPI
778
776
  end
779
777
  end
780
778
 
781
- # The detailed employment status of the individual. Available options: `active`,
782
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
779
+ # The detailed employment status of the individual.
783
780
  module EmploymentStatus
784
781
  extend FinchAPI::Internal::Type::Enum
785
782
 
@@ -67,8 +67,7 @@ module FinchAPI
67
67
  end
68
68
  attr_writer :employment
69
69
 
70
- # The detailed employment status of the individual. Available options: `active`,
71
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
70
+ # The detailed employment status of the individual.
72
71
  sig do
73
72
  returns(
74
73
  T.nilable(
@@ -198,8 +197,7 @@ module FinchAPI
198
197
  department: nil,
199
198
  # The employment object.
200
199
  employment: nil,
201
- # The detailed employment status of the individual. Available options: `active`,
202
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
200
+ # The detailed employment status of the individual.
203
201
  employment_status: nil,
204
202
  end_date: nil,
205
203
  # The legal first name of the individual.
@@ -492,8 +490,7 @@ module FinchAPI
492
490
  end
493
491
  end
494
492
 
495
- # The detailed employment status of the individual. Available options: `active`,
496
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
493
+ # The detailed employment status of the individual.
497
494
  module EmploymentStatus
498
495
  extend FinchAPI::Internal::Type::Enum
499
496
 
@@ -77,8 +77,7 @@ module FinchAPI
77
77
  end
78
78
  attr_writer :employment
79
79
 
80
- # The detailed employment status of the individual. Available options: `active`,
81
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
80
+ # The detailed employment status of the individual.
82
81
  sig do
83
82
  returns(
84
83
  T.nilable(
@@ -214,8 +213,7 @@ module FinchAPI
214
213
  department: nil,
215
214
  # The employment object.
216
215
  employment: nil,
217
- # The detailed employment status of the individual. Available options: `active`,
218
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
216
+ # The detailed employment status of the individual.
219
217
  employment_status: nil,
220
218
  end_date: nil,
221
219
  # The legal first name of the individual.
@@ -509,8 +507,7 @@ module FinchAPI
509
507
  end
510
508
  end
511
509
 
512
- # The detailed employment status of the individual. Available options: `active`,
513
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
510
+ # The detailed employment status of the individual.
514
511
  module EmploymentStatus
515
512
  extend FinchAPI::Internal::Type::Enum
516
513
 
@@ -23,7 +23,7 @@ module FinchAPI
23
23
  )
24
24
  end
25
25
  def enroll_many(
26
- # Path param:
26
+ # Path param
27
27
  benefit_id,
28
28
  # Query param: The entity IDs to specify which entities' data to access.
29
29
  entity_ids: nil,
@@ -87,7 +87,7 @@ module FinchAPI
87
87
  )
88
88
  end
89
89
  def unenroll_many(
90
- # Path param:
90
+ # Path param
91
91
  benefit_id,
92
92
  # Query param: The entity IDs to specify which entities' data to access.
93
93
  entity_ids: nil,
@@ -65,7 +65,7 @@ module FinchAPI
65
65
  ).returns(FinchAPI::HRIS::UpdateCompanyBenefitResponse)
66
66
  end
67
67
  def update(
68
- # Path param:
68
+ # Path param
69
69
  benefit_id,
70
70
  # Query param: The entity IDs to specify which entities' data to access.
71
71
  entity_ids: nil,
@@ -6,12 +6,10 @@ module FinchAPI
6
6
  class Company
7
7
  class PayStatementItem
8
8
  class Rules
9
- # **Beta:** this endpoint currently serves employers onboarded after March 4th and
10
- # historical support will be added soon Custom rules can be created to associate
11
- # specific attributes to pay statement items depending on the use case. For
12
- # example, pay statement items that meet certain conditions can be labeled as a
13
- # pre-tax 401k. This metadata can be retrieved where pay statement item
14
- # information is available.
9
+ # Custom rules can be created to associate specific attributes to pay statement
10
+ # items depending on the use case. For example, pay statement items that meet
11
+ # certain conditions can be labeled as a pre-tax 401k. This metadata can be
12
+ # retrieved where pay statement item information is available.
15
13
  sig do
16
14
  params(
17
15
  entity_ids: T::Array[String],
@@ -35,7 +33,7 @@ module FinchAPI
35
33
  entity_ids: nil,
36
34
  # Body param: Specifies the fields to be applied when the condition is met.
37
35
  attributes: nil,
38
- # Body param:
36
+ # Body param
39
37
  conditions: nil,
40
38
  # Body param: Specifies when the rules should stop applying rules based on the
41
39
  # date.
@@ -48,8 +46,7 @@ module FinchAPI
48
46
  )
49
47
  end
50
48
 
51
- # **Beta:** this endpoint currently serves employers onboarded after March 4th and
52
- # historical support will be added soon Update a rule for a pay statement item.
49
+ # Update a rule for a pay statement item.
53
50
  sig do
54
51
  params(
55
52
  rule_id: String,
@@ -61,18 +58,17 @@ module FinchAPI
61
58
  )
62
59
  end
63
60
  def update(
64
- # Path param:
61
+ # Path param
65
62
  rule_id,
66
63
  # Query param: The entity IDs to update the rule for.
67
64
  entity_ids: nil,
68
- # Body param:
65
+ # Body param
69
66
  optional_property: nil,
70
67
  request_options: {}
71
68
  )
72
69
  end
73
70
 
74
- # **Beta:** this endpoint currently serves employers onboarded after March 4th and
75
- # historical support will be added soon List all rules of a connection account.
71
+ # List all rules of a connection account.
76
72
  sig do
77
73
  params(
78
74
  entity_ids: T::Array[String],
@@ -90,8 +86,7 @@ module FinchAPI
90
86
  )
91
87
  end
92
88
 
93
- # **Beta:** this endpoint currently serves employers onboarded after March 4th and
94
- # historical support will be added soon Delete a rule for a pay statement item.
89
+ # Delete a rule for a pay statement item.
95
90
  sig do
96
91
  params(
97
92
  rule_id: String,
@@ -10,9 +10,8 @@ module FinchAPI
10
10
  end
11
11
  attr_reader :rules
12
12
 
13
- # **Beta:** this endpoint currently serves employers onboarded after March 4th and
14
- # historical support will be added soon Retrieve a list of detailed pay statement
15
- # items for the access token's connection account.
13
+ # Retrieve a list of detailed pay statement items for the access token's
14
+ # connection account.
16
15
  sig do
17
16
  params(
18
17
  categories:
@@ -26,9 +26,9 @@ module FinchAPI
26
26
  def retrieve_many(
27
27
  # Query param: The entity IDs to specify which entities' data to access.
28
28
  entity_ids: nil,
29
- # Body param:
29
+ # Body param
30
30
  options: nil,
31
- # Body param:
31
+ # Body param
32
32
  requests: nil,
33
33
  request_options: {}
34
34
  )
@@ -15,10 +15,10 @@ module FinchAPI
15
15
  end
16
16
  def list(
17
17
  # The end date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
18
- # format.
18
+ # format. Filters payments by their **pay_date** field.
19
19
  end_date:,
20
20
  # The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
21
- # format.
21
+ # format. Filters payments by their **pay_date** field.
22
22
  start_date:,
23
23
  # The entity IDs to specify which entities' data to access.
24
24
  entity_ids: nil,
@@ -4,8 +4,8 @@ module FinchAPI
4
4
  module Resources
5
5
  class Jobs
6
6
  class Manual
7
- # Get a manual job by `job_id`. Manual jobs are completed by a human and include
8
- # Assisted Benefits jobs.
7
+ # Check the status and outcome of a job by `job_id`. This includes all deductions
8
+ # jobs including those for both automated and assisted integrations.
9
9
  sig do
10
10
  params(
11
11
  job_id: String,
@@ -59,8 +59,7 @@ module FinchAPI
59
59
  department: nil,
60
60
  # The employment object.
61
61
  employment: nil,
62
- # The detailed employment status of the individual. Available options: `active`,
63
- # `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
62
+ # The detailed employment status of the individual.
64
63
  employment_status: nil,
65
64
  end_date: nil,
66
65
  # The legal first name of the individual.
@@ -8,6 +8,7 @@ module FinchAPI
8
8
  authentication_type: FinchAPI::Models::Sandbox::ConnectionCreateResponse::authentication_type,
9
9
  company_id: String,
10
10
  connection_id: String,
11
+ entity_id: String,
11
12
  products: ::Array[String],
12
13
  provider_id: String,
13
14
  token_type: String
@@ -24,6 +25,8 @@ module FinchAPI
24
25
 
25
26
  attr_accessor connection_id: String
26
27
 
28
+ attr_accessor entity_id: String
29
+
27
30
  attr_accessor products: ::Array[String]
28
31
 
29
32
  attr_accessor provider_id: String
@@ -38,6 +41,7 @@ module FinchAPI
38
41
  authentication_type: FinchAPI::Models::Sandbox::ConnectionCreateResponse::authentication_type,
39
42
  company_id: String,
40
43
  connection_id: String,
44
+ entity_id: String,
41
45
  products: ::Array[String],
42
46
  provider_id: String,
43
47
  ?token_type: String
@@ -49,6 +53,7 @@ module FinchAPI
49
53
  authentication_type: FinchAPI::Models::Sandbox::ConnectionCreateResponse::authentication_type,
50
54
  company_id: String,
51
55
  connection_id: String,
56
+ entity_id: String,
52
57
  products: ::Array[String],
53
58
  provider_id: String,
54
59
  token_type: String
@@ -9,6 +9,7 @@ module FinchAPI
9
9
  authentication_type: FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::authentication_type,
10
10
  company_id: String,
11
11
  connection_id: String,
12
+ entity_id: String,
12
13
  products: ::Array[String],
13
14
  provider_id: String
14
15
  }
@@ -24,6 +25,8 @@ module FinchAPI
24
25
 
25
26
  attr_accessor connection_id: String
26
27
 
28
+ attr_accessor entity_id: String
29
+
27
30
  attr_accessor products: ::Array[String]
28
31
 
29
32
  attr_accessor provider_id: String
@@ -34,6 +37,7 @@ module FinchAPI
34
37
  authentication_type: FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::authentication_type,
35
38
  company_id: String,
36
39
  connection_id: String,
40
+ entity_id: String,
37
41
  products: ::Array[String],
38
42
  provider_id: String
39
43
  ) -> void
@@ -44,6 +48,7 @@ module FinchAPI
44
48
  authentication_type: FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::authentication_type,
45
49
  company_id: String,
46
50
  connection_id: String,
51
+ entity_id: String,
47
52
  products: ::Array[String],
48
53
  provider_id: String
49
54
  }
@@ -7,9 +7,10 @@ module FinchAPI
7
7
  account_id: String,
8
8
  authentication_type: FinchAPI::Models::Sandbox::Connections::AccountUpdateResponse::authentication_type,
9
9
  company_id: String,
10
+ connection_id: String,
11
+ entity_id: String,
10
12
  products: ::Array[String],
11
- provider_id: String,
12
- connection_id: String
13
+ provider_id: String
13
14
  }
14
15
 
15
16
  class AccountUpdateResponse < FinchAPI::Internal::Type::BaseModel
@@ -19,30 +20,32 @@ module FinchAPI
19
20
 
20
21
  attr_accessor company_id: String
21
22
 
22
- attr_accessor products: ::Array[String]
23
+ attr_accessor connection_id: String
23
24
 
24
- attr_accessor provider_id: String
25
+ attr_accessor entity_id: String
25
26
 
26
- attr_reader connection_id: String?
27
+ attr_accessor products: ::Array[String]
27
28
 
28
- def connection_id=: (String) -> String
29
+ attr_accessor provider_id: String
29
30
 
30
31
  def initialize: (
31
32
  account_id: String,
32
33
  authentication_type: FinchAPI::Models::Sandbox::Connections::AccountUpdateResponse::authentication_type,
33
34
  company_id: String,
35
+ connection_id: String,
36
+ entity_id: String,
34
37
  products: ::Array[String],
35
- provider_id: String,
36
- ?connection_id: String
38
+ provider_id: String
37
39
  ) -> void
38
40
 
39
41
  def to_hash: -> {
40
42
  account_id: String,
41
43
  authentication_type: FinchAPI::Models::Sandbox::Connections::AccountUpdateResponse::authentication_type,
42
44
  company_id: String,
45
+ connection_id: String,
46
+ entity_id: String,
43
47
  products: ::Array[String],
44
- provider_id: String,
45
- connection_id: String
48
+ provider_id: String
46
49
  }
47
50
 
48
51
  type authentication_type =
metadata CHANGED
@@ -1,15 +1,29 @@
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.39
4
+ version: 0.1.0.pre.alpha.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Finch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-30 00:00:00.000000000 Z
11
+ date: 2026-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: cgi
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: connection_pool
15
29
  requirement: !ruby/object:Gem::Requirement