finch-api 0.1.0.pre.alpha.48 → 0.1.0.pre.alpha.49

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 (93) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/finch_api/models/base_webhook_event.rb +2 -5
  5. data/lib/finch_api/models/create_access_token_response.rb +2 -5
  6. data/lib/finch_api/models/hris/benefit_create_params.rb +3 -2
  7. data/lib/finch_api/models/hris/benefit_list_params.rb +6 -2
  8. data/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rb +6 -2
  9. data/lib/finch_api/models/hris/benefit_register_params.rb +6 -2
  10. data/lib/finch_api/models/hris/benefit_retrieve_params.rb +6 -2
  11. data/lib/finch_api/models/hris/benefit_update_params.rb +6 -2
  12. data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +6 -2
  13. data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rb +7 -2
  14. data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +3 -2
  15. data/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rb +7 -2
  16. data/lib/finch_api/models/hris/company_retrieve_params.rb +6 -2
  17. data/lib/finch_api/models/hris/directory_list_individuals_params.rb +6 -2
  18. data/lib/finch_api/models/hris/directory_list_params.rb +6 -2
  19. data/lib/finch_api/models/hris/document_list_params.rb +3 -2
  20. data/lib/finch_api/models/hris/document_retreive_params.rb +6 -2
  21. data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +6 -2
  22. data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +6 -2
  23. data/lib/finch_api/models/hris/pay_statement_item/rule_create_params.rb +6 -2
  24. data/lib/finch_api/models/hris/pay_statement_item/rule_delete_params.rb +6 -2
  25. data/lib/finch_api/models/hris/pay_statement_item/rule_list_params.rb +6 -2
  26. data/lib/finch_api/models/hris/pay_statement_item/rule_update_params.rb +6 -2
  27. data/lib/finch_api/models/hris/pay_statement_item_list_params.rb +3 -2
  28. data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +6 -2
  29. data/lib/finch_api/models/hris/payment_list_params.rb +3 -2
  30. data/lib/finch_api/models/introspection.rb +2 -5
  31. data/lib/finch_api/models/payroll/pay_group_list_params.rb +6 -2
  32. data/lib/finch_api/models/payroll/pay_group_retrieve_params.rb +6 -2
  33. data/lib/finch_api/models/sandbox/connection_create_response.rb +2 -4
  34. data/lib/finch_api/models/sandbox/connections/account_create_response.rb +2 -4
  35. data/lib/finch_api/models/sandbox/connections/account_update_response.rb +2 -4
  36. data/lib/finch_api/resources/hris/benefits/individuals.rb +15 -4
  37. data/lib/finch_api/resources/hris/benefits.rb +21 -6
  38. data/lib/finch_api/resources/hris/company.rb +4 -1
  39. data/lib/finch_api/resources/hris/directory.rb +4 -1
  40. data/lib/finch_api/resources/hris/documents.rb +5 -2
  41. data/lib/finch_api/resources/hris/employments.rb +4 -1
  42. data/lib/finch_api/resources/hris/individuals.rb +4 -1
  43. data/lib/finch_api/resources/hris/pay_statement_item/rules.rb +13 -4
  44. data/lib/finch_api/resources/hris/pay_statement_item.rb +1 -1
  45. data/lib/finch_api/resources/hris/pay_statements.rb +4 -1
  46. data/lib/finch_api/resources/hris/payments.rb +1 -1
  47. data/lib/finch_api/resources/payroll/pay_groups.rb +8 -2
  48. data/lib/finch_api/version.rb +1 -1
  49. data/rbi/finch_api/models/base_webhook_event.rbi +2 -4
  50. data/rbi/finch_api/models/create_access_token_response.rbi +2 -4
  51. data/rbi/finch_api/models/hris/benefit_create_params.rbi +4 -2
  52. data/rbi/finch_api/models/hris/benefit_list_params.rbi +4 -2
  53. data/rbi/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +4 -2
  54. data/rbi/finch_api/models/hris/benefit_register_params.rbi +4 -2
  55. data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +4 -2
  56. data/rbi/finch_api/models/hris/benefit_update_params.rbi +4 -2
  57. data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +4 -2
  58. data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +4 -2
  59. data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +4 -2
  60. data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +4 -2
  61. data/rbi/finch_api/models/hris/company_retrieve_params.rbi +4 -2
  62. data/rbi/finch_api/models/hris/directory_list_individuals_params.rbi +4 -2
  63. data/rbi/finch_api/models/hris/directory_list_params.rbi +4 -2
  64. data/rbi/finch_api/models/hris/document_list_params.rbi +4 -2
  65. data/rbi/finch_api/models/hris/document_retreive_params.rbi +4 -2
  66. data/rbi/finch_api/models/hris/employment_retrieve_many_params.rbi +4 -2
  67. data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +4 -2
  68. data/rbi/finch_api/models/hris/pay_statement_item/rule_create_params.rbi +4 -2
  69. data/rbi/finch_api/models/hris/pay_statement_item/rule_delete_params.rbi +4 -2
  70. data/rbi/finch_api/models/hris/pay_statement_item/rule_list_params.rbi +4 -2
  71. data/rbi/finch_api/models/hris/pay_statement_item/rule_update_params.rbi +4 -2
  72. data/rbi/finch_api/models/hris/pay_statement_item_list_params.rbi +4 -2
  73. data/rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +4 -2
  74. data/rbi/finch_api/models/hris/payment_list_params.rbi +4 -2
  75. data/rbi/finch_api/models/introspection.rbi +2 -4
  76. data/rbi/finch_api/models/payroll/pay_group_list_params.rbi +4 -2
  77. data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +4 -2
  78. data/rbi/finch_api/models/sandbox/connection_create_response.rbi +2 -2
  79. data/rbi/finch_api/models/sandbox/connections/account_create_response.rbi +2 -2
  80. data/rbi/finch_api/models/sandbox/connections/account_update_response.rbi +2 -2
  81. data/rbi/finch_api/resources/hris/benefits/individuals.rbi +8 -4
  82. data/rbi/finch_api/resources/hris/benefits.rbi +12 -6
  83. data/rbi/finch_api/resources/hris/company.rbi +2 -1
  84. data/rbi/finch_api/resources/hris/directory.rbi +2 -1
  85. data/rbi/finch_api/resources/hris/documents.rbi +4 -2
  86. data/rbi/finch_api/resources/hris/employments.rbi +2 -1
  87. data/rbi/finch_api/resources/hris/individuals.rbi +2 -1
  88. data/rbi/finch_api/resources/hris/pay_statement_item/rules.rbi +8 -4
  89. data/rbi/finch_api/resources/hris/pay_statement_item.rbi +2 -1
  90. data/rbi/finch_api/resources/hris/pay_statements.rbi +2 -1
  91. data/rbi/finch_api/resources/hris/payments.rbi +2 -1
  92. data/rbi/finch_api/resources/payroll/pay_groups.rbi +4 -2
  93. metadata +2 -2
