merge_accounting_client 1.0.6 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +224 -229
  3. data/docs/CreditNote.md +1 -1
  4. data/docs/CreditNoteLineItem.md +1 -1
  5. data/docs/Expense.md +1 -1
  6. data/docs/ExpenseLine.md +4 -2
  7. data/docs/ExpenseLineRequest.md +4 -2
  8. data/docs/ExpenseRequest.md +1 -1
  9. data/docs/Invoice.md +1 -1
  10. data/docs/InvoiceLineItem.md +2 -2
  11. data/docs/InvoiceLineItemRequest.md +2 -2
  12. data/docs/InvoiceRequest.md +18 -18
  13. data/docs/JournalEntry.md +2 -2
  14. data/docs/JournalEntryRequest.md +10 -10
  15. data/docs/JournalLine.md +4 -2
  16. data/docs/JournalLineRequest.md +4 -2
  17. data/docs/PurchaseOrder.md +2 -2
  18. data/docs/PurchaseOrderLineItem.md +2 -0
  19. data/docs/PurchaseOrderLineItemRequest.md +2 -0
  20. data/docs/PurchaseOrderRequest.md +12 -12
  21. data/docs/SyncStatusApi.md +11 -15
  22. data/docs/Transaction.md +4 -2
  23. data/docs/TransactionLineItem.md +2 -0
  24. data/docs/VendorCredit.md +2 -2
  25. data/docs/VendorCreditLine.md +3 -1
  26. data/lib/merge_accounting_client/api/sync_status_api.rb +2 -2
  27. data/lib/merge_accounting_client/api/transactions_api.rb +2 -2
  28. data/lib/merge_accounting_client/models/account_integration.rb +3 -3
  29. data/lib/merge_accounting_client/models/credit_note_line_item.rb +9 -9
  30. data/lib/merge_accounting_client/models/expense.rb +3 -3
  31. data/lib/merge_accounting_client/models/expense_line.rb +37 -9
  32. data/lib/merge_accounting_client/models/expense_line_request.rb +37 -9
  33. data/lib/merge_accounting_client/models/expense_request.rb +3 -3
  34. data/lib/merge_accounting_client/models/invoice.rb +3 -3
  35. data/lib/merge_accounting_client/models/invoice_line_item.rb +15 -15
  36. data/lib/merge_accounting_client/models/invoice_line_item_request.rb +15 -15
  37. data/lib/merge_accounting_client/models/invoice_request.rb +3 -3
  38. data/lib/merge_accounting_client/models/journal_entry.rb +3 -3
  39. data/lib/merge_accounting_client/models/journal_entry_request.rb +3 -3
  40. data/lib/merge_accounting_client/models/journal_line.rb +37 -9
  41. data/lib/merge_accounting_client/models/journal_line_request.rb +37 -9
  42. data/lib/merge_accounting_client/models/payment.rb +3 -3
  43. data/lib/merge_accounting_client/models/payment_request.rb +3 -3
  44. data/lib/merge_accounting_client/models/purchase_order.rb +3 -3
  45. data/lib/merge_accounting_client/models/purchase_order_line_item.rb +21 -10
  46. data/lib/merge_accounting_client/models/purchase_order_line_item_request.rb +21 -10
  47. data/lib/merge_accounting_client/models/purchase_order_request.rb +3 -3
  48. data/lib/merge_accounting_client/models/sync_status_status_enum.rb +2 -1
  49. data/lib/merge_accounting_client/models/transaction.rb +18 -7
  50. data/lib/merge_accounting_client/models/transaction_line_item.rb +24 -13
  51. data/lib/merge_accounting_client/models/vendor_credit.rb +3 -3
  52. data/lib/merge_accounting_client/models/vendor_credit_line.rb +33 -5
  53. data/lib/merge_accounting_client/version.rb +1 -1
  54. data/spec/api/sync_status_api_spec.rb +1 -1
  55. data/spec/models/expense_line_request_spec.rb +7 -1
  56. data/spec/models/expense_line_spec.rb +7 -1
  57. data/spec/models/invoice_line_item_request_spec.rb +6 -6
  58. data/spec/models/invoice_line_item_spec.rb +6 -6
  59. data/spec/models/journal_line_request_spec.rb +7 -1
  60. data/spec/models/journal_line_spec.rb +7 -1
  61. data/spec/models/purchase_order_line_item_request_spec.rb +6 -0
  62. data/spec/models/purchase_order_line_item_spec.rb +6 -0
  63. data/spec/models/transaction_line_item_spec.rb +6 -0
  64. data/spec/models/transaction_spec.rb +6 -0
  65. data/spec/models/vendor_credit_line_spec.rb +6 -0
  66. metadata +146 -146
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merge_accounting_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-03 00:00:00.000000000 Z
11
+ date: 2023-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -636,186 +636,186 @@ signing_key:
636
636
  specification_version: 4
