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.
Files changed (171) hide show
  1. merge/__init__.py +40 -4
  2. merge/client.py +118 -18
  3. merge/core/__init__.py +75 -21
  4. merge/core/client_wrapper.py +2 -2
  5. merge/resources/__init__.py +33 -1
  6. merge/resources/accounting/__init__.py +1240 -609
  7. merge/resources/accounting/client.py +835 -165
  8. merge/resources/accounting/resources/__init__.py +208 -92
  9. merge/resources/accounting/resources/accounts/__init__.py +36 -6
  10. merge/resources/accounting/resources/accounts/types/__init__.py +34 -4
  11. merge/resources/accounting/resources/async_passthrough/__init__.py +26 -1
  12. merge/resources/accounting/resources/async_passthrough/types/__init__.py +26 -1
  13. merge/resources/accounting/resources/company_info/__init__.py +29 -1
  14. merge/resources/accounting/resources/company_info/types/__init__.py +30 -2
  15. merge/resources/accounting/resources/contacts/__init__.py +29 -1
  16. merge/resources/accounting/resources/contacts/types/__init__.py +30 -2
  17. merge/resources/accounting/resources/credit_notes/__init__.py +40 -8
  18. merge/resources/accounting/resources/credit_notes/types/__init__.py +38 -6
  19. merge/resources/accounting/resources/expense_reports/__init__.py +34 -5
  20. merge/resources/accounting/resources/expense_reports/types/__init__.py +32 -3
  21. merge/resources/accounting/resources/expenses/__init__.py +29 -1
  22. merge/resources/accounting/resources/expenses/types/__init__.py +30 -2
  23. merge/resources/accounting/resources/general_ledger_transactions/__init__.py +29 -1
  24. merge/resources/accounting/resources/general_ledger_transactions/types/__init__.py +30 -2
  25. merge/resources/accounting/resources/invoices/__init__.py +36 -6
  26. merge/resources/accounting/resources/invoices/types/__init__.py +34 -4
  27. merge/resources/accounting/resources/issues/__init__.py +26 -1
  28. merge/resources/accounting/resources/issues/types/__init__.py +26 -1
  29. merge/resources/accounting/resources/items/__init__.py +26 -1
  30. merge/resources/accounting/resources/items/types/__init__.py +30 -2
  31. merge/resources/accounting/resources/journal_entries/__init__.py +29 -1
  32. merge/resources/accounting/resources/journal_entries/types/__init__.py +30 -2
  33. merge/resources/accounting/resources/link_token/__init__.py +26 -1
  34. merge/resources/accounting/resources/link_token/types/__init__.py +26 -1
  35. merge/resources/accounting/resources/linked_accounts/__init__.py +26 -1
  36. merge/resources/accounting/resources/linked_accounts/types/__init__.py +28 -1
  37. merge/resources/accounting/resources/payments/__init__.py +29 -1
  38. merge/resources/accounting/resources/payments/types/__init__.py +30 -2
  39. merge/resources/accounting/resources/projects/__init__.py +29 -1
  40. merge/resources/accounting/resources/projects/types/__init__.py +30 -2
  41. merge/resources/accounting/resources/purchase_orders/__init__.py +29 -1
  42. merge/resources/accounting/resources/purchase_orders/types/__init__.py +30 -2
  43. merge/resources/accounting/resources/transactions/__init__.py +29 -1
  44. merge/resources/accounting/resources/transactions/types/__init__.py +30 -2
  45. merge/resources/accounting/resources/vendor_credits/__init__.py +29 -1
  46. merge/resources/accounting/resources/vendor_credits/types/__init__.py +30 -2
  47. merge/resources/accounting/types/__init__.py +1068 -521
  48. merge/resources/ats/__init__.py +586 -282
  49. merge/resources/ats/client.py +590 -120
  50. merge/resources/ats/resources/__init__.py +150 -63
  51. merge/resources/ats/resources/activities/__init__.py +36 -6
  52. merge/resources/ats/resources/activities/types/__init__.py +34 -4
  53. merge/resources/ats/resources/applications/__init__.py +29 -1
  54. merge/resources/ats/resources/applications/types/__init__.py +30 -2
  55. merge/resources/ats/resources/async_passthrough/__init__.py +26 -1
  56. merge/resources/ats/resources/async_passthrough/types/__init__.py +26 -1
  57. merge/resources/ats/resources/candidates/__init__.py +30 -1
  58. merge/resources/ats/resources/candidates/types/__init__.py +32 -3
  59. merge/resources/ats/resources/eeocs/__init__.py +36 -6
  60. merge/resources/ats/resources/eeocs/types/__init__.py +34 -4
  61. merge/resources/ats/resources/interviews/__init__.py +29 -1
  62. merge/resources/ats/resources/interviews/types/__init__.py +30 -2
  63. merge/resources/ats/resources/issues/__init__.py +26 -1
  64. merge/resources/ats/resources/issues/types/__init__.py +26 -1
  65. merge/resources/ats/resources/job_postings/__init__.py +26 -1
  66. merge/resources/ats/resources/job_postings/types/__init__.py +26 -1
  67. merge/resources/ats/resources/jobs/__init__.py +36 -6
  68. merge/resources/ats/resources/jobs/types/__init__.py +34 -4
  69. merge/resources/ats/resources/link_token/__init__.py +26 -1
  70. merge/resources/ats/resources/link_token/types/__init__.py +26 -1
  71. merge/resources/ats/resources/linked_accounts/__init__.py +26 -1
  72. merge/resources/ats/resources/linked_accounts/types/__init__.py +28 -1
  73. merge/resources/ats/resources/offers/__init__.py +26 -1
  74. merge/resources/ats/resources/offers/types/__init__.py +30 -2
  75. merge/resources/ats/resources/scorecards/__init__.py +29 -1
  76. merge/resources/ats/resources/scorecards/types/__init__.py +30 -2
  77. merge/resources/ats/types/__init__.py +462 -219
  78. merge/resources/crm/__init__.py +566 -272
  79. merge/resources/crm/client.py +556 -114
  80. merge/resources/crm/resources/__init__.py +121 -47
  81. merge/resources/crm/resources/async_passthrough/__init__.py +26 -1
  82. merge/resources/crm/resources/async_passthrough/types/__init__.py +26 -1
  83. merge/resources/crm/resources/contacts/__init__.py +29 -1
  84. merge/resources/crm/resources/contacts/types/__init__.py +30 -2
  85. merge/resources/crm/resources/engagements/__init__.py +29 -1
  86. merge/resources/crm/resources/engagements/types/__init__.py +30 -2
  87. merge/resources/crm/resources/issues/__init__.py +26 -1
  88. merge/resources/crm/resources/issues/types/__init__.py +26 -1
  89. merge/resources/crm/resources/leads/__init__.py +26 -1
  90. merge/resources/crm/resources/leads/types/__init__.py +30 -2
  91. merge/resources/crm/resources/link_token/__init__.py +26 -1
  92. merge/resources/crm/resources/link_token/types/__init__.py +26 -1
  93. merge/resources/crm/resources/linked_accounts/__init__.py +26 -1
  94. merge/resources/crm/resources/linked_accounts/types/__init__.py +28 -1
  95. merge/resources/crm/resources/notes/__init__.py +26 -1
  96. merge/resources/crm/resources/notes/types/__init__.py +30 -2
  97. merge/resources/crm/resources/opportunities/__init__.py +34 -1
  98. merge/resources/crm/resources/opportunities/types/__init__.py +32 -3
  99. merge/resources/crm/resources/tasks/__init__.py +26 -1
  100. merge/resources/crm/resources/tasks/types/__init__.py +30 -2
  101. merge/resources/crm/types/__init__.py +470 -224
  102. merge/resources/filestorage/__init__.py +322 -150
  103. merge/resources/filestorage/client.py +405 -87
  104. merge/resources/filestorage/resources/__init__.py +91 -34
  105. merge/resources/filestorage/resources/async_passthrough/__init__.py +26 -1
  106. merge/resources/filestorage/resources/async_passthrough/types/__init__.py +26 -1
  107. merge/resources/filestorage/resources/files/__init__.py +36 -6
  108. merge/resources/filestorage/resources/files/types/__init__.py +34 -4
  109. merge/resources/filestorage/resources/folders/__init__.py +29 -1
  110. merge/resources/filestorage/resources/folders/types/__init__.py +30 -2
  111. merge/resources/filestorage/resources/issues/__init__.py +26 -1
  112. merge/resources/filestorage/resources/issues/types/__init__.py +26 -1
  113. merge/resources/filestorage/resources/linked_accounts/__init__.py +26 -1
  114. merge/resources/filestorage/resources/linked_accounts/types/__init__.py +28 -1
  115. merge/resources/filestorage/types/__init__.py +258 -117
  116. merge/resources/hris/__init__.py +576 -277
  117. merge/resources/hris/client.py +590 -120
  118. merge/resources/hris/resources/__init__.py +188 -86
  119. merge/resources/hris/resources/async_passthrough/__init__.py +26 -1
  120. merge/resources/hris/resources/async_passthrough/types/__init__.py +26 -1
  121. merge/resources/hris/resources/bank_info/__init__.py +29 -1
  122. merge/resources/hris/resources/bank_info/types/__init__.py +30 -2
  123. merge/resources/hris/resources/employee_payroll_runs/__init__.py +29 -1
  124. merge/resources/hris/resources/employee_payroll_runs/types/__init__.py +30 -2
  125. merge/resources/hris/resources/employees/__init__.py +44 -10
  126. merge/resources/hris/resources/employees/types/__init__.py +42 -8
  127. merge/resources/hris/resources/employments/__init__.py +42 -9
  128. merge/resources/hris/resources/employments/types/__init__.py +40 -7
  129. merge/resources/hris/resources/issues/__init__.py +26 -1
  130. merge/resources/hris/resources/issues/types/__init__.py +26 -1
  131. merge/resources/hris/resources/link_token/__init__.py +26 -1
  132. merge/resources/hris/resources/link_token/types/__init__.py +26 -1
  133. merge/resources/hris/resources/linked_accounts/__init__.py +26 -1
  134. merge/resources/hris/resources/linked_accounts/types/__init__.py +28 -1
  135. merge/resources/hris/resources/locations/__init__.py +38 -7
  136. merge/resources/hris/resources/locations/types/__init__.py +36 -5
  137. merge/resources/hris/resources/payroll_runs/__init__.py +38 -7
  138. merge/resources/hris/resources/payroll_runs/types/__init__.py +36 -5
  139. merge/resources/hris/resources/time_off/__init__.py +44 -10
  140. merge/resources/hris/resources/time_off/types/__init__.py +42 -8
  141. merge/resources/hris/resources/time_off_balances/__init__.py +26 -1
  142. merge/resources/hris/resources/time_off_balances/types/__init__.py +28 -1
  143. merge/resources/hris/resources/timesheet_entries/__init__.py +26 -1
  144. merge/resources/hris/resources/timesheet_entries/types/__init__.py +28 -1
  145. merge/resources/hris/types/__init__.py +422 -199
  146. merge/resources/ticketing/__init__.py +464 -221
  147. merge/resources/ticketing/client.py +507 -105
  148. merge/resources/ticketing/resources/__init__.py +120 -48
  149. merge/resources/ticketing/resources/async_passthrough/__init__.py +26 -1
  150. merge/resources/ticketing/resources/async_passthrough/types/__init__.py +26 -1
  151. merge/resources/ticketing/resources/collections/__init__.py +26 -1
  152. merge/resources/ticketing/resources/collections/types/__init__.py +28 -1
  153. merge/resources/ticketing/resources/comments/__init__.py +29 -1
  154. merge/resources/ticketing/resources/comments/types/__init__.py +30 -2
  155. merge/resources/ticketing/resources/issues/__init__.py +26 -1
  156. merge/resources/ticketing/resources/issues/types/__init__.py +26 -1
  157. merge/resources/ticketing/resources/link_token/__init__.py +26 -1
  158. merge/resources/ticketing/resources/link_token/types/__init__.py +26 -1
  159. merge/resources/ticketing/resources/linked_accounts/__init__.py +26 -1
  160. merge/resources/ticketing/resources/linked_accounts/types/__init__.py +28 -1
  161. merge/resources/ticketing/resources/projects/__init__.py +26 -1
  162. merge/resources/ticketing/resources/projects/types/__init__.py +26 -1
  163. merge/resources/ticketing/resources/tickets/__init__.py +44 -10
  164. merge/resources/ticketing/resources/tickets/types/__init__.py +42 -8
  165. merge/resources/ticketing/resources/users/__init__.py +26 -1
  166. merge/resources/ticketing/resources/users/types/__init__.py +30 -2
  167. merge/resources/ticketing/types/__init__.py +370 -173
  168. {mergepythonclient-2.2.0.dist-info → mergepythonclient-2.3.0.dist-info}/METADATA +2 -1
  169. {mergepythonclient-2.2.0.dist-info → mergepythonclient-2.3.0.dist-info}/RECORD +171 -171
  170. {mergepythonclient-2.2.0.dist-info → mergepythonclient-2.3.0.dist-info}/LICENSE.md +0 -0
  171. {mergepythonclient-2.2.0.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
- from . import (
6
- account_details,
7
- account_token,
8
- accounts,
9
- async_passthrough,
10
- attachments,
11
- audit_trail,
12
- available_actions,
13
- collections,
14
- comments,
15
- contacts,
16
- delete_account,
17
- field_mapping,
18
- force_resync,
19
- generate_key,
20
- issues,
21
- link_token,
22
- linked_accounts,
23
- passthrough,
24
- projects,
25
- regenerate_key,
26
- roles,
27
- scopes,
28
- sync_status,
29
- tags,
30
- teams,
31
- tickets,
32
- users,
33
- webhook_receivers,
34
- )
35
- from .async_passthrough import AsyncPassthroughRetrieveResponse
36
- from .collections import CollectionsViewersListRequestExpand
37
- from .comments import CommentsListRequestExpand, CommentsRetrieveRequestExpand
38
- from .issues import IssuesListRequestStatus
39
- from .link_token import EndUserDetailsRequestLanguage
40
- from .linked_accounts import LinkedAccountsListRequestCategory
41
- from .projects import ProjectsUsersListRequestExpand
42
- from .tickets import (
43
- TicketsListRequestExpand,
44
- TicketsListRequestPriority,
45
- TicketsListRequestRemoteFields,
46
- TicketsListRequestShowEnumOrigins,
47
- TicketsRetrieveRequestExpand,
48
- TicketsRetrieveRequestRemoteFields,
49
- TicketsRetrieveRequestShowEnumOrigins,
50
- TicketsViewersListRequestExpand,
51
- )
52
- from .users import UsersListRequestExpand, UsersRetrieveRequestExpand
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",
@@ -2,6 +2,31 @@
2
2
 
3
3
  # isort: skip_file
4
4
 
5
- from .types import AsyncPassthroughRetrieveResponse
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
- from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse
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"]
@@ -2,6 +2,31 @@
2
2
 
3
3
  # isort: skip_file
4
4
 
5
- from .types import CollectionsViewersListRequestExpand
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"]
@@ -2,6 +2,33 @@
2
2
 
3
3
  # isort: skip_file
4
4
 
5
- from .collections_viewers_list_request_expand import CollectionsViewersListRequestExpand
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
- from .types import CommentsListRequestExpand, CommentsRetrieveRequestExpand
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"]
@@ -2,7 +2,35 @@
2
2
 
3
3
  # isort: skip_file
4
4
 
5
- from .comments_list_request_expand import CommentsListRequestExpand
6
- from .comments_retrieve_request_expand import CommentsRetrieveRequestExpand
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"]
@@ -2,6 +2,31 @@
2
2
 
3
3
  # isort: skip_file
4
4
 
5
- from .types import IssuesListRequestStatus
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
- from .issues_list_request_status import IssuesListRequestStatus
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
- from .types import EndUserDetailsRequestLanguage
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
- from .end_user_details_request_language import EndUserDetailsRequestLanguage
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"]
@@ -2,6 +2,31 @@
2
2
 
3
3
  # isort: skip_file
4
4
 
5
- from .types import LinkedAccountsListRequestCategory
5
+ import typing
6
+ from importlib import import_module
7
+
8
+ if typing.TYPE_CHECKING:
9
+ from .types import LinkedAccountsListRequestCategory
10
+ _dynamic_imports: typing.Dict[str, str] = {"LinkedAccountsListRequestCategory": ".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__ = ["LinkedAccountsListRequestCategory"]
@@ -2,6 +2,33 @@
2
2
 
3
3
  # isort: skip_file
4
4
 
5
- from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory
5
+ import typing
6
+ from importlib import import_module
7
+
8
+ if typing.TYPE_CHECKING:
9
+ from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory
10
+ _dynamic_imports: typing.Dict[str, str] = {
11
+ "LinkedAccountsListRequestCategory": ".linked_accounts_list_request_category"
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__ = ["LinkedAccountsListRequestCategory"]
@@ -2,6 +2,31 @@
2
2
 
3
3
  # isort: skip_file
4
4
 
5
- from .types import ProjectsUsersListRequestExpand
5
+ import typing
6
+ from importlib import import_module
7
+
8
+ if typing.TYPE_CHECKING:
9
+ from .types import ProjectsUsersListRequestExpand
10
+ _dynamic_imports: typing.Dict[str, str] = {"ProjectsUsersListRequestExpand": ".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__ = ["ProjectsUsersListRequestExpand"]
@@ -2,6 +2,31 @@
2
2
 
3
3
  # isort: skip_file
4
4
 
5
- from .projects_users_list_request_expand import ProjectsUsersListRequestExpand
5
+ import typing
6
+ from importlib import import_module
7
+
8
+ if typing.TYPE_CHECKING:
9
+ from .projects_users_list_request_expand import ProjectsUsersListRequestExpand
10
+ _dynamic_imports: typing.Dict[str, str] = {"ProjectsUsersListRequestExpand": ".projects_users_list_request_expand"}
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__ = ["ProjectsUsersListRequestExpand"]