@@ -70,10 +70,7 @@ module FinchAPI
70
70
  -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::Introspection::AuthenticationMethod] }
71
71
 
72
72
  # @!attribute company_id
73
- # @deprecated
74
- #
75
- # [DEPRECATED] Use `connection_id` to associate tokens with a Finch connection
76
- # instead of this company ID
73
+ # The Finch UUID of the company associated with the `access_token`.
77
74
  #
78
75
  # @return [String, nil]
79
76
  optional :company_id, String
@@ -153,7 +150,7 @@ module FinchAPI
153
150
  #
154
151
  # @param authentication_methods [Array<FinchAPI::Models::Introspection::AuthenticationMethod>]
155
152
  #
156
- # @param company_id [String] [DEPRECATED] Use `connection_id` to associate tokens with a Finch connection ins
153
+ # @param company_id [String] The Finch UUID of the company associated with the `access_token`.
157
154
  #
158
155
  # @param customer_email [String, nil] The email of your customer you provided to Finch when a connect session was crea
159
156
  #
@@ -9,7 +9,8 @@ module FinchAPI
9
9
  include FinchAPI::Internal::Type::RequestParameters
10
10
 
11
11
  # @!attribute entity_ids
12
- # The entity IDs to specify which entities' data to access.
12
+ # The entity IDs to specify which entities' data to access. Provide exactly one
13
+ # entity ID per request; a maximum of one is accepted.
13
14
  #