637
637
  summary: Merge Accounting API Ruby Gem
638
638
  test_files:
639
+ - spec/api/invoices_api_spec.rb
639
640
  - spec/api/cash_flow_statements_api_spec.rb
640
- - spec/api/accounts_api_spec.rb
641
- - spec/api/purchase_orders_api_spec.rb
642
- - spec/api/linked_accounts_api_spec.rb
643
- - spec/api/passthrough_api_spec.rb
641
+ - spec/api/regenerate_key_api_spec.rb
642
+ - spec/api/sync_status_api_spec.rb
643
+ - spec/api/credit_notes_api_spec.rb
644
+ - spec/api/addresses_api_spec.rb
644
645
  - spec/api/attachments_api_spec.rb
645
- - spec/api/common_model_scopes_api_spec.rb
646
+ - spec/api/income_statements_api_spec.rb
647
+ - spec/api/journal_entries_api_spec.rb
646
648
  - spec/api/balance_sheets_api_spec.rb
647
- - spec/api/generate_key_api_spec.rb
649
+ - spec/api/tax_rates_api_spec.rb
650
+ - spec/api/transactions_api_spec.rb
651
+ - spec/api/issues_api_spec.rb
652
+ - spec/api/purchase_orders_api_spec.rb
653
+ - spec/api/webhook_receivers_api_spec.rb
654
+ - spec/api/available_actions_api_spec.rb
648
655
  - spec/api/expenses_api_spec.rb
649
- - spec/api/phone_numbers_api_spec.rb
650
- - spec/api/addresses_api_spec.rb
651
- - spec/api/invoices_api_spec.rb
652
656
  - spec/api/account_token_api_spec.rb
653
- - spec/api/regenerate_key_api_spec.rb
654
- - spec/api/available_actions_api_spec.rb
655
- - spec/api/items_api_spec.rb
656
- - spec/api/webhook_receivers_api_spec.rb
657
- - spec/api/issues_api_spec.rb
657
+ - spec/api/linked_accounts_api_spec.rb
658
+ - spec/api/phone_numbers_api_spec.rb
658
659
  - spec/api/selective_sync_api_spec.rb
660
+ - spec/api/account_details_api_spec.rb
661
+ - spec/api/accounts_api_spec.rb
659
662
  - spec/api/vendor_credits_api_spec.rb
660
- - spec/api/tracking_categories_api_spec.rb
661
- - spec/api/link_token_api_spec.rb
662
- - spec/api/tax_rates_api_spec.rb
663
- - spec/api/income_statements_api_spec.rb
663
+ - spec/api/company_info_api_spec.rb
664
+ - spec/api/generate_key_api_spec.rb
665
+ - spec/api/passthrough_api_spec.rb
664
666
  - spec/api/force_resync_api_spec.rb
665
- - spec/api/account_details_api_spec.rb
666
- - spec/api/credit_notes_api_spec.rb
667
- - spec/api/journal_entries_api_spec.rb
667
+ - spec/api/items_api_spec.rb
668
+ - spec/api/payments_api_spec.rb
669
+ - spec/api/common_model_scopes_api_spec.rb
670
+ - spec/api/link_token_api_spec.rb
668
671
  - spec/api/contacts_api_spec.rb
669
- - spec/api/transactions_api_spec.rb
670
- - spec/api/company_info_api_spec.rb
671
672
  - spec/api/delete_account_api_spec.rb
