Skip to content

Commit d068c52

Browse files
feat(api): api update
1 parent a30971e commit d068c52

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 45
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-5f9c0770c8be0fa779cbb640c25043cc1d5514236b8d0d6791c822dd7e00ffe6.yml
3-
openapi_spec_hash: d8df70c1dc1ba1ebcd572c1fab58eec6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-b57bba4d2e9b4a64e1c8c3f037aad70e35a164bb1f3b5082948717b94d501a30.yml
3+
openapi_spec_hash: 7e111f64fb635d9dc76da7eaedd0296f
44
config_hash: 6d3585c0032e08d723d077d660fc8448

finch-java-core/src/main/kotlin/com/tryfinch/api/models/SupportedBenefit.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,13 +546,16 @@ private constructor(
546546

547547
@JvmField val PERCENT = of("percent")
548548

549+
@JvmField val TIERED = of("tiered")
550+
549551
@JvmStatic fun of(value: String) = CompanyContribution(JsonField.of(value))
550552
}
551553

552554
/** An enum containing [CompanyContribution]'s known values. */
553555
enum class Known {
554556
FIXED,
555557
PERCENT,
558+
TIERED,
556559
}
557560

558561
/**
@@ -567,6 +570,7 @@ private constructor(
567570
enum class Value {
568571
FIXED,
569572
PERCENT,
573+
TIERED,
570574
/**
571575
* An enum member indicating that [CompanyContribution] was instantiated with an unknown
572576
* value.
@@ -585,6 +589,7 @@ private constructor(
585589
when (this) {
586590
FIXED -> Value.FIXED
587591
PERCENT -> Value.PERCENT
592+
TIERED -> Value.TIERED
588593
else -> Value._UNKNOWN
589594
}
590595

@@ -600,6 +605,7 @@ private constructor(
600605
when (this) {
601606
FIXED -> Known.FIXED
602607
PERCENT -> Known.PERCENT
608+
TIERED -> Known.TIERED
603609
else -> throw FinchInvalidDataException("Unknown CompanyContribution: $value")
604610
}
605611

0 commit comments

Comments
 (0)