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,54 +2,126 @@
|
|
|
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
|
-
from .
|
|
40
|
-
from .
|
|
41
|
-
from .
|
|
42
|
-
from .
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
+
accounts,
|
|
13
|
+
async_passthrough,
|
|
14
|
+
attachments,
|
|
15
|
+
audit_trail,
|
|
16
|
+
available_actions,
|
|
17
|
+
collections,
|
|
18
|
+
comments,
|
|
19
|
+
contacts,
|
|
20
|
+
delete_account,
|
|
21
|
+
field_mapping,
|
|
22
|
+
force_resync,
|
|
23
|
+
generate_key,
|
|
24
|
+
issues,
|
|
25
|
+
link_token,
|
|
26
|
+
linked_accounts,
|
|
27
|
+
passthrough,
|
|
28
|
+
projects,
|
|
29
|
+
regenerate_key,
|
|
30
|
+
roles,
|
|
31
|
+
scopes,
|
|
32
|
+
sync_status,
|
|
33
|
+
tags,
|
|
34
|
+
teams,
|
|
35
|
+
tickets,
|
|
36
|
+
users,
|
|
37
|
+
webhook_receivers,
|
|
38
|
+
)
|
|
39
|
+
from .async_passthrough import AsyncPassthroughRetrieveResponse
|
|
40
|
+
from .collections import CollectionsViewersListRequestExpand
|
|
41
|
+
from .comments import CommentsListRequestExpand, CommentsRetrieveRequestExpand
|
|
42
|
+
from .issues import IssuesListRequestStatus
|
|
43
|
+
from .link_token import EndUserDetailsRequestLanguage
|
|
44
|
+
from .linked_accounts import LinkedAccountsListRequestCategory
|
|
45
|
+
from .projects import ProjectsUsersListRequestExpand
|
|
46
|
+
from .tickets import (
|
|
47
|
+
TicketsListRequestExpand,
|
|
48
|
+
TicketsListRequestPriority,
|
|
49
|
+
TicketsListRequestRemoteFields,
|
|
50
|
+
TicketsListRequestShowEnumOrigins,
|
|
51
|
+
TicketsRetrieveRequestExpand,
|
|
52
|
+
TicketsRetrieveRequestRemoteFields,
|
|
53
|
+
TicketsRetrieveRequestShowEnumOrigins,
|
|
54
|
+
TicketsViewersListRequestExpand,
|
|
55
|
+
)
|
|
56
|
+
from .users import UsersListRequestExpand, UsersRetrieveRequestExpand
|
|
57
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
58
|
+
"AsyncPassthroughRetrieveResponse": ".async_passthrough",
|
|
59
|
+
"CollectionsViewersListRequestExpand": ".collections",
|
|
60
|
+
"CommentsListRequestExpand": ".comments",
|
|
61
|
+
"CommentsRetrieveRequestExpand": ".comments",
|
|
62
|
+
"EndUserDetailsRequestLanguage": ".link_token",
|
|
63
|
+
"IssuesListRequestStatus": ".issues",
|
|
64
|
+
"LinkedAccountsListRequestCategory": ".linked_accounts",
|
|
65
|
+
"ProjectsUsersListRequestExpand": ".projects",
|
|
66
|
+
"TicketsListRequestExpand": ".tickets",
|
|
67
|
+
"TicketsListRequestPriority": ".tickets",
|
|
68
|
+
"TicketsListRequestRemoteFields": ".tickets",
|
|
69
|
+
"TicketsListRequestShowEnumOrigins": ".tickets",
|
|
70
|
+
"TicketsRetrieveRequestExpand": ".tickets",
|
|
71
|
+
"TicketsRetrieveRequestRemoteFields": ".tickets",
|
|
72
|
+
"TicketsRetrieveRequestShowEnumOrigins": ".tickets",
|
|
73
|
+
"TicketsViewersListRequestExpand": ".tickets",
|
|
74
|
+
"UsersListRequestExpand": ".users",
|
|
75
|
+
"UsersRetrieveRequestExpand": ".users",
|
|
76
|
+
"account_details": ".",
|
|
77
|
+
"account_token": ".",
|
|
78
|
+
"accounts": ".",
|
|
79
|
+
"async_passthrough": ".",
|
|
80
|
+
"attachments": ".",
|
|
81
|
+
"audit_trail": ".",
|
|
82
|
+
"available_actions": ".",
|
|
83
|
+
"collections": ".",
|
|
84
|
+
"comments": ".",
|
|
85
|
+
"contacts": ".",
|
|
86
|
+
"delete_account": ".",
|
|
87
|
+
"field_mapping": ".",
|
|
88
|
+
"force_resync": ".",
|
|
89
|
+
"generate_key": ".",
|
|
90
|
+
"issues": ".",
|
|
91
|
+
"link_token": ".",
|
|
92
|
+
"linked_accounts": ".",
|
|
93
|
+
"passthrough": ".",
|
|
94
|
+
"projects": ".",
|
|
95
|
+
"regenerate_key": ".",
|
|
96
|
+
"roles": ".",
|
|
97
|
+
"scopes": ".",
|
|
98
|
+
"sync_status": ".",
|
|
99
|
+
"tags": ".",
|
|
100
|
+
"teams": ".",
|
|
101
|
+
"tickets": ".",
|
|
102
|
+
"users": ".",
|
|
103
|
+
"webhook_receivers": ".",
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
108
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
109
|
+
if module_name is None:
|
|
110
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
111
|
+
try:
|
|
112
|
+
module = import_module(module_name, __package__)
|
|
113
|
+
result = getattr(module, attr_name)
|
|
114
|
+
return result
|
|
115
|
+
except ImportError as e:
|
|
116
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
117
|
+
except AttributeError as e:
|
|
118
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
def __dir__():
|
|
122
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
123
|
+
return sorted(lazy_attrs)
|
|
124
|
+
|
|
53
125
|
|
|
54
126
|
__all__ = [
|
|
55
127
|
"AsyncPassthroughRetrieveResponse",
|
|
@@ -91,7 +91,9 @@ class AccountsClient:
|
|
|
91
91
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
92
92
|
api_key="YOUR_API_KEY",
|
|
93
93
|
)
|
|
94
|
-
client.ticketing.accounts.list(
|
|
94
|
+
client.ticketing.accounts.list(
|
|
95
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
96
|
+
)
|
|
95
97
|
"""
|
|
96
98
|
_response = self._raw_client.list(
|
|
97
99
|
created_after=created_after,
|
|
@@ -244,7 +246,9 @@ class AsyncAccountsClient:
|
|
|
244
246
|
|
|
245
247
|
|
|
246
248
|
async def main() -> None:
|
|
247
|
-
await client.ticketing.accounts.list(
|
|
249
|
+
await client.ticketing.accounts.list(
|
|
250
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
251
|
+
)
|
|
248
252
|
|
|
249
253
|
|
|
250
254
|
asyncio.run(main())
|
|
@@ -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"]
|
|
@@ -109,7 +109,9 @@ class AttachmentsClient:
|
|
|
109
109
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
110
110
|
api_key="YOUR_API_KEY",
|
|
111
111
|
)
|
|
112
|
-
client.ticketing.attachments.list(
|
|
112
|
+
client.ticketing.attachments.list(
|
|
113
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
114
|
+
)
|
|
113
115
|
"""
|
|
114
116
|
_response = self._raw_client.list(
|
|
115
117
|
created_after=created_after,
|
|
@@ -390,7 +392,9 @@ class AsyncAttachmentsClient:
|
|
|
390
392
|
|
|
391
393
|
|
|
392
394
|
async def main() -> None:
|
|
393
|
-
await client.ticketing.attachments.list(
|
|
395
|
+
await client.ticketing.attachments.list(
|
|
396
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
397
|
+
)
|
|
394
398
|
|
|
395
399
|
|
|
396
400
|
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.ticketing.audit_trail.list(
|
|
76
|
+
client.ticketing.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.ticketing.audit_trail.list(
|
|
162
|
+
await client.ticketing.audit_trail.list(
|
|
163
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
164
|
+
)
|
|
161
165
|
|
|
162
166
|
|
|
163
167
|
asyncio.run(main())
|
|
@@ -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 CollectionsViewersListRequestExpand
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {"CollectionsViewersListRequestExpand": ".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__ = ["CollectionsViewersListRequestExpand"]
|
|
@@ -113,7 +113,9 @@ class CollectionsClient:
|
|
|
113
113
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
114
114
|
api_key="YOUR_API_KEY",
|
|
115
115
|
)
|
|
116
|
-
client.ticketing.collections.list(
|
|
116
|
+
client.ticketing.collections.list(
|
|
117
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
118
|
+
)
|
|
117
119
|
"""
|
|
118
120
|
_response = self._raw_client.list(
|
|
119
121
|
collection_type=collection_type,
|
|
@@ -190,6 +192,7 @@ class CollectionsClient:
|
|
|
190
192
|
)
|
|
191
193
|
client.ticketing.collections.viewers_list(
|
|
192
194
|
collection_id="collection_id",
|
|
195
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
193
196
|
)
|
|
194
197
|
"""
|
|
195
198
|
_response = self._raw_client.viewers_list(
|
|
@@ -375,7 +378,9 @@ class AsyncCollectionsClient:
|
|
|
375
378
|
|
|
376
379
|
|
|
377
380
|
async def main() -> None:
|
|
378
|
-
await client.ticketing.collections.list(
|
|
381
|
+
await client.ticketing.collections.list(
|
|
382
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
383
|
+
)
|
|
379
384
|
|
|
380
385
|
|
|
381
386
|
asyncio.run(main())
|
|
@@ -460,6 +465,7 @@ class AsyncCollectionsClient:
|
|
|
460
465
|
async def main() -> None:
|
|
461
466
|
await client.ticketing.collections.viewers_list(
|
|
462
467
|
collection_id="collection_id",
|
|
468
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
463
469
|
)
|
|
464
470
|
|
|
465
471
|
|
|
@@ -2,6 +2,33 @@
|
|
|
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 .collections_viewers_list_request_expand import CollectionsViewersListRequestExpand
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
11
|
+
"CollectionsViewersListRequestExpand": ".collections_viewers_list_request_expand"
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
16
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
17
|
+
if module_name is None:
|
|
18
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
19
|
+
try:
|
|
20
|
+
module = import_module(module_name, __package__)
|
|
21
|
+
result = getattr(module, attr_name)
|
|
22
|
+
return result
|
|
23
|
+
except ImportError as e:
|
|
24
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
25
|
+
except AttributeError as e:
|
|
26
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def __dir__():
|
|
30
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
31
|
+
return sorted(lazy_attrs)
|
|
32
|
+
|
|
6
33
|
|
|
7
34
|
__all__ = ["CollectionsViewersListRequestExpand"]
|
|
@@ -2,6 +2,34 @@
|
|
|
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 CommentsListRequestExpand, CommentsRetrieveRequestExpand
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
11
|
+
"CommentsListRequestExpand": ".types",
|
|
12
|
+
"CommentsRetrieveRequestExpand": ".types",
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
17
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
18
|
+
if module_name is None:
|
|
19
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
20
|
+
try:
|
|
21
|
+
module = import_module(module_name, __package__)
|
|
22
|
+
result = getattr(module, attr_name)
|
|
23
|
+
return result
|
|
24
|
+
except ImportError as e:
|
|
25
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
26
|
+
except AttributeError as e:
|
|
27
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def __dir__():
|
|
31
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
32
|
+
return sorted(lazy_attrs)
|
|
33
|
+
|
|
6
34
|
|
|
7
35
|
__all__ = ["CommentsListRequestExpand", "CommentsRetrieveRequestExpand"]
|
|
@@ -111,7 +111,9 @@ class CommentsClient:
|
|
|
111
111
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
112
112
|
api_key="YOUR_API_KEY",
|
|
113
113
|
)
|
|
114
|
-
client.ticketing.comments.list(
|
|
114
|
+
client.ticketing.comments.list(
|
|
115
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
116
|
+
)
|
|
115
117
|
"""
|
|
116
118
|
_response = self._raw_client.list(
|
|
117
119
|
created_after=created_after,
|
|
@@ -358,7 +360,9 @@ class AsyncCommentsClient:
|
|
|
358
360
|
|
|
359
361
|
|
|
360
362
|
async def main() -> None:
|
|
361
|
-
await client.ticketing.comments.list(
|
|
363
|
+
await client.ticketing.comments.list(
|
|
364
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
365
|
+
)
|
|
362
366
|
|
|
363
367
|
|
|
364
368
|
asyncio.run(main())
|
|
@@ -2,7 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
# isort: skip_file
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
from
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .comments_list_request_expand import CommentsListRequestExpand
|
|
10
|
+
from .comments_retrieve_request_expand import CommentsRetrieveRequestExpand
|
|
11
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
12
|
+
"CommentsListRequestExpand": ".comments_list_request_expand",
|
|
13
|
+
"CommentsRetrieveRequestExpand": ".comments_retrieve_request_expand",
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
18
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
19
|
+
if module_name is None:
|
|
20
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
21
|
+
try:
|
|
22
|
+
module = import_module(module_name, __package__)
|
|
23
|
+
result = getattr(module, attr_name)
|
|
24
|
+
return result
|
|
25
|
+
except ImportError as e:
|
|
26
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
27
|
+
except AttributeError as e:
|
|
28
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def __dir__():
|
|
32
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
33
|
+
return sorted(lazy_attrs)
|
|
34
|
+
|
|
7
35
|
|
|
8
36
|
__all__ = ["CommentsListRequestExpand", "CommentsRetrieveRequestExpand"]
|
|
@@ -101,7 +101,9 @@ class ContactsClient:
|
|
|
101
101
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
102
102
|
api_key="YOUR_API_KEY",
|
|
103
103
|
)
|
|
104
|
-
client.ticketing.contacts.list(
|
|
104
|
+
client.ticketing.contacts.list(
|
|
105
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
106
|
+
)
|
|
105
107
|
"""
|
|
106
108
|
_response = self._raw_client.list(
|
|
107
109
|
created_after=created_after,
|
|
@@ -338,7 +340,9 @@ class AsyncContactsClient:
|
|
|
338
340
|
|
|
339
341
|
|
|
340
342
|
async def main() -> None:
|
|
341
|
-
await client.ticketing.contacts.list(
|
|
343
|
+
await client.ticketing.contacts.list(
|
|
344
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
345
|
+
)
|
|
342
346
|
|
|
343
347
|
|
|
344
348
|
asyncio.run(main())
|
|
@@ -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 IssuesListRequestStatus
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".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__ = ["IssuesListRequestStatus"]
|
|
@@ -108,7 +108,9 @@ class IssuesClient:
|
|
|
108
108
|
account_token="YOUR_ACCOUNT_TOKEN",
|
|
109
109
|
api_key="YOUR_API_KEY",
|
|
110
110
|
)
|
|
111
|
-
client.ticketing.issues.list(
|
|
111
|
+
client.ticketing.issues.list(
|
|
112
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
113
|
+
)
|
|
112
114
|
"""
|
|
113
115
|
_response = self._raw_client.list(
|
|
114
116
|
account_token=account_token,
|
|
@@ -263,7 +265,9 @@ class AsyncIssuesClient:
|
|
|
263
265
|
|
|
264
266
|
|
|
265
267
|
async def main() -> None:
|
|
266
|
-
await client.ticketing.issues.list(
|
|
268
|
+
await client.ticketing.issues.list(
|
|
269
|
+
cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
|
|
270
|
+
)
|
|
267
271
|
|
|
268
272
|
|
|
269
273
|
asyncio.run(main())
|
|
@@ -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 .issues_list_request_status import IssuesListRequestStatus
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".issues_list_request_status"}
|
|
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__ = ["IssuesListRequestStatus"]
|
|
@@ -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 EndUserDetailsRequestLanguage
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".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__ = ["EndUserDetailsRequestLanguage"]
|