14
15
  # @return [Array<String>, nil]
15
16
  optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
@@ -25,7 +26,10 @@ module FinchAPI
25
26
  optional :pay_frequencies, FinchAPI::Internal::Type::ArrayOf[String]
26
27
 
27
28
  # @!method initialize(entity_ids: nil, individual_id: nil, pay_frequencies: nil, request_options: {})
28
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
29
+ # Some parameter documentations has been truncated, see
30
+ # {FinchAPI::Models::Payroll::PayGroupListParams} for more details.
31
+ #
32
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
29
33
  #
30
34
  # @param individual_id [String]
31
35
  #
@@ -14,15 +14,19 @@ module FinchAPI
14
14
  required :pay_group_id, String
15
15
 
16
16
  # @!attribute entity_ids
17
- # The entity IDs to specify which entities' data to access.
17
+ # The entity IDs to specify which entities' data to access. Provide exactly one
18
+ # entity ID per request; a maximum of one is accepted.
18
19
  #
19
20
  # @return [Array<String>, nil]
20
21
  optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
21
22
 
22
23
  # @!method initialize(pay_group_id:, entity_ids: nil, request_options: {})
24
+ # Some parameter documentations has been truncated, see
25
+ # {FinchAPI::Models::Payroll::PayGroupRetrieveParams} for more details.
26
+ #
23
27
  # @param pay_group_id [String]
24
28
  #
25
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
29
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
26
30
  #
27
31
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
28
32
  end
@@ -25,9 +25,7 @@ module FinchAPI
25
25
  enum: -> { FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType }
26
26
 
27
27
  # @!attribute company_id
28
- # @deprecated
29
- #
30
- # [DEPRECATED] Use `connection_id` to associate a connection with an access token
28
+ # The Finch UUID of the company associated with the `access_token`.
31
29
  #
32
30
  # @return [String]
33
31
  required :company_id, String
@@ -67,7 +65,7 @@ module FinchAPI
67
65
  #
68
66
  # @param authentication_type [Symbol, FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType]
69
67
  #
70
- # @param company_id [String] [DEPRECATED] Use `connection_id` to associate a connection with an access token
68
+ # @param company_id [String] The Finch UUID of the company associated with the `access_token`.
71
69
  #
72
70
  # @param connection_id [String] The ID of the new connection
73
71
  #
@@ -26,9 +26,7 @@ module FinchAPI
26
26
  enum: -> { FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::AuthenticationType }
27
27
 
28
28
  # @!attribute company_id
29
- # @deprecated
30
- #
31
- # [DEPRECATED] Use `connection_id` to associate a connection with an access token
29
+ # The Finch UUID of the company associated with the `access_token`.
32
30
  #
33
31
  # @return [String]
34
32
  required :company_id, String
@@ -63,7 +61,7 @@ module FinchAPI
63
61
  #
64
62
  # @param authentication_type [Symbol, FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::AuthenticationType]
65
63
  #
66
- # @param company_id [String] [DEPRECATED] Use `connection_id` to associate a connection with an access token
64
+ # @param company_id [String] The Finch UUID of the company associated with the `access_token`.
67
65
  #
68
66
  # @param connection_id [String] The ID of the new connection
69
67
  #
@@ -21,9 +21,7 @@ module FinchAPI
21
21
  enum: -> { FinchAPI::Models::Sandbox::Connections::AccountUpdateResponse::AuthenticationType }
22
22
 
23
23
  # @!attribute company_id
24
- # @deprecated
25
- #
26
- # [DEPRECATED] Use `connection_id` to associate a connection with an access token
24
+ # The Finch UUID of the company associated with the `access_token`.
27
25
  #
28
26
  # @return [String]
29
27
  required :company_id, String
@@ -56,7 +54,7 @@ module FinchAPI
56
54
  #
