Skip to content

Commit 13993e5

Browse files
committed
Generate against server v1.83.0
1 parent 633360c commit 13993e5

68 files changed

Lines changed: 4271 additions & 154 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.gitignore
22
.rspec
33
docs/Account.md
4+
docs/AccountBase.md
45
docs/AccountResponse.md
56
docs/AccountResponseData.md
67
docs/AccountType.md
@@ -15,6 +16,7 @@ docs/CategoriesApi.md
1516
docs/CategoriesResponse.md
1617
docs/CategoriesResponseData.md
1718
docs/Category.md
19+
docs/CategoryBase.md
1820
docs/CategoryGroup.md
1921
docs/CategoryGroupWithCategories.md
2022
docs/CategoryResponse.md
@@ -29,18 +31,21 @@ docs/HybridTransaction.md
2931
docs/HybridTransactionsResponse.md
3032
docs/HybridTransactionsResponseData.md
3133
docs/MoneyMovement.md
34+
docs/MoneyMovementBase.md
3235
docs/MoneyMovementGroup.md
3336
docs/MoneyMovementGroupsResponse.md
3437
docs/MoneyMovementGroupsResponseData.md
3538
docs/MoneyMovementsApi.md
3639
docs/MoneyMovementsResponse.md
3740
docs/MoneyMovementsResponseData.md
3841
docs/MonthDetail.md
42+
docs/MonthDetailBase.md
3943
docs/MonthDetailResponse.md
4044
docs/MonthDetailResponseData.md
4145
docs/MonthSummariesResponse.md
4246
docs/MonthSummariesResponseData.md
4347
docs/MonthSummary.md
48+
docs/MonthSummaryBase.md
4449
docs/MonthsApi.md
4550
docs/NewCategory.md
4651
docs/NewTransaction.md
@@ -74,11 +79,14 @@ docs/PlansApi.md
7479
docs/PostAccountWrapper.md
7580
docs/PostCategoryGroupWrapper.md
7681
docs/PostCategoryWrapper.md
82+
docs/PostPayee.md
83+
docs/PostPayeeWrapper.md
7784
docs/PostScheduledTransactionWrapper.md
7885
docs/PostTransactionsWrapper.md
7986
docs/PutScheduledTransactionWrapper.md
8087
docs/PutTransactionWrapper.md
8188
docs/SaveAccount.md
89+
docs/SaveAccountType.md
8290
docs/SaveCategory.md
8391
docs/SaveCategoryGroup.md
8492
docs/SaveCategoryGroupResponse.md
@@ -96,21 +104,25 @@ docs/SaveTransactionWithOptionalFields.md
96104
docs/SaveTransactionsResponse.md
97105
docs/SaveTransactionsResponseData.md
98106
docs/ScheduledSubTransaction.md
107+
docs/ScheduledSubTransactionBase.md
99108
docs/ScheduledTransactionDetail.md
100109
docs/ScheduledTransactionFrequency.md
101110
docs/ScheduledTransactionResponse.md
102111
docs/ScheduledTransactionResponseData.md
103112
docs/ScheduledTransactionSummary.md
113+
docs/ScheduledTransactionSummaryBase.md
104114
docs/ScheduledTransactionsApi.md
105115
docs/ScheduledTransactionsResponse.md
106116
docs/ScheduledTransactionsResponseData.md
107117
docs/SubTransaction.md
118+
docs/SubTransactionBase.md
108119
docs/TransactionClearedStatus.md
109120
docs/TransactionDetail.md
110121
docs/TransactionFlagColor.md
111122
docs/TransactionResponse.md
112123
docs/TransactionResponseData.md
113124
docs/TransactionSummary.md
125+
docs/TransactionSummaryBase.md
114126
docs/TransactionsApi.md
115127
docs/TransactionsImportResponse.md
116128
docs/TransactionsImportResponseData.md
@@ -135,6 +147,7 @@ lib/ynab/api_client.rb
135147
lib/ynab/api_model_base.rb
136148
lib/ynab/configuration.rb
137149
lib/ynab/models/account.rb
150+
lib/ynab/models/account_base.rb
138151
lib/ynab/models/account_response.rb
139152
lib/ynab/models/account_response_data.rb
140153
lib/ynab/models/account_type.rb
@@ -147,6 +160,7 @@ lib/ynab/models/bulk_transactions.rb
147160
lib/ynab/models/categories_response.rb
148161
lib/ynab/models/categories_response_data.rb
149162
lib/ynab/models/category.rb
163+
lib/ynab/models/category_base.rb
150164
lib/ynab/models/category_group.rb
151165
lib/ynab/models/category_group_with_categories.rb
152166
lib/ynab/models/category_response.rb
@@ -161,17 +175,20 @@ lib/ynab/models/hybrid_transaction.rb
161175
lib/ynab/models/hybrid_transactions_response.rb
162176
lib/ynab/models/hybrid_transactions_response_data.rb
163177
lib/ynab/models/money_movement.rb
178+
lib/ynab/models/money_movement_base.rb
164179
lib/ynab/models/money_movement_group.rb
165180
lib/ynab/models/money_movement_groups_response.rb
166181
lib/ynab/models/money_movement_groups_response_data.rb
167182
lib/ynab/models/money_movements_response.rb
168183
lib/ynab/models/money_movements_response_data.rb
169184
lib/ynab/models/month_detail.rb
185+
lib/ynab/models/month_detail_base.rb
170186
lib/ynab/models/month_detail_response.rb
171187
lib/ynab/models/month_detail_response_data.rb
172188
lib/ynab/models/month_summaries_response.rb
173189
lib/ynab/models/month_summaries_response_data.rb
174190
lib/ynab/models/month_summary.rb
191+
lib/ynab/models/month_summary_base.rb
175192
lib/ynab/models/new_category.rb
176193
lib/ynab/models/new_transaction.rb
177194
lib/ynab/models/patch_category_group_wrapper.rb
@@ -201,11 +218,14 @@ lib/ynab/models/plan_summary_response_data.rb
201218
lib/ynab/models/post_account_wrapper.rb
202219
lib/ynab/models/post_category_group_wrapper.rb
203220
lib/ynab/models/post_category_wrapper.rb
221+
lib/ynab/models/post_payee.rb
222+
lib/ynab/models/post_payee_wrapper.rb
204223
lib/ynab/models/post_scheduled_transaction_wrapper.rb
205224
lib/ynab/models/post_transactions_wrapper.rb
206225
lib/ynab/models/put_scheduled_transaction_wrapper.rb
207226
lib/ynab/models/put_transaction_wrapper.rb
208227
lib/ynab/models/save_account.rb
228+
lib/ynab/models/save_account_type.rb
209229
lib/ynab/models/save_category.rb
210230
lib/ynab/models/save_category_group.rb
211231
lib/ynab/models/save_category_group_response.rb
@@ -223,20 +243,24 @@ lib/ynab/models/save_transaction_with_optional_fields.rb
223243
lib/ynab/models/save_transactions_response.rb
224244
lib/ynab/models/save_transactions_response_data.rb
225245
lib/ynab/models/scheduled_sub_transaction.rb
246+
lib/ynab/models/scheduled_sub_transaction_base.rb
226247
lib/ynab/models/scheduled_transaction_detail.rb
227248
lib/ynab/models/scheduled_transaction_frequency.rb
228249
lib/ynab/models/scheduled_transaction_response.rb
229250
lib/ynab/models/scheduled_transaction_response_data.rb
230251
lib/ynab/models/scheduled_transaction_summary.rb
252+
lib/ynab/models/scheduled_transaction_summary_base.rb
231253
lib/ynab/models/scheduled_transactions_response.rb
232254
lib/ynab/models/scheduled_transactions_response_data.rb
233255
lib/ynab/models/sub_transaction.rb
256+
lib/ynab/models/sub_transaction_base.rb
234257
lib/ynab/models/transaction_cleared_status.rb
235258
lib/ynab/models/transaction_detail.rb
236259
lib/ynab/models/transaction_flag_color.rb
237260
lib/ynab/models/transaction_response.rb
238261
lib/ynab/models/transaction_response_data.rb
239262
lib/ynab/models/transaction_summary.rb
263+
lib/ynab/models/transaction_summary_base.rb
240264
lib/ynab/models/transactions_import_response.rb
241265
lib/ynab/models/transactions_import_response_data.rb
242266
lib/ynab/models/transactions_response.rb

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.20.0
1+
7.21.0

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
ynab (4.9.0)
4+
ynab (5.0.0)
55
typhoeus (~> 1.0, >= 1.0.1)
66

