ynab 3.2.0 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +2 -0
  4. data/Rakefile +6 -5
  5. data/config.yaml +11 -0
  6. data/docs/ExistingTransaction.md +1 -1
  7. data/docs/NewTransaction.md +1 -1
  8. data/docs/PostScheduledTransactionWrapper.md +8 -0
  9. data/docs/SaveScheduledTransaction.md +16 -0
  10. data/docs/SaveTransactionWithIdOrImportId.md +1 -1
  11. data/docs/SaveTransactionWithOptionalFields.md +1 -1
  12. data/docs/{SaveTransactionWithIdAllOf.md → ScheduledTransactionFrequency.md} +1 -2
  13. data/docs/ScheduledTransactionsApi.md +21 -0
  14. data/docs/TransactionsApi.md +25 -1
  15. data/lib/ynab/api/accounts_api.rb +1 -4
  16. data/lib/ynab/api/budgets_api.rb +1 -4
  17. data/lib/ynab/api/categories_api.rb +1 -4
  18. data/lib/ynab/api/months_api.rb +1 -4
  19. data/lib/ynab/api/payee_locations_api.rb +1 -4
  20. data/lib/ynab/api/payees_api.rb +1 -4
  21. data/lib/ynab/api/scheduled_transactions_api.rb +75 -4
  22. data/lib/ynab/api/transactions_api.rb +81 -6
  23. data/lib/ynab/api/user_api.rb +1 -4
  24. data/lib/ynab/api_client.rb +1 -4
  25. data/lib/ynab/api_error.rb +0 -12
  26. data/lib/ynab/configuration.rb +11 -4
  27. data/lib/ynab/models/account.rb +1 -4
  28. data/lib/ynab/models/account_response.rb +1 -4
  29. data/lib/ynab/models/account_response_data.rb +1 -4
  30. data/lib/ynab/models/account_type.rb +1 -4
  31. data/lib/ynab/models/accounts_response.rb +1 -4
  32. data/lib/ynab/models/accounts_response_data.rb +1 -4
  33. data/lib/ynab/models/budget_detail.rb +1 -4
  34. data/lib/ynab/models/budget_detail_response.rb +1 -4
  35. data/lib/ynab/models/budget_detail_response_data.rb +1 -4
  36. data/lib/ynab/models/budget_settings.rb +1 -4
  37. data/lib/ynab/models/budget_settings_response.rb +1 -4
  38. data/lib/ynab/models/budget_settings_response_data.rb +1 -4
  39. data/lib/ynab/models/budget_summary.rb +1 -4
  40. data/lib/ynab/models/budget_summary_response.rb +1 -4
  41. data/lib/ynab/models/budget_summary_response_data.rb +1 -4
  42. data/lib/ynab/models/bulk_response.rb +1 -4
  43. data/lib/ynab/models/bulk_response_data.rb +1 -4
  44. data/lib/ynab/models/bulk_response_data_bulk.rb +1 -4
  45. data/lib/ynab/models/bulk_transactions.rb +1 -4
  46. data/lib/ynab/models/categories_response.rb +1 -4
  47. data/lib/ynab/models/categories_response_data.rb +1 -4
  48. data/lib/ynab/models/category.rb +1 -4
  49. data/lib/ynab/models/category_group.rb +1 -4
  50. data/lib/ynab/models/category_group_with_categories.rb +1 -4
  51. data/lib/ynab/models/category_response.rb +1 -4
  52. data/lib/ynab/models/category_response_data.rb +1 -4
  53. data/lib/ynab/models/currency_format.rb +1 -4
  54. data/lib/ynab/models/date_format.rb +1 -4
  55. data/lib/ynab/models/error_detail.rb +1 -4
  56. data/lib/ynab/models/error_response.rb +1 -4
  57. data/lib/ynab/models/existing_transaction.rb +2 -5
  58. data/lib/ynab/models/hybrid_transaction.rb +1 -4
  59. data/lib/ynab/models/hybrid_transactions_response.rb +1 -4
  60. data/lib/ynab/models/hybrid_transactions_response_data.rb +1 -4
  61. data/lib/ynab/models/month_detail.rb +1 -4
  62. data/lib/ynab/models/month_detail_response.rb +1 -4
  63. data/lib/ynab/models/month_detail_response_data.rb +1 -4
  64. data/lib/ynab/models/month_summaries_response.rb +1 -4
  65. data/lib/ynab/models/month_summaries_response_data.rb +1 -4
  66. data/lib/ynab/models/month_summary.rb +1 -4
  67. data/lib/ynab/models/new_transaction.rb +2 -5
  68. data/lib/ynab/models/patch_category_wrapper.rb +1 -4
  69. data/lib/ynab/models/patch_month_category_wrapper.rb +1 -4
  70. data/lib/ynab/models/patch_payee_wrapper.rb +1 -4
  71. data/lib/ynab/models/patch_transactions_wrapper.rb +1 -4
  72. data/lib/ynab/models/payee.rb +1 -4
  73. data/lib/ynab/models/payee_location.rb +1 -4
  74. data/lib/ynab/models/payee_location_response.rb +1 -4
  75. data/lib/ynab/models/payee_location_response_data.rb +1 -4
  76. data/lib/ynab/models/payee_locations_response.rb +1 -4
  77. data/lib/ynab/models/payee_locations_response_data.rb +1 -4
  78. data/lib/ynab/models/payee_response.rb +1 -4
  79. data/lib/ynab/models/payee_response_data.rb +1 -4
  80. data/lib/ynab/models/payees_response.rb +1 -4
  81. data/lib/ynab/models/payees_response_data.rb +1 -4
  82. data/lib/ynab/models/post_account_wrapper.rb +1 -4
  83. data/lib/ynab/models/{save_transaction_with_id_all_of.rb → post_scheduled_transaction_wrapper.rb} +23 -32
  84. data/lib/ynab/models/post_transactions_wrapper.rb +1 -4
  85. data/lib/ynab/models/put_transaction_wrapper.rb +1 -4
  86. data/lib/ynab/models/save_account.rb +1 -4
  87. data/lib/ynab/models/save_category.rb +1 -4
  88. data/lib/ynab/models/save_category_response.rb +1 -4
  89. data/lib/ynab/models/save_category_response_data.rb +1 -4
  90. data/lib/ynab/models/save_month_category.rb +1 -4
  91. data/lib/ynab/models/save_payee.rb +1 -4
  92. data/lib/ynab/models/save_payee_response.rb +1 -4
  93. data/lib/ynab/models/save_payee_response_data.rb +1 -4
  94. data/lib/ynab/models/{hybrid_transaction_all_of.rb → save_scheduled_transaction.rb} +99 -62
  95. data/lib/ynab/models/save_sub_transaction.rb +1 -4
  96. data/lib/ynab/models/save_transaction_with_id_or_import_id.rb +2 -5
  97. data/lib/ynab/models/save_transaction_with_optional_fields.rb +2 -5
  98. data/lib/ynab/models/save_transactions_response.rb +1 -4
  99. data/lib/ynab/models/save_transactions_response_data.rb +1 -4
  100. data/lib/ynab/models/scheduled_sub_transaction.rb +1 -4
  101. data/lib/ynab/models/scheduled_transaction_detail.rb +1 -4
  102. data/lib/ynab/models/scheduled_transaction_frequency.rb +48 -0
  103. data/lib/ynab/models/scheduled_transaction_response.rb +1 -4
  104. data/lib/ynab/models/scheduled_transaction_response_data.rb +1 -4
  105. data/lib/ynab/models/scheduled_transaction_summary.rb +1 -4
  106. data/lib/ynab/models/scheduled_transactions_response.rb +1 -4
  107. data/lib/ynab/models/scheduled_transactions_response_data.rb +1 -4
  108. data/lib/ynab/models/sub_transaction.rb +1 -4
  109. data/lib/ynab/models/transaction_cleared_status.rb +1 -4
  110. data/lib/ynab/models/transaction_detail.rb +1 -4
  111. data/lib/ynab/models/transaction_flag_color.rb +1 -4
  112. data/lib/ynab/models/transaction_response.rb +1 -4
  113. data/lib/ynab/models/transaction_response_data.rb +1 -4
  114. data/lib/ynab/models/transaction_summary.rb +1 -4
  115. data/lib/ynab/models/transactions_import_response.rb +1 -4
  116. data/lib/ynab/models/transactions_import_response_data.rb +1 -4
  117. data/lib/ynab/models/transactions_response.rb +1 -4
  118. data/lib/ynab/models/transactions_response_data.rb +1 -4
  119. data/lib/ynab/models/user.rb +1 -4
  120. data/lib/ynab/models/user_response.rb +1 -4
  121. data/lib/ynab/models/user_response_data.rb +1 -4
  122. data/lib/ynab/overrides/transactions_api.rb +0 -12
  123. data/lib/ynab/version.rb +1 -13
  124. data/lib/ynab.rb +4 -4
  125. data/open_api_spec.yaml +190 -4
  126. data/spec/api/scheduled_transactions_spec.rb +20 -2
  127. data/spec/api/transactions_spec.rb +10 -0
  128. data/spec/fixtures/vcr_cassettes/create_scheduled_transaction.yml +63 -0
  129. data/spec/fixtures/vcr_cassettes/month_transactions.yml +46 -0
  130. data/templates/README.md +3 -0
  131. data/templates/api_info.mustache +9 -0
  132. data/templates/gemspec.mustache +41 -0
  133. data/ynab.gemspec +3 -6
  134. metadata +50 -84
  135. data/docs/AccountWrapper.md +0 -8
  136. data/docs/AccountsWrapper.md +0 -9
  137. data/docs/BudgetDetailAllOf.md +0 -17
  138. data/docs/BudgetDetailWrapper.md +0 -9
  139. data/docs/BudgetSettingsWrapper.md +0 -8
  140. data/docs/BudgetSummaryWrapper.md +0 -9
  141. data/docs/BulkIdWrapper.md +0 -8
  142. data/docs/BulkIds.md +0 -9
  143. data/docs/BulkTransactionCreateResponse.md +0 -8
  144. data/docs/BulkTransactionIds.md +0 -8
  145. data/docs/CategoryGroupWithCategoriesAllOf.md +0 -8
  146. data/docs/CategoryGroupsWrapper.md +0 -9
  147. data/docs/CategoryWrapper.md +0 -9
  148. data/docs/DeprecatedApi.md +0 -28
  149. data/docs/HybridTransactionAllOf.md +0 -12
  150. data/docs/HybridTransactionsWrapper.md +0 -8
  151. data/docs/LoanAccountPeriodicValue.md +0 -7
  152. data/docs/MonthDetailAllOf.md +0 -8
  153. data/docs/MonthDetailWrapper.md +0 -8
  154. data/docs/MonthSummariesWrapper.md +0 -9
  155. data/docs/PayeeLocationWrapper.md +0 -8
  156. data/docs/PayeeLocationsWrapper.md +0 -8
  157. data/docs/PayeeWrapper.md +0 -8
  158. data/docs/PayeesWrapper.md +0 -9
  159. data/docs/SaveAccountWrapper.md +0 -8
  160. data/docs/SaveMonthCategoryWrapper.md +0 -8
  161. data/docs/SaveTransaction.md +0 -19
  162. data/docs/SaveTransactionWithId.md +0 -20
  163. data/docs/SaveTransactionWrapper.md +0 -8
  164. data/docs/SaveTransactionsWrapper.md +0 -9
  165. data/docs/ScheduledTransactionDetailAllOf.md +0 -11
  166. data/docs/ScheduledTransactionWrapper.md +0 -8
  167. data/docs/ScheduledTransactionsWrapper.md +0 -8
  168. data/docs/TransactionDetailAllOf.md +0 -11
  169. data/docs/TransactionWrapper.md +0 -8
  170. data/docs/TransactionsWrapper.md +0 -9
  171. data/docs/UpdateTransaction.md +0 -20
  172. data/docs/UpdateTransactionsWrapper.md +0 -8
  173. data/docs/UserWrapper.md +0 -8
  174. data/lib/ynab/models/budget_detail_all_of.rb +0 -320
  175. data/lib/ynab/models/category_group_with_categories_all_of.rb +0 -223
  176. data/lib/ynab/models/month_detail_all_of.rb +0 -223
  177. data/lib/ynab/models/save_transaction.rb +0 -401
  178. data/lib/ynab/models/save_transaction_with_id.rb +0 -411
  179. data/lib/ynab/models/scheduled_transaction_detail_all_of.rb +0 -254
  180. data/lib/ynab/models/transaction_detail_all_of.rb +0 -254
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ynab
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - YNAB
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-27 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -50,7 +50,8 @@ dependencies:
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: 3.6.0
53
- description: Ruby gem wrapper for the YNAB API. Read the documentation at https://api.ynab.com
53
+ description: Ruby gem wrapper for the YNAB API. Generated from server specification
54
+ version 1.72.0 using OpenAPI Generator version 7.7.0.
54
55
  email:
55
56
  - api@ynab.com
56
57
  executables: []
@@ -64,36 +65,27 @@ files:
64
65
  - README.md
65
66
  - Rakefile
66
67
  - config.json
68
+ - config.yaml
67
69
  - docs/Account.md
68
70
  - docs/AccountResponse.md
69
71
  - docs/AccountResponseData.md
70
72
  - docs/AccountType.md
71
- - docs/AccountWrapper.md
72
73
  - docs/AccountsApi.md
73
74
  - docs/AccountsResponse.md
74
75
  - docs/AccountsResponseData.md
75
- - docs/AccountsWrapper.md
76
76
  - docs/BudgetDetail.md
77
- - docs/BudgetDetailAllOf.md
78
77
  - docs/BudgetDetailResponse.md
79
78
  - docs/BudgetDetailResponseData.md
80
- - docs/BudgetDetailWrapper.md
81
79
  - docs/BudgetSettings.md
82
80
  - docs/BudgetSettingsResponse.md
83
81
  - docs/BudgetSettingsResponseData.md
84
- - docs/BudgetSettingsWrapper.md
85
82
  - docs/BudgetSummary.md
86
83
  - docs/BudgetSummaryResponse.md
87
84
  - docs/BudgetSummaryResponseData.md
88
- - docs/BudgetSummaryWrapper.md
89
85
  - docs/BudgetsApi.md
