mergepythonclient 2.2.0__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/resources/__init__.py +33 -1
- merge/resources/accounting/__init__.py +1240 -609
- merge/resources/accounting/client.py +835 -165
- merge/resources/accounting/resources/__init__.py +208 -92
- merge/resources/accounting/resources/accounts/__init__.py +36 -6
- 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/company_info/__init__.py +29 -1
- 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/types/__init__.py +30 -2
- merge/resources/accounting/resources/credit_notes/__init__.py +40 -8
- merge/resources/accounting/resources/credit_notes/types/__init__.py +38 -6
- merge/resources/accounting/resources/expense_reports/__init__.py +34 -5
- 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/types/__init__.py +30 -2
- merge/resources/accounting/resources/general_ledger_transactions/__init__.py +29 -1
- merge/resources/accounting/resources/general_ledger_transactions/types/__init__.py +30 -2
- merge/resources/accounting/resources/invoices/__init__.py +36 -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/types/__init__.py +26 -1
- merge/resources/accounting/resources/items/__init__.py +26 -1
- 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/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/types/__init__.py +28 -1
- merge/resources/accounting/resources/payments/__init__.py +29 -1
- merge/resources/accounting/resources/payments/types/__init__.py +30 -2
- merge/resources/accounting/resources/projects/__init__.py +29 -1
- 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/types/__init__.py +30 -2
- merge/resources/accounting/resources/transactions/__init__.py +29 -1
- merge/resources/accounting/resources/transactions/types/__init__.py +30 -2
- merge/resources/accounting/resources/vendor_credits/__init__.py +29 -1
- merge/resources/accounting/resources/vendor_credits/types/__init__.py +30 -2
- merge/resources/accounting/types/__init__.py +1068 -521
- 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/types/__init__.py +34 -4
- merge/resources/ats/resources/applications/__init__.py +29 -1
- 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/candidates/__init__.py +30 -1
- merge/resources/ats/resources/candidates/types/__init__.py +32 -3
- merge/resources/ats/resources/eeocs/__init__.py +36 -6
- merge/resources/ats/resources/eeocs/types/__init__.py +34 -4
- merge/resources/ats/resources/interviews/__init__.py +29 -1
- merge/resources/ats/resources/interviews/types/__init__.py +30 -2
- merge/resources/ats/resources/issues/__init__.py +26 -1
- merge/resources/ats/resources/issues/types/__init__.py +26 -1
- merge/resources/ats/resources/job_postings/__init__.py +26 -1
- 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/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/types/__init__.py +28 -1
- merge/resources/ats/resources/offers/__init__.py +26 -1
- merge/resources/ats/resources/offers/types/__init__.py +30 -2
- merge/resources/ats/resources/scorecards/__init__.py +29 -1
- merge/resources/ats/resources/scorecards/types/__init__.py +30 -2
- merge/resources/ats/types/__init__.py +462 -219
- 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/async_passthrough/__init__.py +26 -1
- merge/resources/crm/resources/async_passthrough/types/__init__.py +26 -1
- merge/resources/crm/resources/contacts/__init__.py +29 -1
- merge/resources/crm/resources/contacts/types/__init__.py +30 -2
- merge/resources/crm/resources/engagements/__init__.py +29 -1
- merge/resources/crm/resources/engagements/types/__init__.py +30 -2
- merge/resources/crm/resources/issues/__init__.py +26 -1
- merge/resources/crm/resources/issues/types/__init__.py +26 -1
- merge/resources/crm/resources/leads/__init__.py +26 -1
- 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/types/__init__.py +28 -1
- merge/resources/crm/resources/notes/__init__.py +26 -1
- merge/resources/crm/resources/notes/types/__init__.py +30 -2
- merge/resources/crm/resources/opportunities/__init__.py +34 -1
- merge/resources/crm/resources/opportunities/types/__init__.py +32 -3
- merge/resources/crm/resources/tasks/__init__.py +26 -1
- merge/resources/crm/resources/tasks/types/__init__.py +30 -2
- merge/resources/crm/types/__init__.py +470 -224
- 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/files/__init__.py +36 -6
- merge/resources/filestorage/resources/files/types/__init__.py +34 -4
- merge/resources/filestorage/resources/folders/__init__.py +29 -1
- merge/resources/filestorage/resources/folders/types/__init__.py +30 -2
- merge/resources/filestorage/resources/issues/__init__.py +26 -1
- 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/types/__init__.py +28 -1
- 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/bank_info/__init__.py +29 -1
- merge/resources/hris/resources/bank_info/types/__init__.py +30 -2
- merge/resources/hris/resources/employee_payroll_runs/__init__.py +29 -1
- 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/types/__init__.py +42 -8
- merge/resources/hris/resources/employments/__init__.py +42 -9
- merge/resources/hris/resources/employments/types/__init__.py +40 -7
- merge/resources/hris/resources/issues/__init__.py +26 -1
- 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/types/__init__.py +28 -1
- merge/resources/hris/resources/locations/__init__.py +38 -7
- merge/resources/hris/resources/locations/types/__init__.py +36 -5
- merge/resources/hris/resources/payroll_runs/__init__.py +38 -7
- merge/resources/hris/resources/payroll_runs/types/__init__.py +36 -5
- merge/resources/hris/resources/time_off/__init__.py +44 -10
- 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/types/__init__.py +28 -1
- merge/resources/hris/resources/timesheet_entries/__init__.py +26 -1
- merge/resources/hris/resources/timesheet_entries/types/__init__.py +28 -1
- merge/resources/hris/types/__init__.py +422 -199
- 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/async_passthrough/__init__.py +26 -1
- merge/resources/ticketing/resources/async_passthrough/types/__init__.py +26 -1
- merge/resources/ticketing/resources/collections/__init__.py +26 -1
- merge/resources/ticketing/resources/collections/types/__init__.py +28 -1
- merge/resources/ticketing/resources/comments/__init__.py +29 -1
- merge/resources/ticketing/resources/comments/types/__init__.py +30 -2
- merge/resources/ticketing/resources/issues/__init__.py +26 -1
- 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/types/__init__.py +28 -1
- merge/resources/ticketing/resources/projects/__init__.py +26 -1
- merge/resources/ticketing/resources/projects/types/__init__.py +26 -1
- merge/resources/ticketing/resources/tickets/__init__.py +44 -10
- merge/resources/ticketing/resources/tickets/types/__init__.py +42 -8
- merge/resources/ticketing/resources/users/__init__.py +26 -1
- merge/resources/ticketing/resources/users/types/__init__.py +30 -2
- merge/resources/ticketing/types/__init__.py +370 -173
- {mergepythonclient-2.2.0.dist-info → mergepythonclient-2.3.0.dist-info}/METADATA +2 -1
- {mergepythonclient-2.2.0.dist-info → mergepythonclient-2.3.0.dist-info}/RECORD +171 -171
- {mergepythonclient-2.2.0.dist-info → mergepythonclient-2.3.0.dist-info}/LICENSE.md +0 -0
- {mergepythonclient-2.2.0.dist-info → mergepythonclient-2.3.0.dist-info}/WHEEL +0 -0
|
@@ -2,12 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
# isort: skip_file
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
from
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
from .
|
|
10
|
-
from .
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .credit_notes_list_request_expand import CreditNotesListRequestExpand
|
|
10
|
+
from .credit_notes_list_request_remote_fields import CreditNotesListRequestRemoteFields
|
|
11
|
+
from .credit_notes_list_request_show_enum_origins import CreditNotesListRequestShowEnumOrigins
|
|
12
|
+
from .credit_notes_retrieve_request_expand import CreditNotesRetrieveRequestExpand
|
|
13
|
+
from .credit_notes_retrieve_request_remote_fields import CreditNotesRetrieveRequestRemoteFields
|
|
14
|
+
from .credit_notes_retrieve_request_show_enum_origins import CreditNotesRetrieveRequestShowEnumOrigins
|
|
15
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
16
|
+
"CreditNotesListRequestExpand": ".credit_notes_list_request_expand",
|
|
17
|
+
"CreditNotesListRequestRemoteFields": ".credit_notes_list_request_remote_fields",
|
|
18
|
+
"CreditNotesListRequestShowEnumOrigins": ".credit_notes_list_request_show_enum_origins",
|
|
19
|
+
"CreditNotesRetrieveRequestExpand": ".credit_notes_retrieve_request_expand",
|
|
20
|
+
"CreditNotesRetrieveRequestRemoteFields": ".credit_notes_retrieve_request_remote_fields",
|
|
21
|
+
"CreditNotesRetrieveRequestShowEnumOrigins": ".credit_notes_retrieve_request_show_enum_origins",
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
26
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
27
|
+
if module_name is None:
|
|
28
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
29
|
+
try:
|
|
30
|
+
module = import_module(module_name, __package__)
|
|
31
|
+
result = getattr(module, attr_name)
|
|
32
|
+
return result
|
|
33
|
+
except ImportError as e:
|
|
34
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
35
|
+
except AttributeError as e:
|
|
36
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def __dir__():
|
|
40
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
41
|
+
return sorted(lazy_attrs)
|
|
42
|
+
|
|
11
43
|
|
|
12
44
|
__all__ = [
|
|
13
45
|
"CreditNotesListRequestExpand",
|
|
@@ -2,11 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
# isort: skip_file
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .types import (
|
|
10
|
+
ExpenseReportsLinesListRequestExpand,
|
|
11
|
+
ExpenseReportsListRequestExpand,
|
|
12
|
+
ExpenseReportsRetrieveRequestExpand,
|
|
13
|
+
)
|
|
14
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
15
|
+
"ExpenseReportsLinesListRequestExpand": ".types",
|
|
16
|
+
"ExpenseReportsListRequestExpand": ".types",
|
|
17
|
+
"ExpenseReportsRetrieveRequestExpand": ".types",
|
|
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
|
+
|
|
10
39
|
|
|
11
40
|
__all__ = [
|
|
12
41
|
"ExpenseReportsLinesListRequestExpand",
|
|
@@ -2,9 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
# isort: skip_file
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
from
|
|
7
|
-
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .expense_reports_lines_list_request_expand import ExpenseReportsLinesListRequestExpand
|
|
10
|
+
from .expense_reports_list_request_expand import ExpenseReportsListRequestExpand
|
|
11
|
+
from .expense_reports_retrieve_request_expand import ExpenseReportsRetrieveRequestExpand
|
|
12
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
13
|
+
"ExpenseReportsLinesListRequestExpand": ".expense_reports_lines_list_request_expand",
|
|
14
|
+
"ExpenseReportsListRequestExpand": ".expense_reports_list_request_expand",
|
|
15
|
+
"ExpenseReportsRetrieveRequestExpand": ".expense_reports_retrieve_request_expand",
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
20
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
21
|
+
if module_name is None:
|
|
22
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
23
|
+
try:
|
|
24
|
+
module = import_module(module_name, __package__)
|
|
25
|
+
result = getattr(module, attr_name)
|
|
26
|
+
return result
|
|
27
|
+
except ImportError as e:
|
|
28
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
29
|
+
except AttributeError as e:
|
|
30
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def __dir__():
|
|
34
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
35
|
+
return sorted(lazy_attrs)
|
|
36
|
+
|
|
8
37
|
|
|
9
38
|
__all__ = [
|
|
10
39
|
"ExpenseReportsLinesListRequestExpand",
|
|
@@ -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 ExpensesListRequestExpand, ExpensesRetrieveRequestExpand
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
11
|
+
"ExpensesListRequestExpand": ".types",
|
|
12
|
+
"ExpensesRetrieveRequestExpand": ".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__ = ["ExpensesListRequestExpand", "ExpensesRetrieveRequestExpand"]
|
|
@@ -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 .expenses_list_request_expand import ExpensesListRequestExpand
|
|
10
|
+
from .expenses_retrieve_request_expand import ExpensesRetrieveRequestExpand
|
|
11
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
12
|
+
"ExpensesListRequestExpand": ".expenses_list_request_expand",
|
|
13
|
+
"ExpensesRetrieveRequestExpand": ".expenses_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__ = ["ExpensesListRequestExpand", "ExpensesRetrieveRequestExpand"]
|
|
@@ -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 GeneralLedgerTransactionsListRequestExpand, GeneralLedgerTransactionsRetrieveRequestExpand
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
11
|
+
"GeneralLedgerTransactionsListRequestExpand": ".types",
|
|
12
|
+
"GeneralLedgerTransactionsRetrieveRequestExpand": ".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__ = ["GeneralLedgerTransactionsListRequestExpand", "GeneralLedgerTransactionsRetrieveRequestExpand"]
|
|
@@ -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 .general_ledger_transactions_list_request_expand import GeneralLedgerTransactionsListRequestExpand
|
|
10
|
+
from .general_ledger_transactions_retrieve_request_expand import GeneralLedgerTransactionsRetrieveRequestExpand
|
|
11
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
12
|
+
"GeneralLedgerTransactionsListRequestExpand": ".general_ledger_transactions_list_request_expand",
|
|
13
|
+
"GeneralLedgerTransactionsRetrieveRequestExpand": ".general_ledger_transactions_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__ = ["GeneralLedgerTransactionsListRequestExpand", "GeneralLedgerTransactionsRetrieveRequestExpand"]
|
|
@@ -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
|
+
InvoicesListRequestExpand,
|
|
11
|
+
InvoicesListRequestStatus,
|
|
12
|
+
InvoicesListRequestType,
|
|
13
|
+
InvoicesRetrieveRequestExpand,
|
|
14
|
+
)
|
|
15
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
16
|
+
"InvoicesListRequestExpand": ".types",
|
|
17
|
+
"InvoicesListRequestStatus": ".types",
|
|
18
|
+
"InvoicesListRequestType": ".types",
|
|
19
|
+
"InvoicesRetrieveRequestExpand": ".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
|
"InvoicesListRequestExpand",
|
|
@@ -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 .invoices_list_request_expand import InvoicesListRequestExpand
|
|
10
|
+
from .invoices_list_request_status import InvoicesListRequestStatus
|
|
11
|
+
from .invoices_list_request_type import InvoicesListRequestType
|
|
12
|
+
from .invoices_retrieve_request_expand import InvoicesRetrieveRequestExpand
|
|
13
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
14
|
+
"InvoicesListRequestExpand": ".invoices_list_request_expand",
|
|
15
|
+
"InvoicesListRequestStatus": ".invoices_list_request_status",
|
|
16
|
+
"InvoicesListRequestType": ".invoices_list_request_type",
|
|
17
|
+
"InvoicesRetrieveRequestExpand": ".invoices_retrieve_request_expand",
|
|
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
|
"InvoicesListRequestExpand",
|
|
@@ -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"]
|
|
@@ -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 ItemsListRequestExpand, ItemsRetrieveRequestExpand
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {"ItemsListRequestExpand": ".types", "ItemsRetrieveRequestExpand": ".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__ = ["ItemsListRequestExpand", "ItemsRetrieveRequestExpand"]
|
|
@@ -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 .items_list_request_expand import ItemsListRequestExpand
|
|
10
|
+
from .items_retrieve_request_expand import ItemsRetrieveRequestExpand
|
|
11
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
12
|
+
"ItemsListRequestExpand": ".items_list_request_expand",
|
|
13
|
+
"ItemsRetrieveRequestExpand": ".items_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__ = ["ItemsListRequestExpand", "ItemsRetrieveRequestExpand"]
|
|
@@ -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 JournalEntriesListRequestExpand, JournalEntriesRetrieveRequestExpand
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
11
|
+
"JournalEntriesListRequestExpand": ".types",
|
|
12
|
+
"JournalEntriesRetrieveRequestExpand": ".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__ = ["JournalEntriesListRequestExpand", "JournalEntriesRetrieveRequestExpand"]
|
|
@@ -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 .journal_entries_list_request_expand import JournalEntriesListRequestExpand
|
|
10
|
+
from .journal_entries_retrieve_request_expand import JournalEntriesRetrieveRequestExpand
|
|
11
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
12
|
+
"JournalEntriesListRequestExpand": ".journal_entries_list_request_expand",
|
|
13
|
+
"JournalEntriesRetrieveRequestExpand": ".journal_entries_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__ = ["JournalEntriesListRequestExpand", "JournalEntriesRetrieveRequestExpand"]
|
|
@@ -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"]
|
|
@@ -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 .end_user_details_request_language import EndUserDetailsRequestLanguage
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".end_user_details_request_language"}
|
|
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"]
|