@@ -14,7 +14,7 @@ module FinchAPI
1414 description : String ,
1515 frequency : T . nilable ( FinchAPI ::Models ::HRIS ::BenefitFrequency ::OrSymbol ) ,
1616 type : T . nilable ( FinchAPI ::Models ::HRIS ::BenefitType ::OrSymbol ) ,
17- request_options : T . nilable ( T . any ( FinchAPI ::RequestOptions , FinchAPI :: Internal :: AnyHash ) )
17+ request_options : FinchAPI ::RequestOpts
1818 )
1919 . returns ( FinchAPI ::Models ::HRIS ::CreateCompanyBenefitsResponse )
2020 end
@@ -31,21 +31,14 @@ module FinchAPI
3131 ) ; end
3232 # Lists deductions and contributions information for a given item
3333 sig do
34- params (
35- benefit_id : String ,
36- request_options : T . nilable ( T . any ( FinchAPI ::RequestOptions , FinchAPI ::Internal ::AnyHash ) )
37- )
34+ params ( benefit_id : String , request_options : FinchAPI ::RequestOpts )
3835 . returns ( FinchAPI ::Models ::HRIS ::CompanyBenefit )
3936 end
4037 def retrieve ( benefit_id , request_options : { } ) ; end
4138
4239 # Updates an existing company-wide deduction or contribution
4340 sig do
44- params (
45- benefit_id : String ,
46- description : String ,
47- request_options : T . nilable ( T . any ( FinchAPI ::RequestOptions , FinchAPI ::Internal ::AnyHash ) )
48- )
41+ params ( benefit_id : String , description : String , request_options : FinchAPI ::RequestOpts )
4942 . returns ( FinchAPI ::Models ::HRIS ::UpdateCompanyBenefitResponse )
5043 end
5144 def update (
@@ -56,14 +49,14 @@ module FinchAPI
5649 ) ; end
5750 # List all company-wide deductions and contributions.
5851 sig do
59- params ( request_options : T . nilable ( T . any ( FinchAPI ::RequestOptions , FinchAPI :: Internal :: AnyHash ) ) )
52+ params ( request_options : FinchAPI ::RequestOpts )
6053 . returns ( FinchAPI ::Internal ::SinglePage [ FinchAPI ::Models ::HRIS ::CompanyBenefit ] )
6154 end
6255 def list ( request_options : { } ) ; end
6356
6457 # Get deductions metadata
6558 sig do
66- params ( request_options : T . nilable ( T . any ( FinchAPI ::RequestOptions , FinchAPI :: Internal :: AnyHash ) ) )
59+ params ( request_options : FinchAPI ::RequestOpts )
6760 . returns ( FinchAPI ::Internal ::SinglePage [ FinchAPI ::Models ::HRIS ::BenefitListSupportedBenefitsResponse ] )
6861 end
6962 def list_supported_benefits ( request_options : { } ) ; end
0 commit comments