77
GEM

docs/Account.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,10 @@
2222
| **debt_minimum_payments** | **Hash<String, Integer>** | | [optional] |
2323
| **debt_escrow_amounts** | **Hash<String, Integer>** | | [optional] |
2424
| **deleted** | **Boolean** | Whether or not the account has been deleted. Deleted accounts will only be included in delta requests. | |
25+
| **balance_formatted** | **String** | The current available balance of the account formatted in the plan's currency format | [optional] |
26+
| **balance_currency** | **Float** | The current available balance of the account as a decimal currency amount | [optional] |
27+
| **cleared_balance_formatted** | **String** | The current cleared balance of the account formatted in the plan's currency format | [optional] |
28+
| **cleared_balance_currency** | **Float** | The current cleared balance of the account as a decimal currency amount | [optional] |
29+
| **uncleared_balance_formatted** | **String** | The current uncleared balance of the account formatted in the plan's currency format | [optional] |
30+
| **uncleared_balance_currency** | **Float** | The current uncleared balance of the account as a decimal currency amount | [optional] |
2531

docs/AccountBase.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# YNAB::AccountBase
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **id** | **String** | | |
8+
| **name** | **String** | | |
9+
| **type** | [**AccountType**](AccountType.md) | | |
10+
| **on_budget** | **Boolean** | Whether this account is \"on budget\" or not | |
11+
| **closed** | **Boolean** | Whether this account is closed or not | |
12+
| **note** | **String** | | [optional] |
13+
| **balance** | **Integer** | The current available balance of the account in milliunits format | |
14+
| **cleared_balance** | **Integer** | The current cleared balance of the account in milliunits format | |
15+
| **uncleared_balance** | **Integer** | The current uncleared balance of the account in milliunits format | |
16+
| **transfer_payee_id** | **String** | The payee id which should be used when transferring to this account | |
17+
| **direct_import_linked** | **Boolean** | Whether or not the account is linked to a financial institution for automatic transaction import. | [optional] |
18+
| **direct_import_in_error** | **Boolean** | If an account linked to a financial institution (direct_import_linked=true) and the linked connection is not in a healthy state, this will be true. | [optional] |
19+
| **last_reconciled_at** | **Time** | A date/time specifying when the account was last reconciled. | [optional] |
20+
| **debt_original_balance** | **Integer** | This field is deprecated and will always be null. | [optional] |
21+
| **debt_interest_rates** | **Hash<String, Integer>** | | [optional] |
22+
| **debt_minimum_payments** | **Hash<String, Integer>** | | [optional] |
23+
| **debt_escrow_amounts** | **Hash<String, Integer>** | | [optional] |
24+
| **deleted** | **Boolean** | Whether or not the account has been deleted. Deleted accounts will only be included in delta requests. | |
25+

