xero-python 7.1.0__tar.gz → 8.0.0a1__tar.gz

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 (635) hide show
  1. xero_python-8.0.0a1/PKG-INFO +640 -0
  2. {xero_python-7.1.0 → xero_python-8.0.0a1}/setup.py +1 -1
  3. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/__init__.py +1 -1
  4. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/api/accounting_api.py +1 -1
  5. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/api/app_store_api.py +1 -1
  6. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/api/asset_api.py +1 -1
  7. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/api/files_api.py +1 -1
  8. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/api/finance_api.py +1 -1
  9. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/identity/api/identity_api.py +1 -1
  10. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/api/payroll_au_api.py +1 -1
  11. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/api/payroll_nz_api.py +1 -1
  12. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/__init__.py +4 -0
  13. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/api/payroll_uk_api.py +1 -1
  14. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/__init__.py +4 -0
  15. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee.py +56 -0
  16. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employment.py +32 -29
  17. xero_python-8.0.0a1/xero_python/payrolluk/models/ni_category.py +193 -0
  18. xero_python-8.0.0a1/xero_python/payrolluk/models/ni_category_letter.py +43 -0
  19. xero_python-8.0.0a1/xero_python/payrolluk/models/ni_category_one_of.py +73 -0
  20. xero_python-8.0.0a1/xero_python/payrolluk/models/ni_category_one_of1.py +73 -0
  21. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/api/project_api.py +1 -1
  22. xero_python-8.0.0a1/xero_python.egg-info/PKG-INFO +640 -0
  23. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python.egg-info/SOURCES.txt +4 -0
  24. xero_python-7.1.0/PKG-INFO +0 -643
  25. xero_python-7.1.0/xero_python.egg-info/PKG-INFO +0 -643
  26. {xero_python-7.1.0 → xero_python-8.0.0a1}/AUTHORS.md +0 -0
  27. {xero_python-7.1.0 → xero_python-8.0.0a1}/HISTORY.md +0 -0
  28. {xero_python-7.1.0 → xero_python-8.0.0a1}/LICENSE +0 -0
  29. {xero_python-7.1.0 → xero_python-8.0.0a1}/MANIFEST.in +0 -0
  30. {xero_python-7.1.0 → xero_python-8.0.0a1}/README.md +0 -0
  31. {xero_python-7.1.0 → xero_python-8.0.0a1}/requirements.txt +0 -0
  32. {xero_python-7.1.0 → xero_python-8.0.0a1}/setup.cfg +0 -0
  33. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/__init__.py +0 -0
  34. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/accounting/__init__.py +0 -0
  35. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/accounting/api/__init__.py +0 -0
  36. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/accounting/api/cassettes/test_get_organisations.yaml +0 -0
  37. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/accounting/api/cassettes/test_invoice_attachment_upload_and_download.yaml +0 -0
  38. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/accounting/api/fixtures/inv-0032.pdf +0 -0
  39. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/accounting/api/test_accounting_api.py +0 -0
  40. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/cassettes/test_vcr.yaml +0 -0
  41. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/conftest.py +0 -0
  42. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/identity/__init__.py +0 -0
  43. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/identity/api/__init__.py +0 -0
  44. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/identity/api/cassettes/test_get_connections.yaml +0 -0
  45. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/identity/api/test_identity_api.py +0 -0
  46. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/test_api_client/__init__.py +0 -0
  47. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/test_api_client/cassettes/test_call_api_get_organisations.yaml +0 -0
  48. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/test_api_client/cassettes/test_token_api_refresh_token.yaml +0 -0
  49. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/test_api_client/test_deserializer.py +0 -0
  50. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/test_api_client/test_oauth2.py +0 -0
  51. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/test_api_client/test_serializer.py +0 -0
  52. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/test_executor.py +0 -0
  53. {xero_python-7.1.0 → xero_python-8.0.0a1}/tests/test_single_dispatch_str.py +0 -0
  54. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/__init__.py +0 -0
  55. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/api/__init__.py +0 -0
  56. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/api/exception_handler.py +0 -0
  57. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/__init__.py +0 -0
  58. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/account.py +0 -0
  59. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/account_type.py +0 -0
  60. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/accounts.py +0 -0
  61. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/accounts_payable.py +0 -0
  62. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/accounts_receivable.py +0 -0
  63. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/action.py +0 -0
  64. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/actions.py +0 -0
  65. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/address.py +0 -0
  66. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/address_for_organisation.py +0 -0
  67. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/allocation.py +0 -0
  68. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/allocations.py +0 -0
  69. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/attachment.py +0 -0
  70. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/attachments.py +0 -0
  71. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/balance_details.py +0 -0
  72. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/balances.py +0 -0
  73. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/bank_transaction.py +0 -0
  74. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/bank_transactions.py +0 -0
  75. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/bank_transfer.py +0 -0
  76. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/bank_transfers.py +0 -0
  77. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/batch_payment.py +0 -0
  78. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/batch_payment_delete.py +0 -0
  79. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/batch_payment_delete_by_url_param.py +0 -0
  80. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/batch_payment_details.py +0 -0
  81. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/batch_payments.py +0 -0
  82. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/bill.py +0 -0
  83. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/branding_theme.py +0 -0
  84. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/branding_themes.py +0 -0
  85. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/budget.py +0 -0
  86. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/budget_balance.py +0 -0
  87. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/budget_line.py +0 -0
  88. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/budget_lines.py +0 -0
  89. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/budgets.py +0 -0
  90. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/cis_org_setting.py +0 -0
  91. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/cis_org_settings.py +0 -0
  92. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/cis_setting.py +0 -0
  93. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/cis_settings.py +0 -0
  94. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/contact.py +0 -0
  95. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/contact_group.py +0 -0
  96. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/contact_groups.py +0 -0
  97. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/contact_person.py +0 -0
  98. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/contacts.py +0 -0
  99. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/conversion_balances.py +0 -0
  100. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/conversion_date.py +0 -0
  101. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/country_code.py +0 -0
  102. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/credit_note.py +0 -0
  103. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/credit_notes.py +0 -0
  104. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/currencies.py +0 -0
  105. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/currency.py +0 -0
  106. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/currency_code.py +0 -0
  107. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/element.py +0 -0
  108. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/employee.py +0 -0
  109. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/employees.py +0 -0
  110. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/error.py +0 -0
  111. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/expense_claim.py +0 -0
  112. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/expense_claims.py +0 -0
  113. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/external_link.py +0 -0
  114. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/get_bank_transactions_response.py +0 -0
  115. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/get_contacts_response.py +0 -0
  116. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/get_credit_notes_response.py +0 -0
  117. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/get_invoices_response.py +0 -0
  118. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/get_manual_journals_response.py +0 -0
  119. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/get_overpayments_response.py +0 -0
  120. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/get_payments_response.py +0 -0
  121. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/get_prepayments_response.py +0 -0
  122. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/get_purchase_orders_response.py +0 -0
  123. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/history_record.py +0 -0
  124. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/history_records.py +0 -0
  125. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/import_summary.py +0 -0
  126. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/import_summary_accounts.py +0 -0
  127. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/import_summary_object.py +0 -0
  128. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/import_summary_organisation.py +0 -0
  129. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/invoice.py +0 -0
  130. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/invoice_address.py +0 -0
  131. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/invoice_reminder.py +0 -0
  132. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/invoice_reminders.py +0 -0
  133. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/invoices.py +0 -0
  134. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/item.py +0 -0
  135. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/items.py +0 -0
  136. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/journal.py +0 -0
  137. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/journal_line.py +0 -0
  138. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/journals.py +0 -0
  139. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/line_amount_types.py +0 -0
  140. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/line_item.py +0 -0
  141. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/line_item_item.py +0 -0
  142. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/line_item_tracking.py +0 -0
  143. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/linked_transaction.py +0 -0
  144. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/linked_transactions.py +0 -0
  145. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/manual_journal.py +0 -0
  146. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/manual_journal_line.py +0 -0
  147. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/manual_journals.py +0 -0
  148. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/online_invoice.py +0 -0
  149. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/online_invoices.py +0 -0
  150. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/organisation.py +0 -0
  151. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/organisations.py +0 -0
  152. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/overpayment.py +0 -0
  153. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/overpayments.py +0 -0
  154. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/page_info.py +0 -0
  155. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/pagination.py +0 -0
  156. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/payment.py +0 -0
  157. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/payment_delete.py +0 -0
  158. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/payment_service.py +0 -0
  159. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/payment_services.py +0 -0
  160. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/payment_term.py +0 -0
  161. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/payment_term_type.py +0 -0
  162. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/payments.py +0 -0
  163. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/phone.py +0 -0
  164. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/prepayment.py +0 -0
  165. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/prepayments.py +0 -0
  166. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/purchase.py +0 -0
  167. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/purchase_order.py +0 -0
  168. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/purchase_orders.py +0 -0
  169. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/quote.py +0 -0
  170. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/quote_line_amount_types.py +0 -0
  171. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/quote_status_codes.py +0 -0
  172. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/quotes.py +0 -0
  173. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/receipt.py +0 -0
  174. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/receipts.py +0 -0
  175. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/repeating_invoice.py +0 -0
  176. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/repeating_invoices.py +0 -0
  177. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/report.py +0 -0
  178. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/report_attribute.py +0 -0
  179. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/report_cell.py +0 -0
  180. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/report_fields.py +0 -0
  181. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/report_row.py +0 -0
  182. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/report_rows.py +0 -0
  183. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/report_with_row.py +0 -0
  184. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/report_with_rows.py +0 -0
  185. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/reports.py +0 -0
  186. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/request_empty.py +0 -0
  187. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/row_type.py +0 -0
  188. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/sales_tracking_category.py +0 -0
  189. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/schedule.py +0 -0
  190. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/setup.py +0 -0
  191. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/tax_breakdown_component.py +0 -0
  192. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/tax_component.py +0 -0
  193. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/tax_rate.py +0 -0
  194. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/tax_rates.py +0 -0
  195. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/tax_type.py +0 -0
  196. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/ten_ninety_nine_contact.py +0 -0
  197. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/ten_nintey_nine_contact.py +0 -0
  198. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/time_zone.py +0 -0
  199. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/tracking_categories.py +0 -0
  200. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/tracking_category.py +0 -0
  201. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/tracking_option.py +0 -0
  202. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/tracking_options.py +0 -0
  203. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/user.py +0 -0
  204. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/users.py +0 -0
  205. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/accounting/models/validation_error.py +0 -0
  206. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/api_client/__init__.py +0 -0
  207. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/api_client/configuration.py +0 -0
  208. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/api_client/deserializer.py +0 -0
  209. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/api_client/oauth2.py +0 -0
  210. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/api_client/serializer.py +0 -0
  211. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/__init__.py +0 -0
  212. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/api/__init__.py +0 -0
  213. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/models/__init__.py +0 -0
  214. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/models/create_usage_record.py +0 -0
  215. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/models/plan.py +0 -0
  216. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/models/price.py +0 -0
  217. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/models/problem_details.py +0 -0
  218. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/models/product.py +0 -0
  219. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/models/subscription.py +0 -0
  220. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/models/subscription_item.py +0 -0
  221. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/models/update_usage_record.py +0 -0
  222. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/models/usage_record.py +0 -0
  223. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/appstore/models/usage_records_list.py +0 -0
  224. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/__init__.py +0 -0
  225. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/api/__init__.py +0 -0
  226. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/__init__.py +0 -0
  227. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/asset.py +0 -0
  228. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/asset_status.py +0 -0
  229. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/asset_status_query_param.py +0 -0
  230. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/asset_type.py +0 -0
  231. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/assets.py +0 -0
  232. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/book_depreciation_detail.py +0 -0
  233. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/book_depreciation_setting.py +0 -0
  234. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/error.py +0 -0
  235. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/field_validation_errors_element.py +0 -0
  236. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/pagination.py +0 -0
  237. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/resource_validation_errors_element.py +0 -0
  238. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/assets/models/setting.py +0 -0
  239. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/exceptions/__init__.py +0 -0
  240. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/exceptions/http_status_exceptions.py +0 -0
  241. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/__init__.py +0 -0
  242. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/api/__init__.py +0 -0
  243. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/models/__init__.py +0 -0
  244. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/models/association.py +0 -0
  245. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/models/file_object.py +0 -0
  246. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/models/files.py +0 -0
  247. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/models/folder.py +0 -0
  248. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/models/folders.py +0 -0
  249. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/models/inline_object.py +0 -0
  250. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/models/inline_object1.py +0 -0
  251. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/models/object_group.py +0 -0
  252. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/models/object_type.py +0 -0
  253. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/models/upload_object.py +0 -0
  254. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/file/models/user.py +0 -0
  255. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/__init__.py +0 -0
  256. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/api/__init__.py +0 -0
  257. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/__init__.py +0 -0
  258. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/account_usage.py +0 -0
  259. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/account_usage_response.py +0 -0
  260. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/balance_sheet_account_detail.py +0 -0
  261. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/balance_sheet_account_group.py +0 -0
  262. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/balance_sheet_account_type.py +0 -0
  263. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/balance_sheet_response.py +0 -0
  264. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/bank_statement_accounting_response.py +0 -0
  265. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/bank_statement_response.py +0 -0
  266. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/bank_transaction_response.py +0 -0
  267. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/cash_account_response.py +0 -0
  268. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/cash_balance.py +0 -0
  269. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/cash_validation_response.py +0 -0
  270. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/cashflow_account.py +0 -0
  271. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/cashflow_activity.py +0 -0
  272. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/cashflow_response.py +0 -0
  273. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/cashflow_type.py +0 -0
  274. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/contact_detail.py +0 -0
  275. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/contact_response.py +0 -0
  276. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/contact_total_detail.py +0 -0
  277. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/contact_total_other.py +0 -0
  278. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/credit_note_response.py +0 -0
  279. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/current_statement_response.py +0 -0
  280. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/data_source_response.py +0 -0
  281. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/history_record_response.py +0 -0
  282. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/income_by_contact_response.py +0 -0
  283. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/invoice_response.py +0 -0
  284. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/line_item_response.py +0 -0
  285. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/lock_history_model.py +0 -0
  286. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/lock_history_response.py +0 -0
  287. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/manual_journal_total.py +0 -0
  288. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/overpayment_response.py +0 -0
  289. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/payment_response.py +0 -0
  290. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/pnl_account.py +0 -0
  291. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/pnl_account_class.py +0 -0
  292. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/pnl_account_type.py +0 -0
  293. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/practice_response.py +0 -0
  294. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/prepayment_response.py +0 -0
  295. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/problem.py +0 -0
  296. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/problem_type.py +0 -0
  297. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/profit_and_loss_response.py +0 -0
  298. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/report_history_model.py +0 -0
  299. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/report_history_response.py +0 -0
  300. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/statement_balance_response.py +0 -0
  301. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/statement_line_response.py +0 -0
  302. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/statement_lines_response.py +0 -0
  303. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/statement_response.py +0 -0
  304. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/total_detail.py +0 -0
  305. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/total_other.py +0 -0
  306. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/trial_balance_account.py +0 -0
  307. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/trial_balance_entry.py +0 -0
  308. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/trial_balance_movement.py +0 -0
  309. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/trial_balance_response.py +0 -0
  310. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/user_activities_response.py +0 -0
  311. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/finance/models/user_response.py +0 -0
  312. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/identity/__init__.py +0 -0
  313. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/identity/api/__init__.py +0 -0
  314. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/identity/api/exception_handler.py +0 -0
  315. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/identity/models/__init__.py +0 -0
  316. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/identity/models/access_token.py +0 -0
  317. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/identity/models/connection.py +0 -0
  318. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/identity/models/refresh_token.py +0 -0
  319. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/models.py +0 -0
  320. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/__init__.py +0 -0
  321. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/api/__init__.py +0 -0
  322. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/__init__.py +0 -0
  323. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/account.py +0 -0
  324. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/account_type.py +0 -0
  325. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/allowance_category.py +0 -0
  326. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/allowance_type.py +0 -0
  327. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/api_exception.py +0 -0
  328. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/bank_account.py +0 -0
  329. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/calendar_type.py +0 -0
  330. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/country_of_residence.py +0 -0
  331. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/deduction_line.py +0 -0
  332. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/deduction_type.py +0 -0
  333. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/deduction_type_calculation_type.py +0 -0
  334. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/earnings_line.py +0 -0
  335. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/earnings_rate.py +0 -0
  336. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/earnings_rate_calculation_type.py +0 -0
  337. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/earnings_type.py +0 -0
  338. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/employee.py +0 -0
  339. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/employee_status.py +0 -0
  340. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/employees.py +0 -0
  341. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/employment_basis.py +0 -0
  342. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/employment_termination_payment_type.py +0 -0
  343. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/employment_type.py +0 -0
  344. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/entitlement_final_pay_payout_type.py +0 -0
  345. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/home_address.py +0 -0
  346. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/income_type.py +0 -0
  347. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_accrual_line.py +0 -0
  348. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_application.py +0 -0
  349. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_applications.py +0 -0
  350. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_balance.py +0 -0
  351. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_category_code.py +0 -0
  352. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_earnings_line.py +0 -0
  353. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_line.py +0 -0
  354. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_line_calculation_type.py +0 -0
  355. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_lines.py +0 -0
  356. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_period.py +0 -0
  357. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_period_status.py +0 -0
  358. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_type.py +0 -0
  359. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/leave_type_contribution_type.py +0 -0
  360. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/manual_tax_type.py +0 -0
  361. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/opening_balances.py +0 -0
  362. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/paid_leave_earnings_line.py +0 -0
  363. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/pay_item.py +0 -0
  364. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/pay_items.py +0 -0
  365. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/pay_out_type.py +0 -0
  366. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/pay_run.py +0 -0
  367. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/pay_run_status.py +0 -0
  368. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/pay_runs.py +0 -0
  369. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/pay_template.py +0 -0
  370. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/payment_frequency_type.py +0 -0
  371. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/payroll_calendar.py +0 -0
  372. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/payroll_calendars.py +0 -0
  373. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/payslip.py +0 -0
  374. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/payslip_lines.py +0 -0
  375. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/payslip_object.py +0 -0
  376. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/payslip_summary.py +0 -0
  377. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/payslips.py +0 -0
  378. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/rate_type.py +0 -0
  379. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/reimbursement_line.py +0 -0
  380. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/reimbursement_lines.py +0 -0
  381. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/reimbursement_type.py +0 -0
  382. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/residency_status.py +0 -0
  383. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/senior_marital_status.py +0 -0
  384. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/settings.py +0 -0
  385. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/settings_object.py +0 -0
  386. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/settings_tracking_categories.py +0 -0
  387. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/settings_tracking_categories_employee_groups.py +0 -0
  388. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/settings_tracking_categories_timesheet_categories.py +0 -0
  389. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/state.py +0 -0
  390. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/super_fund.py +0 -0
  391. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/super_fund_product.py +0 -0
  392. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/super_fund_products.py +0 -0
  393. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/super_fund_type.py +0 -0
  394. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/super_funds.py +0 -0
  395. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/super_line.py +0 -0
  396. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/super_membership.py +0 -0
  397. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/superannuation_calculation_type.py +0 -0
  398. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/superannuation_contribution_type.py +0 -0
  399. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/superannuation_line.py +0 -0
  400. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/tax_declaration.py +0 -0
  401. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/tax_line.py +0 -0
  402. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/tax_scale_type.py +0 -0
  403. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/tfn_exemption_type.py +0 -0
  404. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/timesheet.py +0 -0
  405. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/timesheet_line.py +0 -0
  406. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/timesheet_object.py +0 -0
  407. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/timesheet_status.py +0 -0
  408. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/timesheets.py +0 -0
  409. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/validation_error.py +0 -0
  410. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollau/models/work_condition.py +0 -0
  411. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/__init__.py +0 -0
  412. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/api/__init__.py +0 -0
  413. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/__init__.py +0 -0
  414. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/account.py +0 -0
  415. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/accounts.py +0 -0
  416. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/address.py +0 -0
  417. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/bank_account.py +0 -0
  418. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/benefit.py +0 -0
  419. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/calendar_type.py +0 -0
  420. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/deduction.py +0 -0
  421. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/deduction_line.py +0 -0
  422. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/deduction_object.py +0 -0
  423. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/deductions.py +0 -0
  424. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/earnings_line.py +0 -0
  425. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/earnings_order.py +0 -0
  426. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/earnings_order_object.py +0 -0
  427. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/earnings_orders.py +0 -0
  428. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/earnings_rate.py +0 -0
  429. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/earnings_rate_object.py +0 -0
  430. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/earnings_rates.py +0 -0
  431. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/earnings_template.py +0 -0
  432. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/earnings_template_object.py +0 -0
  433. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee.py +0 -0
  434. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_earnings_templates.py +0 -0
  435. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_leave.py +0 -0
  436. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_leave_balance.py +0 -0
  437. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_leave_balances.py +0 -0
  438. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_leave_object.py +0 -0
  439. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_leave_setup.py +0 -0
  440. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_leave_setup_object.py +0 -0
  441. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_leave_type.py +0 -0
  442. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_leave_type_object.py +0 -0
  443. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_leave_types.py +0 -0
  444. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_leaves.py +0 -0
  445. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_object.py +0 -0
  446. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_opening_balance.py +0 -0
  447. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_opening_balances_object.py +0 -0
  448. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_pay_template.py +0 -0
  449. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_pay_template_object.py +0 -0
  450. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_pay_templates.py +0 -0
  451. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_statutory_leave_balance.py +0 -0
  452. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_statutory_leave_balance_object.py +0 -0
  453. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_statutory_leave_summary.py +0 -0
  454. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_statutory_leaves_summaries.py +0 -0
  455. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_statutory_sick_leave.py +0 -0
  456. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_statutory_sick_leave_object.py +0 -0
  457. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_statutory_sick_leaves.py +0 -0
  458. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_tax.py +0 -0
  459. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_tax_object.py +0 -0
  460. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_working_pattern.py +0 -0
  461. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_working_pattern_with_working_weeks.py +0 -0
  462. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_working_pattern_with_working_weeks_object.py +0 -0
  463. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_working_pattern_with_working_weeks_request.py +0 -0
  464. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employee_working_patterns_object.py +0 -0
  465. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employees.py +0 -0
  466. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employment.py +0 -0
  467. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/employment_object.py +0 -0
  468. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/gross_earnings_history.py +0 -0
  469. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/invalid_field.py +0 -0
  470. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/leave_accrual_line.py +0 -0
  471. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/leave_earnings_line.py +0 -0
  472. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/leave_period.py +0 -0
  473. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/leave_periods.py +0 -0
  474. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/leave_type.py +0 -0
  475. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/leave_type_object.py +0 -0
  476. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/leave_types.py +0 -0
  477. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/pagination.py +0 -0
  478. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/pay_run.py +0 -0
  479. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/pay_run_calendar.py +0 -0
  480. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/pay_run_calendar_object.py +0 -0
  481. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/pay_run_calendars.py +0 -0
  482. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/pay_run_object.py +0 -0
  483. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/pay_runs.py +0 -0
  484. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/pay_slip.py +0 -0
  485. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/pay_slip_object.py +0 -0
  486. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/pay_slips.py +0 -0
  487. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/payment_line.py +0 -0
  488. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/payment_method.py +0 -0
  489. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/payment_method_object.py +0 -0
  490. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/problem.py +0 -0
  491. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/reimbursement.py +0 -0
  492. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/reimbursement_line.py +0 -0
  493. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/reimbursement_object.py +0 -0
  494. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/reimbursements.py +0 -0
  495. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/salary_and_wage.py +0 -0
  496. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/salary_and_wage_object.py +0 -0
  497. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/salary_and_wages.py +0 -0
  498. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/settings.py +0 -0
  499. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/statutory_deduction.py +0 -0
  500. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/statutory_deduction_category.py +0 -0
  501. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/statutory_deduction_line.py +0 -0
  502. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/statutory_deduction_object.py +0 -0
  503. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/statutory_deductions.py +0 -0
  504. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/superannuation_line.py +0 -0
  505. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/superannuation_object.py +0 -0
  506. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/superannuations.py +0 -0
  507. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/tax_code.py +0 -0
  508. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/tax_line.py +0 -0
  509. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/tax_settings.py +0 -0
  510. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/timesheet.py +0 -0
  511. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/timesheet_earnings_line.py +0 -0
  512. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/timesheet_line.py +0 -0
  513. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/timesheet_line_object.py +0 -0
  514. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/timesheet_object.py +0 -0
  515. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/timesheets.py +0 -0
  516. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/tracking_categories.py +0 -0
  517. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/tracking_category.py +0 -0
  518. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrollnz/models/working_week.py +0 -0
  519. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/api/__init__.py +0 -0
  520. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/api/exception_handler.py +0 -0
  521. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/account.py +0 -0
  522. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/accounts.py +0 -0
  523. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/address.py +0 -0
  524. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/bank_account.py +0 -0
  525. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/benefit.py +0 -0
  526. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/benefit_line.py +0 -0
  527. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/benefit_object.py +0 -0
  528. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/benefits.py +0 -0
  529. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/court_order_line.py +0 -0
  530. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/deduction.py +0 -0
  531. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/deduction_line.py +0 -0
  532. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/deduction_object.py +0 -0
  533. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/deductions.py +0 -0
  534. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/earnings_line.py +0 -0
  535. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/earnings_order.py +0 -0
  536. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/earnings_order_object.py +0 -0
  537. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/earnings_orders.py +0 -0
  538. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/earnings_rate.py +0 -0
  539. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/earnings_rate_object.py +0 -0
  540. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/earnings_rates.py +0 -0
  541. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/earnings_template.py +0 -0
  542. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/earnings_template_object.py +0 -0
  543. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_leave.py +0 -0
  544. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_leave_balance.py +0 -0
  545. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_leave_balances.py +0 -0
  546. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_leave_object.py +0 -0
  547. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_leave_type.py +0 -0
  548. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_leave_type_object.py +0 -0
  549. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_leave_types.py +0 -0
  550. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_leaves.py +0 -0
  551. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_object.py +0 -0
  552. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_opening_balances.py +0 -0
  553. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_opening_balances_object.py +0 -0
  554. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_pay_template.py +0 -0
  555. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_pay_template_object.py +0 -0
  556. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_pay_templates.py +0 -0
  557. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_statutory_leave_balance.py +0 -0
  558. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_statutory_leave_balance_object.py +0 -0
  559. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_statutory_leave_summary.py +0 -0
  560. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_statutory_leaves_summaries.py +0 -0
  561. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_statutory_sick_leave.py +0 -0
  562. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_statutory_sick_leave_object.py +0 -0
  563. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_statutory_sick_leaves.py +0 -0
  564. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_tax.py +0 -0
  565. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employee_tax_object.py +0 -0
  566. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employees.py +0 -0
  567. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/employment_object.py +0 -0
  568. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/invalid_field.py +0 -0
  569. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/leave_accrual_line.py +0 -0
  570. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/leave_earnings_line.py +0 -0
  571. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/leave_period.py +0 -0
  572. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/leave_periods.py +0 -0
  573. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/leave_type.py +0 -0
  574. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/leave_type_object.py +0 -0
  575. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/leave_types.py +0 -0
  576. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/pagination.py +0 -0
  577. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/pay_run.py +0 -0
  578. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/pay_run_calendar.py +0 -0
  579. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/pay_run_calendar_object.py +0 -0
  580. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/pay_run_calendars.py +0 -0
  581. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/pay_run_object.py +0 -0
  582. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/pay_runs.py +0 -0
  583. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/payment_line.py +0 -0
  584. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/payment_method.py +0 -0
  585. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/payment_method_object.py +0 -0
  586. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/payslip.py +0 -0
  587. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/payslip_object.py +0 -0
  588. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/payslips.py +0 -0
  589. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/problem.py +0 -0
  590. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/reimbursement.py +0 -0
  591. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/reimbursement_line.py +0 -0
  592. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/reimbursement_object.py +0 -0
  593. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/reimbursements.py +0 -0
  594. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/salary_and_wage.py +0 -0
  595. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/salary_and_wage_object.py +0 -0
  596. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/salary_and_wages.py +0 -0
  597. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/settings.py +0 -0
  598. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/statutory_deduction.py +0 -0
  599. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/statutory_deduction_category.py +0 -0
  600. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/tax_line.py +0 -0
  601. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/timesheet.py +0 -0
  602. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/timesheet_earnings_line.py +0 -0
  603. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/timesheet_line.py +0 -0
  604. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/timesheet_line_object.py +0 -0
  605. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/timesheet_object.py +0 -0
  606. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/timesheets.py +0 -0
  607. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/tracking_categories.py +0 -0
  608. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/payrolluk/models/tracking_category.py +0 -0
  609. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/__init__.py +0 -0
  610. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/api/__init__.py +0 -0
  611. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/__init__.py +0 -0
  612. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/amount.py +0 -0
  613. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/charge_type.py +0 -0
  614. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/currency_code.py +0 -0
  615. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/error.py +0 -0
  616. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/pagination.py +0 -0
  617. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/project.py +0 -0
  618. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/project_create_or_update.py +0 -0
  619. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/project_patch.py +0 -0
  620. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/project_status.py +0 -0
  621. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/project_user.py +0 -0
  622. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/project_users.py +0 -0
  623. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/projects.py +0 -0
  624. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/task.py +0 -0
  625. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/task_create_or_update.py +0 -0
  626. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/tasks.py +0 -0
  627. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/time_entries.py +0 -0
  628. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/time_entry.py +0 -0
  629. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/project/models/time_entry_create_or_update.py +0 -0
  630. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/rest.py +0 -0
  631. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/single_dispatch_str.py +0 -0
  632. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python/utils.py +0 -0
  633. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python.egg-info/dependency_links.txt +0 -0
  634. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python.egg-info/requires.txt +0 -0
  635. {xero_python-7.1.0 → xero_python-8.0.0a1}/xero_python.egg-info/top_level.txt +0 -0
