xero-ruby 3.4.0 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/lib/xero-ruby/api/finance_api.rb +866 -0
  3. data/lib/xero-ruby/api_client.rb +11 -0
  4. data/lib/xero-ruby/configuration.rb +2 -0
  5. data/lib/xero-ruby/models/accounting/contact.rb +86 -1
  6. data/lib/xero-ruby/models/finance/account_usage.rb +342 -0
  7. data/lib/xero-ruby/models/finance/account_usage_response.rb +254 -0
  8. data/lib/xero-ruby/models/finance/balance_sheet_account_detail.rb +262 -0
  9. data/lib/xero-ruby/models/finance/balance_sheet_account_group.rb +234 -0
  10. data/lib/xero-ruby/models/finance/balance_sheet_account_type.rb +244 -0
  11. data/lib/xero-ruby/models/finance/balance_sheet_response.rb +252 -0
  12. data/lib/xero-ruby/models/finance/bank_statement_response.rb +232 -0
  13. data/lib/xero-ruby/models/finance/cash_account_response.rb +262 -0
  14. data/lib/xero-ruby/models/finance/cash_balance.rb +242 -0
  15. data/lib/xero-ruby/models/finance/cash_validation_response.rb +262 -0
  16. data/lib/xero-ruby/models/finance/cashflow_account.rb +282 -0
  17. data/lib/xero-ruby/models/finance/cashflow_activity.rb +244 -0
  18. data/lib/xero-ruby/models/finance/cashflow_response.rb +254 -0
  19. data/lib/xero-ruby/models/finance/cashflow_type.rb +244 -0
  20. data/lib/xero-ruby/models/finance/contact_detail.rb +274 -0
  21. data/lib/xero-ruby/models/finance/contact_total_detail.rb +242 -0
  22. data/lib/xero-ruby/models/finance/contact_total_other.rb +252 -0
  23. data/lib/xero-ruby/models/finance/current_statement_response.rb +272 -0
  24. data/lib/xero-ruby/models/finance/data_source_response.rb +362 -0
  25. data/lib/xero-ruby/models/finance/history_record_response.rb +262 -0
  26. data/lib/xero-ruby/models/finance/income_by_contact_response.rb +284 -0
  27. data/lib/xero-ruby/models/finance/lock_history_model.rb +242 -0
  28. data/lib/xero-ruby/models/finance/lock_history_response.rb +244 -0
  29. data/lib/xero-ruby/models/finance/manual_journal_total.rb +222 -0
  30. data/lib/xero-ruby/models/finance/pnl_account.rb +272 -0
  31. data/lib/xero-ruby/models/finance/pnl_account_class.rb +234 -0
  32. data/lib/xero-ruby/models/finance/pnl_account_type.rb +244 -0
  33. data/lib/xero-ruby/models/finance/practice_response.rb +262 -0
  34. data/lib/xero-ruby/models/finance/problem.rb +252 -0
  35. data/lib/xero-ruby/models/finance/problem_type.rb +39 -0
  36. data/lib/xero-ruby/models/finance/profit_and_loss_response.rb +262 -0
  37. data/lib/xero-ruby/models/finance/report_history_model.rb +242 -0
  38. data/lib/xero-ruby/models/finance/report_history_response.rb +244 -0
  39. data/lib/xero-ruby/models/finance/statement_balance_response.rb +232 -0
  40. data/lib/xero-ruby/models/finance/statement_lines_response.rb +382 -0
  41. data/lib/xero-ruby/models/finance/total_detail.rb +242 -0
  42. data/lib/xero-ruby/models/finance/total_other.rb +242 -0
  43. data/lib/xero-ruby/models/finance/trial_balance_account.rb +312 -0
  44. data/lib/xero-ruby/models/finance/trial_balance_entry.rb +232 -0
  45. data/lib/xero-ruby/models/finance/trial_balance_movement.rb +252 -0
  46. data/lib/xero-ruby/models/finance/trial_balance_response.rb +244 -0
  47. data/lib/xero-ruby/models/finance/user_activities_response.rb +244 -0
  48. data/lib/xero-ruby/models/finance/user_response.rb +336 -0
  49. data/lib/xero-ruby/version.rb +6 -6
  50. data/lib/xero-ruby.rb +44 -0
  51. data/spec/api_client_spec.rb +3 -0
  52. data/spec/app_store/api/app_store_api_spec.rb +1 -1
  53. data/spec/configuration_spec.rb +1 -0
  54. data/spec/finance/api/finance_api_spec.rb +156 -0
  55. data/spec/finance/models/account_usage_response_spec.rb +58 -0
  56. data/spec/finance/models/account_usage_spec.rb +112 -0
  57. data/spec/finance/models/balance_sheet_account_detail_spec.rb +64 -0
  58. data/spec/finance/models/balance_sheet_account_group_spec.rb +46 -0
  59. data/spec/finance/models/balance_sheet_account_type_spec.rb +52 -0
  60. data/spec/finance/models/balance_sheet_response_spec.rb +58 -0
  61. data/spec/finance/models/bank_statement_response_spec.rb +46 -0
  62. data/spec/finance/models/cash_account_response_spec.rb +64 -0
  63. data/spec/finance/models/cash_balance_spec.rb +52 -0
  64. data/spec/finance/models/cash_validation_response_spec.rb +64 -0
  65. data/spec/finance/models/cashflow_account_spec.rb +76 -0
  66. data/spec/finance/models/cashflow_activity_spec.rb +52 -0
  67. data/spec/finance/models/cashflow_response_spec.rb +58 -0
  68. data/spec/finance/models/cashflow_type_spec.rb +52 -0
  69. data/spec/finance/models/current_statement_response_spec.rb +70 -0
  70. data/spec/finance/models/data_source_response_spec.rb +124 -0
  71. data/spec/finance/models/history_record_response_spec.rb +64 -0
  72. data/spec/finance/models/lock_history_model_spec.rb +52 -0
  73. data/spec/finance/models/lock_history_response_spec.rb +52 -0
  74. data/spec/finance/models/pnl_account_class_spec.rb +46 -0
  75. data/spec/finance/models/pnl_account_spec.rb +70 -0
  76. data/spec/finance/models/pnl_account_type_spec.rb +52 -0
  77. data/spec/finance/models/practice_response_spec.rb +64 -0
  78. data/spec/finance/models/problem_spec.rb +58 -0
  79. data/spec/finance/models/problem_type_spec.rb +34 -0
  80. data/spec/finance/models/profit_and_loss_response_spec.rb +64 -0
  81. data/spec/finance/models/report_history_model_spec.rb +52 -0
  82. data/spec/finance/models/report_history_response_spec.rb +52 -0
  83. data/spec/finance/models/statement_balance_response_spec.rb +46 -0
  84. data/spec/finance/models/statement_lines_response_spec.rb +136 -0
  85. data/spec/finance/models/trial_balance_account_spec.rb +94 -0
  86. data/spec/finance/models/trial_balance_entry_spec.rb +46 -0
  87. data/spec/finance/models/trial_balance_movement_spec.rb +58 -0
  88. data/spec/finance/models/trial_balance_response_spec.rb +52 -0
  89. data/spec/finance/models/user_activities_response_spec.rb +52 -0
  90. data/spec/finance/models/user_response_spec.rb +106 -0
  91. metadata +120 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56932ad60695de77fdeaa92e9537a6be406fbd5e88440d4343d34284ce602fda