672
- - spec/api/payments_api_spec.rb
673
- - spec/api/sync_status_api_spec.rb
673
+ - spec/api/tracking_categories_api_spec.rb
674
674
  - spec/api_client_spec.rb
675
675
  - spec/configuration_spec.rb
676
- - spec/models/contact_spec.rb
677
676
  - spec/models/link_token_spec.rb
677
+ - spec/models/remote_response_spec.rb
678
678
  - spec/models/journal_entry_request_spec.rb
679
- - spec/models/generate_remote_key_request_spec.rb
680
- - spec/models/debug_model_log_summary_spec.rb
681
- - spec/models/account_details_spec.rb
682
- - spec/models/journal_line_request_spec.rb
683
- - spec/models/country_enum_spec.rb
684
- - spec/models/paginated_journal_entry_list_spec.rb
685
- - spec/models/account_integration_spec.rb
686
679
  - spec/models/vendor_credit_spec.rb
687
- - spec/models/income_statement_spec.rb
688
- - spec/models/expense_spec.rb
689
- - spec/models/response_type_enum_spec.rb
690
- - spec/models/linked_account_status_spec.rb
691
- - spec/models/multipart_form_field_request_spec.rb
692
- - spec/models/account_endpoint_request_spec.rb
693
- - spec/models/tax_rate_spec.rb
694
- - spec/models/paginated_contact_list_spec.rb
695
- - spec/models/currency_enum_spec.rb
696
- - spec/models/condition_schema_spec.rb
697
- - spec/models/linked_account_selective_sync_configuration_request_spec.rb
698
- - spec/models/report_item_spec.rb
680
+ - spec/models/invoice_type_enum_spec.rb
681
+ - spec/models/accounting_attachment_spec.rb
699
682
  - spec/models/purchase_order_request_spec.rb
700
- - spec/models/remote_key_for_regeneration_request_spec.rb
683
+ - spec/models/contact_spec.rb
684
+ - spec/models/credit_note_status_enum_spec.rb
685
+ - spec/models/generate_remote_key_request_spec.rb
686
+ - spec/models/common_model_scopes_update_serializer_spec.rb
687
+ - spec/models/enabled_actions_enum_spec.rb
688
+ - spec/models/paginated_account_details_and_actions_list_spec.rb
689
+ - spec/models/expense_line_request_spec.rb
690
+ - spec/models/accounting_attachment_response_spec.rb
691
+ - spec/models/paginated_condition_schema_list_spec.rb
692
+ - spec/models/sync_status_spec.rb
693
+ - spec/models/payment_response_spec.rb
694
+ - spec/models/invoice_endpoint_request_spec.rb
695
+ - spec/models/paginated_income_statement_list_spec.rb
696
+ - spec/models/linked_account_status_spec.rb
697
+ - spec/models/common_model_scopes_disabled_models_spec.rb
698
+ - spec/models/linked_account_selective_sync_configuration_list_request_spec.rb
699
+ - spec/models/transaction_spec.rb
701
700
  - spec/models/warning_validation_problem_spec.rb
702
- - spec/models/paginated_balance_sheet_list_spec.rb
703
- - spec/models/cash_flow_statement_spec.rb
704
- - spec/models/account_status_enum_spec.rb
705
- - spec/models/invoice_request_spec.rb
706
- - spec/models/paginated_transaction_list_spec.rb
707
- - spec/models/purchase_order_status_enum_spec.rb
708
- - spec/models/invoice_line_item_request_spec.rb
709
- - spec/models/status7d1_enum_spec.rb
710
- - spec/models/common_model_scope_data_spec.rb
711
- - spec/models/paginated_tax_rate_list_spec.rb
712
- - spec/models/operator_schema_spec.rb
701
+ - spec/models/expense_endpoint_request_spec.rb
702
+ - spec/models/income_statement_spec.rb
703
+ - spec/models/condition_type_enum_spec.rb
704
+ - spec/models/common_model_scopes_body_request_spec.rb
705
+ - spec/models/address_type_enum_spec.rb
706
+ - spec/models/debug_mode_log_spec.rb
707
+ - spec/models/error_validation_problem_spec.rb
713
708
  - spec/models/journal_entry_spec.rb