docs/Category.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,18 @@
3030
| **goal_overall_left** | **Integer** | The amount of funding still needed to complete the goal within the current goal period. | [optional] |
3131
| **goal_snoozed_at** | **Time** | The date/time the goal was snoozed. If the goal is not snoozed, this will be null. | [optional] |
3232
| **deleted** | **Boolean** | Whether or not the category has been deleted. Deleted categories will only be included in delta requests. | |
33+
| **balance_formatted** | **String** | Available balance of the category formatted in the plan's currency format | [optional] |
34+
| **balance_currency** | **Float** | Available balance of the category as a decimal currency amount | [optional] |
35+
| **activity_formatted** | **String** | Activity of the category formatted in the plan's currency format | [optional] |
36+
| **activity_currency** | **Float** | Activity of the category as a decimal currency amount | [optional] |
37+
| **budgeted_formatted** | **String** | Assigned (budgeted) amount of the category formatted in the plan's currency format | [optional] |
38+
| **budgeted_currency** | **Float** | Assigned (budgeted) amount of the category as a decimal currency amount | [optional] |
39+
| **goal_target_formatted** | **String** | The goal target amount formatted in the plan's currency format | [optional] |
40+
| **goal_target_currency** | **Float** | The goal target amount as a decimal currency amount | [optional] |
41+
| **goal_under_funded_formatted** | **String** | The goal underfunded amount formatted in the plan's currency format | [optional] |
42+
| **goal_under_funded_currency** | **Float** | The goal underfunded amount as a decimal currency amount | [optional] |
43+
| **goal_overall_funded_formatted** | **String** | The total amount funded towards the goal formatted in the plan's currency format | [optional] |
44+
| **goal_overall_funded_currency** | **Float** | The total amount funded towards the goal as a decimal currency amount | [optional] |
45+
| **goal_overall_left_formatted** | **String** | The amount of funding still needed to complete the goal formatted in the plan's currency format | [optional] |
46+
| **goal_overall_left_currency** | **Float** | The amount of funding still needed to complete the goal as a decimal currency amount | [optional] |
3347

