Skip to content

Commit db14723

Browse files
feat(api): api update
1 parent 1f0346a commit db14723

File tree

7 files changed

+18
-4
lines changed

7 files changed

+18
-4
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-331df2398447990a86899b05ac569534b6a7e4ff1d73a319d57f67b34a201fb7.yml
3-
openapi_spec_hash: 6e57516524c0519e90213c0554b26ab4
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-2450f9bcc309174bb09e7cc75c3d873240626676782a6d0aa7578395adfa80a8.yml
3+
openapi_spec_hash: ce0eebc26042d65a7831455ca7e9c5a8
44
config_hash: 53778a0b839c4f6ad34fbba051f5e8a6

lib/finch_api/models/hris/pay_statement.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ module PaymentMethod
370370

371371
CHECK = :check
372372
DIRECT_DEPOSIT = :direct_deposit
373+
OTHER = :other
373374

374375
# @!method self.values
375376
# @return [Array<Symbol>]

lib/finch_api/models/sandbox/payment_create_params.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ module PaymentMethod
423423

424424
CHECK = :check
425425
DIRECT_DEPOSIT = :direct_deposit
426+
OTHER = :other
426427

427428
# @!method self.values
428429
# @return [Array<Symbol>]

rbi/finch_api/models/hris/pay_statement.rbi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,11 @@ module FinchAPI
822822
:direct_deposit,
823823
FinchAPI::HRIS::PayStatement::PaymentMethod::TaggedSymbol
824824
)
825+
OTHER =
826+
T.let(
827+
:other,
828+
FinchAPI::HRIS::PayStatement::PaymentMethod::TaggedSymbol
829+
)
825830

826831
sig do
827832
override.returns(

rbi/finch_api/models/sandbox/payment_create_params.rbi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,11 @@ module FinchAPI
955955
:direct_deposit,
956956
FinchAPI::Sandbox::PaymentCreateParams::PayStatement::PaymentMethod::TaggedSymbol
957957
)
958+
OTHER =
959+
T.let(
960+
:other,
961+
FinchAPI::Sandbox::PaymentCreateParams::PayStatement::PaymentMethod::TaggedSymbol
962+
)
958963

959964
sig do
960965
override.returns(

sig/finch_api/models/hris/pay_statement.rbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,14 @@ module FinchAPI
242242
end
243243
end
244244

245-
type payment_method = :check | :direct_deposit
245+
type payment_method = :check | :direct_deposit | :other
246246

247247
module PaymentMethod
248248
extend FinchAPI::Internal::Type::Enum
249249

250250
CHECK: :check
251251
DIRECT_DEPOSIT: :direct_deposit
252+
OTHER: :other
252253

253254
def self?.values: -> ::Array[FinchAPI::HRIS::PayStatement::payment_method]
254255
end

sig/finch_api/models/sandbox/payment_create_params.rbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,14 @@ module FinchAPI
275275
end
276276
end
277277

278-
type payment_method = :check | :direct_deposit
278+
type payment_method = :check | :direct_deposit | :other
279279

280280
module PaymentMethod
281281
extend FinchAPI::Internal::Type::Enum
282282

283283
CHECK: :check
284284
DIRECT_DEPOSIT: :direct_deposit
285+
OTHER: :other
285286

286287
def self?.values: -> ::Array[FinchAPI::Sandbox::PaymentCreateParams::PayStatement::payment_method]
287288
end

0 commit comments

Comments
 (0)