90
- - docs/BulkIdWrapper.md
91
- - docs/BulkIds.md
92
86
  - docs/BulkResponse.md
93
87
  - docs/BulkResponseData.md
94
88
  - docs/BulkResponseDataBulk.md
95
- - docs/BulkTransactionCreateResponse.md
96
- - docs/BulkTransactionIds.md
97
89
  - docs/BulkTransactions.md
98
90
  - docs/CategoriesApi.md
99
91
  - docs/CategoriesResponse.md
@@ -101,31 +93,21 @@ files:
101
93
  - docs/Category.md
102
94
  - docs/CategoryGroup.md
103
95
  - docs/CategoryGroupWithCategories.md
104
- - docs/CategoryGroupWithCategoriesAllOf.md
105
- - docs/CategoryGroupsWrapper.md
106
96
  - docs/CategoryResponse.md
107
97
  - docs/CategoryResponseData.md
108
- - docs/CategoryWrapper.md
109
98
  - docs/CurrencyFormat.md
110
99
  - docs/DateFormat.md
111
- - docs/DeprecatedApi.md
112
100
  - docs/ErrorDetail.md
113
101
  - docs/ErrorResponse.md
114
102
  - docs/ExistingTransaction.md
115
103
  - docs/HybridTransaction.md
116
- - docs/HybridTransactionAllOf.md
117
104
  - docs/HybridTransactionsResponse.md