57
55
  # @param authentication_type [Symbol, FinchAPI::Models::Sandbox::Connections::AccountUpdateResponse::AuthenticationType]
58
56
  #
59
- # @param company_id [String] [DEPRECATED] Use `connection_id` to associate a connection with an access token
57
+ # @param company_id [String] The Finch UUID of the company associated with the `access_token`.
60
58
  #
61
59
  # @param connection_id [String] The ID of the new connection
62
60
  #
@@ -5,6 +5,9 @@ module FinchAPI
5
5
  class HRIS
6
6
  class Benefits
7
7
  class Individuals
8
+ # Some parameter documentations has been truncated, see
9
+ # {FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams} for more details.
10
+ #
8
11
  # Enroll an individual into a deduction or contribution. This is an overwrite
9
12
  # operation. If the employee is already enrolled, the enrollment amounts will be
10
13
  # adjusted. Making the same request multiple times will not create new
@@ -14,7 +17,7 @@ module FinchAPI
14
17
  #
15
18
  # @param benefit_id [String] Path param
16
19
  #
17
- # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
20
+ # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access. Provide e
18
21
  #
19
22
  # @param individuals [Array<FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual>] Body param: Array of the individual_id to enroll and a configuration object.
20
23
  #
@@ -37,13 +40,17 @@ module FinchAPI
37
40
  )
38
41
  end
39
42
 
43
+ # Some parameter documentations has been truncated, see
44
+ # {FinchAPI::Models::HRIS::Benefits::IndividualEnrolledIDsParams} for more
45
+ # details.
46
+ #
40
47
  # Lists individuals currently enrolled in a given deduction.
41
48
  #
42
49
  # @overload enrolled_ids(benefit_id, entity_ids: nil, request_options: {})
43
50
  #
44
51
  # @param benefit_id [String]
45
52
  #
46
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
53
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
47
54
  #
48
55
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
49
56
  #
@@ -73,7 +80,7 @@ module FinchAPI
73
80
  #
74
81
  # @param benefit_id [String]
75
82
  #
76
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
83
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
77
84
  #
78
85
  # @param individual_ids [String] comma-delimited list of stable Finch uuids for each individual. If empty, defaul
79
86
  #
@@ -96,13 +103,17 @@ module FinchAPI
96
103
  )
97
104
  end
98
105
 
106
+ # Some parameter documentations has been truncated, see
107
+ # {FinchAPI::Models::HRIS::Benefits::IndividualUnenrollManyParams} for more
108
+ # details.
109
+ #
99
110
  # Unenroll individuals from a deduction or contribution
100
111
  #
101
112
  # @overload unenroll_many(benefit_id, entity_ids: nil, individual_ids: nil, request_options: {})
102
113
  #
103
114
  # @param benefit_id [String] Path param
104
115
  #
105
- # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
116
+ # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access. Provide e
106
117
  #
107
118
  # @param individual_ids [Array<String>] Body param: Array of individual_ids to unenroll.
108
119
  #
@@ -15,7 +15,7 @@ module FinchAPI
15
15
  #
16
16
  # @overload create(entity_ids: nil, company_contribution: nil, description: nil, frequency: nil, type: nil, request_options: {})
17
17
  #
18
- # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
18
+ # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access. Provide e
19
19
  #
20
20
  # @param company_contribution [FinchAPI::Models::HRIS::BenefitCreateParams::CompanyContribution, nil] Body param: The company match for this benefit.
21
21
  #
@@ -45,13 +45,16 @@ module FinchAPI
45
45
  )
46
46
  end
47
47
 
48
+ # Some parameter documentations has been truncated, see
49
+ # {FinchAPI::Models::HRIS::BenefitRetrieveParams} for more details.
50
+ #
48
51
  # Lists deductions and contributions information for a given item
49
52
  #
50
53
  # @overload retrieve(benefit_id, entity_ids: nil, request_options: {})
51
54
  #
52
55
  # @param benefit_id [String]
53
56
  #
54
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
57
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
55
58
  #
56
59
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
57
60
  #
@@ -71,13 +74,16 @@ module FinchAPI
71
74
  )
72
75
  end
