ynab 4.9.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/Rakefile +2 -2
  4. data/docs/Account.md +6 -0
  5. data/docs/AccountBase.md +25 -0
  6. data/docs/AccountsApi.md +3 -3
  7. data/docs/CategoriesApi.md +8 -8
  8. data/docs/Category.md +14 -0
  9. data/docs/CategoryBase.md +33 -0
  10. data/docs/ExistingCategory.md +2 -1
  11. data/docs/HybridTransaction.md +2 -0
  12. data/docs/MoneyMovement.md +2 -0
  13. data/docs/MoneyMovementBase.md +16 -0
  14. data/docs/MoneyMovementsApi.md +4 -4
  15. data/docs/MonthDetail.md +8 -0
  16. data/docs/MonthDetailBase.md +16 -0
  17. data/docs/MonthSummary.md +8 -0
  18. data/docs/MonthSummaryBase.md +15 -0
  19. data/docs/MonthsApi.md +2 -2
  20. data/docs/NewCategory.md +2 -1
  21. data/docs/PayeeLocationsApi.md +3 -3
  22. data/docs/PayeesApi.md +24 -3
  23. data/docs/PlanDetail.md +7 -7
  24. data/docs/PlanDetailResponseData.md +1 -1
  25. data/docs/PlanSummaryResponseData.md +2 -2
  26. data/docs/PlansApi.md +3 -3
  27. data/docs/PostPayee.md +8 -0
  28. data/docs/PostPayeeWrapper.md +8 -0
  29. data/docs/SaveAccount.md +1 -1
  30. data/docs/SaveAccountType.md +7 -0
  31. data/docs/SaveCategory.md +2 -1
  32. data/docs/SavePayee.md +1 -1
  33. data/docs/ScheduledSubTransaction.md +2 -0
  34. data/docs/ScheduledSubTransactionBase.md +17 -0
  35. data/docs/ScheduledTransactionDetail.md +2 -0
  36. data/docs/ScheduledTransactionSummary.md +2 -0
  37. data/docs/ScheduledTransactionSummaryBase.md +20 -0
  38. data/docs/ScheduledTransactionsApi.md +5 -5
  39. data/docs/SubTransaction.md +2 -0
  40. data/docs/SubTransactionBase.md +18 -0
  41. data/docs/TransactionDetail.md +2 -0
  42. data/docs/TransactionSummary.md +2 -0
  43. data/docs/TransactionSummaryBase.md +26 -0
  44. data/docs/TransactionsApi.md +11 -11
  45. data/lib/ynab/api/accounts_api.rb +3 -3
  46. data/lib/ynab/api/categories_api.rb +8 -8
  47. data/lib/ynab/api/deprecated_api.rb +3 -3
  48. data/lib/ynab/api/money_movements_api.rb +4 -4
  49. data/lib/ynab/api/months_api.rb +2 -2
  50. data/lib/ynab/api/payee_locations_api.rb +3 -3
  51. data/lib/ynab/api/payees_api.rb +77 -3
  52. data/lib/ynab/api/plans_api.rb +3 -3
  53. data/lib/ynab/api/scheduled_transactions_api.rb +5 -5
  54. data/lib/ynab/api/transactions_api.rb +11 -11
  55. data/lib/ynab/models/account.rb +72 -8
  56. data/lib/ynab/models/account_base.rb +340 -0
  57. data/lib/ynab/models/category.rb +159 -20
  58. data/lib/ynab/models/category_base.rb +436 -0
  59. data/lib/ynab/models/existing_category.rb +15 -5
  60. data/lib/ynab/models/hybrid_transaction.rb +21 -1
  61. data/lib/ynab/models/money_movement.rb +31 -11
  62. data/lib/ynab/models/money_movement_base.rb +223 -0
  63. data/lib/ynab/models/month_detail.rb +81 -1
  64. data/lib/ynab/models/month_detail_base.rb +230 -0
  65. data/lib/ynab/models/month_summary.rb +91 -6
  66. data/lib/ynab/models/month_summary_base.rb +212 -0
  67. data/lib/ynab/models/new_category.rb +15 -5
  68. data/lib/ynab/models/plan_detail.rb +7 -7
  69. data/lib/ynab/models/plan_detail_response_data.rb +8 -8
  70. data/lib/ynab/models/plan_summary_response_data.rb +15 -15
  71. data/lib/ynab/models/post_payee.rb +148 -0
  72. data/lib/ynab/models/post_payee_wrapper.rb +136 -0
  73. data/lib/ynab/models/save_account.rb +1 -1
  74. data/lib/ynab/models/save_account_type.rb +45 -0
  75. data/lib/ynab/models/save_category.rb +17 -6
  76. data/lib/ynab/models/save_payee.rb +1 -1
  77. data/lib/ynab/models/scheduled_sub_transaction.rb +31 -10
  78. data/lib/ynab/models/scheduled_sub_transaction_base.rb +229 -0
  79. data/lib/ynab/models/scheduled_transaction_detail.rb +21 -1
  80. data/lib/ynab/models/scheduled_transaction_summary.rb +31 -9
  81. data/lib/ynab/models/scheduled_transaction_summary_base.rb +292 -0
  82. data/lib/ynab/models/sub_transaction.rb +31 -11
  83. data/lib/ynab/models/sub_transaction_base.rb +240 -0
  84. data/lib/ynab/models/transaction_detail.rb +21 -1
  85. data/lib/ynab/models/transaction_summary.rb +31 -14
  86. data/lib/ynab/models/transaction_summary_base.rb +358 -0
  87. data/lib/ynab/version.rb +1 -1
  88. data/lib/ynab.rb +12 -0
  89. data/open_api_spec.yaml +330 -56
  90. data/spec/api/accounts_spec.rb +3 -3
  91. data/spec/api/categories_spec.rb +3 -3
  92. data/spec/api/months_spec.rb +2 -2
  93. data/spec/api/payee_locations_spec.rb +2 -2
  94. data/spec/api/payees_spec.rb +2 -2
  95. data/spec/api/plans_spec.rb +9 -9
  96. data/spec/api/scheduled_transactions_spec.rb +3 -3
  97. data/spec/api/transactions_spec.rb +11 -11
  98. data/spec/fixtures/vcr_cassettes/account.yml +2 -2
  99. data/spec/fixtures/vcr_cassettes/accounts.yml +2 -2
  100. data/spec/fixtures/vcr_cassettes/accounts_unauthorized.yml +2 -2
  101. data/spec/fixtures/vcr_cassettes/bulk_transactions.yml +2 -2
  102. data/spec/fixtures/vcr_cassettes/categories.yml +2 -2
  103. data/spec/fixtures/vcr_cassettes/categories_unauthorized.yml +2 -2
  104. data/spec/fixtures/vcr_cassettes/category.yml +2 -2
  105. data/spec/fixtures/vcr_cassettes/category_transactions.yml +2 -2
  106. data/spec/fixtures/vcr_cassettes/create_account.yml +2 -2
  107. data/spec/fixtures/vcr_cassettes/create_scheduled_transaction.yml +2 -2
  108. data/spec/fixtures/vcr_cassettes/create_transaction.yml +2 -2
  109. data/spec/fixtures/vcr_cassettes/create_transactions.yml +2 -2
  110. data/spec/fixtures/vcr_cassettes/import_transactions.yml +2 -2
  111. data/spec/fixtures/vcr_cassettes/month.yml +2 -2
  112. data/spec/fixtures/vcr_cassettes/month_transactions.yml +2 -2
  113. data/spec/fixtures/vcr_cassettes/months.yml +2 -2
  114. data/spec/fixtures/vcr_cassettes/months_unauthorized.yml +2 -2
  115. data/spec/fixtures/vcr_cassettes/multiple_transactions.yml +2 -2
  116. data/spec/fixtures/vcr_cassettes/patch_month_category.yml +2 -2
  117. data/spec/fixtures/vcr_cassettes/payee.yml +2 -2
  118. data/spec/fixtures/vcr_cassettes/payee_location.yml +2 -2
  119. data/spec/fixtures/vcr_cassettes/payee_locations.yml +2 -2
  120. data/spec/fixtures/vcr_cassettes/payee_locations_unauthorized.yml +2 -2
  121. data/spec/fixtures/vcr_cassettes/payee_transactions.yml +2 -2
  122. data/spec/fixtures/vcr_cassettes/payees.yml +2 -2
  123. data/spec/fixtures/vcr_cassettes/payees_unauthorized.yml +2 -2
  124. data/spec/fixtures/vcr_cassettes/{budget.yml → plan.yml} +3 -3
  125. data/spec/fixtures/vcr_cassettes/plans.yml +3 -3
  126. data/spec/fixtures/vcr_cassettes/plans_unauthorized.yml +2 -2
  127. data/spec/fixtures/vcr_cassettes/scheduled_transaction.yml +2 -2
  128. data/spec/fixtures/vcr_cassettes/scheduled_transactions.yml +2 -2
  129. data/spec/fixtures/vcr_cassettes/scheduled_transactions_unauthorized.yml +2 -2
  130. data/spec/fixtures/vcr_cassettes/transaction.yml +2 -2
  131. data/spec/fixtures/vcr_cassettes/transactions.yml +2 -2
  132. data/spec/fixtures/vcr_cassettes/transactions_invalid_flags.yml +2 -2
  133. data/spec/fixtures/vcr_cassettes/transactions_unauthorized.yml +2 -2
  134. data/spec/fixtures/vcr_cassettes/update_transaction.yml +2 -2
  135. data/spec/fixtures/vcr_cassettes/update_transactions.yml +2 -2
  136. data/ynab.gemspec +1 -1
  137. metadata +29 -9
  138. data/spec/fixtures/vcr_cassettes/budgets.yml +0 -49
  139. data/spec/fixtures/vcr_cassettes/budgets_unauthorized.yml +0 -49
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22a62b958f408a681c3a96215a85f8645a98be22904c3be8f4ab6b3cf1a381b7
4
- data.tar.gz: d36e3cb9fe1a1df2f1b362c570b194d4e885be50b9a8355c6867c2fe9a37d4b1
3
+ metadata.gz: 176de7d09ec90d7defd49ae9ff687dc80c34d1c86b26c66fb6757f09061d745e
4
+ data.tar.gz: d6786245768c2075538fb946c6805ffd90ad550597a70d07aa2a263792b7a6d3
5
5
  SHA512:
6
- metadata.gz: 353884a6f7e09f5ed7989cc4d2f975148cc164bd7476846f85ac5b59a1ae56e79ab60cf3713c6aa8737994d194164133358fe4ab42c8833dd9033a86335246ca
7
- data.tar.gz: d8a23efb4ec3c2c7826f12a7ffd64220206d50a6376af1731e458366b366d15abfb5778635c66abd55b010d317b96ad293c860a6da47c3a183674f992590caac
6
+ metadata.gz: 4b63b0a402ad7952e3991685ae5f74179c9f41df73b6f43bdfb7d94575067cfff9110a352db98a9ce2523c98bb69925c3265a7309717f7ea2f7d567a9d1e5377
7
+ data.tar.gz: ce834fb610f9b0a44197d2b515dbad5af00ad895c30b0caa025f9f3a5b7afea754fb73bf3c2f9858cbad48a57c4f76c720d153ee6274195193fd08508d277065
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ynab (3.9.0)
4
+ ynab (5.0.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -11,7 +11,7 @@ GEM
11
11
  diff-lcs (1.3)
12
12
  ethon (0.16.0)
13
13
  ffi (>= 1.15.0)
14
- ffi (1.15.5)
14
+ ffi (1.17.3)
15
15
  rake (13.0.1)
16
16
  rspec (3.8.0)
17
17
  rspec-core (~> 3.8.0)
data/Rakefile CHANGED
@@ -34,9 +34,9 @@ task :bump_version_number, [:version_type] do |t, args|
34
34
  # Increment version number
35
35
  case args[:version_type]
36
36
  when 'major'
37
- new_version = current_version.split('.').tap { |v| v[0] = v[0].to_i + 1 }.join('.')
37
+ new_version = current_version.split('.').tap { |v| v[0] = v[0].to_i + 1; v[1] = 0; v[2] = 0 }.join('.')
38
38
  when 'minor'
39
- new_version = current_version.split('.').tap { |v| v[1] = v[1].to_i + 1 }.join('.')
39
+ new_version = current_version.split('.').tap { |v| v[1] = v[1].to_i + 1; v[2] = 0 }.join('.')
40
40
  when 'patch'
41
41
  new_version = current_version.split('.').tap { |v| v[2] = v[2].to_i + 1 }.join('.')
42
42
  else
data/docs/Account.md CHANGED
@@ -22,4 +22,10 @@
22
22
  | **debt_minimum_payments** | **Hash<String, Integer>** | | [optional] |
23
23
  | **debt_escrow_amounts** | **Hash<String, Integer>** | | [optional] |
24
24
  | **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] |
