Skip to content

Commit a67b714

Browse files
feat(api): api update
1 parent c0b44e5 commit a67b714

File tree

4 files changed

+120
-412
lines changed

4 files changed

+120
-412
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 46
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-bf86910e96e83e583689cf5d1a5c583268754026ec68288994fa6a969dc248f2.yml
3-
openapi_spec_hash: 195038e056891afec204c49dadce3b95
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-edbdcdf654a3ab8c23745e1d115fc8b54908eb913571d70f1145a0b6a45cc811.yml
3+
openapi_spec_hash: 1b21e4bfc46daeef1613e410e5aa8f28
44
config_hash: 5146b12344dae76238940989dac1e8a0

lib/finch_api/models/hris/pay_statement.rb

Lines changed: 42 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -176,31 +176,19 @@ module Type
176176
# @see FinchAPI::Models::HRIS::PayStatement::Earning#attributes
177177
class Attributes < FinchAPI::Internal::Type::BaseModel
178178
# @!attribute metadata
179+
# The metadata to be attached to the entity by existing rules. It is a key-value
180+
# pairs where the values can be of any type (string, number, boolean, object,
181+
# array, etc.).
179182
#
180-
# @return [FinchAPI::Models::HRIS::PayStatement::Earning::Attributes::Metadata]
181-
required :metadata, -> { FinchAPI::HRIS::PayStatement::Earning::Attributes::Metadata }
183+
# @return [Hash{Symbol=>Object, nil}]
184+
required :metadata,
185+
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
182186

183187
# @!method initialize(metadata:)
184-
# @param metadata [FinchAPI::Models::HRIS::PayStatement::Earning::Attributes::Metadata]
185-
186-
# @see FinchAPI::Models::HRIS::PayStatement::Earning::Attributes#metadata
187-
class Metadata < FinchAPI::Internal::Type::BaseModel
188-
# @!attribute metadata
189-
# The metadata to be attached to the entity by existing rules. It is a key-value
190-
# pairs where the values can be of any type (string, number, boolean, object,
191-
# array, etc.).
192-
#
193-
# @return [Hash{Symbol=>Object, nil}]
194-
required :metadata,
195-
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
196-
197-
# @!method initialize(metadata:)
198-
# Some parameter documentations has been truncated, see
199-
# {FinchAPI::Models::HRIS::PayStatement::Earning::Attributes::Metadata} for more
200-
# details.
201-
#
202-
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
203-
end
188+
# Some parameter documentations has been truncated, see
189+
# {FinchAPI::Models::HRIS::PayStatement::Earning::Attributes} for more details.
190+
#
191+
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
204192
end
205193
end
206194

@@ -256,31 +244,20 @@ class EmployeeDeduction < FinchAPI::Internal::Type::BaseModel
256244
# @see FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction#attributes
257245
class Attributes < FinchAPI::Internal::Type::BaseModel
258246
# @!attribute metadata
247+
# The metadata to be attached to the entity by existing rules. It is a key-value
248+
# pairs where the values can be of any type (string, number, boolean, object,
249+
# array, etc.).
259250
#
260-
# @return [FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata]
261-
required :metadata, -> { FinchAPI::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata }
251+
# @return [Hash{Symbol=>Object, nil}]
252+
required :metadata,
253+
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
262254

263255
# @!method initialize(metadata:)
264-
# @param metadata [FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata]
265-
266-
# @see FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes#metadata
267-
class Metadata < FinchAPI::Internal::Type::BaseModel
268-
# @!attribute metadata
269-
# The metadata to be attached to the entity by existing rules. It is a key-value
270-
# pairs where the values can be of any type (string, number, boolean, object,
271-
# array, etc.).
272-
#
273-
# @return [Hash{Symbol=>Object, nil}]
274-
required :metadata,
275-
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
276-
277-
# @!method initialize(metadata:)
278-
# Some parameter documentations has been truncated, see
279-
# {FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata}
280-
# for more details.
281-
#
282-
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
283-
end
256+
# Some parameter documentations has been truncated, see
257+
# {FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes} for more
258+
# details.
259+
#
260+
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
284261
end
285262
end
286263

@@ -332,31 +309,20 @@ class EmployerContribution < FinchAPI::Internal::Type::BaseModel
332309
# @see FinchAPI::Models::HRIS::PayStatement::EmployerContribution#attributes
333310
class Attributes < FinchAPI::Internal::Type::BaseModel
334311
# @!attribute metadata
312+
# The metadata to be attached to the entity by existing rules. It is a key-value
313+
# pairs where the values can be of any type (string, number, boolean, object,
314+
# array, etc.).
335315
#
336-
# @return [FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes::Metadata]
337-
required :metadata, -> { FinchAPI::HRIS::PayStatement::EmployerContribution::Attributes::Metadata }
316+
# @return [Hash{Symbol=>Object, nil}]
317+
required :metadata,
318+
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
338319

339320
# @!method initialize(metadata:)
340-
# @param metadata [FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes::Metadata]
341-
342-
# @see FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes#metadata
343-
class Metadata < FinchAPI::Internal::Type::BaseModel
344-
# @!attribute metadata
345-
# The metadata to be attached to the entity by existing rules. It is a key-value
346-
# pairs where the values can be of any type (string, number, boolean, object,
347-
# array, etc.).
348-
#
349-
# @return [Hash{Symbol=>Object, nil}]
350-
required :metadata,
351-
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
352-
353-
# @!method initialize(metadata:)
354-
# Some parameter documentations has been truncated, see
355-
# {FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes::Metadata}
356-
# for more details.
357-
#
358-
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
359-
end
321+
# Some parameter documentations has been truncated, see
322+
# {FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes} for
323+
# more details.
324+
#
325+
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
360326
end
361327
end
362328

@@ -441,31 +407,19 @@ module Type
441407
# @see FinchAPI::Models::HRIS::PayStatement::Tax#attributes
442408
class Attributes < FinchAPI::Internal::Type::BaseModel
443409
# @!attribute metadata
410+
# The metadata to be attached to the entity by existing rules. It is a key-value
411+
# pairs where the values can be of any type (string, number, boolean, object,
412+
# array, etc.).
444413
#
445-
# @return [FinchAPI::Models::HRIS::PayStatement::Tax::Attributes::Metadata]
446-
required :metadata, -> { FinchAPI::HRIS::PayStatement::Tax::Attributes::Metadata }
414+
# @return [Hash{Symbol=>Object, nil}]
415+
required :metadata,
416+
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
447417

448418
# @!method initialize(metadata:)
449-
# @param metadata [FinchAPI::Models::HRIS::PayStatement::Tax::Attributes::Metadata]
450-
451-
# @see FinchAPI::Models::HRIS::PayStatement::Tax::Attributes#metadata
452-
class Metadata < FinchAPI::Internal::Type::BaseModel
453-
# @!attribute metadata
454-
# The metadata to be attached to the entity by existing rules. It is a key-value
455-
# pairs where the values can be of any type (string, number, boolean, object,
456-
# array, etc.).
457-
#
458-
# @return [Hash{Symbol=>Object, nil}]
459-
required :metadata,
460-
FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
461-
462-
# @!method initialize(metadata:)
463-
# Some parameter documentations has been truncated, see
464-
# {FinchAPI::Models::HRIS::PayStatement::Tax::Attributes::Metadata} for more
465-
# details.
466-
#
467-
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
468-
end
419+
# Some parameter documentations has been truncated, see
420+
# {FinchAPI::Models::HRIS::PayStatement::Tax::Attributes} for more details.
421+
#
422+
# @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
469423
end
470424
end
471425

0 commit comments

Comments
 (0)