73
76
 
77
+ # Some parameter documentations has been truncated, see
78
+ # {FinchAPI::Models::HRIS::BenefitUpdateParams} for more details.
79
+ #
74
80
  # Updates an existing company-wide deduction or contribution
75
81
  #
76
82
  # @overload update(benefit_id, entity_ids: nil, description: nil, request_options: {})
77
83
  #
78
84
  # @param benefit_id [String] Path param
79
85
  #
80
- # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
86
+ # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access. Provide e
81
87
  #
82
88
  # @param description [String] Body param: Updated name or description.
83
89
  #
@@ -101,11 +107,14 @@ module FinchAPI
101
107
  )
102
108
  end
103
109
 
110
+ # Some parameter documentations has been truncated, see
111
+ # {FinchAPI::Models::HRIS::BenefitListParams} for more details.
112
+ #
104
113
  # List all company-wide deductions and contributions.
105
114
  #
106
115
  # @overload list(entity_ids: nil, request_options: {})
107
116
  #
108
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
117
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
109
118
  #
110
119
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
111
120
  #
@@ -126,11 +135,14 @@ module FinchAPI
126
135
  )
127
136
  end
128
137
 
138
+ # Some parameter documentations has been truncated, see
139
+ # {FinchAPI::Models::HRIS::BenefitListSupportedBenefitsParams} for more details.
140
+ #
129
141
  # Get deductions metadata
130
142
  #
131
143
  # @overload list_supported_benefits(entity_ids: nil, request_options: {})
132
144
  #
133
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
145
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
134
146
  #
135
147
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
136
148
  #
@@ -151,12 +163,15 @@ module FinchAPI
151
163
  )
152
164
  end
153
165
 
166
+ # Some parameter documentations has been truncated, see
167
+ # {FinchAPI::Models::HRIS::BenefitRegisterParams} for more details.
168
+ #
154
169
  # Register existing benefits from the customer on the provider, on Finch's end.
155
170
  # Please use the `/provider` endpoint to view available types for each provider.
156
171
  #
157
172
  # @overload register(entity_ids: nil, description: nil, frequency: nil, type: nil, request_options: {})
158
173
  #
159
- # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
174
+ # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access. Provide e
160
175
  #
161
176
  # @param description [String] Body param
162
177
  #
@@ -4,11 +4,14 @@ module FinchAPI
4
4
  module Resources
5
5
  class HRIS
6
6
  class Company
7
+ # Some parameter documentations has been truncated, see
8
+ # {FinchAPI::Models::HRIS::CompanyRetrieveParams} for more details.
9
+ #
7
10
  # Read basic company data
8
11
  #
9
12
  # @overload retrieve(entity_ids: nil, request_options: {})
10
13
  #
11
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
14
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
12
15
  #
13
16
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
14
17
  #
@@ -4,11 +4,14 @@ module FinchAPI
4
4
  module Resources
5
5
  class HRIS
6
6
  class Directory
7
+ # Some parameter documentations has been truncated, see
8
+ # {FinchAPI::Models::HRIS::DirectoryListParams} for more details.
9
+ #
7
10
  # Read company directory and organization structure
8
11
  #
9
12
  # @overload list(entity_ids: nil, limit: nil, offset: nil, request_options: {})
10
13
  #
11
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
14
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
12
15
  #
13
16
  # @param limit [Integer] Number of employees to return (defaults to 100, maximum 10000)
14
17
  #
@@ -12,7 +12,7 @@ module FinchAPI
12
12
  #
13
13
  # @overload list(entity_ids: nil, individual_ids: nil, limit: nil, offset: nil, types: nil, request_options: {})
14
14
  #
15
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
15
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
16
16
  #
17
17
  # @param individual_ids [Array<String>] Comma-delimited list of stable Finch uuids for each individual. If empty, defaul
18
18
  #
@@ -40,6 +40,9 @@ module FinchAPI
40
40
  )
41
41
  end
42
42
 
43
+ # Some parameter documentations has been truncated, see
44
+ # {FinchAPI::Models::HRIS::DocumentRetreiveParams} for more details.
45
+ #
43
46
  # **Beta:** This endpoint is in beta and may change. Retrieve details of a
