finch-api 0.1.0.pre.alpha.17 → 0.1.0.pre.alpha.18
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 +13 -0
- data/README.md +1 -1
- data/lib/finch_api/models/hris/employment_data.rb +9 -9
- data/lib/finch_api/version.rb +1 -1
- data/rbi/finch_api/models/hris/employment_data.rbi +12 -11
- data/sig/finch_api/models/hris/employment_data.rbs +6 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eddfa1529c8cfb3c7461b7553fc9ccebd1818115e88bd4a5a733dbcffad435d4
|
4
|
+
data.tar.gz: 37306b10b432110b7b3ce09d4cd245b97b1dd16fe467b050e78a5a2101e18839
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40f142561b69c398322f65338f567b6d7ed4e5c059ee067aaeddb2566be1ef3b1f19d9eac8bb635540cea61f1e1e63815020af5b3dc7ca9a920f8202f42d0a6f
|
7
|
+
data.tar.gz: 6cf31655554a967db22163906ae8ea254457761f706ea5cdb5d1dbaf920bd4e55c72e4606525bbac868ec3e7b5b38c6c6135b48727f4e0ff717f9acad778bab9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.0-alpha.18 (2025-05-16)
|
4
|
+
|
5
|
+
Full Changelog: [v0.1.0-alpha.17...v0.1.0-alpha.18](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.17...v0.1.0-alpha.18)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([c0514cb](https://github.com/Finch-API/finch-api-ruby/commit/c0514cb7518217869a5d8dab7771b9e29cf6aa1c))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* **internal:** version bump ([a950bdc](https://github.com/Finch-API/finch-api-ruby/commit/a950bdccc42fa2c4fa7bd8297b74be17792cec34))
|
15
|
+
|
3
16
|
## 0.1.0-alpha.17 (2025-05-16)
|
4
17
|
|
5
18
|
Full Changelog: [v0.1.0-alpha.16...v0.1.0-alpha.17](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.16...v0.1.0-alpha.17)
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
17
17
|
<!-- x-release-please-start-version -->
|
18
18
|
|
19
19
|
```ruby
|
20
|
-
gem "finch-api", "~> 0.1.0.pre.alpha.
|
20
|
+
gem "finch-api", "~> 0.1.0.pre.alpha.18"
|
21
21
|
```
|
22
22
|
|
23
23
|
<!-- x-release-please-end -->
|
@@ -100,12 +100,6 @@ module FinchAPI
|
|
100
100
|
# @return [String, nil]
|
101
101
|
required :middle_name, String, nil?: true
|
102
102
|
|
103
|
-
# @!attribute source_id
|
104
|
-
# The source system's unique employment identifier for this individual
|
105
|
-
#
|
106
|
-
# @return [String, nil]
|
107
|
-
required :source_id, String, nil?: true
|
108
|
-
|
109
103
|
# @!attribute start_date
|
110
104
|
#
|
111
105
|
# @return [String, nil]
|
@@ -141,7 +135,13 @@ module FinchAPI
|
|
141
135
|
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::Income, nil?: true] },
|
142
136
|
nil?: true
|
143
137
|
|
144
|
-
# @!
|
138
|
+
# @!attribute source_id
|
139
|
+
# The source system's unique employment identifier for this individual
|
140
|
+
#
|
141
|
+
# @return [String, nil]
|
142
|
+
optional :source_id, String, nil?: true
|
143
|
+
|
144
|
+
# @!method initialize(id:, class_code:, custom_fields:, department:, employment:, employment_status:, end_date:, first_name:, is_active:, last_name:, latest_rehire_date:, location:, manager:, middle_name:, start_date:, title:, work_id:, income: nil, income_history: nil, source_id: nil)
|
145
145
|
# Some parameter documentations has been truncated, see
|
146
146
|
# {FinchAPI::HRIS::EmploymentData::UnionMember0} for more details.
|
147
147
|
#
|
@@ -173,8 +173,6 @@ module FinchAPI
|
|
173
173
|
#
|
174
174
|
# @param middle_name [String, nil] The legal middle name of the individual.
|
175
175
|
#
|
176
|
-
# @param source_id [String, nil] The source system's unique employment identifier for this individual
|
177
|
-
#
|
178
176
|
# @param start_date [String, nil]
|
179
177
|
#
|
180
178
|
# @param title [String, nil] The current title of the individual.
|
@@ -184,6 +182,8 @@ module FinchAPI
|
|
184
182
|
# @param income [FinchAPI::Income, nil] The employee's income as reported by the provider. This may not always be annual
|
185
183
|
#
|
186
184
|
# @param income_history [Array<FinchAPI::Income, nil>, nil] The array of income history.
|
185
|
+
#
|
186
|
+
# @param source_id [String, nil] The source system's unique employment identifier for this individual
|
187
187
|
|
188
188
|
class CustomField < FinchAPI::Internal::Type::BaseModel
|
189
189
|
# @!attribute name
|
data/lib/finch_api/version.rb
CHANGED
@@ -141,10 +141,6 @@ module FinchAPI
|
|
141
141
|
sig { returns(T.nilable(String)) }
|
142
142
|
attr_accessor :middle_name
|
143
143
|
|
144
|
-
# The source system's unique employment identifier for this individual
|
145
|
-
sig { returns(T.nilable(String)) }
|
146
|
-
attr_accessor :source_id
|
147
|
-
|
148
144
|
sig { returns(T.nilable(String)) }
|
149
145
|
attr_accessor :start_date
|
150
146
|
|
@@ -169,6 +165,10 @@ module FinchAPI
|
|
169
165
|
sig { returns(T.nilable(T::Array[T.nilable(FinchAPI::Income)])) }
|
170
166
|
attr_accessor :income_history
|
171
167
|
|
168
|
+
# The source system's unique employment identifier for this individual
|
169
|
+
sig { returns(T.nilable(String)) }
|
170
|
+
attr_accessor :source_id
|
171
|
+
|
172
172
|
sig do
|
173
173
|
params(
|
174
174
|
id: String,
|
@@ -202,13 +202,13 @@ module FinchAPI
|
|
202
202
|
FinchAPI::HRIS::EmploymentData::UnionMember0::Manager::OrHash
|
203
203
|
),
|
204
204
|
middle_name: T.nilable(String),
|
205
|
-
source_id: T.nilable(String),
|
206
205
|
start_date: T.nilable(String),
|
207
206
|
title: T.nilable(String),
|
208
207
|
work_id: T.nilable(String),
|
209
208
|
income: T.nilable(FinchAPI::Income::OrHash),
|
210
209
|
income_history:
|
211
|
-
T.nilable(T::Array[T.nilable(FinchAPI::Income::OrHash)])
|
210
|
+
T.nilable(T::Array[T.nilable(FinchAPI::Income::OrHash)]),
|
211
|
+
source_id: T.nilable(String)
|
212
212
|
).returns(T.attached_class)
|
213
213
|
end
|
214
214
|
def self.new(
|
@@ -239,8 +239,6 @@ module FinchAPI
|
|
239
239
|
manager:,
|
240
240
|
# The legal middle name of the individual.
|
241
241
|
middle_name:,
|
242
|
-
# The source system's unique employment identifier for this individual
|
243
|
-
source_id:,
|
244
242
|
start_date:,
|
245
243
|
# The current title of the individual.
|
246
244
|
title:,
|
@@ -251,7 +249,9 @@ module FinchAPI
|
|
251
249
|
# depending on what information the provider returns.
|
252
250
|
income: nil,
|
253
251
|
# The array of income history.
|
254
|
-
income_history: nil
|
252
|
+
income_history: nil,
|
253
|
+
# The source system's unique employment identifier for this individual
|
254
|
+
source_id: nil
|
255
255
|
)
|
256
256
|
end
|
257
257
|
|
@@ -289,12 +289,13 @@ module FinchAPI
|
|
289
289
|
FinchAPI::HRIS::EmploymentData::UnionMember0::Manager
|
290
290
|
),
|
291
291
|
middle_name: T.nilable(String),
|
292
|
-
source_id: T.nilable(String),
|
293
292
|
start_date: T.nilable(String),
|
294
293
|
title: T.nilable(String),
|
295
294
|
work_id: T.nilable(String),
|
296
295
|
income: T.nilable(FinchAPI::Income),
|
297
|
-
income_history:
|
296
|
+
income_history:
|
297
|
+
T.nilable(T::Array[T.nilable(FinchAPI::Income)]),
|
298
|
+
source_id: T.nilable(String)
|
298
299
|
}
|
299
300
|
)
|
300
301
|
end
|
@@ -24,12 +24,12 @@ module FinchAPI
|
|
24
24
|
location: FinchAPI::Location?,
|
25
25
|
manager: FinchAPI::HRIS::EmploymentData::UnionMember0::Manager?,
|
26
26
|
middle_name: String?,
|
27
|
-
source_id: String?,
|
28
27
|
start_date: String?,
|
29
28
|
title: String?,
|
30
29
|
work_id: String?,
|
31
30
|
income: FinchAPI::Income?,
|
32
|
-
income_history: ::Array[FinchAPI::Income?]
|
31
|
+
income_history: ::Array[FinchAPI::Income?]?,
|
32
|
+
source_id: String?
|
33
33
|
}
|
34
34
|
|
35
35
|
class UnionMember0 < FinchAPI::Internal::Type::BaseModel
|
@@ -61,8 +61,6 @@ module FinchAPI
|
|
61
61
|
|
62
62
|
attr_accessor middle_name: String?
|
63
63
|
|
64
|
-
attr_accessor source_id: String?
|
65
|
-
|
66
64
|
attr_accessor start_date: String?
|
67
65
|
|
68
66
|
attr_accessor title: String?
|
@@ -73,6 +71,8 @@ module FinchAPI
|
|
73
71
|
|
74
72
|
attr_accessor income_history: ::Array[FinchAPI::Income?]?
|
75
73
|
|
74
|
+
attr_accessor source_id: String?
|
75
|
+
|
76
76
|
def initialize: (
|
77
77
|
id: String,
|
78
78
|
class_code: String?,
|
@@ -88,12 +88,12 @@ module FinchAPI
|
|
88
88
|
location: FinchAPI::Location?,
|
89
89
|
manager: FinchAPI::HRIS::EmploymentData::UnionMember0::Manager?,
|
90
90
|
middle_name: String?,
|
91
|
-
source_id: String?,
|
92
91
|
start_date: String?,
|
93
92
|
title: String?,
|
94
93
|
work_id: String?,
|
95
94
|
?income: FinchAPI::Income?,
|
96
|
-
?income_history: ::Array[FinchAPI::Income?]
|
95
|
+
?income_history: ::Array[FinchAPI::Income?]?,
|
96
|
+
?source_id: String?
|
97
97
|
) -> void
|
98
98
|
|
99
99
|
type custom_field =
|