118
105
  - docs/HybridTransactionsResponseData.md
119
- - docs/HybridTransactionsWrapper.md
120
- - docs/LoanAccountPeriodicValue.md
121
106
  - docs/MonthDetail.md
122
- - docs/MonthDetailAllOf.md
123
107
  - docs/MonthDetailResponse.md
124
108
  - docs/MonthDetailResponseData.md
125
- - docs/MonthDetailWrapper.md
126
109
  - docs/MonthSummariesResponse.md
127
110
  - docs/MonthSummariesResponseData.md
128
- - docs/MonthSummariesWrapper.md
129
111
  - docs/MonthSummary.md
130
112
  - docs/MonthsApi.md
131
113
  - docs/NewTransaction.md
@@ -137,74 +119,57 @@ files:
137
119
  - docs/PayeeLocation.md
138
120
  - docs/PayeeLocationResponse.md
139
121
  - docs/PayeeLocationResponseData.md
140
- - docs/PayeeLocationWrapper.md
141
122
  - docs/PayeeLocationsApi.md
142
123
  - docs/PayeeLocationsResponse.md
143
124
  - docs/PayeeLocationsResponseData.md
144
- - docs/PayeeLocationsWrapper.md
145
125
  - docs/PayeeResponse.md
146
126
  - docs/PayeeResponseData.md
147
- - docs/PayeeWrapper.md
148
127
  - docs/PayeesApi.md
149
128
  - docs/PayeesResponse.md
150
129
  - docs/PayeesResponseData.md
151
- - docs/PayeesWrapper.md
152
130
  - docs/PostAccountWrapper.md
131
+ - docs/PostScheduledTransactionWrapper.md
153
132
  - docs/PostTransactionsWrapper.md
154
133
  - docs/PutTransactionWrapper.md
155
134
  - docs/SaveAccount.md
156
- - docs/SaveAccountWrapper.md
157
135
  - docs/SaveCategory.md
158
136
  - docs/SaveCategoryResponse.md
159
137
  - docs/SaveCategoryResponseData.md
160
138
  - docs/SaveMonthCategory.md
161
- - docs/SaveMonthCategoryWrapper.md
162
139
  - docs/SavePayee.md
163
140
  - docs/SavePayeeResponse.md
164
141
  - docs/SavePayeeResponseData.md
142
+ - docs/SaveScheduledTransaction.md
165
143
  - docs/SaveSubTransaction.md
166
- - docs/SaveTransaction.md
167
- - docs/SaveTransactionWithId.md
168
- - docs/SaveTransactionWithIdAllOf.md
169
144
  - docs/SaveTransactionWithIdOrImportId.md
170
145
  - docs/SaveTransactionWithOptionalFields.md
171
- - docs/SaveTransactionWrapper.md
172
146
  - docs/SaveTransactionsResponse.md
173
147
  - docs/SaveTransactionsResponseData.md
174
- - docs/SaveTransactionsWrapper.md
175
148
  - docs/ScheduledSubTransaction.md
176
149
  - docs/ScheduledTransactionDetail.md
177
- - docs/ScheduledTransactionDetailAllOf.md
150
+ - docs/ScheduledTransactionFrequency.md
178
151
  - docs/ScheduledTransactionResponse.md
179
152
  - docs/ScheduledTransactionResponseData.md
180
153
  - docs/ScheduledTransactionSummary.md
181
- - docs/ScheduledTransactionWrapper.md
182
154
  - docs/ScheduledTransactionsApi.md
183
155
  - docs/ScheduledTransactionsResponse.md
184
156
  - docs/ScheduledTransactionsResponseData.md
185
- - docs/ScheduledTransactionsWrapper.md
186
157
  - docs/SubTransaction.md
187
158
  - docs/TransactionClearedStatus.md
188
159
  - docs/TransactionDetail.md
189
- - docs/TransactionDetailAllOf.md
190
160
  - docs/TransactionFlagColor.md
191
161
  - docs/TransactionResponse.md
192
162
  - docs/TransactionResponseData.md
193
163
  - docs/TransactionSummary.md
194
- - docs/TransactionWrapper.md
195
164
  - docs/TransactionsApi.md
196
165
  - docs/TransactionsImportResponse.md
197
166
  - docs/TransactionsImportResponseData.md
198
167
  - docs/TransactionsResponse.md
199
168
  - docs/TransactionsResponseData.md
