Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/TransactionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **get_transactions_by_month**
> HybridTransactionsResponse get_transactions_by_month(budget_id, month, since_date=since_date, type=type, last_knowledge_of_server=last_knowledge_of_server)
> TransactionsResponse get_transactions_by_month(budget_id, month, since_date=since_date, type=type, last_knowledge_of_server=last_knowledge_of_server)

List transactions in month, excluding any pending transactions

Expand All @@ -538,7 +538,7 @@ Returns all transactions for a specified month

```python
import ynab
from ynab.models.hybrid_transactions_response import HybridTransactionsResponse
from ynab.models.transactions_response import TransactionsResponse
from ynab.rest import ApiException
from pprint import pprint

Expand Down Expand Up @@ -592,7 +592,7 @@ Name | Type | Description | Notes

### Return type

[**HybridTransactionsResponse**](HybridTransactionsResponse.md)
[**TransactionsResponse**](TransactionsResponse.md)

### Authorization

Expand Down
2 changes: 1 addition & 1 deletion open_api_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/HybridTransactionsResponse"
$ref: "#/components/schemas/TransactionsResponse"
"404":
description: No transactions were found
content:
Expand Down
10 changes: 5 additions & 5 deletions ynab/api/transactions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1925,7 +1925,7 @@ def get_transactions_by_month(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> HybridTransactionsResponse:
) -> TransactionsResponse:
"""List transactions in month, excluding any pending transactions

Returns all transactions for a specified month
Expand Down Expand Up @@ -1975,7 +1975,7 @@ def get_transactions_by_month(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "HybridTransactionsResponse",
'200': "TransactionsResponse",
'404': "ErrorResponse",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -2009,7 +2009,7 @@ def get_transactions_by_month_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[HybridTransactionsResponse]:
) -> ApiResponse[TransactionsResponse]:
"""List transactions in month, excluding any pending transactions

Returns all transactions for a specified month
Expand Down Expand Up @@ -2059,7 +2059,7 @@ def get_transactions_by_month_with_http_info(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "HybridTransactionsResponse",
'200': "TransactionsResponse",
'404': "ErrorResponse",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -2143,7 +2143,7 @@ def get_transactions_by_month_without_preload_content(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "HybridTransactionsResponse",
'200': "TransactionsResponse",
'404': "ErrorResponse",
}
response_data = self.api_client.call_api(
Expand Down