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.
- checksums.yaml +4 -4
- data/lib/xero-ruby/api/finance_api.rb +866 -0
- data/lib/xero-ruby/api_client.rb +11 -0
- data/lib/xero-ruby/configuration.rb +2 -0
- data/lib/xero-ruby/models/accounting/contact.rb +86 -1
- data/lib/xero-ruby/models/finance/account_usage.rb +342 -0
- data/lib/xero-ruby/models/finance/account_usage_response.rb +254 -0
- data/lib/xero-ruby/models/finance/balance_sheet_account_detail.rb +262 -0
- data/lib/xero-ruby/models/finance/balance_sheet_account_group.rb +234 -0
- data/lib/xero-ruby/models/finance/balance_sheet_account_type.rb +244 -0
- data/lib/xero-ruby/models/finance/balance_sheet_response.rb +252 -0
- data/lib/xero-ruby/models/finance/bank_statement_response.rb +232 -0
- data/lib/xero-ruby/models/finance/cash_account_response.rb +262 -0
- data/lib/xero-ruby/models/finance/cash_balance.rb +242 -0
- data/lib/xero-ruby/models/finance/cash_validation_response.rb +262 -0
- data/lib/xero-ruby/models/finance/cashflow_account.rb +282 -0
- data/lib/xero-ruby/models/finance/cashflow_activity.rb +244 -0
- data/lib/xero-ruby/models/finance/cashflow_response.rb +254 -0
- data/lib/xero-ruby/models/finance/cashflow_type.rb +244 -0
- data/lib/xero-ruby/models/finance/contact_detail.rb +274 -0
- data/lib/xero-ruby/models/finance/contact_total_detail.rb +242 -0
- data/lib/xero-ruby/models/finance/contact_total_other.rb +252 -0
- data/lib/xero-ruby/models/finance/current_statement_response.rb +272 -0
- data/lib/xero-ruby/models/finance/data_source_response.rb +362 -0
- data/lib/xero-ruby/models/finance/history_record_response.rb +262 -0
- data/lib/xero-ruby/models/finance/income_by_contact_response.rb +284 -0
- data/lib/xero-ruby/models/finance/lock_history_model.rb +242 -0
- data/lib/xero-ruby/models/finance/lock_history_response.rb +244 -0
- data/lib/xero-ruby/models/finance/manual_journal_total.rb +222 -0
- data/lib/xero-ruby/models/finance/pnl_account.rb +272 -0
- data/lib/xero-ruby/models/finance/pnl_account_class.rb +234 -0
- data/lib/xero-ruby/models/finance/pnl_account_type.rb +244 -0
- data/lib/xero-ruby/models/finance/practice_response.rb +262 -0
- data/lib/xero-ruby/models/finance/problem.rb +252 -0
- data/lib/xero-ruby/models/finance/problem_type.rb +39 -0
- data/lib/xero-ruby/models/finance/profit_and_loss_response.rb +262 -0
- data/lib/xero-ruby/models/finance/report_history_model.rb +242 -0
- data/lib/xero-ruby/models/finance/report_history_response.rb +244 -0
- data/lib/xero-ruby/models/finance/statement_balance_response.rb +232 -0
- data/lib/xero-ruby/models/finance/statement_lines_response.rb +382 -0
- data/lib/xero-ruby/models/finance/total_detail.rb +242 -0
- data/lib/xero-ruby/models/finance/total_other.rb +242 -0
- data/lib/xero-ruby/models/finance/trial_balance_account.rb +312 -0
- data/lib/xero-ruby/models/finance/trial_balance_entry.rb +232 -0
- data/lib/xero-ruby/models/finance/trial_balance_movement.rb +252 -0
- data/lib/xero-ruby/models/finance/trial_balance_response.rb +244 -0
- data/lib/xero-ruby/models/finance/user_activities_response.rb +244 -0
- data/lib/xero-ruby/models/finance/user_response.rb +336 -0
- data/lib/xero-ruby/version.rb +6 -6
- data/lib/xero-ruby.rb +44 -0
- data/spec/api_client_spec.rb +3 -0
- data/spec/app_store/api/app_store_api_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -0
- data/spec/finance/api/finance_api_spec.rb +156 -0
- data/spec/finance/models/account_usage_response_spec.rb +58 -0
- data/spec/finance/models/account_usage_spec.rb +112 -0
- data/spec/finance/models/balance_sheet_account_detail_spec.rb +64 -0
- data/spec/finance/models/balance_sheet_account_group_spec.rb +46 -0
- data/spec/finance/models/balance_sheet_account_type_spec.rb +52 -0
- data/spec/finance/models/balance_sheet_response_spec.rb +58 -0
- data/spec/finance/models/bank_statement_response_spec.rb +46 -0
- data/spec/finance/models/cash_account_response_spec.rb +64 -0
- data/spec/finance/models/cash_balance_spec.rb +52 -0
- data/spec/finance/models/cash_validation_response_spec.rb +64 -0
- data/spec/finance/models/cashflow_account_spec.rb +76 -0
- data/spec/finance/models/cashflow_activity_spec.rb +52 -0
- data/spec/finance/models/cashflow_response_spec.rb +58 -0
- data/spec/finance/models/cashflow_type_spec.rb +52 -0
- data/spec/finance/models/current_statement_response_spec.rb +70 -0
- data/spec/finance/models/data_source_response_spec.rb +124 -0
- data/spec/finance/models/history_record_response_spec.rb +64 -0
- data/spec/finance/models/lock_history_model_spec.rb +52 -0
- data/spec/finance/models/lock_history_response_spec.rb +52 -0
- data/spec/finance/models/pnl_account_class_spec.rb +46 -0
- data/spec/finance/models/pnl_account_spec.rb +70 -0
- data/spec/finance/models/pnl_account_type_spec.rb +52 -0
- data/spec/finance/models/practice_response_spec.rb +64 -0
- data/spec/finance/models/problem_spec.rb +58 -0
- data/spec/finance/models/problem_type_spec.rb +34 -0
- data/spec/finance/models/profit_and_loss_response_spec.rb +64 -0
- data/spec/finance/models/report_history_model_spec.rb +52 -0
- data/spec/finance/models/report_history_response_spec.rb +52 -0
- data/spec/finance/models/statement_balance_response_spec.rb +46 -0
- data/spec/finance/models/statement_lines_response_spec.rb +136 -0
- data/spec/finance/models/trial_balance_account_spec.rb +94 -0
- data/spec/finance/models/trial_balance_entry_spec.rb +46 -0
- data/spec/finance/models/trial_balance_movement_spec.rb +58 -0
- data/spec/finance/models/trial_balance_response_spec.rb +52 -0
- data/spec/finance/models/user_activities_response_spec.rb +52 -0
- data/spec/finance/models/user_response_spec.rb +106 -0
- metadata +120 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xero-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xero API Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -103,6 +103,7 @@ files:
|
|
103
103
|
- lib/xero-ruby/api/app_store_api.rb
|
104
104
|
- lib/xero-ruby/api/asset_api.rb
|
105
105
|
- lib/xero-ruby/api/files_api.rb
|
106
|
+
- lib/xero-ruby/api/finance_api.rb
|
106
107
|
- lib/xero-ruby/api/payroll_au_api.rb
|
107
108
|
- lib/xero-ruby/api/payroll_nz_api.rb
|
108
109
|
- lib/xero-ruby/api/payroll_uk_api.rb
|
@@ -267,6 +268,49 @@ files:
|
|
267
268
|
- lib/xero-ruby/models/files/object_type.rb
|
268
269
|
- lib/xero-ruby/models/files/upload_object.rb
|
269
270
|
- lib/xero-ruby/models/files/user.rb
|
271
|
+
- lib/xero-ruby/models/finance/account_usage.rb
|
272
|
+
- lib/xero-ruby/models/finance/account_usage_response.rb
|
273
|
+
- lib/xero-ruby/models/finance/balance_sheet_account_detail.rb
|
274
|
+
- lib/xero-ruby/models/finance/balance_sheet_account_group.rb
|
275
|
+
- lib/xero-ruby/models/finance/balance_sheet_account_type.rb
|
276
|
+
- lib/xero-ruby/models/finance/balance_sheet_response.rb
|
277
|
+
- lib/xero-ruby/models/finance/bank_statement_response.rb
|
278
|
+
- lib/xero-ruby/models/finance/cash_account_response.rb
|
279
|
+
- lib/xero-ruby/models/finance/cash_balance.rb
|
280
|
+
- lib/xero-ruby/models/finance/cash_validation_response.rb
|
281
|
+
- lib/xero-ruby/models/finance/cashflow_account.rb
|
282
|
+
- lib/xero-ruby/models/finance/cashflow_activity.rb
|
283
|
+
- lib/xero-ruby/models/finance/cashflow_response.rb
|
284
|
+
- lib/xero-ruby/models/finance/cashflow_type.rb
|
285
|
+
- lib/xero-ruby/models/finance/contact_detail.rb
|
286
|
+
- lib/xero-ruby/models/finance/contact_total_detail.rb
|
287
|
+
- lib/xero-ruby/models/finance/contact_total_other.rb
|
288
|
+
- lib/xero-ruby/models/finance/current_statement_response.rb
|
289
|
+
- lib/xero-ruby/models/finance/data_source_response.rb
|
290
|
+
- lib/xero-ruby/models/finance/history_record_response.rb
|
291
|
+
- lib/xero-ruby/models/finance/income_by_contact_response.rb
|
292
|
+
- lib/xero-ruby/models/finance/lock_history_model.rb
|
293
|
+
- lib/xero-ruby/models/finance/lock_history_response.rb
|
294
|
+
- lib/xero-ruby/models/finance/manual_journal_total.rb
|
295
|
+
- lib/xero-ruby/models/finance/pnl_account.rb
|
296
|
+
- lib/xero-ruby/models/finance/pnl_account_class.rb
|
297
|
+
- lib/xero-ruby/models/finance/pnl_account_type.rb
|
298
|
+
- lib/xero-ruby/models/finance/practice_response.rb
|
299
|
+
- lib/xero-ruby/models/finance/problem.rb
|
300
|
+
- lib/xero-ruby/models/finance/problem_type.rb
|
301
|
+
- lib/xero-ruby/models/finance/profit_and_loss_response.rb
|
302
|
+
- lib/xero-ruby/models/finance/report_history_model.rb
|
303
|
+
- lib/xero-ruby/models/finance/report_history_response.rb
|
304
|
+
- lib/xero-ruby/models/finance/statement_balance_response.rb
|
305
|
+
- lib/xero-ruby/models/finance/statement_lines_response.rb
|
306
|
+
- lib/xero-ruby/models/finance/total_detail.rb
|
307
|
+
- lib/xero-ruby/models/finance/total_other.rb
|
308
|
+
- lib/xero-ruby/models/finance/trial_balance_account.rb
|
309
|
+
- lib/xero-ruby/models/finance/trial_balance_entry.rb
|
310
|
+
- lib/xero-ruby/models/finance/trial_balance_movement.rb
|
311
|
+
- lib/xero-ruby/models/finance/trial_balance_response.rb
|
312
|
+
- lib/xero-ruby/models/finance/user_activities_response.rb
|
313
|
+
- lib/xero-ruby/models/finance/user_response.rb
|
270
314
|
- lib/xero-ruby/models/payroll_au/account.rb
|
271
315
|
- lib/xero-ruby/models/payroll_au/account_type.rb
|
272
316
|
- lib/xero-ruby/models/payroll_au/allowance_type.rb
|
@@ -703,6 +747,43 @@ files:
|
|
703
747
|
- spec/files/models/object_group_spec.rb
|
704
748
|
- spec/files/models/object_type_spec.rb
|
705
749
|
- spec/files/models/user_spec.rb
|
750
|
+
- spec/finance/api/finance_api_spec.rb
|
751
|
+
- spec/finance/models/account_usage_response_spec.rb
|
752
|
+
- spec/finance/models/account_usage_spec.rb
|
753
|
+
- spec/finance/models/balance_sheet_account_detail_spec.rb
|
754
|
+
- spec/finance/models/balance_sheet_account_group_spec.rb
|
755
|
+
- spec/finance/models/balance_sheet_account_type_spec.rb
|
756
|
+
- spec/finance/models/balance_sheet_response_spec.rb
|
757
|
+
- spec/finance/models/bank_statement_response_spec.rb
|
758
|
+
- spec/finance/models/cash_account_response_spec.rb
|
759
|
+
- spec/finance/models/cash_balance_spec.rb
|
760
|
+
- spec/finance/models/cash_validation_response_spec.rb
|
761
|
+
- spec/finance/models/cashflow_account_spec.rb
|
762
|
+
- spec/finance/models/cashflow_activity_spec.rb
|
763
|
+
- spec/finance/models/cashflow_response_spec.rb
|
764
|
+
- spec/finance/models/cashflow_type_spec.rb
|
765
|
+
- spec/finance/models/current_statement_response_spec.rb
|
766
|
+
- spec/finance/models/data_source_response_spec.rb
|
767
|
+
- spec/finance/models/history_record_response_spec.rb
|
768
|
+
- spec/finance/models/lock_history_model_spec.rb
|
769
|
+
- spec/finance/models/lock_history_response_spec.rb
|
770
|
+
- spec/finance/models/pnl_account_class_spec.rb
|
771
|
+
- spec/finance/models/pnl_account_spec.rb
|
772
|
+
- spec/finance/models/pnl_account_type_spec.rb
|
773
|
+
- spec/finance/models/practice_response_spec.rb
|
774
|
+
- spec/finance/models/problem_spec.rb
|
775
|
+
- spec/finance/models/problem_type_spec.rb
|
776
|
+
- spec/finance/models/profit_and_loss_response_spec.rb
|
777
|
+
- spec/finance/models/report_history_model_spec.rb
|
778
|
+
- spec/finance/models/report_history_response_spec.rb
|
779
|
+
- spec/finance/models/statement_balance_response_spec.rb
|
780
|
+
- spec/finance/models/statement_lines_response_spec.rb
|
781
|
+
- spec/finance/models/trial_balance_account_spec.rb
|
782
|
+
- spec/finance/models/trial_balance_entry_spec.rb
|
783
|
+
- spec/finance/models/trial_balance_movement_spec.rb
|
784
|
+
- spec/finance/models/trial_balance_response_spec.rb
|
785
|
+
- spec/finance/models/user_activities_response_spec.rb
|
786
|
+
- spec/finance/models/user_response_spec.rb
|
706
787
|
- spec/helper_methods_spec.rb
|
707
788
|
- spec/payroll_au/api/payroll_au_api_spec.rb
|
708
789
|
- spec/payroll_au/models/account_spec.rb
|
@@ -1166,6 +1247,43 @@ test_files:
|
|
1166
1247
|
- spec/files/models/association_spec.rb
|
1167
1248
|
- spec/files/models/user_spec.rb
|
1168
1249
|
- spec/files/api/files_api_spec.rb
|
1250
|
+
- spec/finance/models/user_response_spec.rb
|
1251
|
+
- spec/finance/models/statement_balance_response_spec.rb
|
1252
|
+
- spec/finance/models/history_record_response_spec.rb
|
1253
|
+
- spec/finance/models/cashflow_account_spec.rb
|
1254
|
+
- spec/finance/models/problem_spec.rb
|
1255
|
+
- spec/finance/models/balance_sheet_account_group_spec.rb
|
1256
|
+
- spec/finance/models/account_usage_spec.rb
|
1257
|
+
- spec/finance/models/profit_and_loss_response_spec.rb
|
1258
|
+
- spec/finance/models/cashflow_activity_spec.rb
|
1259
|
+
- spec/finance/models/cashflow_response_spec.rb
|
1260
|
+
- spec/finance/models/bank_statement_response_spec.rb
|
1261
|
+
- spec/finance/models/trial_balance_entry_spec.rb
|
1262
|
+
- spec/finance/models/cash_validation_response_spec.rb
|
1263
|
+
- spec/finance/models/balance_sheet_account_detail_spec.rb
|
1264
|
+
- spec/finance/models/pnl_account_spec.rb
|
1265
|
+
- spec/finance/models/balance_sheet_response_spec.rb
|
1266
|
+
- spec/finance/models/lock_history_model_spec.rb
|
1267
|
+
- spec/finance/models/cash_balance_spec.rb
|
1268
|
+
- spec/finance/models/user_activities_response_spec.rb
|
1269
|
+
- spec/finance/models/report_history_model_spec.rb
|
1270
|
+
- spec/finance/models/problem_type_spec.rb
|
1271
|
+
- spec/finance/models/trial_balance_movement_spec.rb
|
1272
|
+
- spec/finance/models/pnl_account_class_spec.rb
|
1273
|
+
- spec/finance/models/trial_balance_response_spec.rb
|
1274
|
+
- spec/finance/models/pnl_account_type_spec.rb
|
1275
|
+
- spec/finance/models/practice_response_spec.rb
|
1276
|
+
- spec/finance/models/data_source_response_spec.rb
|
1277
|
+
- spec/finance/models/account_usage_response_spec.rb
|
1278
|
+
- spec/finance/models/cash_account_response_spec.rb
|
1279
|
+
- spec/finance/models/report_history_response_spec.rb
|
1280
|
+
- spec/finance/models/balance_sheet_account_type_spec.rb
|
1281
|
+
- spec/finance/models/current_statement_response_spec.rb
|
1282
|
+
- spec/finance/models/trial_balance_account_spec.rb
|
1283
|
+
- spec/finance/models/lock_history_response_spec.rb
|
1284
|
+
- spec/finance/models/statement_lines_response_spec.rb
|
1285
|
+
- spec/finance/models/cashflow_type_spec.rb
|
1286
|
+
- spec/finance/api/finance_api_spec.rb
|
1169
1287
|
- spec/helper_methods_spec.rb
|
1170
1288
|
- spec/payroll_au/models/settings_tracking_categories_spec.rb
|
1171
1289
|
- spec/payroll_au/models/home_address_spec.rb
|