200
- - docs/TransactionsWrapper.md
201
- - docs/UpdateTransaction.md
202
- - docs/UpdateTransactionsWrapper.md
203
169
  - docs/User.md
204
170
  - docs/UserApi.md
205
171
  - docs/UserResponse.md
206
172
  - docs/UserResponseData.md
207
- - docs/UserWrapper.md
208
173
  - examples/budget-list.rb
209
174
  - examples/budget-month.rb
210
175
  - examples/category-balance.rb
@@ -233,7 +198,6 @@ files:
233
198
  - lib/ynab/models/accounts_response.rb
234
199
  - lib/ynab/models/accounts_response_data.rb
235
200
  - lib/ynab/models/budget_detail.rb
236
- - lib/ynab/models/budget_detail_all_of.rb
237
201
  - lib/ynab/models/budget_detail_response.rb
238
202
  - lib/ynab/models/budget_detail_response_data.rb
239
203
  - lib/ynab/models/budget_settings.rb
@@ -251,7 +215,6 @@ files:
251
215
  - lib/ynab/models/category.rb
252
216
  - lib/ynab/models/category_group.rb
253
217
  - lib/ynab/models/category_group_with_categories.rb
254
- - lib/ynab/models/category_group_with_categories_all_of.rb
255
218
  - lib/ynab/models/category_response.rb
256
219
  - lib/ynab/models/category_response_data.rb
257
220
  - lib/ynab/models/currency_format.rb
@@ -260,11 +223,9 @@ files:
260
223
  - lib/ynab/models/error_response.rb
261
224
  - lib/ynab/models/existing_transaction.rb
262
225
  - lib/ynab/models/hybrid_transaction.rb
263
- - lib/ynab/models/hybrid_transaction_all_of.rb
264
226
  - lib/ynab/models/hybrid_transactions_response.rb
265
227
  - lib/ynab/models/hybrid_transactions_response_data.rb
266
228
  - lib/ynab/models/month_detail.rb
267
- - lib/ynab/models/month_detail_all_of.rb
268
229
  - lib/ynab/models/month_detail_response.rb
269
230
  - lib/ynab/models/month_detail_response_data.rb
270
231
  - lib/ynab/models/month_summaries_response.rb
@@ -286,6 +247,7 @@ files:
286
247
  - lib/ynab/models/payees_response.rb
287
248
  - lib/ynab/models/payees_response_data.rb
288
249
  - lib/ynab/models/post_account_wrapper.rb
250
+ - lib/ynab/models/post_scheduled_transaction_wrapper.rb
289
251
  - lib/ynab/models/post_transactions_wrapper.rb
290
252
  - lib/ynab/models/put_transaction_wrapper.rb
291
253
  - lib/ynab/models/save_account.rb
@@ -296,17 +258,15 @@ files:
296
258
  - lib/ynab/models/save_payee.rb
297
259
  - lib/ynab/models/save_payee_response.rb
298
260
  - lib/ynab/models/save_payee_response_data.rb
261
+ - lib/ynab/models/save_scheduled_transaction.rb
299
262
  - lib/ynab/models/save_sub_transaction.rb
300
- - lib/ynab/models/save_transaction.rb
301
- - lib/ynab/models/save_transaction_with_id.rb
302
- - lib/ynab/models/save_transaction_with_id_all_of.rb
303
263
  - lib/ynab/models/save_transaction_with_id_or_import_id.rb
304
264
  - lib/ynab/models/save_transaction_with_optional_fields.rb
305
265
  - lib/ynab/models/save_transactions_response.rb
306
266
  - lib/ynab/models/save_transactions_response_data.rb
307
267
  - lib/ynab/models/scheduled_sub_transaction.rb
308
268
  - lib/ynab/models/scheduled_transaction_detail.rb
309
- - lib/ynab/models/scheduled_transaction_detail_all_of.rb
269
+ - lib/ynab/models/scheduled_transaction_frequency.rb
310
270
  - lib/ynab/models/scheduled_transaction_response.rb
311
271
  - lib/ynab/models/scheduled_transaction_response_data.rb
312
272
  - lib/ynab/models/scheduled_transaction_summary.rb
@@ -315,7 +275,6 @@ files:
315
275
  - lib/ynab/models/sub_transaction.rb
316
276
  - lib/ynab/models/transaction_cleared_status.rb
317
277
  - lib/ynab/models/transaction_detail.rb
318
- - lib/ynab/models/transaction_detail_all_of.rb
319
278
  - lib/ynab/models/transaction_flag_color.rb
320
279
  - lib/ynab/models/transaction_response.rb
321
280
  - lib/ynab/models/transaction_response_data.rb
@@ -351,10 +310,12 @@ files:
351
310
  - spec/fixtures/vcr_cassettes/category.yml
352
311
  - spec/fixtures/vcr_cassettes/category_transactions.yml
353
312
  - spec/fixtures/vcr_cassettes/create_account.yml
313
+ - spec/fixtures/vcr_cassettes/create_scheduled_transaction.yml
354
314
  - spec/fixtures/vcr_cassettes/create_transaction.yml