44
47
  # specific document by its ID.
45
48
  #
@@ -47,7 +50,7 @@ module FinchAPI
47
50
  #
48
51
  # @param document_id [String] The unique identifier of the document.
49
52
  #
50
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
53
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
51
54
  #
52
55
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
53
56
  #
@@ -4,13 +4,16 @@ module FinchAPI
4
4
  module Resources
5
5
  class HRIS
6
6
  class Employments
7
+ # Some parameter documentations has been truncated, see
8
+ # {FinchAPI::Models::HRIS::EmploymentRetrieveManyParams} for more details.
9
+ #
7
10
  # Read individual employment and income data
8
11
  #
9
12
  # @overload retrieve_many(requests:, entity_ids: nil, request_options: {})
10
13
  #
11
14
  # @param requests [Array<FinchAPI::Models::HRIS::EmploymentRetrieveManyParams::Request>] Body param: The array of batch requests. Maximum 10000 items per request.
12
15
  #
13
- # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
16
+ # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access. Provide e
14
17
  #
15
18
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
16
19
  #
@@ -4,13 +4,16 @@ module FinchAPI
4
4
  module Resources
5
5
  class HRIS
6
6
  class Individuals
7
+ # Some parameter documentations has been truncated, see
8
+ # {FinchAPI::Models::HRIS::IndividualRetrieveManyParams} for more details.
9
+ #
7
10
  # Read individual data, excluding income and employment data
8
11
  #
9
12
  # @overload retrieve_many(requests:, entity_ids: nil, options: nil, request_options: {})
10
13
  #
11
14
  # @param requests [Array<FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Request>] Body param: The array of batch requests. Maximum 10000 items per request.
12
15
  #
13
- # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
16
+ # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access. Provide e
14
17
  #
15
18
  # @param options [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil] Body param
16
19
  #
@@ -15,7 +15,7 @@ module FinchAPI
15
15
  #
16
16
  # @overload create(entity_ids: nil, attributes: nil, conditions: nil, effective_end_date: nil, effective_start_date: nil, entity_type: nil, request_options: {})
17
17
  #
18
- # @param entity_ids [Array<String>] Query param: The entity IDs to create the rule for.
18
+ # @param entity_ids [Array<String>] Query param: The entity IDs to create the rule for. Provide exactly one entity I
19
19
  #
20
20
  # @param attributes [FinchAPI::Models::HRIS::PayStatementItem::RuleCreateParams::Attributes] Body param: Specifies the fields to be applied when the condition is met.
21
21
  #
@@ -47,13 +47,16 @@ module FinchAPI
47
47
  )
48
48
  end
49
49
 
50
+ # Some parameter documentations has been truncated, see
51
+ # {FinchAPI::Models::HRIS::PayStatementItem::RuleUpdateParams} for more details.
52
+ #
50
53
  # Update a rule for a pay statement item.
51
54
  #
52
55
  # @overload update(rule_id, entity_ids: nil, optional_property: nil, request_options: {})
53
56
  #
54
57
  # @param rule_id [String] Path param
55
58
  #
56
- # @param entity_ids [Array<String>] Query param: The entity IDs to update the rule for.
59
+ # @param entity_ids [Array<String>] Query param: The entity IDs to update the rule for. Provide exactly one entity I
57
60
  #
58
61
  # @param optional_property [Object] Body param
59
62
  #
@@ -77,11 +80,14 @@ module FinchAPI
77
80
  )
78
81
  end
79
82
 
83
+ # Some parameter documentations has been truncated, see
84
+ # {FinchAPI::Models::HRIS::PayStatementItem::RuleListParams} for more details.
85
+ #
80
86
  # List all rules of a connection account.
81
87
  #
82
88
  # @overload list(entity_ids: nil, request_options: {})
83
89
  #
84
- # @param entity_ids [Array<String>] The entity IDs to retrieve rules for.
90
+ # @param entity_ids [Array<String>] The entity IDs to retrieve rules for. Provide exactly one entity ID per request;
85
91
  #
