Skip to content

Commit 08a0a34

Browse files
committed
fix: Support unknown type in account.business_type
1 parent 624d71e commit 08a0a34

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/resources/generated/account.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2942,7 +2942,8 @@ pub enum AccountBusinessType {
29422942
GovernmentEntity,
29432943
Individual,
29442944
NonProfit,
2945-
SoleProp,
2945+
#[serde(other)]
2946+
Unknown,
29462947
}
29472948

29482949
impl AccountBusinessType {
@@ -2952,7 +2953,7 @@ impl AccountBusinessType {
29522953
AccountBusinessType::GovernmentEntity => "government_entity",
29532954
AccountBusinessType::Individual => "individual",
29542955
AccountBusinessType::NonProfit => "non_profit",
2955-
AccountBusinessType::SoleProp => "sole_prop",
2956+
AccountBusinessType::Unknown => "unknown",
29562957
}
29572958
}
29582959
}

0 commit comments

Comments
 (0)