714
- - spec/models/credit_note_spec.rb
715
709
  - spec/models/sync_status_status_enum_spec.rb
716
- - spec/models/purchase_order_spec.rb
717
- - spec/models/linked_account_condition_spec.rb
718
- - spec/models/common_model_scopes_update_serializer_spec.rb
719
- - spec/models/paginated_accounting_attachment_list_spec.rb
720
- - spec/models/payment_spec.rb
721
- - spec/models/contact_endpoint_request_spec.rb
722
- - spec/models/method_enum_spec.rb
723
- - spec/models/payment_request_spec.rb
724
- - spec/models/transaction_spec.rb
725
- - spec/models/purchase_order_endpoint_request_spec.rb
710
+ - spec/models/vendor_credit_line_spec.rb
711
+ - spec/models/account_details_and_actions_spec.rb
726
712
  - spec/models/paginated_expense_list_spec.rb
727
- - spec/models/paginated_account_details_and_actions_list_spec.rb
728
713
  - spec/models/invoice_line_item_spec.rb
729
- - spec/models/common_model_scopes_post_inner_deserializer_request_spec.rb
730
- - spec/models/accounting_attachment_response_spec.rb
714
+ - spec/models/address_spec.rb
715
+ - spec/models/account_response_spec.rb
716
+ - spec/models/account_endpoint_request_spec.rb
731
717
  - spec/models/accounting_phone_number_request_spec.rb
732
- - spec/models/remote_response_spec.rb
733
- - spec/models/expense_line_spec.rb
734
- - spec/models/category_enum_spec.rb
718
+ - spec/models/end_user_details_request_spec.rb
719
+ - spec/models/common_model_scope_data_spec.rb
720
+ - spec/models/expense_spec.rb
735
721
  - spec/models/selective_sync_configurations_usage_enum_spec.rb
736
- - spec/models/accounting_attachment_endpoint_request_spec.rb
737
- - spec/models/purchase_order_line_item_spec.rb
738
- - spec/models/account_token_spec.rb
739
- - spec/models/paginated_account_list_spec.rb
740
- - spec/models/common_model_scopes_body_request_spec.rb
741
- - spec/models/invoice_response_spec.rb
742
- - spec/models/item_spec.rb
743
- - spec/models/expense_line_request_spec.rb
744
- - spec/models/available_actions_spec.rb
722
+ - spec/models/account_status_enum_spec.rb
723
+ - spec/models/paginated_item_list_spec.rb
724
+ - spec/models/remote_data_request_spec.rb
745
725
  - spec/models/credit_note_line_item_spec.rb
746
- - spec/models/journal_line_spec.rb
747
- - spec/models/common_model_scopes_disabled_models_enabled_actions_enum_spec.rb
748
- - spec/models/condition_type_enum_spec.rb
749
- - spec/models/paginated_income_statement_list_spec.rb
750
- - spec/models/paginated_vendor_credit_list_spec.rb
751
- - spec/models/account_request_spec.rb
752
- - spec/models/account_response_spec.rb
753
- - spec/models/accounting_attachment_spec.rb
754
- - spec/models/category_type_enum_spec.rb
755
- - spec/models/contact_response_spec.rb
756
- - spec/models/linked_account_selective_sync_configuration_spec.rb
757
- - spec/models/linked_account_condition_request_spec.rb
726
+ - spec/models/country_enum_spec.rb
727
+ - spec/models/paginated_tax_rate_list_spec.rb
758
728
  - spec/models/paginated_sync_status_list_spec.rb
759
- - spec/models/issue_spec.rb
760
- - spec/models/paginated_company_info_list_spec.rb
761
- - spec/models/account_details_and_actions_spec.rb
762
- - spec/models/transaction_line_item_spec.rb
763
- - spec/models/paginated_item_list_spec.rb
729
+ - spec/models/classification_enum_spec.rb
730
+ - spec/models/purchase_order_response_spec.rb
731
+ - spec/models/model_operation_spec.rb
764
732
  - spec/models/paginated_payment_list_spec.rb