4
- data.tar.gz: 1b02a5bbbce8d6877551cf6304eadf021e66372460f70a9c7191a1e6c21ea079
3
+ metadata.gz: 9964f9aa75af0300d58f3692608faec0fb1b630c31d124d1987afcdba34dc088
4
+ data.tar.gz: a486de4ffc35d64ef6ebdca5632badfcfbbdaefee574c3bee871c361695e42b2
5
5
  SHA512:
6
- metadata.gz: 72cf45f6aa6524961b54515b247e782dfa70ddd621ff5bfefb208b37b5603347adeef570683e97513f05a32ba1159c9694789afa6a203405fafa48796e8bfef1
7
- data.tar.gz: 8f732496a99e5a118acb7d5ecc6ee1be2f35d1f7d9b06805f3c017473a9d7d9ae5fa64800a7af8855efcae3c403a2f32c8b04bfeaa5ee8248783d28f31b1cfa2
6
+ metadata.gz: c7cbedbabebb6390585b606e0988cbc257fcbcffae032909fcae0873f4f9966b6c4e837eb30ea0d5a9b8ad41b05c598264672afa14f73e3ab40f47ca7a6ea364
7
+ data.tar.gz: aebf03b88385398c8e042574c8c52207624b6aba25ae346964f9bfa135a7742fca3b8524565b9fc7899041b69d4bed9aeeb21451867f507eed2184d71d913fef