up_banking 1.0.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 (325) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +219 -0
  4. data/Rakefile +10 -0
  5. data/config.json +11 -0
  6. data/docs/AccountResource.md +26 -0
  7. data/docs/AccountResourceAttributes.md +26 -0
  8. data/docs/AccountResourceAttributesBalance.md +22 -0
  9. data/docs/AccountResourceLinks.md +18 -0
  10. data/docs/AccountResourceRelationships.md +18 -0
  11. data/docs/AccountResourceRelationshipsTransactions.md +18 -0
  12. data/docs/AccountResourceRelationshipsTransactionsLinks.md +18 -0
  13. data/docs/AccountTypeEnum.md +15 -0
  14. data/docs/AccountsApi.md +153 -0
  15. data/docs/CashbackObject.md +20 -0
  16. data/docs/CashbackObjectAmount.md +22 -0
  17. data/docs/CategoriesApi.md +222 -0
  18. data/docs/CategoryInputResourceIdentifier.md +20 -0
  19. data/docs/CategoryResource.md +26 -0
  20. data/docs/CategoryResourceAttributes.md +18 -0
  21. data/docs/CategoryResourceRelationships.md +20 -0
  22. data/docs/CategoryResourceRelationshipsChildren.md +20 -0
  23. data/docs/CategoryResourceRelationshipsChildrenDataInner.md +20 -0
  24. data/docs/CategoryResourceRelationshipsParent.md +20 -0
  25. data/docs/CategoryResourceRelationshipsParentData.md +20 -0
  26. data/docs/CreateWebhookRequest.md +18 -0
  27. data/docs/CreateWebhookRequestData.md +18 -0
  28. data/docs/CreateWebhookResponse.md +18 -0
  29. data/docs/CreateWebhookResponseData.md +26 -0
  30. data/docs/ErrorObject.md +24 -0
  31. data/docs/ErrorObjectSource.md +20 -0
  32. data/docs/ErrorResponse.md +18 -0
  33. data/docs/GetAccountResponse.md +18 -0
  34. data/docs/GetAccountResponseData.md +26 -0
  35. data/docs/GetCategoryResponse.md +18 -0
  36. data/docs/GetCategoryResponseData.md +26 -0
  37. data/docs/GetTransactionResponse.md +18 -0
  38. data/docs/GetTransactionResponseData.md +26 -0
  39. data/docs/GetWebhookResponse.md +18 -0
  40. data/docs/GetWebhookResponseData.md +26 -0
  41. data/docs/HoldInfoObject.md +20 -0
  42. data/docs/HoldInfoObjectAmount.md +22 -0
  43. data/docs/HoldInfoObjectForeignAmount.md +22 -0
  44. data/docs/ListAccountsResponse.md +20 -0
  45. data/docs/ListAccountsResponseLinks.md +20 -0
  46. data/docs/ListCategoriesResponse.md +18 -0
  47. data/docs/ListTagsResponse.md +20 -0
  48. data/docs/ListTransactionsResponse.md +20 -0
  49. data/docs/ListWebhookDeliveryLogsResponse.md +20 -0
  50. data/docs/ListWebhooksResponse.md +20 -0
  51. data/docs/MoneyObject.md +22 -0
  52. data/docs/OwnershipTypeEnum.md +15 -0
  53. data/docs/PingResponse.md +18 -0
  54. data/docs/PingResponseMeta.md +20 -0
  55. data/docs/RoundUpObject.md +20 -0
  56. data/docs/RoundUpObjectAmount.md +22 -0
  57. data/docs/RoundUpObjectBoostPortion.md +22 -0
  58. data/docs/TagInputResourceIdentifier.md +20 -0
  59. data/docs/TagResource.md +22 -0
  60. data/docs/TagsApi.md +225 -0
  61. data/docs/TransactionResource.md +26 -0
  62. data/docs/TransactionResourceAttributes.md +40 -0
  63. data/docs/TransactionResourceAttributesAmount.md +22 -0
  64. data/docs/TransactionResourceAttributesCashback.md +20 -0
  65. data/docs/TransactionResourceAttributesForeignAmount.md +22 -0
  66. data/docs/TransactionResourceAttributesHoldInfo.md +20 -0
  67. data/docs/TransactionResourceAttributesRoundUp.md +20 -0
  68. data/docs/TransactionResourceRelationships.md +26 -0
  69. data/docs/TransactionResourceRelationshipsAccount.md +20 -0
  70. data/docs/TransactionResourceRelationshipsAccountData.md +20 -0
  71. data/docs/TransactionResourceRelationshipsCategory.md +20 -0
  72. data/docs/TransactionResourceRelationshipsCategoryLinks.md +20 -0
  73. data/docs/TransactionResourceRelationshipsTags.md +20 -0
  74. data/docs/TransactionResourceRelationshipsTagsDataInner.md +20 -0
  75. data/docs/TransactionResourceRelationshipsTagsLinks.md +18 -0
  76. data/docs/TransactionResourceRelationshipsTransferAccount.md +20 -0
  77. data/docs/TransactionResourceRelationshipsTransferAccountData.md +20 -0
  78. data/docs/TransactionStatusEnum.md +15 -0
  79. data/docs/TransactionsApi.md +243 -0
  80. data/docs/UpdateTransactionCategoryRequest.md +18 -0
  81. data/docs/UpdateTransactionCategoryRequestData.md +20 -0
  82. data/docs/UpdateTransactionTagsRequest.md +18 -0
  83. data/docs/UtilityEndpointsApi.md +74 -0
  84. data/docs/WebhookDeliveryLogResource.md +24 -0
  85. data/docs/WebhookDeliveryLogResourceAttributes.md +24 -0
  86. data/docs/WebhookDeliveryLogResourceAttributesRequest.md +18 -0
  87. data/docs/WebhookDeliveryLogResourceAttributesResponse.md +20 -0
  88. data/docs/WebhookDeliveryLogResourceRelationships.md +18 -0
  89. data/docs/WebhookDeliveryLogResourceRelationshipsWebhookEvent.md +18 -0
  90. data/docs/WebhookDeliveryLogResourceRelationshipsWebhookEventData.md +20 -0
  91. data/docs/WebhookDeliveryStatusEnum.md +15 -0
  92. data/docs/WebhookEventCallback.md +18 -0
  93. data/docs/WebhookEventCallbackData.md +24 -0
  94. data/docs/WebhookEventResource.md +24 -0
  95. data/docs/WebhookEventResourceAttributes.md +20 -0
  96. data/docs/WebhookEventResourceRelationships.md +20 -0
  97. data/docs/WebhookEventResourceRelationshipsTransaction.md +20 -0
  98. data/docs/WebhookEventResourceRelationshipsTransactionData.md +20 -0
  99. data/docs/WebhookEventResourceRelationshipsWebhook.md +20 -0
  100. data/docs/WebhookEventResourceRelationshipsWebhookData.md +20 -0
  101. data/docs/WebhookEventTypeEnum.md +15 -0
  102. data/docs/WebhookInputResource.md +18 -0
  103. data/docs/WebhookInputResourceAttributes.md +20 -0
  104. data/docs/WebhookResource.md +26 -0
  105. data/docs/WebhookResourceAttributes.md +24 -0
  106. data/docs/WebhookResourceRelationships.md +18 -0
  107. data/docs/WebhooksApi.md +434 -0
  108. data/git_push.sh +57 -0
  109. data/lib/.DS_Store +0 -0
  110. data/lib/up_banking/.DS_Store +0 -0
  111. data/lib/up_banking/api/accounts_api.rb +151 -0
  112. data/lib/up_banking/api/categories_api.rb +213 -0
  113. data/lib/up_banking/api/tags_api.rb +218 -0
  114. data/lib/up_banking/api/transactions_api.rb +241 -0
  115. data/lib/up_banking/api/utility_endpoints_api.rb +79 -0
  116. data/lib/up_banking/api/webhooks_api.rb +399 -0
  117. data/lib/up_banking/api_client.rb +392 -0
  118. data/lib/up_banking/api_error.rb +57 -0
  119. data/lib/up_banking/configuration.rb +279 -0
  120. data/lib/up_banking/models/account_resource.rb +278 -0
  121. data/lib/up_banking/models/account_resource_attributes.rb +284 -0
  122. data/lib/up_banking/models/account_resource_attributes_balance.rb +263 -0
  123. data/lib/up_banking/models/account_resource_links.rb +225 -0
  124. data/lib/up_banking/models/account_resource_relationships.rb +224 -0
  125. data/lib/up_banking/models/account_resource_relationships_transactions.rb +219 -0
  126. data/lib/up_banking/models/account_resource_relationships_transactions_links.rb +225 -0
  127. data/lib/up_banking/models/account_type_enum.rb +40 -0
  128. data/lib/up_banking/models/cashback_object.rb +240 -0
  129. data/lib/up_banking/models/cashback_object_amount.rb +263 -0
  130. data/lib/up_banking/models/category_input_resource_identifier.rb +241 -0
  131. data/lib/up_banking/models/category_resource.rb +278 -0
  132. data/lib/up_banking/models/category_resource_attributes.rb +225 -0
  133. data/lib/up_banking/models/category_resource_relationships.rb +238 -0
  134. data/lib/up_banking/models/category_resource_relationships_children.rb +235 -0
  135. data/lib/up_banking/models/category_resource_relationships_children_data_inner.rb +240 -0
  136. data/lib/up_banking/models/category_resource_relationships_parent.rb +229 -0
  137. data/lib/up_banking/models/category_resource_relationships_parent_data.rb +240 -0
  138. data/lib/up_banking/models/create_webhook_request.rb +225 -0
  139. data/lib/up_banking/models/create_webhook_request_data.rb +232 -0
  140. data/lib/up_banking/models/create_webhook_response.rb +225 -0
  141. data/lib/up_banking/models/create_webhook_response_data.rb +285 -0
  142. data/lib/up_banking/models/error_object.rb +265 -0
  143. data/lib/up_banking/models/error_object_source.rb +231 -0
  144. data/lib/up_banking/models/error_response.rb +228 -0
  145. data/lib/up_banking/models/get_account_response.rb +225 -0
  146. data/lib/up_banking/models/get_account_response_data.rb +285 -0
  147. data/lib/up_banking/models/get_category_response.rb +225 -0
  148. data/lib/up_banking/models/get_category_response_data.rb +285 -0
  149. data/lib/up_banking/models/get_transaction_response.rb +225 -0
  150. data/lib/up_banking/models/get_transaction_response_data.rb +285 -0
  151. data/lib/up_banking/models/get_webhook_response.rb +225 -0
  152. data/lib/up_banking/models/get_webhook_response_data.rb +285 -0
  153. data/lib/up_banking/models/hold_info_object.rb +235 -0
  154. data/lib/up_banking/models/hold_info_object_amount.rb +263 -0
  155. data/lib/up_banking/models/hold_info_object_foreign_amount.rb +263 -0
  156. data/lib/up_banking/models/list_accounts_response.rb +242 -0
  157. data/lib/up_banking/models/list_accounts_response_links.rb +232 -0
  158. data/lib/up_banking/models/list_categories_response.rb +228 -0
  159. data/lib/up_banking/models/list_tags_response.rb +242 -0
  160. data/lib/up_banking/models/list_transactions_response.rb +242 -0
  161. data/lib/up_banking/models/list_webhook_delivery_logs_response.rb +242 -0
  162. data/lib/up_banking/models/list_webhooks_response.rb +242 -0
  163. data/lib/up_banking/models/money_object.rb +256 -0
  164. data/lib/up_banking/models/ownership_type_enum.rb +40 -0
  165. data/lib/up_banking/models/ping_response.rb +225 -0
  166. data/lib/up_banking/models/ping_response_meta.rb +240 -0
  167. data/lib/up_banking/models/round_up_object.rb +235 -0
  168. data/lib/up_banking/models/round_up_object_amount.rb +263 -0
  169. data/lib/up_banking/models/round_up_object_boost_portion.rb +263 -0
  170. data/lib/up_banking/models/tag_input_resource_identifier.rb +241 -0
  171. data/lib/up_banking/models/tag_resource.rb +255 -0
  172. data/lib/up_banking/models/transaction_resource.rb +277 -0
  173. data/lib/up_banking/models/transaction_resource_attributes.rb +357 -0
  174. data/lib/up_banking/models/transaction_resource_attributes_amount.rb +263 -0
  175. data/lib/up_banking/models/transaction_resource_attributes_cashback.rb +247 -0
  176. data/lib/up_banking/models/transaction_resource_attributes_foreign_amount.rb +263 -0
  177. data/lib/up_banking/models/transaction_resource_attributes_hold_info.rb +242 -0
  178. data/lib/up_banking/models/transaction_resource_attributes_round_up.rb +242 -0
  179. data/lib/up_banking/models/transaction_resource_relationships.rb +280 -0
  180. data/lib/up_banking/models/transaction_resource_relationships_account.rb +233 -0
  181. data/lib/up_banking/models/transaction_resource_relationships_account_data.rb +240 -0
  182. data/lib/up_banking/models/transaction_resource_relationships_category.rb +229 -0
  183. data/lib/up_banking/models/transaction_resource_relationships_category_links.rb +235 -0
  184. data/lib/up_banking/models/transaction_resource_relationships_tags.rb +235 -0
  185. data/lib/up_banking/models/transaction_resource_relationships_tags_data_inner.rb +240 -0
  186. data/lib/up_banking/models/transaction_resource_relationships_tags_links.rb +225 -0
  187. data/lib/up_banking/models/transaction_resource_relationships_transfer_account.rb +230 -0
  188. data/lib/up_banking/models/transaction_resource_relationships_transfer_account_data.rb +240 -0
  189. data/lib/up_banking/models/transaction_status_enum.rb +40 -0
  190. data/lib/up_banking/models/update_transaction_category_request.rb +221 -0
  191. data/lib/up_banking/models/update_transaction_category_request_data.rb +248 -0
  192. data/lib/up_banking/models/update_transaction_tags_request.rb +228 -0
  193. data/lib/up_banking/models/webhook_delivery_log_resource.rb +269 -0
  194. data/lib/up_banking/models/webhook_delivery_log_resource_attributes.rb +264 -0
  195. data/lib/up_banking/models/webhook_delivery_log_resource_attributes_request.rb +226 -0
  196. data/lib/up_banking/models/webhook_delivery_log_resource_attributes_response.rb +241 -0
  197. data/lib/up_banking/models/webhook_delivery_log_resource_relationships.rb +224 -0
  198. data/lib/up_banking/models/webhook_delivery_log_resource_relationships_webhook_event.rb +224 -0
  199. data/lib/up_banking/models/webhook_delivery_log_resource_relationships_webhook_event_data.rb +240 -0
  200. data/lib/up_banking/models/webhook_delivery_status_enum.rb +41 -0
  201. data/lib/up_banking/models/webhook_event_callback.rb +225 -0
  202. data/lib/up_banking/models/webhook_event_callback_data.rb +276 -0
  203. data/lib/up_banking/models/webhook_event_resource.rb +269 -0
  204. data/lib/up_banking/models/webhook_event_resource_attributes.rb +240 -0
  205. data/lib/up_banking/models/webhook_event_resource_relationships.rb +233 -0
  206. data/lib/up_banking/models/webhook_event_resource_relationships_transaction.rb +233 -0
  207. data/lib/up_banking/models/webhook_event_resource_relationships_transaction_data.rb +240 -0
  208. data/lib/up_banking/models/webhook_event_resource_relationships_webhook.rb +233 -0
  209. data/lib/up_banking/models/webhook_event_resource_relationships_webhook_data.rb +240 -0
  210. data/lib/up_banking/models/webhook_event_type_enum.rb +42 -0
  211. data/lib/up_banking/models/webhook_input_resource.rb +225 -0
  212. data/lib/up_banking/models/webhook_input_resource_attributes.rb +236 -0
  213. data/lib/up_banking/models/webhook_resource.rb +278 -0
  214. data/lib/up_banking/models/webhook_resource_attributes.rb +261 -0
  215. data/lib/up_banking/models/webhook_resource_relationships.rb +224 -0
  216. data/lib/up_banking/version.rb +15 -0
  217. data/lib/up_banking.rb +141 -0
  218. data/spec/.DS_Store +0 -0
  219. data/spec/api/accounts_api_spec.rb +61 -0
  220. data/spec/api/categories_api_spec.rb +72 -0
  221. data/spec/api/tags_api_spec.rb +73 -0
  222. data/spec/api/transactions_api_spec.rb +82 -0
  223. data/spec/api/utility_endpoints_api_spec.rb +46 -0
  224. data/spec/api/webhooks_api_spec.rb +108 -0
  225. data/spec/api_client_spec.rb +226 -0
  226. data/spec/configuration_spec.rb +42 -0
  227. data/spec/models/account_resource_attributes_balance_spec.rb +46 -0
  228. data/spec/models/account_resource_attributes_spec.rb +58 -0
  229. data/spec/models/account_resource_links_spec.rb +34 -0
  230. data/spec/models/account_resource_relationships_spec.rb +34 -0
  231. data/spec/models/account_resource_relationships_transactions_links_spec.rb +34 -0
  232. data/spec/models/account_resource_relationships_transactions_spec.rb +34 -0
  233. data/spec/models/account_resource_spec.rb +58 -0
  234. data/spec/models/account_type_enum_spec.rb +28 -0
  235. data/spec/models/cashback_object_amount_spec.rb +46 -0
  236. data/spec/models/cashback_object_spec.rb +40 -0
  237. data/spec/models/category_input_resource_identifier_spec.rb +40 -0
  238. data/spec/models/category_resource_attributes_spec.rb +34 -0
  239. data/spec/models/category_resource_relationships_children_data_inner_spec.rb +40 -0
  240. data/spec/models/category_resource_relationships_children_spec.rb +40 -0
  241. data/spec/models/category_resource_relationships_parent_data_spec.rb +40 -0
  242. data/spec/models/category_resource_relationships_parent_spec.rb +40 -0
  243. data/spec/models/category_resource_relationships_spec.rb +40 -0
  244. data/spec/models/category_resource_spec.rb +58 -0
  245. data/spec/models/create_webhook_request_data_spec.rb +34 -0
  246. data/spec/models/create_webhook_request_spec.rb +34 -0
  247. data/spec/models/create_webhook_response_data_spec.rb +58 -0
  248. data/spec/models/create_webhook_response_spec.rb +34 -0
  249. data/spec/models/error_object_source_spec.rb +40 -0
  250. data/spec/models/error_object_spec.rb +52 -0
  251. data/spec/models/error_response_spec.rb +34 -0
  252. data/spec/models/get_account_response_data_spec.rb +58 -0
  253. data/spec/models/get_account_response_spec.rb +34 -0
  254. data/spec/models/get_category_response_data_spec.rb +58 -0
  255. data/spec/models/get_category_response_spec.rb +34 -0
  256. data/spec/models/get_transaction_response_data_spec.rb +58 -0
  257. data/spec/models/get_transaction_response_spec.rb +34 -0
  258. data/spec/models/get_webhook_response_data_spec.rb +58 -0
  259. data/spec/models/get_webhook_response_spec.rb +34 -0
  260. data/spec/models/hold_info_object_amount_spec.rb +46 -0
  261. data/spec/models/hold_info_object_foreign_amount_spec.rb +46 -0
  262. data/spec/models/hold_info_object_spec.rb +40 -0
  263. data/spec/models/list_accounts_response_links_spec.rb +40 -0
  264. data/spec/models/list_accounts_response_spec.rb +40 -0
  265. data/spec/models/list_categories_response_spec.rb +34 -0
  266. data/spec/models/list_tags_response_spec.rb +40 -0
  267. data/spec/models/list_transactions_response_spec.rb +40 -0
  268. data/spec/models/list_webhook_delivery_logs_response_spec.rb +40 -0
  269. data/spec/models/list_webhooks_response_spec.rb +40 -0
  270. data/spec/models/money_object_spec.rb +46 -0
  271. data/spec/models/ownership_type_enum_spec.rb +28 -0
  272. data/spec/models/ping_response_meta_spec.rb +40 -0
  273. data/spec/models/ping_response_spec.rb +34 -0
  274. data/spec/models/round_up_object_amount_spec.rb +46 -0
  275. data/spec/models/round_up_object_boost_portion_spec.rb +46 -0
  276. data/spec/models/round_up_object_spec.rb +40 -0
  277. data/spec/models/tag_input_resource_identifier_spec.rb +40 -0
  278. data/spec/models/tag_resource_spec.rb +46 -0
  279. data/spec/models/transaction_resource_attributes_amount_spec.rb +46 -0
  280. data/spec/models/transaction_resource_attributes_cashback_spec.rb +40 -0
  281. data/spec/models/transaction_resource_attributes_foreign_amount_spec.rb +46 -0
  282. data/spec/models/transaction_resource_attributes_hold_info_spec.rb +40 -0
  283. data/spec/models/transaction_resource_attributes_round_up_spec.rb +40 -0
  284. data/spec/models/transaction_resource_attributes_spec.rb +100 -0
  285. data/spec/models/transaction_resource_relationships_account_data_spec.rb +40 -0
  286. data/spec/models/transaction_resource_relationships_account_spec.rb +40 -0
  287. data/spec/models/transaction_resource_relationships_category_links_spec.rb +40 -0
  288. data/spec/models/transaction_resource_relationships_category_spec.rb +40 -0
  289. data/spec/models/transaction_resource_relationships_spec.rb +58 -0
  290. data/spec/models/transaction_resource_relationships_tags_data_inner_spec.rb +40 -0
  291. data/spec/models/transaction_resource_relationships_tags_links_spec.rb +34 -0
  292. data/spec/models/transaction_resource_relationships_tags_spec.rb +40 -0
  293. data/spec/models/transaction_resource_relationships_transfer_account_data_spec.rb +40 -0
  294. data/spec/models/transaction_resource_relationships_transfer_account_spec.rb +40 -0
  295. data/spec/models/transaction_resource_spec.rb +58 -0
  296. data/spec/models/transaction_status_enum_spec.rb +28 -0
  297. data/spec/models/update_transaction_category_request_data_spec.rb +40 -0
  298. data/spec/models/update_transaction_category_request_spec.rb +34 -0
  299. data/spec/models/update_transaction_tags_request_spec.rb +34 -0
  300. data/spec/models/webhook_delivery_log_resource_attributes_request_spec.rb +34 -0
  301. data/spec/models/webhook_delivery_log_resource_attributes_response_spec.rb +40 -0
  302. data/spec/models/webhook_delivery_log_resource_attributes_spec.rb +52 -0
  303. data/spec/models/webhook_delivery_log_resource_relationships_spec.rb +34 -0
  304. data/spec/models/webhook_delivery_log_resource_relationships_webhook_event_data_spec.rb +40 -0
  305. data/spec/models/webhook_delivery_log_resource_relationships_webhook_event_spec.rb +34 -0
  306. data/spec/models/webhook_delivery_log_resource_spec.rb +52 -0
  307. data/spec/models/webhook_delivery_status_enum_spec.rb +28 -0
  308. data/spec/models/webhook_event_callback_data_spec.rb +52 -0
  309. data/spec/models/webhook_event_callback_spec.rb +34 -0
  310. data/spec/models/webhook_event_resource_attributes_spec.rb +40 -0
  311. data/spec/models/webhook_event_resource_relationships_spec.rb +40 -0
  312. data/spec/models/webhook_event_resource_relationships_transaction_data_spec.rb +40 -0
  313. data/spec/models/webhook_event_resource_relationships_transaction_spec.rb +40 -0
  314. data/spec/models/webhook_event_resource_relationships_webhook_data_spec.rb +40 -0
  315. data/spec/models/webhook_event_resource_relationships_webhook_spec.rb +40 -0
  316. data/spec/models/webhook_event_resource_spec.rb +52 -0
  317. data/spec/models/webhook_event_type_enum_spec.rb +28 -0
  318. data/spec/models/webhook_input_resource_attributes_spec.rb +40 -0
  319. data/spec/models/webhook_input_resource_spec.rb +34 -0
  320. data/spec/models/webhook_resource_attributes_spec.rb +52 -0
  321. data/spec/models/webhook_resource_relationships_spec.rb +34 -0
  322. data/spec/models/webhook_resource_spec.rb +58 -0
  323. data/spec/spec_helper.rb +111 -0
  324. data/up_banking.gemspec +38 -0
  325. metadata +511 -0