@@ -0,0 +1,640 @@
1
+ Metadata-Version: 2.1
2
+ Name: xero_python
3
+ Version: 8.0.0a1
4
+ Summary: Official Python sdk for Xero API generated by OpenAPI spec for oAuth2
5
+ Home-page: UNKNOWN
6
+ Author: Xero Developer API
7
+ Author-email: api@xero.com
8
+ License: MIT license
9
+ Description: # xero-python
10
+ [![PyPI version](https://badge.fury.io/py/xero-python.svg)](https://badge.fury.io/py/xero-python)
11
+ [![Github forks](https://img.shields.io/github/forks/XeroAPI/xero-python.svg)](https://github.com/XeroAPI/xero-python/network)
12
+ [![Github stars](https://img.shields.io/github/stars/XeroAPI/xero-python.svg)](https://github.com/XeroAPI/xero-python/stargazers)
13
+ [![Downloads](https://pepy.tech/badge/xero-python)](https://pepy.tech/project/xero-python)
14
+
15
+ The xero-python SDK makes it easy for developers to access Xero's APIs in their python code, and build robust applications and software using small business & general ledger accounting data.
16
+ # Table of Contents
17
+ - [API Client documentation](#api-client-documentation)
18
+ - [Sample Applications](#sample-applications)
19
+ - [Xero Account Requirements](#xero-account-requirements)
20
+ - [Installation](#installation)
21
+ - [Configuration](#configuration)
22
+ - [Authentication](#authentication)
23
+ - [Custom Connections](#custom-connections)
24
+ - [App Store Subscriptions](#app-store-subscriptions)
25
+ - [API Clients](#api-clients)
26
+ - [Helper Methods](#helper-methods)
27
+ - [Usage Examples](#usage-examples)
28
+ - [SDK conventions](#sdk-conventions)
29
+ - [Participating in Xero’s developer community](#participating-in-xeros-developer-community)
30
+ - [Contributing](#contributing)
31
+
32
+ <hr>
33
+
34
+ ## API Client documentation
35
+ This SDK supports full method coverage for the following Xero API sets:
36
+
37
+ | API Set | Description |
38
+ | --- | --- |
39
+ | [`Accounting`](https://xeroapi.github.io/xero-python/v1/accounting/index.html) | The Accounting API exposes accounting functions of the main Xero application *(most commonly used)*
40
+ | [Assets](https://xeroapi.github.io/xero-python/v1/assets/index.html) | The Assets API exposes fixed asset related functions of the Xero Accounting application |
41
+ | [Files](https://xeroapi.github.io/xero-python/v1/files/index.html) | The Files API provides access to the files, folders, and the association of files within a Xero organisation |
42
+ | [Projects](https://xeroapi.github.io/xero-python/v1/projects/index.html) | Xero Projects allows businesses to track time and costs on projects/jobs and report on profitability |
43
+ | [Payroll (AU)](https://xeroapi.github.io/xero-python/v1/payroll-au/index.html) | The (AU) Payroll API exposes payroll related functions of the payroll Xero application |
44
+ | [Payroll (UK)](https://xeroapi.github.io/xero-python/v1/payroll-uk/index.html) | The (UK) Payroll API exposes payroll related functions of the payroll Xero application |
45
+ | [Payroll (NZ)](https://xeroapi.github.io/xero-python/v1/payroll-nz/index.html) | The (NZ) Payroll API exposes payroll related functions of the payroll Xero application |
46
+
47
+ <img src="https://i.imgur.com/feMhCtI.png" alt="drawing" width="350"/>
48
+
49
+ <hr>
50
+
51
+ ## Sample Applications
52
+ Sample apps can get you started quickly with simple auth flows and advanced usage examples.
53
+
54
+ | Sample App | Description | Screenshot |
55
+ | --- | --- | --- |
56
+ | [`starter-app`](https://github.com/XeroAPI/xero-python-oauth2-starter) | Basic getting started code samples | <img src="https://i.imgur.com/gJA93yT.png" alt="drawing" width="200"/>
57
+ | [`full-app`](https://github.com/XeroAPI/xero-python-oauth2-app) | Complete app with more complex examples | <img src="https://i.imgur.com/1YRqMmc.png" alt="drawing" width="500"/>
58
+ | [`custom-connections-starter`](https://github.com/XeroAPI/xero-python-custom-connections-starter) | Basic app showing Custom Connections - a Xero [premium option](https://developer.xero.com/documentation/oauth2/custom-connections) for building M2M integrations to a single org | <img src="https://i.imgur.com/uOlaWg8.png" alt="drawing" width="300"/>
59
+
60
+ <hr>
61
+
62
+ ## Xero Account Requirements
63
+ - Create a [free Xero user account](https://www.xero.com/us/signup/api/)
64
+ - Login to your Xero developer [dashboard](https://developer.xero.com/app/manage) and create an API application
65
+ - Copy the credentials from your API app and store them using a secure ENV variable strategy
66
+ - Decide the [neccesary scopes](https://developer.xero.com/documentation/oauth2/scopes) for your app's functionality
67
+
68
+ # Installation
69
+ To install this SDK in your project:
70
+ ```
71
+ pip install xero-python
72
+ ```
73
+
74
+ ---
75
+ ## Configuration
76
+ ```python
77
+ # -*- coding: utf-8 -*-
78
+ import os
79
+ from functools import wraps
80
+ from io import BytesIO
81
+ from logging.config import dictConfig
82
+ from flask import Flask, session
83
+ from flask_oauthlib.contrib.client import OAuth, OAuth2Application
84
+ from flask_session import Session
85
+ from xero_python.accounting import AccountingApi
86
+ from xero_python.assets import AssetApi
87
+ from xero_python.project import ProjectApi
88
+ from xero_python.payrollau import PayrollAuApi
89
+ from xero_python.payrolluk import PayrollUkApi
90
+ from xero_python.payrollnz import PayrollNzApi
91
+ from xero_python.file import FilesApi
92
+ from xero_python.api_client import ApiClient, serialize
93
+ from xero_python.api_client.configuration import Configuration
94
+ from xero_python.api_client.oauth2 import OAuth2Token
95
+ from xero_python.exceptions import AccountingBadRequestException, PayrollUkBadRequestException
96
+ from xero_python.identity import IdentityApi
97
+ from xero_python.utils import getvalue
98
+ import logging_settings
99
+ from utils import jsonify, serialize_model
100
+
101
+ dictConfig(logging_settings.default_settings)
102
+
103
+ # configure main flask application
104
+ app = Flask(__name__)
105
+ app.config.from_object("default_settings")
106
+ app.config.from_pyfile("config.py", silent=True)
107
+
108
+ if app.config["ENV"] != "production":
109
+ # allow oauth2 loop to run over http (used for local testing only)
110
+ os.environ["OAUTHLIB_INSECURE_TRANSPORT"] = "1"
111
+
112
+ # configure persistent session cache
113
+ Session(app)
114
+
115
+ # configure flask-oauthlib application
116
+ oauth = OAuth(app)
117
+ xero = oauth.remote_app(
118
+ name="xero",
119
+ version="2",
120
+ client_id=app.config["CLIENT_ID"],
121
+ client_secret=app.config["CLIENT_SECRET"],
122
+ endpoint_url="https://api.xero.com/",
123
+ authorization_url="https://login.xero.com/identity/connect/authorize",
124
+ access_token_url="https://identity.xero.com/connect/token",
125
+ refresh_token_url="https://identity.xero.com/connect/token",
126
+ scope="offline_access openid profile email accounting.transactions "
127
+ "accounting.transactions.read accounting.reports.read "
128
+ "accounting.journals.read accounting.settings accounting.settings.read "
129
+ "accounting.contacts accounting.contacts.read accounting.attachments "
130
+ "accounting.attachments.read assets projects "
131
+ "files "
132
+ "payroll.employees payroll.payruns payroll.payslip payroll.timesheets payroll.settings",
133
+ ) # type: OAuth2Application
134
+
135
+
136
+ # configure xero-python sdk client
137
+ api_client = ApiClient(
138
+ Configuration(
139
+ debug=app.config["DEBUG"],
140
+ oauth2_token=OAuth2Token(
141
+ client_id=app.config["CLIENT_ID"], client_secret=app.config["CLIENT_SECRET"]
142
+ ),
143
+ ),
144
+ pool_threads=1,
145
+ )
146
+
147
+ # configure token persistence and exchange point between flask-oauthlib and xero-python
148
+ @xero.tokengetter
149
+ @api_client.oauth2_token_getter
150
+ def obtain_xero_oauth2_token():
151
+ return session.get("token")
152
+
153
+ @xero.tokensaver
154
+ @api_client.oauth2_token_saver
155
+ def store_xero_oauth2_token(token):
156
+ session["token"] = token
157
+ session.modified = True
158
+ ```
159
+
160
+ ---
161
+ ## Authentication
162
+ All API requests go through Xero's OAuth 2.0 gateway and require a valid `access_token` to be set on the `client` which appends the `access_token` [JWT](https://jwt.io/) to the header of each request.
163
+
164
+ If you are making an API call for the first time:
165
+
166
+ 1. Send the user to the Xero authorization URL
167
+ ```python
168
+ @app.route("/login")
169
+ def login():
170
+ redirect_url = url_for("oauth_callback", _external=True)
171
+ session["state"] = app.config["STATE"]
172
+ try:
173
+ response = xero.authorize(callback_uri=redirect_url, state=session["state"])
174
+ except Exception as e:
175
+ print(e)
176
+ raise
177
+ return response
178
+ ```
179
+ 2. The user will authorize your application and be sent to your `redirect_uri`. This is when and where to check that the returned "state" param matches that which was previously defined. If the "state" params match, calling the oauth library's `authorized_response()` method will swap the temporary auth code for an access token which you can store and use for subsequent API calls.
180
+ ```python
181
+ @app.route("/callback")
182
+ def oauth_callback():
183
+ if request.args.get("state") != session["state"]:
184
+ return "Error, state doesn't match, no token for you."
185
+ try:
186
+ response = xero.authorized_response()
187
+ except Exception as e:
188
+ print(e)
189
+ raise
190
+ if response is None or response.get("access_token") is None:
191
+ return "Access denied: response=%s" % response
192
+ store_xero_oauth2_token(response)
193
+ return redirect(url_for("index", _external=True))
194
+ ```
195
+ 3. Call the Xero API like so:
196
+ ```python
197
+ @app.route("/accounting_invoice_read_all")
198
+ @xero_token_required
199
+ def accounting_invoice_read_all():
200
+ code = get_code_snippet("INVOICES","READ_ALL")
201
+
202
+ #[INVOICES:READ_ALL]
203
+ xero_tenant_id = get_xero_tenant_id()
204
+ accounting_api = AccountingApi(api_client)
205
+
206
+ try:
207
+ invoices_read = accounting_api.get_invoices(
208
+ xero_tenant_id
209
+ )
210
+ except AccountingBadRequestException as exception:
211
+ output = "Error: " + exception.reason
212
+ json = jsonify(exception.error_data)
213
+ else:
214
+ output = "Total invoices found: {}.".format(len(invoices_read.invoices)
215
+ )
216
+ json = serialize_model(invoices_read)
217
+ #[/INVOICES:READ_ALL]
218
+
219
+ return render_template(
220
+ "output.html", title="Invoices",code=code, output=output, json=json, len = 0, set="accounting", endpoint="invoice", action="read_all"
221
+ )
222
+ ```
223
+
224
+ It is recommended that you store this token set JSON in a datastore in relation to the user who has authenticated the Xero API connection. Each time you want to call the Xero API, you will need to access the previously generated token set, initialize it on the SDK `client`, and refresh the `access_token` prior to making API calls.
225
+
226
+ ### Token Set
227
+ | key | value | description |
228
+ | --- | --- | --- |
229
+ | id_token: | "xxx.yyy.zzz" | [OpenID Connect](https://openid.net/connect/) token returned if `openid profile email` scopes accepted |
230
+ | access_token: | "xxx.yyy.zzz" | [Bearer token](https://oauth.net/2/jwt/) with a 30 minute expiration required for all API calls |
231
+ | expires_in: | 1800 | Time in seconds till the token expires - 1800s is 30m |
232
+ | refresh_token: | "XXXXXXX" | Alphanumeric string used to obtain a new Token Set w/ a fresh access_token - 60 day expiry |
233
+ | scope: | ["email", "profile", "openid", "accounting.transactions", "offline_access"] | The Xero permissions that are embedded in the `access_token` |
234
+
235
+ Example Token Set JSON:
236
+ ```
237
+ {
238
+ "id_token": "xxx.yyy.zz",
239
+ "access_token": "xxx.yyy.zzz",
240
+ "expires_in": 1800,
241
+ "token_type": "Bearer",
242
+ "refresh_token": "xxxxxxxxx",
243
+ "scope": ["email", "profile", "openid", "accounting.transactions", "offline_access"]
244
+ }
245
+ ```
246
+
247
+ ---
248
+ ## Custom Connections
249
+
250
+ Custom Connections are a Xero [premium option](https://developer.xero.com/documentation/oauth2/custom-connections) used for building M2M integrations to a single organisation. A custom connection uses OAuth 2.0's [`client_credentials`](https://www.oauth.com/oauth2-servers/access-tokens/client-credentials/) grant which eliminates the step of exchanging the temporary code for a token set.
251
+
252
+ To use this SDK with a Custom Connections:
253
+ ```python
254
+ # -*- coding: utf-8 -*-
255
+ import os
256
+ from functools import wraps
257
+ from io import BytesIO
258
+ from logging.config import dictConfig
259
+ from flask import Flask, url_for, render_template, session, redirect, json, send_file
260
+ from flask_session import Session
261
+ from xero_python.accounting import AccountingApi, ContactPerson, Contact, Contacts
262
+ from xero_python.api_client import ApiClient, serialize
263
+ from xero_python.api_client.configuration import Configuration
264
+ from xero_python.api_client.oauth2 import OAuth2Token
265
+ from xero_python.exceptions import AccountingBadRequestException
266
+ from xero_python.identity import IdentityApi
267
+ from xero_python.utils import getvalue
268
+ import logging_settings
269
+ from utils import jsonify, serialize_model
270
+
271
+ dictConfig(logging_settings.default_settings)
272
+
273
+ # configure main flask application
274
+ app = Flask(__name__)
275
+ app.config.from_object("default_settings")
276
+ app.config.from_pyfile("config.py", silent=True)
277
+
278
+ # configure persistent session cache
279
+ Session(app)
280
+
281
+ # configure xero-python sdk client
282
+ api_client = ApiClient(
283
+ Configuration(
284
+ debug=app.config["DEBUG"],
285
+ oauth2_token=OAuth2Token(
286
+ client_id=app.config["CLIENT_ID"], client_secret=app.config["CLIENT_SECRET"]
287
+ ),
288
+ ),
289
+ pool_threads=1,
290
+ )
291
+
292
+ # configure token persistence and exchange point between app session and xero-python
293
+ @api_client.oauth2_token_getter
294
+ def obtain_xero_oauth2_token():
295
+ return session.get("token")
296
+
297
+ @api_client.oauth2_token_saver
298
+ def store_xero_oauth2_token(token):
299
+ session["token"] = token
300
+ session.modified = True
301
+
302
+ @app.route("/get_token")
303
+ def get_token():
304
+ try:
305
+ # no user auth flow, no exchanging temp code for token
306
+ xero_token = api_client.get_client_credentials_token()
307
+ except Exception as e:
308
+ print(e)
309
+ raise
310
+ # todo validate state value
311
+ if xero_token is None or xero_token.get("access_token") is None:
312
+ return "Access denied: response=%s" % xero_token
313
+ store_xero_oauth2_token(xero_token)
314
+ return redirect(url_for("index", _external=True))
315
+
316
+ @app.route("/accounting_invoice_read_all")
317
+ @xero_token_required
318
+ def accounting_invoice_read_all():
319
+ code = get_code_snippet("INVOICES","READ_ALL")
320
+
321
+ #[INVOICES:READ_ALL]
322
+ accounting_api = AccountingApi(api_client)
323
+
324
+ try:
325
+ invoices_read = accounting_api.get_invoices('')
326
+ except AccountingBadRequestException as exception:
327
+ output = "Error: " + exception.reason
328
+ json = jsonify(exception.error_data)
329
+ else:
330
+ output = "Total invoices found: {}.".format(len(invoices_read.invoices)
331
+ )
332
+ json = serialize_model(invoices_read)
333
+ #[/INVOICES:READ_ALL]
334
+
335
+ return render_template(
336
+ "output.html", title="Invoices",code=code, output=output, json=json, len = 0, set="accounting", endpoint="invoice", action="read_all"
337
+ )
338
+ ```
339
+
340
+ Because Custom Connections are only valid for a single organisation you don't need to pass the xero-tenant-id as the first parameter to every method, or more specifically for this SDK xeroTenantId can be an empty string.
341
+
342
+ > Because the SDK is generated from the OpenAPI spec the parameter remains. For now you are required to pass an empty string to use this SDK with a Custom Connection.
343
+
344
+ ---
345
+
346
+ ## App Store Subscriptions
347
+
348
+ If you are implementing subscriptions to participate in Xero's App Store you will need to setup [App Store subscriptions](https://developer.xero.com/documentation/guides/how-to-guides/xero-app-store-referrals/) endpoints.
349
+
350
+ When a plan is successfully purchased, the user is redirected back to the URL specified in the setup process. The Xero App Store appends the subscription Id to this URL so you can immediately determine what plan the user has subscribed to through the subscriptions API.
351
+
352
+ With your app credentials you can create a client via `client_credentials` grant_type with the `marketplace.billing` scope. This unique access_token will allow you to query any functions in `AppStoreApi`. Client Credentials tokens to query app store endpoints will only work for apps that have completed the App Store on-boarding process.
353
+ ```python
354
+ # configure xero-python sdk client
355
+ api_client = ApiClient(
356
+ Configuration(
357
+ debug=app.config["DEBUG"],
358
+ oauth2_token=OAuth2Token(
359
+ client_id=app.config["CLIENT_ID"], client_secret=app.config["CLIENT_SECRET"]
360
+ ),
361
+ ),
362
+ pool_threads=1,
363
+ )
364
+
365
+ try:
366
+ # pass True for app_store_billing - defaults to False if no value provided
367
+ xero_token = api_client.get_client_credentials_token(True)
368
+ except Exception as e:
369
+ print(e)
370
+ raise
371
+
372
+ app_store_api = AppStoreApi(api_client)
373
+
374
+ subscription = app_store_api.get_subscription(subscription_id)
375
+ print(subscription)
376
+
377
+ {
378
+ 'current_period_end': datetime.datetime(2021, 9, 2, 14, 8, 58, 772536, tzinfo=tzutc()),
379
+ 'end_date': None,
380
+ 'id': '03bc74f2-1237-4477-b782-2dfb1a6d8b21',
381
+ 'organisation_id': '79e8b2e5-c63d-4dce-888f-e0f3e9eac647',
382
+ 'plans':[
383
+ {
384
+ 'id': '6abc26f3-9390-4194-8b25-ce8b9942fda9',
385
+ 'name': 'Small',
386
+ 'status': 'ACTIVE',
387
+ 'subscription_items': [
388
+ {
389
+ 'end_date': None,
390
+ 'id': '834cff4c-b753-4de2-9e7a-3451e14fa17a',
391
+ 'price': {
392
+ 'amount': Decimal('0.1000'),
393
+ 'currency': 'NZD',
394
+ 'id': '2310de92-c7c0-4bcb-b972-fb7612177bc7'
395
+ },
396
+ 'product': {
397
+ 'id': '9586421f-7325-4493-bac9-d93be06a6a38',
398
+ 'name': '',
399
+ 'type': 'FIXED',
400
+ 'seat_unit': None
401
+ },
402
+ 'start_date': datetime.datetime(2021, 8, 2, 14, 8, 58, 772536, tzinfo=tzutc()),
403
+ 'test_mode': True
404
+ }
405
+ ]
406
+ }
407
+ ],
408
+ 'start_date': datetime.datetime(2021, 8, 2, 14, 8, 58, 772536, tzinfo=tzutc()),
409
+ 'status': 'ACTIVE',
410
+ 'test_mode': True
411
+ }
412
+
413
+ ```
414
+ You should use the subscription data to provision user access/permissions to your application.
415
+ ### App Store Subscription Webhooks
416
+
417
+ In additon to a subscription Id being passed through the URL, when a purchase or an upgrade takes place you will be notified via a webhook. You can then use the subscription Id in the webhook payload to query the AppStore endpoints and determine what plan the user purchased, upgraded, downgraded or cancelled.
418
+
419
+ Refer to Xero's documenation to learn more about setting up and receiving webhooks.
420
+ > https://developer.xero.com/documentation/guides/webhooks/overview/
421
+
422
+ ---
423
+ ## API Clients
424
+ You can access the different API sets and their available methods through the following:
425
+
426
+ ```python
427
+ accounting_api = AccountingApi(api_client)
428
+ read_accounts = accounting_api.get_accounts(xero_tenant_id)
429
+ asset_api = AssetApi(api_client)
430
+ read_assets = asset_api.get_assets(xero_tenant_id)
431
+ # ... all the API sets follow the same pattern
432
+ ```
433
+ ---
434
+ ## Helper Methods
435
+
436
+ Once you have a valid Token Set in your datastore, the next time you want to call the Xero API simply initialize a new `client` and refresh the token set.
437
+
438
+ ```python
439
+ # configure xero-python sdk client
440
+ api_client = ApiClient(
441
+ Configuration(
442
+ debug=app.config["DEBUG"],
443
+ oauth2_token=OAuth2Token(
444
+ client_id=app.config["CLIENT_ID"], client_secret=app.config["CLIENT_SECRET"]
445
+ ),
446
+ ),
447
+ pool_threads=1,
448
+ )
449
+
450
+ # configure token persistence and exchange point between app session and xero-python
451
+ @api_client.oauth2_token_getter
452
+ def obtain_xero_oauth2_token():
453
+ return session.get("token")
454
+
455
+ @api_client.oauth2_token_saver
456
+ def store_xero_oauth2_token(token):
457
+ session["token"] = token
458
+ session.modified = True
459
+
460
+ # get existing token set
461
+ token_set = get_token_set_from_database(user_id); // example function name
462
+
463
+ # set token set to the api client
464
+ store_xero_oauth2_token(token_set)
465
+
466
+ # refresh token set on the api client
467
+ api_client.refresh_oauth2_token()
468
+
469
+ # call the Xero API
470
+ accounting_api = AccountingApi(api_client)
471
+ read_accounts = accounting_api.get_accounts(xero_tenant_id)
472
+ ```
473
+
474
+ A full list of the SDK client's methods:
475
+
476
+ | method | description | params | returns
477
+ | --- | --- | --- | --- |
478
+ | api_client.`oauth2_token_saver` | A decorator to register a callback function for saving refreshed token while the old token has expired | token_saver: the callback function accepting `token` argument | token_saver to allow this method be used as decorator |
479
+ | api_client.`oauth2_token_getter` | A decorator to register a callback function for getting oauth2 token | token_getter: the callback function returning oauth2 token dictionary | token_getter to allow this method be used as decorator |
480
+ | api_client.`revoke_oauth2_token` | Revokes a users refresh token and removes all their connections to your app | N/A | empty OAuth2 token |
481
+ | api_client.`refresh_oauth2_token` | Refreshes OAuth2 token set | N/A | new token set |
482
+ | api_client.`set_oauth2_token` | Sets OAuth2 token directly on the client | dict token: standard token dictionary | N/A |
483
+ | api_client.`get_oauth2_token` | Get OAuth2 token dictionary | N/A | dict |
484
+ ---
485
+ ## Usage Examples
486
+ ### Accounting API
487
+ ```python
488
+ from xero_python.accounting import AccountingApi
489
+ from xero_python.utils import getvalue
490
+
491
+ accounting_api = AccountingApi(api_client)
492
+
493
+ # Get Accounts
494
+ read_accounts = accounting_api.get_accounts(xero_tenant_id)
495
+ account_id = getvalue(read_accounts, "accounts.0.account_id", "")
496
+
497
+ # Get Account by ID
498
+ read_one_account = accounting_api.get_account(xero_tenant_id, account_id)
499
+
500
+ # Create Invoice
501
+ # get contact
502
+ read_contacts = accounting_api.get_contacts(xero_tenant_id)
503
+ contact_id = getvalue(read_contacts, "contacts.0.contact_id", "")
504
+ # get account
505
+ where = "Type==\"SALES\"&&Status==\"ACTIVE\""
506
+ read_accounts = accounting_api.get_accounts(
507
+ xero_tenant_id, where=where
508
+ )
509
+ account_id = getvalue(read_accounts, "accounts.0.account_id", "")
510
+ # build Invoices
511
+ contact = Contact(
512
+ contact_id=contact_id
513
+ )
514
+ line_item = LineItem(
515
+ account_code=account_id,
516
+ description= "Consulting",
517
+ quantity=1.0,
518
+ unit_amount=10.0,
519
+ )
520
+ invoice = Invoice(
521
+ line_items=[line_item],
522
+ contact=contact,
523
+ due_date= dateutil.parser.parse("2020-09-03T00:00:00Z"),
524
+ date= dateutil.parser.parse("2020-07-03T00:00:00Z"),
525
+ type="ACCREC"
526
+ )
527
+ invoices = Invoices(invoices=[invoice])
528
+ created_invoices = accounting_api.create_invoices(xero_tenant_id, invoices=invoices)
529
+ invoice_id = getvalue(read_invoices, "invoices.0.invoice_id", "")
530
+
531
+ # Create Attachment
532
+ include_online = True
533
+ file_name = "helo-heros.jpg"
534
+ path_to_upload = Path(__file__).resolve().parent.joinpath(file_name)
535
+ open_file = open(path_to_upload, 'rb')
536
+ body = open_file.read()
537
+ content_type = mimetypes.MimeTypes().guess_type(file_name)[0]
538
+
539
+ created_invoice_attachments_by_file_name = accounting_api.create_invoice_attachment_by_file_name(
540
+ xero_tenant_id,
541
+ invoice_id,
542
+ file_name,
543
+ body,
544
+ include_online,
545
+ )
546
+ ```
547
+
548
+ ---
549
+ ## SDK conventions
550
+
551
+ ### Querying & Filtering
552
+
553
+ Describe the support for query options and filtering
554
+
555
+ ```python
556
+ # configure api_client for use with xero-python sdk client
557
+ api_client = ApiClient(
558
+ Configuration(
559
+ debug=false,
560
+ oauth2_token=OAuth2Token(
561
+ client_id="YOUR_CLIENT_ID", client_secret="YOUR_CLIENT_SECRET"
562
+ ),
563
+ ),
564
+ pool_threads=1,
565
+ )
566
+
567
+ api_client.set_oauth2_token("YOUR_ACCESS_TOKEN")
568
+
569
+ def accounting_get_invoices():
570
+ api_instance = AccountingApi(api_client)
571
+ xero_tenant_id = 'YOUR_XERO_TENANT_ID'
572
+ if_modified_since = dateutil.parser.parse("2020-02-06T12:17:43.202-08:00")
573
+ where = 'Status=="DRAFT"'
574
+ order = 'InvoiceNumber ASC'
575
+ ids = ["00000000-0000-0000-0000-000000000000"]
576
+ invoice_numbers = ["INV-001", "INV-002"]
577
+ contact_ids = ["00000000-0000-0000-0000-000000000000"]
578
+ statuses = ["DRAFT", "SUBMITTED"]
579
+ include_archived = 'true'
580
+ created_by_my_app = 'false'
581
+ summary_only = 'true'
582
+
583
+ api_response = api_instance.get_invoices(
584
+ xero_tenant_id,
585
+ if_modified_since,
586
+ where,
587
+ order,
588
+ ids,
589
+ invoice_numbers,
590
+ contact_ids,
591
+ statuses,
592
+ page,
593
+ include_archived,
594
+ created_by_my_app,
595
+ unitdp,
596
+ summary_only
597
+ )
598
+ ```
599
+
600
+ ---
601
+
602
+ ## Participating in Xero’s developer community
603
+
604
+ This SDK is one of a number of SDK’s that the Xero Developer team builds and maintains. We are grateful for all the contributions that the community makes.
605
+
606
+ Here are a few things you should be aware of as a contributor:
607
+ * Xero has adopted the Contributor Covenant [Code of Conduct](https://github.com/XeroAPI/xero-python/blob/master/CODE_OF_CONDUCT.md), we expect all contributors in our community to adhere to it
608
+ * If you raise an issue then please make sure to fill out the Github issue template, doing so helps us help you
609
+ * You’re welcome to raise PRs. As our SDKs are generated we may use your code in the core SDK build instead of merging your code
610
+ * We have a [contribution guide](https://github.com/XeroAPI/xero-python/blob/master/CONTRIBUTING.md) for you to follow when contributing to this SDK
611
+ * Curious about how we generate our SDK’s? Have a [read of our process](https://devblog.xero.com/building-sdks-for-the-future-b79ff726dfd6) and have a look at our [OpenAPISpec](https://github.com/XeroAPI/Xero-OpenAPI)
612
+ * This software is published under the [MIT License](https://github.com/XeroAPI/xero-python/blob/master/LICENSE)
613
+
614
+ For questions that aren’t related to SDKs please refer to our [developer support page](https://developer.xero.com/support/).
615
+
616
+ ### Contributing
617
+ PRs, issues, and discussion are highly appreciated and encouraged. Note that the majority of this project is generated code based on [Xero's OpenAPI specs](https://github.com/XeroAPI/Xero-OpenAPI) - PR's will be evaluated and pre-merge will be incorporated into the root generation templates.
618
+
619
+ ### Versioning
620
+ We do our best to keep OS industry `semver` standards, but we can make mistakes! If something is not accurately reflected in a version's release notes please let the team know.
621
+
622
+
623
+ ## History
624
+
625
+ ### 0.1.0 (2020-03-02)
626
+ * First release on PyPI.
627
+
628
+ Keywords: xero python sdk API oAuth
629
+ Platform: UNKNOWN
630
+ Classifier: Development Status :: 4 - Beta
631
+ Classifier: Intended Audience :: Developers
632
+ Classifier: License :: OSI Approved :: MIT License
633
+ Classifier: Natural Language :: English
634
+ Classifier: Programming Language :: Python :: 3
635
+ Classifier: Programming Language :: Python :: 3.5
636
+ Classifier: Programming Language :: Python :: 3.6
637
+ Classifier: Programming Language :: Python :: 3.7
638
+ Classifier: Programming Language :: Python :: 3.8
639
+ Requires-Python: >=3.5
640
+ Description-Content-Type: text/markdown
@@ -48,5 +48,5 @@ setup(
48
48
  keywords="xero python sdk API oAuth",
49
49
  name="xero_python",
50
50
  packages=find_packages(include=["xero_python", "xero_python.*"]),
51
- version="7.1.0",
51
+ version="8.0.0-alpha.1",
52
52
  )
@@ -2,4 +2,4 @@
2
2
 
3
3
  __author__ = """Xero Developer API"""
4
4
  __email__ = "api@xero.com"
5
- __version__ = "7.1.0"
5
+ __version__ = "8.0.0-alpha.1"
@@ -21,7 +21,7 @@ except ImportError:
21
21
  """
22
22
 
23
23
  """
24
- OpenAPI spec version: 7.1.0
24
+ OpenAPI spec version: 8.0.0
25
25
  """
26
26
 
27
27
 
@@ -21,7 +21,7 @@ except ImportError:
21
21
  """
22
22
 
23
23
  """
24
- OpenAPI spec version: 7.1.0
24
+ OpenAPI spec version: 8.0.0
25
25
  """
26
26
 
27
27