docs/CategoryBase.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# YNAB::CategoryBase
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **id** | **String** | | |
8+
| **category_group_id** | **String** | | |
9+
| **category_group_name** | **String** | | [optional] |
10+
| **name** | **String** | | |
11+
| **hidden** | **Boolean** | Whether or not the category is hidden | |
12+
| **original_category_group_id** | **String** | DEPRECATED: No longer used. Value will always be null. | [optional] |
13+
| **note** | **String** | | [optional] |
14+
| **budgeted** | **Integer** | Assigned (budgeted) amount in milliunits format | |
15+
| **activity** | **Integer** | Activity amount in milliunits format | |
16+
| **balance** | **Integer** | Available balance in milliunits format | |
17+
| **goal_type** | **String** | The type of goal, if the category has a goal (TB='Target Category Balance', TBD='Target Category Balance by Date', MF='Monthly Funding', NEED='Plan Your Spending') | [optional] |
18+
| **goal_needs_whole_amount** | **Boolean** | Indicates the monthly rollover behavior for \"NEED\"-type goals. When \"true\", the goal will always ask for the target amount in the new month (\"Set Aside\"). When \"false\", previous month category funding is used (\"Refill\"). For other goal types, this field will be null. | [optional] |
19+
| **goal_day** | **Integer** | A day offset modifier for the goal's due date. When goal_cadence is 2 (Weekly), this value specifies which day of the week the goal is due (0 = Sunday, 6 = Saturday). Otherwise, this value specifies which day of the month the goal is due (1 = 1st, 31 = 31st, null = Last day of Month). | [optional] |
20+
| **goal_cadence** | **Integer** | The goal cadence. Value in range 0-14. There are two subsets of these values which behave differently. For values 0, 1, 2, and 13, the goal's due date repeats every goal_cadence * goal_cadence_frequency, where 0 = None, 1 = Monthly, 2 = Weekly, and 13 = Yearly. For example, goal_cadence 1 with goal_cadence_frequency 2 means the goal is due every other month. For values 3-12 and 14, goal_cadence_frequency is ignored and the goal's due date repeats every goal_cadence, where 3 = Every 2 Months, 4 = Every 3 Months, ..., 12 = Every 11 Months, and 14 = Every 2 Years. | [optional] |
21+
| **goal_cadence_frequency** | **Integer** | The goal cadence frequency. When goal_cadence is 0, 1, 2, or 13, a goal's due date repeats every goal_cadence * goal_cadence_frequency. For example, goal_cadence 1 with goal_cadence_frequency 2 means the goal is due every other month. When goal_cadence is 3-12 or 14, goal_cadence_frequency is ignored. | [optional] |
22+
| **goal_creation_month** | **Date** | The month a goal was created | [optional] |
23+
| **goal_target** | **Integer** | The goal target amount in milliunits | [optional] |
24+
| **goal_target_month** | **Date** | DEPRECATED: No longer used. Use `goal_target_date` instead. | [optional] |
25+
| **goal_target_date** | **Date** | The target date for the goal to be completed. Only some goal types specify this date. | [optional] |
26+
| **goal_percentage_complete** | **Integer** | The percentage completion of the goal | [optional] |
27+
| **goal_months_to_budget** | **Integer** | The number of months, including the current month, left in the current goal period. | [optional] |
28+
| **goal_under_funded** | **Integer** | The amount of funding still needed in the current month to stay on track towards completing the goal within the current goal period. This amount will generally correspond to the 'Underfunded' amount in the web and mobile clients except when viewing a category with a Needed for Spending Goal in a future month. The web and mobile clients will ignore any funding from a prior goal period when viewing category with a Needed for Spending Goal in a future month. | [optional] |
29+
| **goal_overall_funded** | **Integer** | The total amount funded towards the goal within the current goal period. | [optional] |
30+
| **goal_overall_left** | **Integer** | The amount of funding still needed to complete the goal within the current goal period. | [optional] |
31+
| **goal_snoozed_at** | **Time** | The date/time the goal was snoozed. If the goal is not snoozed, this will be null. | [optional] |
32+
| **deleted** | **Boolean** | Whether or not the category has been deleted. Deleted categories will only be included in delta requests. | |
33+