86
92
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
87
93
  #
@@ -102,13 +108,16 @@ module FinchAPI
102
108
  )
103
109
  end
104
110
 
111
+ # Some parameter documentations has been truncated, see
112
+ # {FinchAPI::Models::HRIS::PayStatementItem::RuleDeleteParams} for more details.
113
+ #
105
114
  # Delete a rule for a pay statement item.
106
115
  #
107
116
  # @overload delete(rule_id, entity_ids: nil, request_options: {})
108
117
  #
109
118
  # @param rule_id [String]
110
119
  #
111
- # @param entity_ids [Array<String>] The entity IDs to delete the rule for.
120
+ # @param entity_ids [Array<String>] The entity IDs to delete the rule for. Provide exactly one entity ID per request
112
121
  #
113
122
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
114
123
  #
@@ -19,7 +19,7 @@ module FinchAPI
19
19
  #
20
20
  # @param end_date [Date] The end date to retrieve pay statement items by via their last seen pay date in
21
21
  #
22
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
22
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
23
23
  #
24
24
  # @param name [String] Case-insensitive partial match search by pay statement item name.
25
25
  #
@@ -4,6 +4,9 @@ module FinchAPI
4
4
  module Resources
5
5
  class HRIS
6
6
  class PayStatements
7
+ # Some parameter documentations has been truncated, see
8
+ # {FinchAPI::Models::HRIS::PayStatementRetrieveManyParams} for more details.
9
+ #
7
10
  # Read detailed pay statements for each individual.
8
11
  #
9
12
  # Deduction and contribution types are supported by the payroll systems that
@@ -13,7 +16,7 @@ module FinchAPI
13
16
  #
14
17
  # @param requests [Array<FinchAPI::Models::HRIS::PayStatementRetrieveManyParams::Request>] Body param: The array of batch requests. Maximum 10 payment_ids per request.
15
18
  #
16
- # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access.
19
+ # @param entity_ids [Array<String>] Query param: The entity IDs to specify which entities' data to access. Provide e
17
20
  #
18
21
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
19
22
  #
@@ -15,7 +15,7 @@ module FinchAPI
15
15
  #
16
16
  # @param start_date [Date] The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD` for
17
17
  #
18
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
18
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
19
19
  #
20
20
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
21
21
  #
@@ -4,13 +4,16 @@ module FinchAPI
4
4
  module Resources
5
5
  class Payroll
6
6
  class PayGroups
7
+ # Some parameter documentations has been truncated, see
8
+ # {FinchAPI::Models::Payroll::PayGroupRetrieveParams} for more details.
9
+ #
7
10
  # Read information from a single pay group
8
11
  #
9
12
  # @overload retrieve(pay_group_id, entity_ids: nil, request_options: {})
10
13
  #
11
14
  # @param pay_group_id [String]
12
15
  #
13
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
16
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
14
17
  #
15
18
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}, nil]
16
19
  #
@@ -30,11 +33,14 @@ module FinchAPI
30
33
  )
31
34
  end
32
35
 
36
+ # Some parameter documentations has been truncated, see
37
+ # {FinchAPI::Models::Payroll::PayGroupListParams} for more details.
38
+ #
33
39
  # Read company pay groups and frequencies
34
40
  #
35
41
  # @overload list(entity_ids: nil, individual_id: nil, pay_frequencies: nil, request_options: {})
36
42
  #
37
- # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
43
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access. Provide exactly one en
38
44
  #
39
45
  # @param individual_id [String]
40
46
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FinchAPI
4
- VERSION = "0.1.0.pre.alpha.48"
4
+ VERSION = "0.1.0.pre.alpha.49"
5
5
  end
@@ -14,8 +14,7 @@ module FinchAPI
14
14
  sig { returns(String) }
15
15
  attr_accessor :account_id
16
16
 
17
- # [DEPRECATED] Unique Finch ID of the company for which data has been updated. Use
18
- # `connection_id` instead to identify the connection associated with this event.
17
+ # Unique Finch ID of the company for which data has been updated.
19
18
  sig { returns(String) }
20
19
  attr_accessor :company_id