765
- - spec/models/accounting_attachment_request_spec.rb
766
- - spec/models/payment_endpoint_request_spec.rb
767
- - spec/models/common_model_scopes_disabled_models_spec.rb
768
- - spec/models/invoice_endpoint_request_spec.rb
733
+ - spec/models/journal_line_request_spec.rb
734
+ - spec/models/paginated_vendor_credit_list_spec.rb
735
+ - spec/models/invoice_request_spec.rb
769
736
  - spec/models/issue_status_enum_spec.rb
770
- - spec/models/sync_status_spec.rb
771
- - spec/models/paginated_cash_flow_statement_list_spec.rb
772
- - spec/models/company_info_spec.rb
773
- - spec/models/model_operation_spec.rb
774
- - spec/models/linked_account_selective_sync_configuration_list_request_spec.rb
775
- - spec/models/classification_enum_spec.rb
737
+ - spec/models/account_spec.rb
738
+ - spec/models/paginated_account_list_spec.rb
776
739
  - spec/models/state_enum_spec.rb
777
- - spec/models/meta_response_spec.rb
778
- - spec/models/payment_response_spec.rb
740
+ - spec/models/multipart_form_field_request_spec.rb
741
+ - spec/models/paginated_accounting_attachment_list_spec.rb
742
+ - spec/models/webhook_receiver_spec.rb
779
743
  - spec/models/expense_request_spec.rb
744
+ - spec/models/paginated_balance_sheet_list_spec.rb
780
745
  - spec/models/tracking_category_spec.rb
781
- - spec/models/common_model_scopes_spec.rb
782
- - spec/models/encoding_enum_spec.rb
783
- - spec/models/enabled_actions_enum_spec.rb
784
- - spec/models/expense_endpoint_request_spec.rb
785
- - spec/models/paginated_purchase_order_list_spec.rb
746
+ - spec/models/common_model_scopes_disabled_models_enabled_actions_enum_spec.rb
747
+ - spec/models/purchase_order_line_item_request_spec.rb
748
+ - spec/models/categories_enum_spec.rb
749
+ - spec/models/journal_line_spec.rb
750
+ - spec/models/account_request_spec.rb
751
+ - spec/models/condition_schema_spec.rb
752
+ - spec/models/method_enum_spec.rb
786
753
  - spec/models/balance_sheet_spec.rb
787
- - spec/models/error_validation_problem_spec.rb
788
- - spec/models/journal_entry_endpoint_request_spec.rb
789
- - spec/models/validation_problem_source_spec.rb
790
- - spec/models/remote_key_spec.rb
791
- - spec/models/request_format_enum_spec.rb
792
- - spec/models/invoice_type_enum_spec.rb
754
+ - spec/models/debug_model_log_summary_spec.rb
755
+ - spec/models/data_passthrough_request_spec.rb
756
+ - spec/models/account_integration_spec.rb
757
+ - spec/models/purchase_order_status_enum_spec.rb
758
+ - spec/models/paginated_invoice_list_spec.rb
793
759
  - spec/models/paginated_tracking_category_list_spec.rb
760
+ - spec/models/invoice_spec.rb
761
+ - spec/models/operator_schema_spec.rb
762
+ - spec/models/validation_problem_source_spec.rb
763
+ - spec/models/common_model_scopes_post_inner_deserializer_request_spec.rb
764
+ - spec/models/available_actions_spec.rb
765
+ - spec/models/linked_account_selective_sync_configuration_spec.rb
766
+ - spec/models/purchase_order_endpoint_request_spec.rb
767
+ - spec/models/expense_line_spec.rb
768
+ - spec/models/remote_data_spec.rb
769
+ - spec/models/company_info_spec.rb
770
+ - spec/models/remote_key_for_regeneration_request_spec.rb
771
+ - spec/models/paginated_company_info_list_spec.rb
772
+ - spec/models/contact_endpoint_request_spec.rb
794
773
  - spec/models/accounting_phone_number_spec.rb