@@ -0,0 +1,222 @@
1
+ # UpBankingClient::CategoriesApi
2
+
3
+ All URIs are relative to *https://api.up.com.au/api/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**categories_get**](CategoriesApi.md#categories_get) | **GET** /categories | List categories |
8
+ | [**categories_id_get**](CategoriesApi.md#categories_id_get) | **GET** /categories/{id} | Retrieve category |
9
+ | [**transactions_transaction_id_relationships_category_patch**](CategoriesApi.md#transactions_transaction_id_relationships_category_patch) | **PATCH** /transactions/{transactionId}/relationships/category | Categorize transaction |
10
+
11
+
12
+ ## categories_get
13
+
14
+ > <ListCategoriesResponse> categories_get(opts)
15
+
16
+ List categories
17
+
18
+ Retrieve a list of all categories and their ancestry. The returned list is not paginated.
19
+
20
+ ### Examples
21
+
22
+ ```ruby
23
+ require 'time'
24
+ require 'up_banking'
25
+ # setup authorization
26
+ UpBankingClient.configure do |config|
27
+ # Configure Bearer authorization: bearer_auth
28
+ config.access_token = 'YOUR_BEARER_TOKEN'
29
+ end
30
+
31
+ api_instance = UpBankingClient::CategoriesApi.new
32
+ opts = {
33
+ filter_parent: 'good-life' # String | The unique identifier of a parent category for which to return only its children. Providing an invalid category identifier results in a `404` response.
34
+ }
35
+
36
+ begin
37
+ # List categories
38
+ result = api_instance.categories_get(opts)
39
+ p result
40
+ rescue UpBankingClient::ApiError => e
41
+ puts "Error when calling CategoriesApi->categories_get: #{e}"
42
+ end
43
+ ```
44
+
45
+ #### Using the categories_get_with_http_info variant
46
+
47
+ This returns an Array which contains the response data, status code and headers.
48
+
49
+ > <Array(<ListCategoriesResponse>, Integer, Hash)> categories_get_with_http_info(opts)
50
+
51
+ ```ruby
52
+ begin
53
+ # List categories
54
+ data, status_code, headers = api_instance.categories_get_with_http_info(opts)
55
+ p status_code # => 2xx
56
+ p headers # => { ... }
57
+ p data # => <ListCategoriesResponse>
58
+ rescue UpBankingClient::ApiError => e
59
+ puts "Error when calling CategoriesApi->categories_get_with_http_info: #{e}"
60
+ end
61
+ ```
62
+
63
+ ### Parameters
64
+
65
+ | Name | Type | Description | Notes |
66
+ | ---- | ---- | ----------- | ----- |
67
+ | **filter_parent** | **String** | The unique identifier of a parent category for which to return only its children. Providing an invalid category identifier results in a &#x60;404&#x60; response. | [optional] |
68
+
69
+ ### Return type
70
+
71
+ [**ListCategoriesResponse**](ListCategoriesResponse.md)
72
+
73
+ ### Authorization
74
+
75
+ [bearer_auth](../README.md#bearer_auth)
76
+
77
+ ### HTTP request headers
78
+
79
+ - **Content-Type**: Not defined
80
+ - **Accept**: application/json
81
+
82
+
83
+ ## categories_id_get
84
+
85
+ > <GetCategoryResponse> categories_id_get(id)
86
+
87
+ Retrieve category
88
+
89
+ Retrieve a specific category by providing its unique identifier.
90
+
91
+ ### Examples
92
+
93
+ ```ruby
94
+ require 'time'
95
+ require 'up_banking'
96
+ # setup authorization
97
+ UpBankingClient.configure do |config|
98
+ # Configure Bearer authorization: bearer_auth
99
+ config.access_token = 'YOUR_BEARER_TOKEN'
100
+ end
101
+
102
+ api_instance = UpBankingClient::CategoriesApi.new
103
+ id = 'restaurants-and-cafes' # String | The unique identifier for the category.
104
+
105
+ begin
106
+ # Retrieve category
107
+ result = api_instance.categories_id_get(id)
108
+ p result
109
+ rescue UpBankingClient::ApiError => e
110
+ puts "Error when calling CategoriesApi->categories_id_get: #{e}"
111
+ end
112
+ ```
113
+
114
+ #### Using the categories_id_get_with_http_info variant
115
+
116
+ This returns an Array which contains the response data, status code and headers.
117
+
118
+ > <Array(<GetCategoryResponse>, Integer, Hash)> categories_id_get_with_http_info(id)
119
+
120
+ ```ruby
121
+ begin
122
+ # Retrieve category
123
+ data, status_code, headers = api_instance.categories_id_get_with_http_info(id)
124
+ p status_code # => 2xx
125
+ p headers # => { ... }
126
+ p data # => <GetCategoryResponse>
127
+ rescue UpBankingClient::ApiError => e
128
+ puts "Error when calling CategoriesApi->categories_id_get_with_http_info: #{e}"
129
+ end
130
+ ```
131
+
132
+ ### Parameters
133
+
134
+ | Name | Type | Description | Notes |
135
+ | ---- | ---- | ----------- | ----- |
136
+ | **id** | **String** | The unique identifier for the category. | |
137
+
138
+ ### Return type
139
+
140
+ [**GetCategoryResponse**](GetCategoryResponse.md)
141
+
142
+ ### Authorization
143
+
144
+ [bearer_auth](../README.md#bearer_auth)
145
+
146
+ ### HTTP request headers
147
+
148
+ - **Content-Type**: Not defined
149
+ - **Accept**: application/json
150
+
151
+
152
+ ## transactions_transaction_id_relationships_category_patch
153
+
154
+ > transactions_transaction_id_relationships_category_patch(transaction_id, opts)
155
+
156
+ Categorize transaction
157
+
158
+ Updates the category associated with a transaction. Only transactions for which `isCategorizable` is set to true support this operation. The `id` is taken from the list exposed on `/categories` and cannot be one of the top-level (parent) categories. To de-categorize a transaction, set the entire `data` key to `null`. An HTTP `204` is returned on success. The associated category, along with its request URL is also exposed via the `category` relationship on the transaction resource returned from `/transactions/{id}`.
159
+
160
+ ### Examples
161
+
162
+ ```ruby
163
+ require 'time'
164
+ require 'up_banking'
165
+ # setup authorization
166
+ UpBankingClient.configure do |config|
167
+ # Configure Bearer authorization: bearer_auth
168
+ config.access_token = 'YOUR_BEARER_TOKEN'
169
+ end
170
+
171
+ api_instance = UpBankingClient::CategoriesApi.new
172
+ transaction_id = 'a572c7c3-b637-433c-a4ce-c0be5dcb0a5a' # String | The unique identifier for the transaction.
173
+ opts = {
174
+ update_transaction_category_request: UpBankingClient::UpdateTransactionCategoryRequest.new({data: UpBankingClient::UpdateTransactionCategoryRequestData.new({type: 'type_example', id: 'id_example'})}) # UpdateTransactionCategoryRequest |
175
+ }
176
+
177
+ begin
178
+ # Categorize transaction
179
+ api_instance.transactions_transaction_id_relationships_category_patch(transaction_id, opts)
180
+ rescue UpBankingClient::ApiError => e
181
+ puts "Error when calling CategoriesApi->transactions_transaction_id_relationships_category_patch: #{e}"
182
+ end
183
+ ```
184
+
185
+ #### Using the transactions_transaction_id_relationships_category_patch_with_http_info variant
186
+
187
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
188
+
189
+ > <Array(nil, Integer, Hash)> transactions_transaction_id_relationships_category_patch_with_http_info(transaction_id, opts)
190
+
191
+ ```ruby
192
+ begin
193
+ # Categorize transaction
194
+ data, status_code, headers = api_instance.transactions_transaction_id_relationships_category_patch_with_http_info(transaction_id, opts)
195
+ p status_code # => 2xx
196
+ p headers # => { ... }
197
+ p data # => nil
198
+ rescue UpBankingClient::ApiError => e
199
+ puts "Error when calling CategoriesApi->transactions_transaction_id_relationships_category_patch_with_http_info: #{e}"
200
+ end
201
+ ```
202
+
203
+ ### Parameters
204
+
205
+ | Name | Type | Description | Notes |
206
+ | ---- | ---- | ----------- | ----- |
207
+ | **transaction_id** | **String** | The unique identifier for the transaction. | |
208
+ | **update_transaction_category_request** | [**UpdateTransactionCategoryRequest**](UpdateTransactionCategoryRequest.md) | | [optional] |
209
+
210
+ ### Return type
211
+
212
+ nil (empty response body)
213
+
214
+ ### Authorization
215
+
216
+ [bearer_auth](../README.md#bearer_auth)
217
+
218
+ ### HTTP request headers
219
+
220
+ - **Content-Type**: application/json
221
+ - **Accept**: Not defined
222
+
@@ -0,0 +1,20 @@
1
+ # UpBankingClient::CategoryInputResourceIdentifier
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of this resource: &#x60;categories&#x60; | |
8
+ | **id** | **String** | The unique identifier of the category, as returned by the &#x60;/categories&#x60; endpoint. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'up_banking'
14
+
15
+ instance = UpBankingClient::CategoryInputResourceIdentifier.new(
16
+ type: null,
17
+ id: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,26 @@
1
+ # UpBankingClient::CategoryResource
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of this resource: &#x60;categories&#x60; | |
8
+ | **id** | **String** | The unique identifier for this category. This is a human-readable but URL-safe value. | |
9
+ | **attributes** | [**CategoryResourceAttributes**](CategoryResourceAttributes.md) | | |
10
+ | **relationships** | [**CategoryResourceRelationships**](CategoryResourceRelationships.md) | | |
11
+ | **links** | [**AccountResourceLinks**](AccountResourceLinks.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'up_banking'
17
+
18
+ instance = UpBankingClient::CategoryResource.new(
19
+ type: null,
20
+ id: null,
21
+ attributes: null,
22
+ relationships: null,
23
+ links: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,18 @@
1
+ # UpBankingClient::CategoryResourceAttributes
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name of this category as seen in the Up application. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'up_banking'
13
+
14
+ instance = UpBankingClient::CategoryResourceAttributes.new(
15
+ name: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # UpBankingClient::CategoryResourceRelationships
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **parent** | [**CategoryResourceRelationshipsParent**](CategoryResourceRelationshipsParent.md) | | |
8
+ | **children** | [**CategoryResourceRelationshipsChildren**](CategoryResourceRelationshipsChildren.md) | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'up_banking'
14
+
15
+ instance = UpBankingClient::CategoryResourceRelationships.new(
16
+ parent: null,
17
+ children: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # UpBankingClient::CategoryResourceRelationshipsChildren
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;CategoryResourceRelationshipsChildrenDataInner&gt;**](CategoryResourceRelationshipsChildrenDataInner.md) | | |
8
+ | **links** | [**AccountResourceRelationshipsTransactionsLinks**](AccountResourceRelationshipsTransactionsLinks.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'up_banking'
14
+
15
+ instance = UpBankingClient::CategoryResourceRelationshipsChildren.new(
16
+ data: null,
17
+ links: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # UpBankingClient::CategoryResourceRelationshipsChildrenDataInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of this resource: &#x60;categories&#x60; | |
8
+ | **id** | **String** | The unique identifier of the resource within its type. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'up_banking'
14
+
15
+ instance = UpBankingClient::CategoryResourceRelationshipsChildrenDataInner.new(
16
+ type: null,
17
+ id: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # UpBankingClient::CategoryResourceRelationshipsParent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**CategoryResourceRelationshipsParentData**](CategoryResourceRelationshipsParentData.md) | | |
8
+ | **links** | [**AccountResourceRelationshipsTransactionsLinks**](AccountResourceRelationshipsTransactionsLinks.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'up_banking'
14
+
15
+ instance = UpBankingClient::CategoryResourceRelationshipsParent.new(
16
+ data: null,
17
+ links: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # UpBankingClient::CategoryResourceRelationshipsParentData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of this resource: &#x60;categories&#x60; | |
8
+ | **id** | **String** | The unique identifier of the resource within its type. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'up_banking'
14
+
15
+ instance = UpBankingClient::CategoryResourceRelationshipsParentData.new(
16
+ type: null,
17
+ id: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # UpBankingClient::CreateWebhookRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**CreateWebhookRequestData**](CreateWebhookRequestData.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'up_banking'
13
+
14
+ instance = UpBankingClient::CreateWebhookRequest.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # UpBankingClient::CreateWebhookRequestData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **attributes** | [**WebhookInputResourceAttributes**](WebhookInputResourceAttributes.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'up_banking'
13
+
14
+ instance = UpBankingClient::CreateWebhookRequestData.new(
15
+ attributes: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # UpBankingClient::CreateWebhookResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**CreateWebhookResponseData**](CreateWebhookResponseData.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'up_banking'
13
+
14
+ instance = UpBankingClient::CreateWebhookResponse.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,26 @@
1
+ # UpBankingClient::CreateWebhookResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of this resource: &#x60;webhooks&#x60; | |
8
+ | **id** | **String** | The unique identifier for this webhook. | |
9
+ | **attributes** | [**WebhookResourceAttributes**](WebhookResourceAttributes.md) | | |
10
+ | **relationships** | [**WebhookResourceRelationships**](WebhookResourceRelationships.md) | | |
11
+ | **links** | [**AccountResourceLinks**](AccountResourceLinks.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'up_banking'
17
+
18
+ instance = UpBankingClient::CreateWebhookResponseData.new(
19
+ type: null,
20
+ id: null,
21
+ attributes: null,
22
+ relationships: null,
23
+ links: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,24 @@
1
+ # UpBankingClient::ErrorObject
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status** | **String** | The HTTP status code associated with this error. This can also be obtained from the response headers. The status indicates the broad type of error according to HTTP semantics. | |
8
+ | **title** | **String** | A short description of this error. This should be stable across multiple occurrences of this type of error and typically expands on the reason for the status code. | |
9
+ | **detail** | **String** | A detailed description of this error. This should be considered unique to individual occurrences of an error and subject to change. It is useful for debugging purposes. | |
10
+ | **source** | [**ErrorObjectSource**](ErrorObjectSource.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'up_banking'
16
+
17
+ instance = UpBankingClient::ErrorObject.new(
18
+ status: null,
19
+ title: null,
20
+ detail: null,
21
+ source: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,20 @@
1
+ # UpBankingClient::ErrorObjectSource
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **parameter** | **String** | If this error relates to a query parameter, the name of the parameter. | [optional] |
8
+ | **pointer** | **String** | If this error relates to an attribute in the request body, a rfc-6901 JSON pointer to the attribute. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'up_banking'
14
+
15
+ instance = UpBankingClient::ErrorObjectSource.new(
16
+ parameter: null,
17
+ pointer: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # UpBankingClient::ErrorResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **errors** | [**Array&lt;ErrorObject&gt;**](ErrorObject.md) | The list of errors returned in this response. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'up_banking'
13
+
14
+ instance = UpBankingClient::ErrorResponse.new(
15
+ errors: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # UpBankingClient::GetAccountResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**GetAccountResponseData**](GetAccountResponseData.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'up_banking'
13
+
14
+ instance = UpBankingClient::GetAccountResponse.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,26 @@
1
+ # UpBankingClient::GetAccountResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of this resource: &#x60;accounts&#x60; | |
8
+ | **id** | **String** | The unique identifier for this account. | |
9
+ | **attributes** | [**AccountResourceAttributes**](AccountResourceAttributes.md) | | |
10
+ | **relationships** | [**AccountResourceRelationships**](AccountResourceRelationships.md) | | |
11
+ | **links** | [**AccountResourceLinks**](AccountResourceLinks.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'up_banking'
17
+
18
+ instance = UpBankingClient::GetAccountResponseData.new(
19
+ type: null,
20
+ id: null,
21
+ attributes: null,
22
+ relationships: null,
23
+ links: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,18 @@
1
+ # UpBankingClient::GetCategoryResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**GetCategoryResponseData**](GetCategoryResponseData.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'up_banking'
13
+
14
+ instance = UpBankingClient::GetCategoryResponse.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,26 @@
1
+ # UpBankingClient::GetCategoryResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of this resource: &#x60;categories&#x60; | |
8
+ | **id** | **String** | The unique identifier for this category. This is a human-readable but URL-safe value. | |
9
+ | **attributes** | [**CategoryResourceAttributes**](CategoryResourceAttributes.md) | | |
10
+ | **relationships** | [**CategoryResourceRelationships**](CategoryResourceRelationships.md) | | |
11
+ | **links** | [**AccountResourceLinks**](AccountResourceLinks.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'up_banking'
17
+
18
+ instance = UpBankingClient::GetCategoryResponseData.new(
19
+ type: null,
20
+ id: null,
21
+ attributes: null,
22
+ relationships: null,
23
+ links: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,18 @@
1
+ # UpBankingClient::GetTransactionResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**GetTransactionResponseData**](GetTransactionResponseData.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'up_banking'
13
+
14
+ instance = UpBankingClient::GetTransactionResponse.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,26 @@
1
+ # UpBankingClient::GetTransactionResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of this resource: &#x60;transactions&#x60; | |
8
+ | **id** | **String** | The unique identifier for this transaction. | |
9
+ | **attributes** | [**TransactionResourceAttributes**](TransactionResourceAttributes.md) | | |
10
+ | **relationships** | [**TransactionResourceRelationships**](TransactionResourceRelationships.md) | | |
11
+ | **links** | [**AccountResourceLinks**](AccountResourceLinks.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'up_banking'
17
+
18
+ instance = UpBankingClient::GetTransactionResponseData.new(
19
+ type: null,
20
+ id: null,
21
+ attributes: null,
22
+ relationships: null,
23
+ links: null
24
+ )
25
+ ```
26
+