Skip to content

Commit 89691c7

Browse files
committed
Update structure type documentation and remove cash flow statement reference
- Modified the documentation for the `sync_detailed`, `sync`, `asyncio_detailed`, and `asyncio` functions to reflect the removal of "cash_flow_statement" from the `structure_type` argument, replacing it with "equity_statement". - Removed the "CASH_FLOW_STATEMENT" constant from the `CreateStructureRequestStructureType` enum to align with the updated documentation. These changes ensure consistency between the API documentation and the underlying model definitions.
1 parent b311d5c commit 89691c7

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎robosystems_client/api/ledger/get_statement.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def sync_detailed(
7474
Args:
7575
graph_id (str):
7676
report_id (str): Report definition ID
77-
structure_type (str): Structure type: income_statement, balance_sheet, cash_flow_statement
77+
structure_type (str): Structure type: income_statement, balance_sheet, equity_statement
7878
7979
Raises:
8080
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -113,7 +113,7 @@ def sync(
113113
Args:
114114
graph_id (str):
115115
report_id (str): Report definition ID
116-
structure_type (str): Structure type: income_statement, balance_sheet, cash_flow_statement
116+
structure_type (str): Structure type: income_statement, balance_sheet, equity_statement
117117
118118
Raises:
119119
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -147,7 +147,7 @@ async def asyncio_detailed(
147147
Args:
148148
graph_id (str):
149149
report_id (str): Report definition ID
150-
structure_type (str): Structure type: income_statement, balance_sheet, cash_flow_statement
150+
structure_type (str): Structure type: income_statement, balance_sheet, equity_statement
151151
152152
Raises:
153153
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -184,7 +184,7 @@ async def asyncio(
184184
Args:
185185
graph_id (str):
186186
report_id (str): Report definition ID
187-
structure_type (str): Structure type: income_statement, balance_sheet, cash_flow_statement
187+
structure_type (str): Structure type: income_statement, balance_sheet, equity_statement
188188
189189
Raises:
190190
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

‎robosystems_client/models/create_structure_request_structure_type.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
class CreateStructureRequestStructureType(str, Enum):
55
BALANCE_SHEET = "balance_sheet"
6-
CASH_FLOW_STATEMENT = "cash_flow_statement"
76
CHART_OF_ACCOUNTS = "chart_of_accounts"
87
COA_MAPPING = "coa_mapping"
98
CUSTOM = "custom"

0 commit comments

Comments
 (0)