mergepythonclient 2.1.1__py3-none-any.whl → 2.3.0__py3-none-any.whl
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.
- merge/__init__.py +40 -4
- merge/client.py +118 -18
- merge/core/__init__.py +75 -21
- merge/core/client_wrapper.py +2 -2
- merge/core/force_multipart.py +4 -2
- merge/core/http_response.py +1 -1
- merge/core/unchecked_base_model.py +3 -3
- merge/resources/__init__.py +33 -1
- merge/resources/accounting/__init__.py +1242 -607
- merge/resources/accounting/client.py +835 -165
- merge/resources/accounting/resources/__init__.py +208 -92
- merge/resources/accounting/resources/accounting_periods/client.py +6 -2
- merge/resources/accounting/resources/accounts/__init__.py +36 -6
- merge/resources/accounting/resources/accounts/client.py +6 -2
- merge/resources/accounting/resources/accounts/types/__init__.py +34 -4
- merge/resources/accounting/resources/async_passthrough/__init__.py +26 -1
- merge/resources/accounting/resources/async_passthrough/types/__init__.py +26 -1
- merge/resources/accounting/resources/attachments/client.py +6 -2
- merge/resources/accounting/resources/audit_trail/client.py +6 -2
- merge/resources/accounting/resources/balance_sheets/client.py +6 -2
- merge/resources/accounting/resources/bank_feed_accounts/client.py +6 -2
- merge/resources/accounting/resources/bank_feed_transactions/client.py +6 -2
- merge/resources/accounting/resources/cash_flow_statements/client.py +6 -2
- merge/resources/accounting/resources/company_info/__init__.py +29 -1
- merge/resources/accounting/resources/company_info/client.py +6 -2
- merge/resources/accounting/resources/company_info/types/__init__.py +30 -2
- merge/resources/accounting/resources/contacts/__init__.py +29 -1
- merge/resources/accounting/resources/contacts/client.py +195 -4
- merge/resources/accounting/resources/contacts/raw_client.py +203 -0
- merge/resources/accounting/resources/contacts/types/__init__.py +30 -2
- merge/resources/accounting/resources/credit_notes/__init__.py +40 -8
- merge/resources/accounting/resources/credit_notes/client.py +6 -2
- merge/resources/accounting/resources/credit_notes/types/__init__.py +38 -6
- merge/resources/accounting/resources/employees/client.py +6 -2
- merge/resources/accounting/resources/expense_reports/__init__.py +34 -5
- merge/resources/accounting/resources/expense_reports/client.py +20 -6
- merge/resources/accounting/resources/expense_reports/types/__init__.py +32 -3
- merge/resources/accounting/resources/expenses/__init__.py +29 -1
- merge/resources/accounting/resources/expenses/client.py +18 -6
- merge/resources/accounting/resources/expenses/types/__init__.py +30 -2
- merge/resources/accounting/resources/general_ledger_transactions/__init__.py +29 -1
- merge/resources/accounting/resources/general_ledger_transactions/client.py +6 -2
- merge/resources/accounting/resources/general_ledger_transactions/types/__init__.py +30 -2
- merge/resources/accounting/resources/income_statements/client.py +6 -2
- merge/resources/accounting/resources/invoices/__init__.py +36 -6
- merge/resources/accounting/resources/invoices/client.py +18 -6
- merge/resources/accounting/resources/invoices/types/__init__.py +34 -4
- merge/resources/accounting/resources/issues/__init__.py +26 -1
- merge/resources/accounting/resources/issues/client.py +6 -2
- merge/resources/accounting/resources/issues/types/__init__.py +26 -1
- merge/resources/accounting/resources/items/__init__.py +26 -1
- merge/resources/accounting/resources/items/client.py +6 -2
- merge/resources/accounting/resources/items/types/__init__.py +30 -2
- merge/resources/accounting/resources/journal_entries/__init__.py +29 -1
- merge/resources/accounting/resources/journal_entries/client.py +18 -6
- merge/resources/accounting/resources/journal_entries/types/__init__.py +30 -2
- merge/resources/accounting/resources/link_token/__init__.py +26 -1
- merge/resources/accounting/resources/link_token/types/__init__.py +26 -1
- merge/resources/accounting/resources/linked_accounts/__init__.py +26 -1
- merge/resources/accounting/resources/linked_accounts/client.py +6 -2
- merge/resources/accounting/resources/linked_accounts/types/__init__.py +28 -1
- merge/resources/accounting/resources/payment_methods/client.py +6 -2
- merge/resources/accounting/resources/payment_terms/client.py +6 -2
- merge/resources/accounting/resources/payments/__init__.py +29 -1
- merge/resources/accounting/resources/payments/client.py +18 -6
- merge/resources/accounting/resources/payments/types/__init__.py +30 -2
- merge/resources/accounting/resources/projects/__init__.py +29 -1
- merge/resources/accounting/resources/projects/client.py +6 -2
- merge/resources/accounting/resources/projects/types/__init__.py +30 -2
- merge/resources/accounting/resources/purchase_orders/__init__.py +29 -1
- merge/resources/accounting/resources/purchase_orders/client.py +18 -6
- merge/resources/accounting/resources/purchase_orders/types/__init__.py +30 -2
- merge/resources/accounting/resources/sync_status/client.py +6 -2
- merge/resources/accounting/resources/tax_rates/client.py +6 -2
- merge/resources/accounting/resources/tracking_categories/client.py +6 -2
- merge/resources/accounting/resources/transactions/__init__.py +29 -1
- merge/resources/accounting/resources/transactions/client.py +6 -2
- merge/resources/accounting/resources/transactions/types/__init__.py +30 -2
- merge/resources/accounting/resources/transactions/types/transactions_list_request_expand.py +141 -0
- merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand.py +141 -0
- merge/resources/accounting/resources/vendor_credits/__init__.py +29 -1
- merge/resources/accounting/resources/vendor_credits/client.py +6 -2
- merge/resources/accounting/resources/vendor_credits/types/__init__.py +30 -2
- merge/resources/accounting/types/__init__.py +1070 -519
- merge/resources/accounting/types/patched_contact_request.py +91 -0
- merge/resources/accounting/types/patched_contact_request_addresses_item.py +7 -0
- merge/resources/accounting/types/remote_field_class.py +1 -0
- merge/resources/ats/__init__.py +586 -282
- merge/resources/ats/client.py +590 -120
- merge/resources/ats/resources/__init__.py +150 -63
- merge/resources/ats/resources/activities/__init__.py +36 -6
- merge/resources/ats/resources/activities/client.py +6 -2
- merge/resources/ats/resources/activities/types/__init__.py +34 -4
- merge/resources/ats/resources/applications/__init__.py +29 -1
- merge/resources/ats/resources/applications/client.py +6 -2
- merge/resources/ats/resources/applications/types/__init__.py +30 -2
- merge/resources/ats/resources/async_passthrough/__init__.py +26 -1
- merge/resources/ats/resources/async_passthrough/types/__init__.py +26 -1
- merge/resources/ats/resources/attachments/client.py +6 -2
- merge/resources/ats/resources/audit_trail/client.py +6 -2
- merge/resources/ats/resources/candidates/__init__.py +30 -1
- merge/resources/ats/resources/candidates/client.py +6 -2
- merge/resources/ats/resources/candidates/types/__init__.py +32 -3
- merge/resources/ats/resources/departments/client.py +6 -2
- merge/resources/ats/resources/eeocs/__init__.py +36 -6
- merge/resources/ats/resources/eeocs/client.py +6 -2
- merge/resources/ats/resources/eeocs/types/__init__.py +34 -4
- merge/resources/ats/resources/interviews/__init__.py +29 -1
- merge/resources/ats/resources/interviews/client.py +6 -2
- merge/resources/ats/resources/interviews/types/__init__.py +30 -2
- merge/resources/ats/resources/issues/__init__.py +26 -1
- merge/resources/ats/resources/issues/client.py +6 -2
- merge/resources/ats/resources/issues/types/__init__.py +26 -1
- merge/resources/ats/resources/job_interview_stages/client.py +6 -2
- merge/resources/ats/resources/job_postings/__init__.py +26 -1
- merge/resources/ats/resources/job_postings/client.py +6 -2
- merge/resources/ats/resources/job_postings/types/__init__.py +26 -1
- merge/resources/ats/resources/jobs/__init__.py +36 -6
- merge/resources/ats/resources/jobs/client.py +8 -2
- merge/resources/ats/resources/jobs/types/__init__.py +34 -4
- merge/resources/ats/resources/link_token/__init__.py +26 -1
- merge/resources/ats/resources/link_token/types/__init__.py +26 -1
- merge/resources/ats/resources/linked_accounts/__init__.py +26 -1
- merge/resources/ats/resources/linked_accounts/client.py +6 -2
- merge/resources/ats/resources/linked_accounts/types/__init__.py +28 -1
- merge/resources/ats/resources/offers/__init__.py +26 -1
- merge/resources/ats/resources/offers/client.py +6 -2
- merge/resources/ats/resources/offers/types/__init__.py +30 -2
- merge/resources/ats/resources/offices/client.py +6 -2
- merge/resources/ats/resources/reject_reasons/client.py +6 -2
- merge/resources/ats/resources/scorecards/__init__.py +29 -1
- merge/resources/ats/resources/scorecards/client.py +6 -2
- merge/resources/ats/resources/scorecards/types/__init__.py +30 -2
- merge/resources/ats/resources/sync_status/client.py +6 -2
- merge/resources/ats/resources/tags/client.py +6 -2
- merge/resources/ats/resources/users/client.py +6 -2
- merge/resources/ats/types/__init__.py +462 -219
- merge/resources/ats/types/event_type_enum.py +4 -0
- merge/resources/crm/__init__.py +566 -272
- merge/resources/crm/client.py +556 -114
- merge/resources/crm/resources/__init__.py +121 -47
- merge/resources/crm/resources/accounts/client.py +12 -4
- merge/resources/crm/resources/association_types/client.py +2 -0
- merge/resources/crm/resources/associations/client.py +2 -0
- merge/resources/crm/resources/async_passthrough/__init__.py +26 -1
- merge/resources/crm/resources/async_passthrough/types/__init__.py +26 -1
- merge/resources/crm/resources/audit_trail/client.py +6 -2
- merge/resources/crm/resources/contacts/__init__.py +29 -1
- merge/resources/crm/resources/contacts/client.py +12 -4
- merge/resources/crm/resources/contacts/types/__init__.py +30 -2
- merge/resources/crm/resources/custom_object_classes/client.py +6 -2
- merge/resources/crm/resources/custom_objects/client.py +8 -2
- merge/resources/crm/resources/engagement_types/client.py +12 -4
- merge/resources/crm/resources/engagements/__init__.py +29 -1
- merge/resources/crm/resources/engagements/client.py +12 -4
- merge/resources/crm/resources/engagements/types/__init__.py +30 -2
- merge/resources/crm/resources/issues/__init__.py +26 -1
- merge/resources/crm/resources/issues/client.py +6 -2
- merge/resources/crm/resources/issues/types/__init__.py +26 -1
- merge/resources/crm/resources/leads/__init__.py +26 -1
- merge/resources/crm/resources/leads/client.py +12 -4
- merge/resources/crm/resources/leads/types/__init__.py +30 -2
- merge/resources/crm/resources/link_token/__init__.py +26 -1
- merge/resources/crm/resources/link_token/types/__init__.py +26 -1
- merge/resources/crm/resources/linked_accounts/__init__.py +26 -1
- merge/resources/crm/resources/linked_accounts/client.py +6 -2
- merge/resources/crm/resources/linked_accounts/types/__init__.py +28 -1
- merge/resources/crm/resources/notes/__init__.py +26 -1
- merge/resources/crm/resources/notes/client.py +12 -4
- merge/resources/crm/resources/notes/types/__init__.py +30 -2
- merge/resources/crm/resources/opportunities/__init__.py +34 -1
- merge/resources/crm/resources/opportunities/client.py +12 -4
- merge/resources/crm/resources/opportunities/types/__init__.py +32 -3
- merge/resources/crm/resources/stages/client.py +12 -4
- merge/resources/crm/resources/sync_status/client.py +6 -2
- merge/resources/crm/resources/tasks/__init__.py +26 -1
- merge/resources/crm/resources/tasks/client.py +12 -4
- merge/resources/crm/resources/tasks/types/__init__.py +30 -2
- merge/resources/crm/resources/users/client.py +12 -4
- merge/resources/crm/types/__init__.py +470 -224
- merge/resources/crm/types/remote_field_class.py +1 -0
- merge/resources/filestorage/__init__.py +322 -150
- merge/resources/filestorage/client.py +405 -87
- merge/resources/filestorage/resources/__init__.py +91 -34
- merge/resources/filestorage/resources/async_passthrough/__init__.py +26 -1
- merge/resources/filestorage/resources/async_passthrough/types/__init__.py +26 -1
- merge/resources/filestorage/resources/audit_trail/client.py +6 -2
- merge/resources/filestorage/resources/drives/client.py +6 -2
- merge/resources/filestorage/resources/files/__init__.py +36 -6
- merge/resources/filestorage/resources/files/client.py +42 -4
- merge/resources/filestorage/resources/files/raw_client.py +38 -0
- merge/resources/filestorage/resources/files/types/__init__.py +34 -4
- merge/resources/filestorage/resources/folders/__init__.py +29 -1
- merge/resources/filestorage/resources/folders/client.py +6 -2
- merge/resources/filestorage/resources/folders/types/__init__.py +30 -2
- merge/resources/filestorage/resources/groups/client.py +6 -2
- merge/resources/filestorage/resources/issues/__init__.py +26 -1
- merge/resources/filestorage/resources/issues/client.py +6 -2
- merge/resources/filestorage/resources/issues/types/__init__.py +26 -1
- merge/resources/filestorage/resources/linked_accounts/__init__.py +26 -1
- merge/resources/filestorage/resources/linked_accounts/client.py +6 -2
- merge/resources/filestorage/resources/linked_accounts/types/__init__.py +28 -1
- merge/resources/filestorage/resources/sync_status/client.py +6 -2
- merge/resources/filestorage/resources/users/client.py +6 -2
- merge/resources/filestorage/types/__init__.py +258 -117
- merge/resources/hris/__init__.py +576 -277
- merge/resources/hris/client.py +590 -120
- merge/resources/hris/resources/__init__.py +188 -86
- merge/resources/hris/resources/async_passthrough/__init__.py +26 -1
- merge/resources/hris/resources/async_passthrough/types/__init__.py +26 -1
- merge/resources/hris/resources/audit_trail/client.py +6 -2
- merge/resources/hris/resources/bank_info/__init__.py +29 -1
- merge/resources/hris/resources/bank_info/client.py +6 -2
- merge/resources/hris/resources/bank_info/types/__init__.py +30 -2
- merge/resources/hris/resources/benefits/client.py +6 -2
- merge/resources/hris/resources/companies/client.py +6 -2
- merge/resources/hris/resources/dependents/client.py +6 -2
- merge/resources/hris/resources/employee_payroll_runs/__init__.py +29 -1
- merge/resources/hris/resources/employee_payroll_runs/client.py +6 -2
- merge/resources/hris/resources/employee_payroll_runs/types/__init__.py +30 -2
- merge/resources/hris/resources/employees/__init__.py +44 -10
- merge/resources/hris/resources/employees/client.py +6 -2
- merge/resources/hris/resources/employees/types/__init__.py +42 -8
- merge/resources/hris/resources/employer_benefits/client.py +6 -2
- merge/resources/hris/resources/employments/__init__.py +42 -9
- merge/resources/hris/resources/employments/client.py +6 -2
- merge/resources/hris/resources/employments/types/__init__.py +40 -7
- merge/resources/hris/resources/groups/client.py +6 -2
- merge/resources/hris/resources/issues/__init__.py +26 -1
- merge/resources/hris/resources/issues/client.py +6 -2
- merge/resources/hris/resources/issues/types/__init__.py +26 -1
- merge/resources/hris/resources/link_token/__init__.py +26 -1
- merge/resources/hris/resources/link_token/types/__init__.py +26 -1
- merge/resources/hris/resources/linked_accounts/__init__.py +26 -1
- merge/resources/hris/resources/linked_accounts/client.py +6 -2
- merge/resources/hris/resources/linked_accounts/types/__init__.py +28 -1
- merge/resources/hris/resources/locations/__init__.py +38 -7
- merge/resources/hris/resources/locations/client.py +6 -2
- merge/resources/hris/resources/locations/types/__init__.py +36 -5
- merge/resources/hris/resources/pay_groups/client.py +6 -2
- merge/resources/hris/resources/payroll_runs/__init__.py +38 -7
- merge/resources/hris/resources/payroll_runs/client.py +6 -2
- merge/resources/hris/resources/payroll_runs/types/__init__.py +36 -5
- merge/resources/hris/resources/sync_status/client.py +6 -2
- merge/resources/hris/resources/teams/client.py +6 -2
- merge/resources/hris/resources/time_off/__init__.py +44 -10
- merge/resources/hris/resources/time_off/client.py +6 -2
- merge/resources/hris/resources/time_off/types/__init__.py +42 -8
- merge/resources/hris/resources/time_off_balances/__init__.py +26 -1
- merge/resources/hris/resources/time_off_balances/client.py +6 -2
- merge/resources/hris/resources/time_off_balances/types/__init__.py +28 -1
- merge/resources/hris/resources/timesheet_entries/__init__.py +26 -1
- merge/resources/hris/resources/timesheet_entries/client.py +6 -2
- merge/resources/hris/resources/timesheet_entries/types/__init__.py +28 -1
- merge/resources/hris/types/__init__.py +422 -199
- merge/resources/hris/types/benefit.py +4 -4
- merge/resources/ticketing/__init__.py +464 -221
- merge/resources/ticketing/client.py +507 -105
- merge/resources/ticketing/resources/__init__.py +120 -48
- merge/resources/ticketing/resources/accounts/client.py +6 -2
- merge/resources/ticketing/resources/async_passthrough/__init__.py +26 -1
- merge/resources/ticketing/resources/async_passthrough/types/__init__.py +26 -1
- merge/resources/ticketing/resources/attachments/client.py +6 -2
- merge/resources/ticketing/resources/audit_trail/client.py +6 -2
- merge/resources/ticketing/resources/collections/__init__.py +26 -1
- merge/resources/ticketing/resources/collections/client.py +8 -2
- merge/resources/ticketing/resources/collections/types/__init__.py +28 -1
- merge/resources/ticketing/resources/comments/__init__.py +29 -1
- merge/resources/ticketing/resources/comments/client.py +6 -2
- merge/resources/ticketing/resources/comments/types/__init__.py +30 -2
- merge/resources/ticketing/resources/contacts/client.py +6 -2
- merge/resources/ticketing/resources/issues/__init__.py +26 -1
- merge/resources/ticketing/resources/issues/client.py +6 -2
- merge/resources/ticketing/resources/issues/types/__init__.py +26 -1
- merge/resources/ticketing/resources/link_token/__init__.py +26 -1
- merge/resources/ticketing/resources/link_token/types/__init__.py +26 -1
- merge/resources/ticketing/resources/linked_accounts/__init__.py +26 -1
- merge/resources/ticketing/resources/linked_accounts/client.py +6 -2
- merge/resources/ticketing/resources/linked_accounts/types/__init__.py +28 -1
- merge/resources/ticketing/resources/projects/__init__.py +26 -1
- merge/resources/ticketing/resources/projects/client.py +8 -2
- merge/resources/ticketing/resources/projects/types/__init__.py +26 -1
- merge/resources/ticketing/resources/roles/client.py +6 -2
- merge/resources/ticketing/resources/sync_status/client.py +6 -2
- merge/resources/ticketing/resources/tags/client.py +6 -2
- merge/resources/ticketing/resources/teams/client.py +6 -2
- merge/resources/ticketing/resources/tickets/__init__.py +44 -10
- merge/resources/ticketing/resources/tickets/client.py +24 -4
- merge/resources/ticketing/resources/tickets/raw_client.py +10 -0
- merge/resources/ticketing/resources/tickets/types/__init__.py +42 -8
- merge/resources/ticketing/resources/users/__init__.py +26 -1
- merge/resources/ticketing/resources/users/client.py +6 -2
- merge/resources/ticketing/resources/users/types/__init__.py +30 -2
- merge/resources/ticketing/types/__init__.py +370 -173
- merge/resources/ticketing/types/patched_ticket_request.py +5 -5
- merge/resources/ticketing/types/remote_field_class.py +1 -0
- {mergepythonclient-2.1.1.dist-info → mergepythonclient-2.3.0.dist-info}/METADATA +5 -2
- {mergepythonclient-2.1.1.dist-info → mergepythonclient-2.3.0.dist-info}/RECORD +300 -298
- {mergepythonclient-2.1.1.dist-info → mergepythonclient-2.3.0.dist-info}/LICENSE.md +0 -0
- {mergepythonclient-2.1.1.dist-info → mergepythonclient-2.3.0.dist-info}/WHEEL +0 -0
|
@@ -2,98 +2,214 @@
|
|
|
2
2
|
|
|
3
3
|
# isort: skip_file
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
from .
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
from .
|
|
92
|
-
from .
|
|
93
|
-
from .
|
|
94
|
-
from .
|
|
95
|
-
from .
|
|
96
|
-
from .
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from . import (
|
|
10
|
+
account_details,
|
|
11
|
+
account_token,
|
|
12
|
+
accounting_periods,
|
|
13
|
+
accounts,
|
|
14
|
+
addresses,
|
|
15
|
+
async_passthrough,
|
|
16
|
+
async_tasks,
|
|
17
|
+
attachments,
|
|
18
|
+
audit_trail,
|
|
19
|
+
available_actions,
|
|
20
|
+
balance_sheets,
|
|
21
|
+
bank_feed_accounts,
|
|
22
|
+
bank_feed_transactions,
|
|
23
|
+
cash_flow_statements,
|
|
24
|
+
company_info,
|
|
25
|
+
contacts,
|
|
26
|
+
credit_notes,
|
|
27
|
+
delete_account,
|
|
28
|
+
employees,
|
|
29
|
+
expense_reports,
|
|
30
|
+
expenses,
|
|
31
|
+
field_mapping,
|
|
32
|
+
force_resync,
|
|
33
|
+
general_ledger_transactions,
|
|
34
|
+
generate_key,
|
|
35
|
+
income_statements,
|
|
36
|
+
invoices,
|
|
37
|
+
issues,
|
|
38
|
+
items,
|
|
39
|
+
journal_entries,
|
|
40
|
+
link_token,
|
|
41
|
+
linked_accounts,
|
|
42
|
+
passthrough,
|
|
43
|
+
payment_methods,
|
|
44
|
+
payment_terms,
|
|
45
|
+
payments,
|
|
46
|
+
phone_numbers,
|
|
47
|
+
projects,
|
|
48
|
+
purchase_orders,
|
|
49
|
+
regenerate_key,
|
|
50
|
+
scopes,
|
|
51
|
+
sync_status,
|
|
52
|
+
tax_rates,
|
|
53
|
+
tracking_categories,
|
|
54
|
+
transactions,
|
|
55
|
+
vendor_credits,
|
|
56
|
+
webhook_receivers,
|
|
57
|
+
)
|
|
58
|
+
from .accounts import (
|
|
59
|
+
AccountsListRequestRemoteFields,
|
|
60
|
+
AccountsListRequestShowEnumOrigins,
|
|
61
|
+
AccountsRetrieveRequestRemoteFields,
|
|
62
|
+
AccountsRetrieveRequestShowEnumOrigins,
|
|
63
|
+
)
|
|
64
|
+
from .async_passthrough import AsyncPassthroughRetrieveResponse
|
|
65
|
+
from .company_info import CompanyInfoListRequestExpand, CompanyInfoRetrieveRequestExpand
|
|
66
|
+
from .contacts import ContactsListRequestExpand, ContactsRetrieveRequestExpand
|
|
67
|
+
from .credit_notes import (
|
|
68
|
+
CreditNotesListRequestExpand,
|
|
69
|
+
CreditNotesListRequestRemoteFields,
|
|
70
|
+
CreditNotesListRequestShowEnumOrigins,
|
|
71
|
+
CreditNotesRetrieveRequestExpand,
|
|
72
|
+
CreditNotesRetrieveRequestRemoteFields,
|
|
73
|
+
CreditNotesRetrieveRequestShowEnumOrigins,
|
|
74
|
+
)
|
|
75
|
+
from .expense_reports import (
|
|
76
|
+
ExpenseReportsLinesListRequestExpand,
|
|
77
|
+
ExpenseReportsListRequestExpand,
|
|
78
|
+
ExpenseReportsRetrieveRequestExpand,
|
|
79
|
+
)
|
|
80
|
+
from .expenses import ExpensesListRequestExpand, ExpensesRetrieveRequestExpand
|
|
81
|
+
from .general_ledger_transactions import (
|
|
82
|
+
GeneralLedgerTransactionsListRequestExpand,
|
|
83
|
+
GeneralLedgerTransactionsRetrieveRequestExpand,
|
|
84
|
+
)
|
|
85
|
+
from .invoices import (
|
|
86
|
+
InvoicesListRequestExpand,
|
|
87
|
+
InvoicesListRequestStatus,
|
|
88
|
+
InvoicesListRequestType,
|
|
89
|
+
InvoicesRetrieveRequestExpand,
|
|
90
|
+
)
|
|
91
|
+
from .issues import IssuesListRequestStatus
|
|
92
|
+
from .items import ItemsListRequestExpand, ItemsRetrieveRequestExpand
|
|
93
|
+
from .journal_entries import JournalEntriesListRequestExpand, JournalEntriesRetrieveRequestExpand
|
|
94
|
+
from .link_token import EndUserDetailsRequestLanguage
|
|
95
|
+
from .linked_accounts import LinkedAccountsListRequestCategory
|
|
96
|
+
from .payments import PaymentsListRequestExpand, PaymentsRetrieveRequestExpand
|
|
97
|
+
from .projects import ProjectsListRequestExpand, ProjectsRetrieveRequestExpand
|
|
98
|
+
from .purchase_orders import PurchaseOrdersListRequestExpand, PurchaseOrdersRetrieveRequestExpand
|
|
99
|
+
from .transactions import TransactionsListRequestExpand, TransactionsRetrieveRequestExpand
|
|
100
|
+
from .vendor_credits import VendorCreditsListRequestExpand, VendorCreditsRetrieveRequestExpand
|
|
101
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
102
|
+
"AccountsListRequestRemoteFields": ".accounts",
|
|
103
|
+
"AccountsListRequestShowEnumOrigins": ".accounts",
|
|
104
|
+
"AccountsRetrieveRequestRemoteFields": ".accounts",
|
|
105
|
+
"AccountsRetrieveRequestShowEnumOrigins": ".accounts",
|
|
106
|
+
"AsyncPassthroughRetrieveResponse": ".async_passthrough",
|
|
107
|
+
"CompanyInfoListRequestExpand": ".company_info",
|
|
108
|
+
"CompanyInfoRetrieveRequestExpand": ".company_info",
|
|
109
|
+
"ContactsListRequestExpand": ".contacts",
|
|
110
|
+
"ContactsRetrieveRequestExpand": ".contacts",
|
|
111
|
+
"CreditNotesListRequestExpand": ".credit_notes",
|
|
112
|
+
"CreditNotesListRequestRemoteFields": ".credit_notes",
|
|
113
|
+
"CreditNotesListRequestShowEnumOrigins": ".credit_notes",
|
|
114
|
+
"CreditNotesRetrieveRequestExpand": ".credit_notes",
|
|
115
|
+
"CreditNotesRetrieveRequestRemoteFields": ".credit_notes",
|
|
116
|
+
"CreditNotesRetrieveRequestShowEnumOrigins": ".credit_notes",
|
|
117
|
+
"EndUserDetailsRequestLanguage": ".link_token",
|
|
118
|
+
"ExpenseReportsLinesListRequestExpand": ".expense_reports",
|
|
119
|
+
"ExpenseReportsListRequestExpand": ".expense_reports",
|
|
120
|
+
"ExpenseReportsRetrieveRequestExpand": ".expense_reports",
|
|
121
|
+
"ExpensesListRequestExpand": ".expenses",
|
|
122
|
+
"ExpensesRetrieveRequestExpand": ".expenses",
|
|
123
|
+
"GeneralLedgerTransactionsListRequestExpand": ".general_ledger_transactions",
|
|
124
|
+
"GeneralLedgerTransactionsRetrieveRequestExpand": ".general_ledger_transactions",
|
|
125
|
+
"InvoicesListRequestExpand": ".invoices",
|
|
126
|
+
"InvoicesListRequestStatus": ".invoices",
|
|
127
|
+
"InvoicesListRequestType": ".invoices",
|
|
128
|
+
"InvoicesRetrieveRequestExpand": ".invoices",
|
|
129
|
+
"IssuesListRequestStatus": ".issues",
|
|
130
|
+
"ItemsListRequestExpand": ".items",
|
|
131
|
+
"ItemsRetrieveRequestExpand": ".items",
|
|
132
|
+
"JournalEntriesListRequestExpand": ".journal_entries",
|
|
133
|
+
"JournalEntriesRetrieveRequestExpand": ".journal_entries",
|
|
134
|
+
"LinkedAccountsListRequestCategory": ".linked_accounts",
|
|
135
|
+
"PaymentsListRequestExpand": ".payments",
|
|
136
|
+
"PaymentsRetrieveRequestExpand": ".payments",
|
|
137
|
+
"ProjectsListRequestExpand": ".projects",
|
|
138
|
+
"ProjectsRetrieveRequestExpand": ".projects",
|
|
139
|
+
"PurchaseOrdersListRequestExpand": ".purchase_orders",
|
|
140
|
+
"PurchaseOrdersRetrieveRequestExpand": ".purchase_orders",
|
|
141
|
+
"TransactionsListRequestExpand": ".transactions",
|
|
142
|
+
"TransactionsRetrieveRequestExpand": ".transactions",
|
|
143
|
+
"VendorCreditsListRequestExpand": ".vendor_credits",
|
|
144
|
+
"VendorCreditsRetrieveRequestExpand": ".vendor_credits",
|
|
145
|
+
"account_details": ".",
|
|
146
|
+
"account_token": ".",
|
|
147
|
+
"accounting_periods": ".",
|
|
148
|
+
"accounts": ".",
|
|
149
|
+
"addresses": ".",
|
|
150
|
+
"async_passthrough": ".",
|
|
151
|
+
"async_tasks": ".",
|
|
152
|
+
"attachments": ".",
|
|
153
|
+
"audit_trail": ".",
|
|
154
|
+
"available_actions": ".",
|
|
155
|
+
"balance_sheets": ".",
|
|
156
|
+
"bank_feed_accounts": ".",
|
|
157
|
+
"bank_feed_transactions": ".",
|
|
158
|
+
"cash_flow_statements": ".",
|
|
159
|
+
"company_info": ".",
|
|
160
|
+
"contacts": ".",
|
|
161
|
+
"credit_notes": ".",
|
|
162
|
+
"delete_account": ".",
|
|
163
|
+
"employees": ".",
|
|
164
|
+
"expense_reports": ".",
|
|
165
|
+
"expenses": ".",
|
|
166
|
+
"field_mapping": ".",
|
|
167
|
+
"force_resync": ".",
|
|
168
|
+
"general_ledger_transactions": ".",
|
|
169
|
+
"generate_key": ".",
|
|
170
|
+
"income_statements": ".",
|
|
171
|
+
"invoices": ".",
|
|
172
|
+
"issues": ".",
|
|
173
|
+
"items": ".",
|
|
174
|
+
"journal_entries": ".",
|
|
175
|
+
"link_token": ".",
|
|
176
|
+
"linked_accounts": ".",
|
|
177
|
+
"passthrough": ".",
|
|
178
|
+
"payment_methods": ".",
|
|
179
|
+
"payment_terms": ".",
|
|
180
|
+
"payments": ".",
|
|
181
|
+
"phone_numbers": ".",
|
|
182
|
+
"projects": ".",
|
|
183
|
+
"purchase_orders": ".",
|
|
184
|
+
"regenerate_key": ".",
|
|
185
|
+
"scopes": ".",
|
|
186
|
+
"sync_status": ".",
|
|
187
|
+
"tax_rates": ".",
|
|
188
|
+
"tracking_categories": ".",
|
|
189
|
+
"transactions": ".",
|
|
190
|
+
"vendor_credits": ".",
|
|
191
|
+
"webhook_receivers": ".",
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
196
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
197
|
+
if module_name is None:
|
|
198
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
199
|
+
try:
|
|
200
|
+
module = import_module(module_name, __package__)
|
|
201
|
+
result = getattr(module, attr_name)
|
|
202
|
+
return result
|
|
203
|
+
except ImportError as e:
|
|
204
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
205
|
+
except AttributeError as e:
|
|
206
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
def __dir__():
|
|
210
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
211
|
+
return sorted(lazy_attrs)
|
|
212
|
+
|
|
97
213
|
|
|
98
214
|
__all__ = [
|
|
99
215
|
"AccountsListRequestRemoteFields",
|
|
@@ -70,7 +70,9 @@ class AccountingPeriodsClient:
|
|
|
70
70
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
71
71
|
api_key="YOUR_API_KEY",
|
|
72
72
|
)
|
|
73
|
-
client.accounting.accounting_periods.list(
|
|
73
|
+
client.accounting.accounting_periods.list(
|
|
74
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
75
|
+
)
|
|
74
76
|
"""
|
|
75
77
|
_response = self._raw_client.list(
|
|
76
78
|
cursor=cursor,
|
|
@@ -198,7 +200,9 @@ class AsyncAccountingPeriodsClient:
|
|
|
198
200
|
|
|
199
201
|
|
|
200
202
|
async def main() -> None:
|
|
201
|
-
await client.accounting.accounting_periods.list(
|
|
203
|
+
await client.accounting.accounting_periods.list(
|
|
204
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
205
|
+
)
|
|
202
206
|
|
|
203
207
|
|
|
204
208
|
asyncio.run(main())
|
|
@@ -2,12 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
# isort: skip_file
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .types import (
|
|
10
|
+
AccountsListRequestRemoteFields,
|
|
11
|
+
AccountsListRequestShowEnumOrigins,
|
|
12
|
+
AccountsRetrieveRequestRemoteFields,
|
|
13
|
+
AccountsRetrieveRequestShowEnumOrigins,
|
|
14
|
+
)
|
|
15
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
16
|
+
"AccountsListRequestRemoteFields": ".types",
|
|
17
|
+
"AccountsListRequestShowEnumOrigins": ".types",
|
|
18
|
+
"AccountsRetrieveRequestRemoteFields": ".types",
|
|
19
|
+
"AccountsRetrieveRequestShowEnumOrigins": ".types",
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
24
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
25
|
+
if module_name is None:
|
|
26
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
27
|
+
try:
|
|
28
|
+
module = import_module(module_name, __package__)
|
|
29
|
+
result = getattr(module, attr_name)
|
|
30
|
+
return result
|
|
31
|
+
except ImportError as e:
|
|
32
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
33
|
+
except AttributeError as e:
|
|
34
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def __dir__():
|
|
38
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
39
|
+
return sorted(lazy_attrs)
|
|
40
|
+
|
|
11
41
|
|
|
12
42
|
__all__ = [
|
|
13
43
|
"AccountsListRequestRemoteFields",
|
|
@@ -133,7 +133,9 @@ class AccountsClient:
|
|
|
133
133
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
134
134
|
api_key="YOUR_API_KEY",
|
|
135
135
|
)
|
|
136
|
-
client.accounting.accounts.list(
|
|
136
|
+
client.accounting.accounts.list(
|
|
137
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
138
|
+
)
|
|
137
139
|
"""
|
|
138
140
|
_response = self._raw_client.list(
|
|
139
141
|
account_type=account_type,
|
|
@@ -415,7 +417,9 @@ class AsyncAccountsClient:
|
|
|
415
417
|
|
|
416
418
|
|
|
417
419
|
async def main() -> None:
|
|
418
|
-
await client.accounting.accounts.list(
|
|
420
|
+
await client.accounting.accounts.list(
|
|
421
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
422
|
+
)
|
|
419
423
|
|
|
420
424
|
|
|
421
425
|
asyncio.run(main())
|
|
@@ -2,10 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
# isort: skip_file
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
from
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .accounts_list_request_remote_fields import AccountsListRequestRemoteFields
|
|
10
|
+
from .accounts_list_request_show_enum_origins import AccountsListRequestShowEnumOrigins
|
|
11
|
+
from .accounts_retrieve_request_remote_fields import AccountsRetrieveRequestRemoteFields
|
|
12
|
+
from .accounts_retrieve_request_show_enum_origins import AccountsRetrieveRequestShowEnumOrigins
|
|
13
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
14
|
+
"AccountsListRequestRemoteFields": ".accounts_list_request_remote_fields",
|
|
15
|
+
"AccountsListRequestShowEnumOrigins": ".accounts_list_request_show_enum_origins",
|
|
16
|
+
"AccountsRetrieveRequestRemoteFields": ".accounts_retrieve_request_remote_fields",
|
|
17
|
+
"AccountsRetrieveRequestShowEnumOrigins": ".accounts_retrieve_request_show_enum_origins",
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
22
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
23
|
+
if module_name is None:
|
|
24
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
25
|
+
try:
|
|
26
|
+
module = import_module(module_name, __package__)
|
|
27
|
+
result = getattr(module, attr_name)
|
|
28
|
+
return result
|
|
29
|
+
except ImportError as e:
|
|
30
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
31
|
+
except AttributeError as e:
|
|
32
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def __dir__():
|
|
36
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
37
|
+
return sorted(lazy_attrs)
|
|
38
|
+
|
|
9
39
|
|
|
10
40
|
__all__ = [
|
|
11
41
|
"AccountsListRequestRemoteFields",
|
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# isort: skip_file
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .types import AsyncPassthroughRetrieveResponse
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".types"}
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
14
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
15
|
+
if module_name is None:
|
|
16
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
17
|
+
try:
|
|
18
|
+
module = import_module(module_name, __package__)
|
|
19
|
+
result = getattr(module, attr_name)
|
|
20
|
+
return result
|
|
21
|
+
except ImportError as e:
|
|
22
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
23
|
+
except AttributeError as e:
|
|
24
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def __dir__():
|
|
28
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
29
|
+
return sorted(lazy_attrs)
|
|
30
|
+
|
|
6
31
|
|
|
7
32
|
__all__ = ["AsyncPassthroughRetrieveResponse"]
|
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# isort: skip_file
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".async_passthrough_retrieve_response"}
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
14
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
15
|
+
if module_name is None:
|
|
16
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
17
|
+
try:
|
|
18
|
+
module = import_module(module_name, __package__)
|
|
19
|
+
result = getattr(module, attr_name)
|
|
20
|
+
return result
|
|
21
|
+
except ImportError as e:
|
|
22
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
23
|
+
except AttributeError as e:
|
|
24
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def __dir__():
|
|
28
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
29
|
+
return sorted(lazy_attrs)
|
|
30
|
+
|
|
6
31
|
|
|
7
32
|
__all__ = ["AsyncPassthroughRetrieveResponse"]
|
|
@@ -101,7 +101,9 @@ class AttachmentsClient:
|
|
|
101
101
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
102
102
|
api_key="YOUR_API_KEY",
|
|
103
103
|
)
|
|
104
|
-
client.accounting.attachments.list(
|
|
104
|
+
client.accounting.attachments.list(
|
|
105
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
106
|
+
)
|
|
105
107
|
"""
|
|
106
108
|
_response = self._raw_client.list(
|
|
107
109
|
company_id=company_id,
|
|
@@ -333,7 +335,9 @@ class AsyncAttachmentsClient:
|
|
|
333
335
|
|
|
334
336
|
|
|
335
337
|
async def main() -> None:
|
|
336
|
-
await client.accounting.attachments.list(
|
|
338
|
+
await client.accounting.attachments.list(
|
|
339
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
340
|
+
)
|
|
337
341
|
|
|
338
342
|
|
|
339
343
|
asyncio.run(main())
|
|
@@ -73,7 +73,9 @@ class AuditTrailClient:
|
|
|
73
73
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
74
74
|
api_key="YOUR_API_KEY",
|
|
75
75
|
)
|
|
76
|
-
client.accounting.audit_trail.list(
|
|
76
|
+
client.accounting.audit_trail.list(
|
|
77
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
78
|
+
)
|
|
77
79
|
"""
|
|
78
80
|
_response = self._raw_client.list(
|
|
79
81
|
cursor=cursor,
|
|
@@ -157,7 +159,9 @@ class AsyncAuditTrailClient:
|
|
|
157
159
|
|
|
158
160
|
|
|
159
161
|
async def main() -> None:
|
|
160
|
-
await client.accounting.audit_trail.list(
|
|
162
|
+
await client.accounting.audit_trail.list(
|
|
163
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
164
|
+
)
|
|
161
165
|
|
|
162
166
|
|
|
163
167
|
asyncio.run(main())
|
|
@@ -99,7 +99,9 @@ class BalanceSheetsClient:
|
|
|
99
99
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
100
100
|
api_key="YOUR_API_KEY",
|
|
101
101
|
)
|
|
102
|
-
client.accounting.balance_sheets.list(
|
|
102
|
+
client.accounting.balance_sheets.list(
|
|
103
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
104
|
+
)
|
|
103
105
|
"""
|
|
104
106
|
_response = self._raw_client.list(
|
|
105
107
|
company_id=company_id,
|
|
@@ -267,7 +269,9 @@ class AsyncBalanceSheetsClient:
|
|
|
267
269
|
|
|
268
270
|
|
|
269
271
|
async def main() -> None:
|
|
270
|
-
await client.accounting.balance_sheets.list(
|
|
272
|
+
await client.accounting.balance_sheets.list(
|
|
273
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
274
|
+
)
|
|
271
275
|
|
|
272
276
|
|
|
273
277
|
asyncio.run(main())
|
|
@@ -76,7 +76,9 @@ class BankFeedAccountsClient:
|
|
|
76
76
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
77
77
|
api_key="YOUR_API_KEY",
|
|
78
78
|
)
|
|
79
|
-
client.accounting.bank_feed_accounts.list(
|
|
79
|
+
client.accounting.bank_feed_accounts.list(
|
|
80
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
81
|
+
)
|
|
80
82
|
"""
|
|
81
83
|
_response = self._raw_client.list(
|
|
82
84
|
cursor=cursor,
|
|
@@ -278,7 +280,9 @@ class AsyncBankFeedAccountsClient:
|
|
|
278
280
|
|
|
279
281
|
|
|
280
282
|
async def main() -> None:
|
|
281
|
-
await client.accounting.bank_feed_accounts.list(
|
|
283
|
+
await client.accounting.bank_feed_accounts.list(
|
|
284
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
285
|
+
)
|
|
282
286
|
|
|
283
287
|
|
|
284
288
|
asyncio.run(main())
|
|
@@ -105,7 +105,9 @@ class BankFeedTransactionsClient:
|
|
|
105
105
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
106
106
|
api_key="YOUR_API_KEY",
|
|
107
107
|
)
|
|
108
|
-
client.accounting.bank_feed_transactions.list(
|
|
108
|
+
client.accounting.bank_feed_transactions.list(
|
|
109
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
110
|
+
)
|
|
109
111
|
"""
|
|
110
112
|
_response = self._raw_client.list(
|
|
111
113
|
created_after=created_after,
|
|
@@ -347,7 +349,9 @@ class AsyncBankFeedTransactionsClient:
|
|
|
347
349
|
|
|
348
350
|
|
|
349
351
|
async def main() -> None:
|
|
350
|
-
await client.accounting.bank_feed_transactions.list(
|
|
352
|
+
await client.accounting.bank_feed_transactions.list(
|
|
353
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
354
|
+
)
|
|
351
355
|
|
|
352
356
|
|
|
353
357
|
asyncio.run(main())
|
|
@@ -99,7 +99,9 @@ class CashFlowStatementsClient:
|
|
|
99
99
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
100
100
|
api_key="YOUR_API_KEY",
|
|
101
101
|
)
|
|
102
|
-
client.accounting.cash_flow_statements.list(
|
|
102
|
+
client.accounting.cash_flow_statements.list(
|
|
103
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
104
|
+
)
|
|
103
105
|
"""
|
|
104
106
|
_response = self._raw_client.list(
|
|
105
107
|
company_id=company_id,
|
|
@@ -267,7 +269,9 @@ class AsyncCashFlowStatementsClient:
|
|
|
267
269
|
|
|
268
270
|
|
|
269
271
|
async def main() -> None:
|
|
270
|
-
await client.accounting.cash_flow_statements.list(
|
|
272
|
+
await client.accounting.cash_flow_statements.list(
|
|
273
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
274
|
+
)
|
|
271
275
|
|
|
272
276
|
|
|
273
277
|
asyncio.run(main())
|