docs/ExistingCategory.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
| **name** | **String** | | [optional] |
88
| **note** | **String** | | [optional] |
99
| **category_group_id** | **String** | | [optional] |
10-
| **goal_target** | **Integer** | The goal target amount in milliunits format. If value is specified and goal has not already been configured for category, a monthly 'Needed for Spending' goal will be created for the category with this target amount. | [optional] |
10+
| **goal_target** | **Integer** | The goal target amount in milliunits format. If value is specified and goal has not already been configured for category, a monthly goal will be created for the category with this target amount. If goal_type is not specified, it will default to 'NEED' or 'MF' for Credit Card Payment categories. | [optional] |
1111
| **goal_target_date** | **Date** | The goal target date in ISO format (e.g. 2016-12-01). | [optional] |
12+
| **goal_needs_whole_amount** | **Boolean** | Whether the goal requires the full target amount each period. Only supported for 'NEED' goals. When true, the goal is configured as 'Set aside another...'. When false, the goal is configured as 'Refill up to...'. | [optional] |
1213

docs/HybridTransaction.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
| **import_payee_name_original** | **String** | If the transaction was imported, the original payee name as it appeared on the statement | [optional] |
2424
| **debt_transaction_type** | **String** | If the transaction is a debt/loan account transaction, the type of transaction | [optional] |
2525
| **deleted** | **Boolean** | Whether or not the transaction has been deleted. Deleted transactions will only be included in delta requests. | |
26+
| **amount_formatted** | **String** | The transaction amount formatted in the plan's currency format | [optional] |
27+
| **amount_currency** | **Float** | The transaction amount as a decimal currency amount | [optional] |
2628
| **type** | **String** | Whether the hybrid transaction represents a regular transaction or a subtransaction | |
2729
| **parent_transaction_id** | **String** | For subtransaction types, this is the id of the parent transaction. For transaction types, this id will be always be null. | [optional] |
2830
| **account_name** | **String** | | |

docs/MoneyMovement.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@
1313
| **from_category_id** | **String** | The id of the category the money was moved from | [optional] |
1414
| **to_category_id** | **String** | The id of the category the money was moved to | [optional] |
1515
| **amount** | **Integer** | The amount of the money movement in milliunits format | |
16+
| **amount_formatted** | **String** | The money movement amount formatted in the plan's currency format | [optional] |
17+
| **amount_currency** | **Float** | The money movement amount as a decimal currency amount | [optional] |
1618

0 commit comments

Comments
 (0)