25
31
 
@@ -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
+
data/docs/AccountsApi.md CHANGED
@@ -4,9 +4,9 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**create_account**](AccountsApi.md#create_account) | **POST** /budgets/{plan_id}/accounts | Create an account |
8
- | [**get_account_by_id**](AccountsApi.md#get_account_by_id) | **GET** /budgets/{plan_id}/accounts/{account_id} | Get an account |
9
- | [**get_accounts**](AccountsApi.md#get_accounts) | **GET** /budgets/{plan_id}/accounts | Get all accounts |
7
+ | [**create_account**](AccountsApi.md#create_account) | **POST** /plans/{plan_id}/accounts | Create an account |
8
+ | [**get_account_by_id**](AccountsApi.md#get_account_by_id) | **GET** /plans/{plan_id}/accounts/{account_id} | Get an account |
9
+ | [**get_accounts**](AccountsApi.md#get_accounts) | **GET** /plans/{plan_id}/accounts | Get all accounts |
10
10
 
11
11
 
12
12
  ## create_account
@@ -4,14 +4,14 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**create_category**](CategoriesApi.md#create_category) | **POST** /budgets/{plan_id}/categories | Create a category |
8
- | [**create_category_group**](CategoriesApi.md#create_category_group) | **POST** /budgets/{plan_id}/category_groups | Create a category group |
9
- | [**get_categories**](CategoriesApi.md#get_categories) | **GET** /budgets/{plan_id}/categories | Get all categories |
10
- | [**get_category_by_id**](CategoriesApi.md#get_category_by_id) | **GET** /budgets/{plan_id}/categories/{category_id} | Get a category |
11
- | [**get_month_category_by_id**](CategoriesApi.md#get_month_category_by_id) | **GET** /budgets/{plan_id}/months/{month}/categories/{category_id} | Get a category for a specific plan month |
12
- | [**update_category**](CategoriesApi.md#update_category) | **PATCH** /budgets/{plan_id}/categories/{category_id} | Update a category |
13
- | [**update_category_group**](CategoriesApi.md#update_category_group) | **PATCH** /budgets/{plan_id}/category_groups/{category_group_id} | Update a category group |
14
- | [**update_month_category**](CategoriesApi.md#update_month_category) | **PATCH** /budgets/{plan_id}/months/{month}/categories/{category_id} | Update a category for a specific month |
7
+ | [**create_category**](CategoriesApi.md#create_category) | **POST** /plans/{plan_id}/categories | Create a category |
8
+ | [**create_category_group**](CategoriesApi.md#create_category_group) | **POST** /plans/{plan_id}/category_groups | Create a category group |
9
+ | [**get_categories**](CategoriesApi.md#get_categories) | **GET** /plans/{plan_id}/categories | Get all categories |
10
+ | [**get_category_by_id**](CategoriesApi.md#get_category_by_id) | **GET** /plans/{plan_id}/categories/{category_id} | Get a category |
11
+ | [**get_month_category_by_id**](CategoriesApi.md#get_month_category_by_id) | **GET** /plans/{plan_id}/months/{month}/categories/{category_id} | Get a category for a specific plan month |
12
+ | [**update_category**](CategoriesApi.md#update_category) | **PATCH** /plans/{plan_id}/categories/{category_id} | Update a category |
13
+ | [**update_category_group**](CategoriesApi.md#update_category_group) | **PATCH** /plans/{plan_id}/category_groups/{category_group_id} | Update a category group |
14
+ | [**update_month_category**](CategoriesApi.md#update_month_category) | **PATCH** /plans/{plan_id}/months/{month}/categories/{category_id} | Update a category for a specific month |
15
15
 
16
16
 
17
17
  ## create_category
data/docs/Category.md CHANGED
@@ -30,4 +30,18 @@
30
30
  | **goal_overall_left** | **Integer** | The amount of funding still needed to complete the goal within the current goal period. | [optional] |
31
31
  | **goal_snoozed_at** | **Time** | The date/time the goal was snoozed. If the goal is not snoozed, this will be null. | [optional] |
32
32
  | **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] |
33
47
 
@@ -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
+
@@ -7,6 +7,7 @@
7
7
  | **name** | **String** | | [optional] |
8
8
  | **note** | **String** | | [optional] |
9
9
  | **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] |
11
11
  | **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] |
12
13
 
@@ -23,6 +23,8 @@
23
23
  | **import_payee_name_original** | **String** | If the transaction was imported, the original payee name as it appeared on the statement | [optional] |
24
24
  | **debt_transaction_type** | **String** | If the transaction is a debt/loan account transaction, the type of transaction | [optional] |
25
25
  | **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] |
26
28
  | **type** | **String** | Whether the hybrid transaction represents a regular transaction or a subtransaction | |
27
29
  | **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] |
28
30
  | **account_name** | **String** | | |
@@ -13,4 +13,6 @@
13
13
  | **from_category_id** | **String** | The id of the category the money was moved from | [optional] |
14
14
  | **to_category_id** | **String** | The id of the category the money was moved to | [optional] |
15
15
  | **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] |
16
18
 
@@ -0,0 +1,16 @@
1
+ # YNAB::MoneyMovementBase
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+ | **month** | **Date** | The month of the money movement in ISO format (e.g. 2024-01-01) | [optional] |
9
+ | **moved_at** | **Time** | The date/time the money movement was processed on the server in ISO format (e.g. 2024-01-01T12:00:00Z) | [optional] |
10
+ | **note** | **String** | | [optional] |
11
+ | **money_movement_group_id** | **String** | The id of the money movement group this movement belongs to | [optional] |
12
+ | **performed_by_user_id** | **String** | The id of the user who performed the money movement | [optional] |
13
+ | **from_category_id** | **String** | The id of the category the money was moved from | [optional] |
14
+ | **to_category_id** | **String** | The id of the category the money was moved to | [optional] |
15
+ | **amount** | **Integer** | The amount of the money movement in milliunits format | |
16
+
@@ -4,10 +4,10 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**get_money_movement_groups**](MoneyMovementsApi.md#get_money_movement_groups) | **GET** /budgets/{plan_id}/money_movement_groups | Get all money movement groups |
8
- | [**get_money_movement_groups_by_month**](MoneyMovementsApi.md#get_money_movement_groups_by_month) | **GET** /budgets/{plan_id}/months/{month}/money_movement_groups | Get money movement groups for a plan month |
9
- | [**get_money_movements**](MoneyMovementsApi.md#get_money_movements) | **GET** /budgets/{plan_id}/money_movements | Get all money movements |
10
- | [**get_money_movements_by_month**](MoneyMovementsApi.md#get_money_movements_by_month) | **GET** /budgets/{plan_id}/months/{month}/money_movements | Get money movements for a plan month |
7
+ | [**get_money_movement_groups**](MoneyMovementsApi.md#get_money_movement_groups) | **GET** /plans/{plan_id}/money_movement_groups | Get all money movement groups |
8
+ | [**get_money_movement_groups_by_month**](MoneyMovementsApi.md#get_money_movement_groups_by_month) | **GET** /plans/{plan_id}/months/{month}/money_movement_groups | Get money movement groups for a plan month |
9
+ | [**get_money_movements**](MoneyMovementsApi.md#get_money_movements) | **GET** /plans/{plan_id}/money_movements | Get all money movements |
10
+ | [**get_money_movements_by_month**](MoneyMovementsApi.md#get_money_movements_by_month) | **GET** /plans/{plan_id}/months/{month}/money_movements | Get money movements for a plan month |
11
11
 
12
12
 
13
13
  ## get_money_movement_groups
data/docs/MonthDetail.md CHANGED
@@ -12,5 +12,13 @@
12
12
  | **to_be_budgeted** | **Integer** | The available amount for 'Ready to Assign' | |
13
13
  | **age_of_money** | **Integer** | The Age of Money as of the month | [optional] |
14
14
  | **deleted** | **Boolean** | Whether or not the month has been deleted. Deleted months will only be included in delta requests. | |
15
+ | **income_formatted** | **String** | The total income formatted in the plan's currency format | [optional] |
16
+ | **income_currency** | **Float** | The total income as a decimal currency amount | [optional] |
17
+ | **budgeted_formatted** | **String** | The total amount assigned formatted in the plan's currency format | [optional] |
18
+ | **budgeted_currency** | **Float** | The total amount assigned as a decimal currency amount | [optional] |
19
+ | **activity_formatted** | **String** | The total activity amount formatted in the plan's currency format | [optional] |
20
+ | **activity_currency** | **Float** | The total activity amount as a decimal currency amount | [optional] |
21
+ | **to_be_budgeted_formatted** | **String** | The available amount for 'Ready to Assign' formatted in the plan's currency format | [optional] |
22
+ | **to_be_budgeted_currency** | **Float** | The available amount for 'Ready to Assign' as a decimal currency amount | [optional] |
15
23
  | **categories** | [**Array<Category>**](Category.md) | The plan month categories. Amounts (budgeted, activity, balance, etc.) are specific to the {month} parameter specified. | |
16
24
 
@@ -0,0 +1,16 @@
1
+ # YNAB::MonthDetailBase
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **month** | **Date** | | |
8
+ | **note** | **String** | | [optional] |
9
+ | **income** | **Integer** | The total amount of transactions categorized to 'Inflow: Ready to Assign' in the month | |
10
+ | **budgeted** | **Integer** | The total amount assigned (budgeted) in the month | |
11
+ | **activity** | **Integer** | The total amount of transactions in the month, excluding those categorized to 'Inflow: Ready to Assign' | |
12
+ | **to_be_budgeted** | **Integer** | The available amount for 'Ready to Assign' | |
13
+ | **age_of_money** | **Integer** | The Age of Money as of the month | [optional] |
14
+ | **deleted** | **Boolean** | Whether or not the month has been deleted. Deleted months will only be included in delta requests. | |
15
+ | **categories** | [**Array<CategoryBase>**](CategoryBase.md) | The plan month categories. Amounts (budgeted, activity, balance, etc.) are specific to the {month} parameter specified. | |
16
+
data/docs/MonthSummary.md CHANGED
@@ -12,4 +12,12 @@
12
12
  | **to_be_budgeted** | **Integer** | The available amount for 'Ready to Assign' | |
13
13
  | **age_of_money** | **Integer** | The Age of Money as of the month | [optional] |
14
14
  | **deleted** | **Boolean** | Whether or not the month has been deleted. Deleted months will only be included in delta requests. | |
15
+ | **income_formatted** | **String** | The total income formatted in the plan's currency format | [optional] |
16
+ | **income_currency** | **Float** | The total income as a decimal currency amount | [optional] |
17
+ | **budgeted_formatted** | **String** | The total amount assigned formatted in the plan's currency format | [optional] |
18
+ | **budgeted_currency** | **Float** | The total amount assigned as a decimal currency amount | [optional] |
19
+ | **activity_formatted** | **String** | The total activity amount formatted in the plan's currency format | [optional] |
20
+ | **activity_currency** | **Float** | The total activity amount as a decimal currency amount | [optional] |
21
+ | **to_be_budgeted_formatted** | **String** | The available amount for 'Ready to Assign' formatted in the plan's currency format | [optional] |
22
+ | **to_be_budgeted_currency** | **Float** | The available amount for 'Ready to Assign' as a decimal currency amount | [optional] |
15
23
 
@@ -0,0 +1,15 @@
1
+ # YNAB::MonthSummaryBase
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **month** | **Date** | | |
8
+ | **note** | **String** | | [optional] |
9
+ | **income** | **Integer** | The total amount of transactions categorized to 'Inflow: Ready to Assign' in the month | |
10
+ | **budgeted** | **Integer** | The total amount assigned (budgeted) in the month | |
11
+ | **activity** | **Integer** | The total amount of transactions in the month, excluding those categorized to 'Inflow: Ready to Assign' | |
12
+ | **to_be_budgeted** | **Integer** | The available amount for 'Ready to Assign' | |
13
+ | **age_of_money** | **Integer** | The Age of Money as of the month | [optional] |
14
+ | **deleted** | **Boolean** | Whether or not the month has been deleted. Deleted months will only be included in delta requests. | |
15
+
data/docs/MonthsApi.md CHANGED
@@ -4,8 +4,8 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**get_plan_month**](MonthsApi.md#get_plan_month) | **GET** /budgets/{plan_id}/months/{month} | Get a plan month |
8
- | [**get_plan_months**](MonthsApi.md#get_plan_months) | **GET** /budgets/{plan_id}/months | Get all plan months |
7
+ | [**get_plan_month**](MonthsApi.md#get_plan_month) | **GET** /plans/{plan_id}/months/{month} | Get a plan month |
8
+ | [**get_plan_months**](MonthsApi.md#get_plan_months) | **GET** /plans/{plan_id}/months | Get all plan months |
9
9
 
10
10
 
11
11
  ## get_plan_month
data/docs/NewCategory.md CHANGED
@@ -7,6 +7,7 @@
7
7
  | **name** | **String** | | [optional] |
8
8
  | **note** | **String** | | [optional] |
9
9
  | **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] |
11
11
  | **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] |
12
13
 
@@ -4,9 +4,9 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**get_payee_location_by_id**](PayeeLocationsApi.md#get_payee_location_by_id) | **GET** /budgets/{plan_id}/payee_locations/{payee_location_id} | Get a payee location |
8
- | [**get_payee_locations**](PayeeLocationsApi.md#get_payee_locations) | **GET** /budgets/{plan_id}/payee_locations | Get all payee locations |
9
- | [**get_payee_locations_by_payee**](PayeeLocationsApi.md#get_payee_locations_by_payee) | **GET** /budgets/{plan_id}/payees/{payee_id}/payee_locations | Get all locations for a payee |
7
+ | [**get_payee_location_by_id**](PayeeLocationsApi.md#get_payee_location_by_id) | **GET** /plans/{plan_id}/payee_locations/{payee_location_id} | Get a payee location |
8
+ | [**get_payee_locations**](PayeeLocationsApi.md#get_payee_locations) | **GET** /plans/{plan_id}/payee_locations | Get all payee locations |
9
+ | [**get_payee_locations_by_payee**](PayeeLocationsApi.md#get_payee_locations_by_payee) | **GET** /plans/{plan_id}/payees/{payee_id}/payee_locations | Get all locations for a payee |
10
10
 
11
11
 
12
12
  ## get_payee_location_by_id
data/docs/PayeesApi.md CHANGED
@@ -4,9 +4,30 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**get_payee_by_id**](PayeesApi.md#get_payee_by_id) | **GET** /budgets/{plan_id}/payees/{payee_id} | Get a payee |
8
- | [**get_payees**](PayeesApi.md#get_payees) | **GET** /budgets/{plan_id}/payees | Get all payees |
9
- | [**update_payee**](PayeesApi.md#update_payee) | **PATCH** /budgets/{plan_id}/payees/{payee_id} | Update a payee |
7
+ | [**create_payee**](PayeesApi.md#create_payee) | **POST** /plans/{plan_id}/payees | Create a payee |
8
+ | [**get_payee_by_id**](PayeesApi.md#get_payee_by_id) | **GET** /plans/{plan_id}/payees/{payee_id} | Get a payee |
9
+ | [**get_payees**](PayeesApi.md#get_payees) | **GET** /plans/{plan_id}/payees | Get all payees |
10
+ | [**update_payee**](PayeesApi.md#update_payee) | **PATCH** /plans/{plan_id}/payees/{payee_id} | Update a payee |
11
+
12
+
13
+ ## create_payee
14
+
15
+ > <SavePayeeResponse> create_payee(plan_id, data)
16
+
17
+ Create a payee
18
+
19
+ Creates a new payee
20
+
21
+ ### Parameters
22
+
23
+ | Name | Type | Description | Notes |
24
+ | ---- | ---- | ----------- | ----- |
25
+ | **plan_id** | **String** | The id of the plan. \&quot;last-used\&quot; can be used to specify the last used plan and \&quot;default\&quot; can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). | |
26
+ | **data** | [**PostPayeeWrapper**](PostPayeeWrapper.md) | The payee to create | |
27
+
28
+ ### Return type
29
+
30
+ [**SavePayeeResponse**](SavePayeeResponse.md)
10
31
 
11
32
 
12
33
  ## get_payee_by_id
data/docs/PlanDetail.md CHANGED
@@ -11,14 +11,14 @@
11
11
  | **last_month** | **Date** | The latest plan month | [optional] |
12
12
  | **date_format** | [**DateFormat**](DateFormat.md) | | [optional] |
13
13
  | **currency_format** | [**CurrencyFormat**](CurrencyFormat.md) | | [optional] |
14
- | **accounts** | [**Array&lt;Account&gt;**](Account.md) | | [optional] |
14
+ | **accounts** | [**Array&lt;AccountBase&gt;**](AccountBase.md) | | [optional] |
15
15
  | **payees** | [**Array&lt;Payee&gt;**](Payee.md) | | [optional] |
16
16
  | **payee_locations** | [**Array&lt;PayeeLocation&gt;**](PayeeLocation.md) | | [optional] |
17
17
  | **category_groups** | [**Array&lt;CategoryGroup&gt;**](CategoryGroup.md) | | [optional] |
18
- | **categories** | [**Array&lt;Category&gt;**](Category.md) | | [optional] |
19
- | **months** | [**Array&lt;MonthDetail&gt;**](MonthDetail.md) | | [optional] |
20
- | **transactions** | [**Array&lt;TransactionSummary&gt;**](TransactionSummary.md) | | [optional] |
21
- | **subtransactions** | [**Array&lt;SubTransaction&gt;**](SubTransaction.md) | | [optional] |
22
- | **scheduled_transactions** | [**Array&lt;ScheduledTransactionSummary&gt;**](ScheduledTransactionSummary.md) | | [optional] |
23
- | **scheduled_subtransactions** | [**Array&lt;ScheduledSubTransaction&gt;**](ScheduledSubTransaction.md) | | [optional] |
18
+ | **categories** | [**Array&lt;CategoryBase&gt;**](CategoryBase.md) | | [optional] |
19
+ | **months** | [**Array&lt;MonthDetailBase&gt;**](MonthDetailBase.md) | | [optional] |
20
+ | **transactions** | [**Array&lt;TransactionSummaryBase&gt;**](TransactionSummaryBase.md) | | [optional] |
21
+ | **subtransactions** | [**Array&lt;SubTransactionBase&gt;**](SubTransactionBase.md) | | [optional] |
22
+ | **scheduled_transactions** | [**Array&lt;ScheduledTransactionSummaryBase&gt;**](ScheduledTransactionSummaryBase.md) | | [optional] |
23
+ | **scheduled_subtransactions** | [**Array&lt;ScheduledSubTransactionBase&gt;**](ScheduledSubTransactionBase.md) | | [optional] |
24
24
 
@@ -4,6 +4,6 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **budget** | [**PlanDetail**](PlanDetail.md) | | |
7
+ | **plan** | [**PlanDetail**](PlanDetail.md) | | |
8
8
  | **server_knowledge** | **Integer** | The knowledge of the server | |
9
9
 
@@ -4,6 +4,6 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **budgets** | [**Array&lt;PlanSummary&gt;**](PlanSummary.md) | | |
8
- | **default_budget** | [**PlanSummary**](PlanSummary.md) | | [optional] |
7
+ | **plans** | [**Array&lt;PlanSummary&gt;**](PlanSummary.md) | | |
8
+ | **default_plan** | [**PlanSummary**](PlanSummary.md) | | [optional] |
9
9
 
data/docs/PlansApi.md CHANGED
@@ -4,9 +4,9 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**get_plan_by_id**](PlansApi.md#get_plan_by_id) | **GET** /budgets/{plan_id} | Get a plan |
8
- | [**get_plan_settings_by_id**](PlansApi.md#get_plan_settings_by_id) | **GET** /budgets/{plan_id}/settings | Get plan settings |
9
- | [**get_plans**](PlansApi.md#get_plans) | **GET** /budgets | Get all plans |
7
+ | [**get_plan_by_id**](PlansApi.md#get_plan_by_id) | **GET** /plans/{plan_id} | Get a plan |
8
+ | [**get_plan_settings_by_id**](PlansApi.md#get_plan_settings_by_id) | **GET** /plans/{plan_id}/settings | Get plan settings |
9
+ | [**get_plans**](PlansApi.md#get_plans) | **GET** /plans | Get all plans |
10
10
 
11
11
 
12
12
  ## get_plan_by_id
data/docs/PostPayee.md ADDED
@@ -0,0 +1,8 @@
1
+ # YNAB::PostPayee
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name of the payee. | |
8
+
@@ -0,0 +1,8 @@
1
+ # YNAB::PostPayeeWrapper
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payee** | [**PostPayee**](PostPayee.md) | | |
8
+
data/docs/SaveAccount.md CHANGED
@@ -5,6 +5,6 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | The name of the account | |
8
- | **type** | [**AccountType**](AccountType.md) | | |
8
+ | **type** | [**SaveAccountType**](SaveAccountType.md) | | |
9
9
  | **balance** | **Integer** | The current balance of the account in milliunits format | |
10
10
 
@@ -0,0 +1,7 @@
1
+ # YNAB::SaveAccountType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
data/docs/SaveCategory.md CHANGED
@@ -7,6 +7,7 @@
7
7
  | **name** | **String** | | [optional] |
8
8
  | **note** | **String** | | [optional] |
9
9
  | **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 &#39;Needed for Spending&#39; 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 &#39;NEED&#39; or &#39;MF&#39; for Credit Card Payment categories. | [optional] |
11
11
  | **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 &#39;NEED&#39; goals. When true, the goal is configured as &#39;Set aside another...&#39;. When false, the goal is configured as &#39;Refill up to...&#39;. | [optional] |
12
13
 
data/docs/SavePayee.md CHANGED
@@ -4,5 +4,5 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | The name of the payee. The name must be a maximum of 500 characters. | [optional] |
7
+ | **name** | **String** | The name of the payee. | [optional] |
8
8
 
@@ -14,4 +14,6 @@
14
14
  | **category_name** | **String** | | [optional] |
15
15
  | **transfer_account_id** | **String** | If a transfer, the account_id which the scheduled subtransaction transfers to | [optional] |
16
16
  | **deleted** | **Boolean** | Whether or not the scheduled subtransaction has been deleted. Deleted scheduled subtransactions will only be included in delta requests. | |
17
+ | **amount_formatted** | **String** | The scheduled subtransaction amount formatted in the plan&#39;s currency format | [optional] |
18
+ | **amount_currency** | **Float** | The scheduled subtransaction amount as a decimal currency amount | [optional] |
17
19
 
@@ -0,0 +1,17 @@
1
+ # YNAB::ScheduledSubTransactionBase
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+ | **scheduled_transaction_id** | **String** | | |
9
+ | **amount** | **Integer** | The scheduled subtransaction amount in milliunits format | |
10
+ | **memo** | **String** | | [optional] |
11
+ | **payee_id** | **String** | | [optional] |
12
+ | **payee_name** | **String** | | [optional] |
13
+ | **category_id** | **String** | | [optional] |
14
+ | **category_name** | **String** | | [optional] |
15
+ | **transfer_account_id** | **String** | If a transfer, the account_id which the scheduled subtransaction transfers to | [optional] |
16
+ | **deleted** | **Boolean** | Whether or not the scheduled subtransaction has been deleted. Deleted scheduled subtransactions will only be included in delta requests. | |
17
+
@@ -17,6 +17,8 @@
17
17
  | **category_id** | **String** | | [optional] |
18
18
  | **transfer_account_id** | **String** | If a transfer, the account_id which the scheduled transaction transfers to | [optional] |
19
19
  | **deleted** | **Boolean** | Whether or not the scheduled transaction has been deleted. Deleted scheduled transactions will only be included in delta requests. | |
20
+ | **amount_formatted** | **String** | The scheduled transaction amount formatted in the plan&#39;s currency format | [optional] |
21
+ | **amount_currency** | **Float** | The scheduled transaction amount as a decimal currency amount | [optional] |
20
22
  | **account_name** | **String** | | |
21
23
  | **payee_name** | **String** | | [optional] |
22
24
  | **category_name** | **String** | The name of the category. If a split scheduled transaction, this will be &#39;Split&#39;. | [optional] |
@@ -17,4 +17,6 @@
17
17
  | **category_id** | **String** | | [optional] |
18
18
  | **transfer_account_id** | **String** | If a transfer, the account_id which the scheduled transaction transfers to | [optional] |
19
19
  | **deleted** | **Boolean** | Whether or not the scheduled transaction has been deleted. Deleted scheduled transactions will only be included in delta requests. | |
20
+ | **amount_formatted** | **String** | The scheduled transaction amount formatted in the plan&#39;s currency format | [optional] |
21
+ | **amount_currency** | **Float** | The scheduled transaction amount as a decimal currency amount | [optional] |
20
22
 
@@ -0,0 +1,20 @@
1
+ # YNAB::ScheduledTransactionSummaryBase
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+ | **date_first** | **Date** | The first date for which the Scheduled Transaction was scheduled. | |
9
+ | **date_next** | **Date** | The next date for which the Scheduled Transaction is scheduled. | |
10
+ | **frequency** | **String** | | |
11
+ | **amount** | **Integer** | The scheduled transaction amount in milliunits format | |
12
+ | **memo** | **String** | | [optional] |
13
+ | **flag_color** | [**TransactionFlagColor**](TransactionFlagColor.md) | | [optional] |
14
+ | **flag_name** | **String** | The customized name of a transaction flag | [optional] |
15
+ | **account_id** | **String** | | |
16
+ | **payee_id** | **String** | | [optional] |
17
+ | **category_id** | **String** | | [optional] |
18
+ | **transfer_account_id** | **String** | If a transfer, the account_id which the scheduled transaction transfers to | [optional] |
19
+ | **deleted** | **Boolean** | Whether or not the scheduled transaction has been deleted. Deleted scheduled transactions will only be included in delta requests. | |
20
+
@@ -4,11 +4,11 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**create_scheduled_transaction**](ScheduledTransactionsApi.md#create_scheduled_transaction) | **POST** /budgets/{plan_id}/scheduled_transactions | Create a scheduled transaction |
8
- | [**delete_scheduled_transaction**](ScheduledTransactionsApi.md#delete_scheduled_transaction) | **DELETE** /budgets/{plan_id}/scheduled_transactions/{scheduled_transaction_id} | Delete a scheduled transaction |
9
- | [**get_scheduled_transaction_by_id**](ScheduledTransactionsApi.md#get_scheduled_transaction_by_id) | **GET** /budgets/{plan_id}/scheduled_transactions/{scheduled_transaction_id} | Get a scheduled transaction |
10
- | [**get_scheduled_transactions**](ScheduledTransactionsApi.md#get_scheduled_transactions) | **GET** /budgets/{plan_id}/scheduled_transactions | Get all scheduled transactions |
11
- | [**update_scheduled_transaction**](ScheduledTransactionsApi.md#update_scheduled_transaction) | **PUT** /budgets/{plan_id}/scheduled_transactions/{scheduled_transaction_id} | Update a scheduled transaction |
7
+ | [**create_scheduled_transaction**](ScheduledTransactionsApi.md#create_scheduled_transaction) | **POST** /plans/{plan_id}/scheduled_transactions | Create a scheduled transaction |
8
+ | [**delete_scheduled_transaction**](ScheduledTransactionsApi.md#delete_scheduled_transaction) | **DELETE** /plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id} | Delete a scheduled transaction |
9
+ | [**get_scheduled_transaction_by_id**](ScheduledTransactionsApi.md#get_scheduled_transaction_by_id) | **GET** /plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id} | Get a scheduled transaction |
10
+ | [**get_scheduled_transactions**](ScheduledTransactionsApi.md#get_scheduled_transactions) | **GET** /plans/{plan_id}/scheduled_transactions | Get all scheduled transactions |
11
+ | [**update_scheduled_transaction**](ScheduledTransactionsApi.md#update_scheduled_transaction) | **PUT** /plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id} | Update a scheduled transaction |
12
12
 
13
13
 
14
14
  ## create_scheduled_transaction
@@ -15,4 +15,6 @@
15
15
  | **transfer_account_id** | **String** | If a transfer, the account_id which the subtransaction transfers to | [optional] |
16
16
  | **transfer_transaction_id** | **String** | If a transfer, the id of transaction on the other side of the transfer | [optional] |
17
17
  | **deleted** | **Boolean** | Whether or not the subtransaction has been deleted. Deleted subtransactions will only be included in delta requests. | |
18
+ | **amount_formatted** | **String** | The subtransaction amount formatted in the plan&#39;s currency format | [optional] |
19
+ | **amount_currency** | **Float** | The subtransaction amount as a decimal currency amount | [optional] |
18
20