21
20
 
@@ -46,8 +45,7 @@ module FinchAPI
46
45
  # connection. Use `connection_id` instead to identify the connection associated
47
46
  # with this event.
48
47
  account_id:,
49
- # [DEPRECATED] Unique Finch ID of the company for which data has been updated. Use
50
- # `connection_id` instead to identify the connection associated with this event.
48
+ # Unique Finch ID of the company for which data has been updated.
51
49
  company_id:,
52
50
  # Unique Finch ID of the connection associated with the webhook event.
53
51
  connection_id: nil,
@@ -60,8 +60,7 @@ module FinchAPI
60
60
  sig { params(account_id: String).void }
61
61
  attr_writer :account_id
62
62
 
63
- # [DEPRECATED] Use `connection_id` to identify the connection instead of this
64
- # company ID
63
+ # The Finch UUID of the company associated with the `access_token`.
65
64
  sig { returns(T.nilable(String)) }
66
65
  attr_reader :company_id
67
66
 
@@ -119,8 +118,7 @@ module FinchAPI
119
118
  # [DEPRECATED] Use `connection_id` to identify the connection instead of this
120
119
  # account ID
121
120
  account_id: nil,
122
- # [DEPRECATED] Use `connection_id` to identify the connection instead of this
123
- # company ID
121
+ # The Finch UUID of the company associated with the `access_token`.
124
122
  company_id: nil,
125
123
  # The ID of your customer you provided to Finch when a connect session was created
126
124
  # for this connection
@@ -15,7 +15,8 @@ module FinchAPI
15
15
  )
16
16
  end
17
17
 
18
- # The entity IDs to specify which entities' data to access.
18
+ # The entity IDs to specify which entities' data to access. Provide exactly one
19
+ # entity ID per request; a maximum of one is accepted.
19
20
  sig { returns(T.nilable(T::Array[String])) }
20
21
  attr_reader :entity_ids
21
22
 
@@ -71,7 +72,8 @@ module FinchAPI
71
72
  ).returns(T.attached_class)
72
73
  end
73
74
  def self.new(
74
- # The entity IDs to specify which entities' data to access.
75
+ # The entity IDs to specify which entities' data to access. Provide exactly one
76
+ # entity ID per request; a maximum of one is accepted.
75
77
  entity_ids: nil,
76
78
  # The company match for this benefit.
77
79
  company_contribution: nil,
@@ -15,7 +15,8 @@ module FinchAPI
15
15
  )
16
16
  end
17
17
 
18
- # The entity IDs to specify which entities' data to access.
18
+ # The entity IDs to specify which entities' data to access. Provide exactly one
19
+ # entity ID per request; a maximum of one is accepted.
19
20
  sig { returns(T.nilable(T::Array[String])) }
20
21
  attr_reader :entity_ids
21
22
 
@@ -29,7 +30,8 @@ module FinchAPI
29
30
  ).returns(T.attached_class)
30
31
  end
31
32
  def self.new(
32
- # The entity IDs to specify which entities' data to access.
33
+ # The entity IDs to specify which entities' data to access. Provide exactly one
34
+ # entity ID per request; a maximum of one is accepted.
33
35
  entity_ids: nil,
34
36
  request_options: {}
35
37
  )
@@ -15,7 +15,8 @@ module FinchAPI
15
15
  )
16
16
  end
17
17
 
18
- # The entity IDs to specify which entities' data to access.
18
+ # The entity IDs to specify which entities' data to access. Provide exactly one
19
+ # entity ID per request; a maximum of one is accepted.
19
20
  sig { returns(T.nilable(T::Array[String])) }
20
21
  attr_reader :entity_ids
21
22
 
@@ -29,7 +30,8 @@ module FinchAPI
29
30
  ).returns(T.attached_class)
30
31
  end
31
32
  def self.new(
32
- # The entity IDs to specify which entities' data to access.
33
+ # The entity IDs to specify which entities' data to access. Provide exactly one
34
+ # entity ID per request; a maximum of one is accepted.
33
35
  entity_ids: nil,
34
36
  request_options: {}
35
37
  )