355
315
  - spec/fixtures/vcr_cassettes/create_transactions.yml
356
316
  - spec/fixtures/vcr_cassettes/import_transactions.yml
357
317
  - spec/fixtures/vcr_cassettes/month.yml
318
+ - spec/fixtures/vcr_cassettes/month_transactions.yml
358
319
  - spec/fixtures/vcr_cassettes/months.yml
359
320
  - spec/fixtures/vcr_cassettes/months_unauthorized.yml
360
321
  - spec/fixtures/vcr_cassettes/multiple_transactions.yml
@@ -375,11 +336,14 @@ files:
375
336
  - spec/fixtures/vcr_cassettes/update_transaction.yml
376
337
  - spec/fixtures/vcr_cassettes/update_transactions.yml
377
338
  - spec/spec_helper.rb
339
+ - templates/README.md
378
340
  - templates/api.mustache
379
341
  - templates/api_client.mustache
380
342
  - templates/api_client_typhoeus_partial.mustache
381
343
  - templates/api_doc.mustache
344
+ - templates/api_info.mustache
382
345
  - templates/gem.mustache
346
+ - templates/gemspec.mustache
383
347
  - templates/partial_model_generic.mustache
384
348
  - templates/partial_model_generic_doc.mustache
385
349
  - ynab.gemspec
@@ -402,53 +366,55 @@ required_rubygems_version: !ruby/object:Gem::Requirement
402
366
  - !ruby/object:Gem::Version
403
367
  version: '0'
404
368
  requirements: []
405
- rubygems_version: 3.5.14
369
+ rubygems_version: 3.5.15
406
370
  signing_key:
407
371
  specification_version: 4
408
- summary: YNAB API Endpoints Ruby Gem
372
+ summary: YNAB API Client for Ruby
409
373
  test_files:
410
- - spec/api/months_spec.rb
411
- - spec/api/transactions_spec.rb
374
+ - spec/api/categories_spec.rb
412
375
  - spec/api/budgets_spec.rb
413
- - spec/api/accounts_spec.rb
414
376
  - spec/api/scheduled_transactions_spec.rb
415
- - spec/api/categories_spec.rb
377
+ - spec/api/accounts_spec.rb
416
378
  - spec/api/payees_spec.rb
379
+ - spec/api/transactions_spec.rb
380
+ - spec/api/months_spec.rb
417
381
  - spec/api/payee_locations_spec.rb
418
382
  - spec/api_error_spec.rb
419
383
  - spec/fixtures/vcr_cassettes/categories_unauthorized.yml
420
- - spec/fixtures/vcr_cassettes/payee_transactions.yml
421
- - spec/fixtures/vcr_cassettes/create_transactions.yml
422
- - spec/fixtures/vcr_cassettes/create_transaction.yml
423
- - spec/fixtures/vcr_cassettes/budget.yml
424
- - spec/fixtures/vcr_cassettes/categories.yml
425
- - spec/fixtures/vcr_cassettes/import_transactions.yml
426
- - spec/fixtures/vcr_cassettes/category.yml
427
- - spec/fixtures/vcr_cassettes/category_transactions.yml
428
384
  - spec/fixtures/vcr_cassettes/scheduled_transactions.yml
429
- - spec/fixtures/vcr_cassettes/month.yml
385
+ - spec/fixtures/vcr_cassettes/payee_locations_unauthorized.yml
430
386
  - spec/fixtures/vcr_cassettes/accounts.yml
431
- - spec/fixtures/vcr_cassettes/payees_unauthorized.yml
387
+ - spec/fixtures/vcr_cassettes/months.yml
388
+ - spec/fixtures/vcr_cassettes/payee_transactions.yml
389
+ - spec/fixtures/vcr_cassettes/transaction.yml
390
+ - spec/fixtures/vcr_cassettes/month.yml
391
+ - spec/fixtures/vcr_cassettes/category_transactions.yml
432
392
  - spec/fixtures/vcr_cassettes/patch_month_category.yml
433
- - spec/fixtures/vcr_cassettes/multiple_transactions.yml
393
+ - spec/fixtures/vcr_cassettes/payees_unauthorized.yml
434
394
  - spec/fixtures/vcr_cassettes/payee.yml
435
- - spec/fixtures/vcr_cassettes/update_transaction.yml
436
- - spec/fixtures/vcr_cassettes/budgets_unauthorized.yml
437
- - spec/fixtures/vcr_cassettes/budgets.yml
438
- - spec/fixtures/vcr_cassettes/bulk_transactions.yml
439
- - spec/fixtures/vcr_cassettes/payee_locations_unauthorized.yml
395
+ - spec/fixtures/vcr_cassettes/payee_location.yml
396
+ - spec/fixtures/vcr_cassettes/month_transactions.yml
440
397
  - spec/fixtures/vcr_cassettes/transactions.yml
441
- - spec/fixtures/vcr_cassettes/accounts_unauthorized.yml
442
- - spec/fixtures/vcr_cassettes/payee_locations.yml
443
- - spec/fixtures/vcr_cassettes/update_transactions.yml
444
- - spec/fixtures/vcr_cassettes/scheduled_transaction.yml
445
- - spec/fixtures/vcr_cassettes/payees.yml
446
398
  - spec/fixtures/vcr_cassettes/months_unauthorized.yml