795
- - spec/models/address_type_enum_spec.rb
796
- - spec/models/paginated_invoice_list_spec.rb
797
- - spec/models/credit_note_status_enum_spec.rb
798
- - spec/models/data_passthrough_request_spec.rb
799
- - spec/models/purchase_order_line_item_request_spec.rb
800
- - spec/models/address_spec.rb
801
- - spec/models/debug_mode_log_spec.rb
802
- - spec/models/purchase_order_response_spec.rb
774
+ - spec/models/category_type_enum_spec.rb
775
+ - spec/models/paginated_contact_list_spec.rb
776
+ - spec/models/response_type_enum_spec.rb
777
+ - spec/models/account_details_spec.rb
778
+ - spec/models/purchase_order_spec.rb
779
+ - spec/models/encoding_enum_spec.rb
780
+ - spec/models/linked_account_condition_spec.rb
781
+ - spec/models/item_spec.rb
782
+ - spec/models/linked_account_condition_request_spec.rb
783
+ - spec/models/paginated_cash_flow_statement_list_spec.rb
784
+ - spec/models/payment_endpoint_request_spec.rb
785
+ - spec/models/transaction_line_item_spec.rb
786
+ - spec/models/category_enum_spec.rb
787
+ - spec/models/paginated_purchase_order_list_spec.rb
788
+ - spec/models/cash_flow_statement_spec.rb
789
+ - spec/models/paginated_credit_note_list_spec.rb
790
+ - spec/models/status7d1_enum_spec.rb
803
791
  - spec/models/paginated_issue_list_spec.rb
792
+ - spec/models/payment_request_spec.rb
793
+ - spec/models/request_format_enum_spec.rb
794
+ - spec/models/issue_spec.rb
795
+ - spec/models/currency_enum_spec.rb
796
+ - spec/models/account_details_and_actions_status_enum_spec.rb
797
+ - spec/models/purchase_order_line_item_spec.rb
798
+ - spec/models/paginated_transaction_list_spec.rb
804
799
  - spec/models/journal_entry_response_spec.rb
805
- - spec/models/account_spec.rb
806
- - spec/models/posting_status_enum_spec.rb
800
+ - spec/models/linked_account_selective_sync_configuration_request_spec.rb
801
+ - spec/models/invoice_response_spec.rb
802
+ - spec/models/credit_note_spec.rb
803
+ - spec/models/account_token_spec.rb
804
+ - spec/models/paginated_journal_entry_list_spec.rb
805
+ - spec/models/common_model_scopes_spec.rb
806
+ - spec/models/invoice_line_item_request_spec.rb
807
807
  - spec/models/expense_response_spec.rb
808
- - spec/models/invoice_spec.rb
809
- - spec/models/vendor_credit_line_spec.rb
810
- - spec/models/account_details_and_actions_status_enum_spec.rb
811
- - spec/models/categories_enum_spec.rb
808
+ - spec/models/remote_key_spec.rb
809
+ - spec/models/accounting_attachment_endpoint_request_spec.rb
810
+ - spec/models/posting_status_enum_spec.rb
811
+ - spec/models/tax_rate_spec.rb
812
812
  - spec/models/account_details_and_actions_integration_spec.rb
813
- - spec/models/webhook_receiver_request_spec.rb
814
- - spec/models/remote_data_spec.rb
815
- - spec/models/paginated_credit_note_list_spec.rb
816
- - spec/models/webhook_receiver_spec.rb
817
- - spec/models/paginated_condition_schema_list_spec.rb
813
+ - spec/models/payment_spec.rb
814
+ - spec/models/contact_response_spec.rb
815
+ - spec/models/accounting_attachment_request_spec.rb
816
+ - spec/models/report_item_spec.rb
817
+ - spec/models/meta_response_spec.rb
818
818
  - spec/models/contact_request_spec.rb
819
- - spec/models/remote_data_request_spec.rb
820
- - spec/models/end_user_details_request_spec.rb
819
+ - spec/models/webhook_receiver_request_spec.rb
820
+ - spec/models/journal_entry_endpoint_request_spec.rb
821
821
  - spec/spec_helper.rb