Skip to content

Commit 3ed684f

Browse files
feat(api): api update (#94)
1 parent c9498b8 commit 3ed684f

File tree

8 files changed

+10
-7
lines changed

8 files changed

+10
-7
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: 41
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-3224f142ed1542ed2535c155e8eb23b7ea10470c12448d60c3ce584126073a93.yml
3-
openapi_spec_hash: 6c4b213ed5e4f7d1b369e04e4bfb5164
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-01e6814875a5c867925b75141c5450f528389ac6c4b63d91aa341cb8a1249ef9.yml
3+
openapi_spec_hash: ce8289026fb42111f01b37d5138ca100
44
config_hash: 8303e755d3e16cf28542d5f0aec83851

lib/finch-api/models/hris/employment_data.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module Models
55
module HRIS
66
class EmploymentData < FinchAPI::BaseModel
77
# @!attribute [r] id
8-
# string A stable Finch `id` (UUID v4) for an individual in the company.
8+
# A stable Finch `id` (UUID v4) for an individual in the company.
99
#
1010
# @return [String, nil]
1111
optional :id, String

lib/finch-api/models/hris/employment_data_response.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class EmploymentDataResponse < FinchAPI::BaseModel
2424
# attr_writer :code
2525

2626
# @!attribute [r] individual_id
27+
# A stable Finch `id` (UUID v4) for an individual in the company.
2728
#
2829
# @return [String, nil]
2930
optional :individual_id, String

lib/finch-api/models/hris/individual_in_directory.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module HRIS
66
# @see FinchAPI::Resources::HRIS::Directory#list
77
class IndividualInDirectory < FinchAPI::BaseModel
88
# @!attribute [r] id
9-
# A stable Finch id (UUID v4) for an individual in the company.
9+
# A stable Finch `id` (UUID v4) for an individual in the company.
1010
#
1111
# @return [String, nil]
1212
optional :id, String

rbi/lib/finch-api/models/hris/employment_data.rbi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module FinchAPI
44
module Models
55
module HRIS
66
class EmploymentData < FinchAPI::BaseModel
7-
# string A stable Finch `id` (UUID v4) for an individual in the company.
7+
# A stable Finch `id` (UUID v4) for an individual in the company.
88
sig { returns(T.nilable(String)) }
99
attr_reader :id
1010

rbi/lib/finch-api/models/hris/employment_data_response.rbi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ module FinchAPI
1616
sig { params(code: Integer).void }
1717
attr_writer :code
1818

19+
# A stable Finch `id` (UUID v4) for an individual in the company.
1920
sig { returns(T.nilable(String)) }
2021
attr_reader :individual_id
2122

rbi/lib/finch-api/models/hris/individual_in_directory.rbi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module FinchAPI
44
module Models
55
module HRIS
66
class IndividualInDirectory < FinchAPI::BaseModel
7-
# A stable Finch id (UUID v4) for an individual in the company.
7+
# A stable Finch `id` (UUID v4) for an individual in the company.
88
sig { returns(T.nilable(String)) }
99
attr_reader :id
1010

test/finch-api/resources/hris/pay_statements_test.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
class FinchAPI::Test::Resources::HRIS::PayStatementsTest < FinchAPI::Test::ResourceTest
66
def test_retrieve_many_required_params
7-
response = @finch.hris.pay_statements.retrieve_many(requests: [{payment_id: "string"}])
7+
response =
8+
@finch.hris.pay_statements.retrieve_many(requests: [{payment_id: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"}])
89

910
assert_pattern do
1011
response => FinchAPI::ResponsesPage

0 commit comments

Comments
 (0)