447
- - spec/fixtures/vcr_cassettes/months.yml
399
+ - spec/fixtures/vcr_cassettes/scheduled_transactions_unauthorized.yml
400
+ - spec/fixtures/vcr_cassettes/categories.yml
401
+ - spec/fixtures/vcr_cassettes/create_transactions.yml
402
+ - spec/fixtures/vcr_cassettes/update_transactions.yml
448
403
  - spec/fixtures/vcr_cassettes/create_account.yml
449
- - spec/fixtures/vcr_cassettes/account.yml
404
+ - spec/fixtures/vcr_cassettes/payees.yml
405
+ - spec/fixtures/vcr_cassettes/budgets.yml
406
+ - spec/fixtures/vcr_cassettes/payee_locations.yml
407
+ - spec/fixtures/vcr_cassettes/multiple_transactions.yml
408
+ - spec/fixtures/vcr_cassettes/create_transaction.yml
409
+ - spec/fixtures/vcr_cassettes/scheduled_transaction.yml
410
+ - spec/fixtures/vcr_cassettes/accounts_unauthorized.yml
411
+ - spec/fixtures/vcr_cassettes/import_transactions.yml
450
412
  - spec/fixtures/vcr_cassettes/transactions_unauthorized.yml
451
- - spec/fixtures/vcr_cassettes/scheduled_transactions_unauthorized.yml
452
- - spec/fixtures/vcr_cassettes/transaction.yml
453
- - spec/fixtures/vcr_cassettes/payee_location.yml
413
+ - spec/fixtures/vcr_cassettes/update_transaction.yml
414
+ - spec/fixtures/vcr_cassettes/category.yml
415
+ - spec/fixtures/vcr_cassettes/account.yml
416
+ - spec/fixtures/vcr_cassettes/create_scheduled_transaction.yml
417
+ - spec/fixtures/vcr_cassettes/bulk_transactions.yml
418
+ - spec/fixtures/vcr_cassettes/budgets_unauthorized.yml
419
+ - spec/fixtures/vcr_cassettes/budget.yml
454
420
  - spec/spec_helper.rb
@@ -1,8 +0,0 @@
1
- # YNAB::AccountWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **account** | [**Account**](Account.md) | |
7
-
8
-
@@ -1,9 +0,0 @@
1
- # YNAB::AccountsWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **accounts** | [**Array<Account>**](Account.md) | |
7
- **server_knowledge** | **Integer** | The knowledge of the server |
8
-
9
-
@@ -1,17 +0,0 @@
1
- # YNAB::BudgetDetailAllOf
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **accounts** | [**Array<Account>**](Account.md) | | [optional] |
8
- | **payees** | [**Array<Payee>**](Payee.md) | | [optional] |
9
- | **payee_locations** | [**Array<PayeeLocation>**](PayeeLocation.md) | | [optional] |
10
- | **category_groups** | [**Array<CategoryGroup>**](CategoryGroup.md) | | [optional] |
11
- | **categories** | [**Array<Category>**](Category.md) | | [optional] |
12
- | **months** | [**Array<MonthDetail>**](MonthDetail.md) | | [optional] |
13
- | **transactions** | [**Array<TransactionSummary>**](TransactionSummary.md) | | [optional] |
14
- | **subtransactions** | [**Array<SubTransaction>**](SubTransaction.md) | | [optional] |
15
- | **scheduled_transactions** | [**Array<ScheduledTransactionSummary>**](ScheduledTransactionSummary.md) | | [optional] |
16
- | **scheduled_subtransactions** | [**Array<ScheduledSubTransaction>**](ScheduledSubTransaction.md) | | [optional] |
17
-
@@ -1,9 +0,0 @@
1
- # YNAB::BudgetDetailWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **budget** | [**BudgetDetail**](BudgetDetail.md) | |
7
- **server_knowledge** | **Integer** | The knowledge of the server |
8
-
9
-
@@ -1,8 +0,0 @@
1
- # YNAB::BudgetSettingsWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **settings** | [**BudgetSettings**](BudgetSettings.md) | |
7
-
8
-
@@ -1,9 +0,0 @@
1
- # YNAB::BudgetSummaryWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **budgets** | [**Array<BudgetSummary>**](BudgetSummary.md) | |
7
- **default_budget** | [**BudgetSummary**](BudgetSummary.md) | The default budget, if the associated application is configured to support specifying it |
8
-
9
-
@@ -1,8 +0,0 @@
1
- # YNAB::BulkIdWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **bulk** | [**BulkIds**](BulkIds.md) | |
7
-
8
-
data/docs/BulkIds.md DELETED
@@ -1,9 +0,0 @@
1
- # YNAB::BulkIds
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **transaction_ids** | **Array<String>** | The list of Transaction ids that were created. |
7
- **duplicate_import_ids** | **Array<String>** | If any Transactions were not created because they had an import_id matching a transaction already on the same account, the specified import_id(s) will be included in this list. |
8
-
9
-
@@ -1,8 +0,0 @@
1
- # YNAB::BulkTransactionCreateResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **data** | [**BulkTransactionIds**](BulkTransactionIds.md) | |
7
-
8
-
@@ -1,8 +0,0 @@
1
- # YNAB::BulkTransactionIds
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **transaction_ids** | **Array<String>** | |
7
-
8
-
@@ -1,8 +0,0 @@
1
- # YNAB::CategoryGroupWithCategoriesAllOf
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **categories** | [**Array<Category>**](Category.md) | Category group categories. Amounts (budgeted, activity, balance, etc.) are specific to the current budget month (UTC). | |
8
-
@@ -1,9 +0,0 @@
1
- # YNAB::CategoryGroupsWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **category_groups** | [**Array<CategoryGroupWithCategories>**](CategoryGroupWithCategories.md) | |
7
- **server_knowledge** | **Integer** | The knowledge of the server |
8
-
9
-
@@ -1,9 +0,0 @@
1
- # YNAB::CategoryWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **category** | [**Category**](Category.md) | |
7
- **server_knowledge** | **Integer** | The knowledge of the server |
8
-
9
-
@@ -1,28 +0,0 @@
1
- # YNAB::DeprecatedApi
2
-
3
- All URIs are relative to *https://api.ynab.com/v1*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**bulk_create_transactions**](DeprecatedApi.md#bulk_create_transactions) | **POST** /budgets/{budget_id}/transactions/bulk | Bulk create transactions |
8
-
9
-
10
- ## bulk_create_transactions
11
-
12
- > <BulkResponse> bulk_create_transactions(budget_id, transactions)
13
-
14
- Bulk create transactions
15
-
16
- Creates multiple transactions. Although this endpoint is still supported, it is recommended to use 'POST /budgets/{budget_id}/transactions' to create multiple transactions.
17
-
18
- ### Parameters
19
-
20
- | Name | Type | Description | Notes |
21
- | ---- | ---- | ----------- | ----- |
22
- | **budget_id** | **String** | The id of the budget. \&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.ynab.com/#oauth-default-budget). | |
23
- | **transactions** | [**BulkTransactions**](BulkTransactions.md) | The list of transactions to create | |
24
-
25
- ### Return type
26
-
27
- [**BulkResponse**](BulkResponse.md)
28
-
@@ -1,12 +0,0 @@
1
- # YNAB::HybridTransactionAllOf
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **type** | **String** | Whether the hybrid transaction represents a regular transaction or a subtransaction | |
8
- | **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] |
9
- | **account_name** | **String** | | |
10
- | **payee_name** | **String** | | [optional] |
11
- | **category_name** | **String** | The name of the category. If a split transaction, this will be &#39;Split&#39;. | [optional] |
12
-
@@ -1,8 +0,0 @@
1
- # YNAB::HybridTransactionsWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **transactions** | [**Array&lt;HybridTransaction&gt;**](HybridTransaction.md) | |
7
-
8
-
@@ -1,7 +0,0 @@
1
- # YNAB::LoanAccountPeriodicValue
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
-
7
-
@@ -1,8 +0,0 @@
1
- # YNAB::MonthDetailAllOf
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **categories** | [**Array&lt;Category&gt;**](Category.md) | The budget month categories. Amounts (budgeted, activity, balance, etc.) are specific to the {month} parameter specified. | |
8
-
@@ -1,8 +0,0 @@
1
- # YNAB::MonthDetailWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **month** | [**MonthDetail**](MonthDetail.md) | |
7
-
8
-
@@ -1,9 +0,0 @@
1
- # YNAB::MonthSummariesWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **months** | [**Array&lt;MonthSummary&gt;**](MonthSummary.md) | |
7
- **server_knowledge** | **Integer** | The knowledge of the server |
8
-
9
-
@@ -1,8 +0,0 @@
1
- # YNAB::PayeeLocationWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **payee_location** | [**PayeeLocation**](PayeeLocation.md) | |
7
-
8
-
@@ -1,8 +0,0 @@
1
- # YNAB::PayeeLocationsWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **payee_locations** | [**Array&lt;PayeeLocation&gt;**](PayeeLocation.md) | |
7
-
8
-
data/docs/PayeeWrapper.md DELETED
@@ -1,8 +0,0 @@
1
- # YNAB::PayeeWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **payee** | [**Payee**](Payee.md) | |
7
-
8
-
@@ -1,9 +0,0 @@
1
- # YNAB::PayeesWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **payees** | [**Array&lt;Payee&gt;**](Payee.md) | |
7
- **server_knowledge** | **Integer** | The knowledge of the server |
8
-
9
-
@@ -1,8 +0,0 @@
1
- # YNAB::SaveAccountWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **account** | [**SaveAccount**](SaveAccount.md) | |
7
-
8
-
@@ -1,8 +0,0 @@
1
- # YNAB::SaveMonthCategoryWrapper
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **category** | [**SaveMonthCategory**](SaveMonthCategory.md) | |
7
-
8
-