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,227 +2,470 @@
|
|
|
2
2
|
|
|
3
3
|
# isort: skip_file
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .types import (
|
|
10
|
+
Account,
|
|
11
|
+
AccountDetails,
|
|
12
|
+
AccountDetailsAndActions,
|
|
13
|
+
AccountDetailsAndActionsCategory,
|
|
14
|
+
AccountDetailsAndActionsIntegration,
|
|
15
|
+
AccountDetailsAndActionsStatus,
|
|
16
|
+
AccountDetailsAndActionsStatusEnum,
|
|
17
|
+
AccountDetailsCategory,
|
|
18
|
+
AccountIntegration,
|
|
19
|
+
AccountToken,
|
|
20
|
+
AdvancedMetadata,
|
|
21
|
+
AsyncPassthroughReciept,
|
|
22
|
+
Attachment,
|
|
23
|
+
AttachmentRequest,
|
|
24
|
+
AttachmentRequestTicket,
|
|
25
|
+
AttachmentTicket,
|
|
26
|
+
AuditLogEvent,
|
|
27
|
+
AuditLogEventEventType,
|
|
28
|
+
AuditLogEventRole,
|
|
29
|
+
AvailableActions,
|
|
30
|
+
CategoriesEnum,
|
|
31
|
+
CategoryEnum,
|
|
32
|
+
Collection,
|
|
33
|
+
CollectionAccessLevel,
|
|
34
|
+
CollectionAccessLevelEnum,
|
|
35
|
+
CollectionCollectionType,
|
|
36
|
+
CollectionParentCollection,
|
|
37
|
+
CollectionTypeEnum,
|
|
38
|
+
Comment,
|
|
39
|
+
CommentContact,
|
|
40
|
+
CommentRequest,
|
|
41
|
+
CommentRequestContact,
|
|
42
|
+
CommentRequestTicket,
|
|
43
|
+
CommentRequestUser,
|
|
44
|
+
CommentResponse,
|
|
45
|
+
CommentTicket,
|
|
46
|
+
CommentUser,
|
|
47
|
+
CommonModelScopeApi,
|
|
48
|
+
CommonModelScopesBodyRequest,
|
|
49
|
+
Contact,
|
|
50
|
+
ContactAccount,
|
|
51
|
+
ContactRequest,
|
|
52
|
+
ContactRequestAccount,
|
|
53
|
+
DataPassthroughRequest,
|
|
54
|
+
DebugModeLog,
|
|
55
|
+
DebugModelLogSummary,
|
|
56
|
+
EnabledActionsEnum,
|
|
57
|
+
EncodingEnum,
|
|
58
|
+
ErrorValidationProblem,
|
|
59
|
+
EventTypeEnum,
|
|
60
|
+
ExternalTargetFieldApi,
|
|
61
|
+
ExternalTargetFieldApiResponse,
|
|
62
|
+
FieldFormatEnum,
|
|
63
|
+
FieldMappingApiInstance,
|
|
64
|
+
FieldMappingApiInstanceRemoteField,
|
|
65
|
+
FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo,
|
|
66
|
+
FieldMappingApiInstanceResponse,
|
|
67
|
+
FieldMappingApiInstanceTargetField,
|
|
68
|
+
FieldMappingInstanceResponse,
|
|
69
|
+
FieldPermissionDeserializer,
|
|
70
|
+
FieldPermissionDeserializerRequest,
|
|
71
|
+
FieldTypeEnum,
|
|
72
|
+
IndividualCommonModelScopeDeserializer,
|
|
73
|
+
IndividualCommonModelScopeDeserializerRequest,
|
|
74
|
+
Issue,
|
|
75
|
+
IssueStatus,
|
|
76
|
+
IssueStatusEnum,
|
|
77
|
+
ItemFormatEnum,
|
|
78
|
+
ItemSchema,
|
|
79
|
+
ItemTypeEnum,
|
|
80
|
+
LanguageEnum,
|
|
81
|
+
LastSyncResultEnum,
|
|
82
|
+
LinkToken,
|
|
83
|
+
LinkedAccountStatus,
|
|
84
|
+
MetaResponse,
|
|
85
|
+
MethodEnum,
|
|
86
|
+
ModelOperation,
|
|
87
|
+
ModelPermissionDeserializer,
|
|
88
|
+
ModelPermissionDeserializerRequest,
|
|
89
|
+
MultipartFormFieldRequest,
|
|
90
|
+
MultipartFormFieldRequestEncoding,
|
|
91
|
+
PaginatedAccountDetailsAndActionsList,
|
|
92
|
+
PaginatedAccountList,
|
|
93
|
+
PaginatedAttachmentList,
|
|
94
|
+
PaginatedAuditLogEventList,
|
|
95
|
+
PaginatedCollectionList,
|
|
96
|
+
PaginatedCommentList,
|
|
97
|
+
PaginatedContactList,
|
|
98
|
+
PaginatedIssueList,
|
|
99
|
+
PaginatedProjectList,
|
|
100
|
+
PaginatedRemoteFieldClassList,
|
|
101
|
+
PaginatedRoleList,
|
|
102
|
+
PaginatedSyncStatusList,
|
|
103
|
+
PaginatedTagList,
|
|
104
|
+
PaginatedTeamList,
|
|
105
|
+
PaginatedTicketList,
|
|
106
|
+
PaginatedUserList,
|
|
107
|
+
PaginatedViewerList,
|
|
108
|
+
PatchedTicketRequest,
|
|
109
|
+
PatchedTicketRequestAccessLevel,
|
|
110
|
+
PatchedTicketRequestPriority,
|
|
111
|
+
PatchedTicketRequestStatus,
|
|
112
|
+
PriorityEnum,
|
|
113
|
+
Project,
|
|
114
|
+
RemoteData,
|
|
115
|
+
RemoteEndpointInfo,
|
|
116
|
+
RemoteField,
|
|
117
|
+
RemoteFieldApi,
|
|
118
|
+
RemoteFieldApiCoverage,
|
|
119
|
+
RemoteFieldApiResponse,
|
|
120
|
+
RemoteFieldClass,
|
|
121
|
+
RemoteFieldClassFieldChoicesItem,
|
|
122
|
+
RemoteFieldClassFieldFormat,
|
|
123
|
+
RemoteFieldClassFieldType,
|
|
124
|
+
RemoteFieldRemoteFieldClass,
|
|
125
|
+
RemoteFieldRequest,
|
|
126
|
+
RemoteFieldRequestRemoteFieldClass,
|
|
127
|
+
RemoteKey,
|
|
128
|
+
RemoteResponse,
|
|
129
|
+
RequestFormatEnum,
|
|
130
|
+
ResponseTypeEnum,
|
|
131
|
+
Role,
|
|
132
|
+
RoleEnum,
|
|
133
|
+
RoleTicketAccess,
|
|
134
|
+
RoleTicketActionsItem,
|
|
135
|
+
SelectiveSyncConfigurationsUsageEnum,
|
|
136
|
+
StatusFd5Enum,
|
|
137
|
+
SyncStatus,
|
|
138
|
+
SyncStatusLastSyncResult,
|
|
139
|
+
Tag,
|
|
140
|
+
Team,
|
|
141
|
+
Ticket,
|
|
142
|
+
TicketAccessEnum,
|
|
143
|
+
TicketAccessLevel,
|
|
144
|
+
TicketAccessLevelEnum,
|
|
145
|
+
TicketAccount,
|
|
146
|
+
TicketActionsEnum,
|
|
147
|
+
TicketAssignedTeamsItem,
|
|
148
|
+
TicketAssigneesItem,
|
|
149
|
+
TicketAttachmentsItem,
|
|
150
|
+
TicketCollectionsItem,
|
|
151
|
+
TicketContact,
|
|
152
|
+
TicketCreator,
|
|
153
|
+
TicketParentTicket,
|
|
154
|
+
TicketPriority,
|
|
155
|
+
TicketRequest,
|
|
156
|
+
TicketRequestAccessLevel,
|
|
157
|
+
TicketRequestAccount,
|
|
158
|
+
TicketRequestAssignedTeamsItem,
|
|
159
|
+
TicketRequestAssigneesItem,
|
|
160
|
+
TicketRequestAttachmentsItem,
|
|
161
|
+
TicketRequestCollectionsItem,
|
|
162
|
+
TicketRequestContact,
|
|
163
|
+
TicketRequestCreator,
|
|
164
|
+
TicketRequestParentTicket,
|
|
165
|
+
TicketRequestPriority,
|
|
166
|
+
TicketRequestStatus,
|
|
167
|
+
TicketResponse,
|
|
168
|
+
TicketStatus,
|
|
169
|
+
TicketStatusEnum,
|
|
170
|
+
TicketingAttachmentResponse,
|
|
171
|
+
TicketingContactResponse,
|
|
172
|
+
User,
|
|
173
|
+
UserRolesItem,
|
|
174
|
+
UserTeamsItem,
|
|
175
|
+
ValidationProblemSource,
|
|
176
|
+
Viewer,
|
|
177
|
+
ViewerTeam,
|
|
178
|
+
ViewerUser,
|
|
179
|
+
WarningValidationProblem,
|
|
180
|
+
WebhookReceiver,
|
|
181
|
+
)
|
|
182
|
+
from .resources import (
|
|
183
|
+
AsyncPassthroughRetrieveResponse,
|
|
184
|
+
CollectionsViewersListRequestExpand,
|
|
185
|
+
CommentsListRequestExpand,
|
|
186
|
+
CommentsRetrieveRequestExpand,
|
|
187
|
+
EndUserDetailsRequestLanguage,
|
|
188
|
+
IssuesListRequestStatus,
|
|
189
|
+
LinkedAccountsListRequestCategory,
|
|
190
|
+
ProjectsUsersListRequestExpand,
|
|
191
|
+
TicketsListRequestExpand,
|
|
192
|
+
TicketsListRequestPriority,
|
|
193
|
+
TicketsListRequestRemoteFields,
|
|
194
|
+
TicketsListRequestShowEnumOrigins,
|
|
195
|
+
TicketsRetrieveRequestExpand,
|
|
196
|
+
TicketsRetrieveRequestRemoteFields,
|
|
197
|
+
TicketsRetrieveRequestShowEnumOrigins,
|
|
198
|
+
TicketsViewersListRequestExpand,
|
|
199
|
+
UsersListRequestExpand,
|
|
200
|
+
UsersRetrieveRequestExpand,
|
|
201
|
+
account_details,
|
|
202
|
+
account_token,
|
|
203
|
+
accounts,
|
|
204
|
+
async_passthrough,
|
|
205
|
+
attachments,
|
|
206
|
+
audit_trail,
|
|
207
|
+
available_actions,
|
|
208
|
+
collections,
|
|
209
|
+
comments,
|
|
210
|
+
contacts,
|
|
211
|
+
delete_account,
|
|
212
|
+
field_mapping,
|
|
213
|
+
force_resync,
|
|
214
|
+
generate_key,
|
|
215
|
+
issues,
|
|
216
|
+
link_token,
|
|
217
|
+
linked_accounts,
|
|
218
|
+
passthrough,
|
|
219
|
+
projects,
|
|
220
|
+
regenerate_key,
|
|
221
|
+
roles,
|
|
222
|
+
scopes,
|
|
223
|
+
sync_status,
|
|
224
|
+
tags,
|
|
225
|
+
teams,
|
|
226
|
+
tickets,
|
|
227
|
+
users,
|
|
228
|
+
webhook_receivers,
|
|
229
|
+
)
|
|
230
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
231
|
+
"Account": ".types",
|
|
232
|
+
"AccountDetails": ".types",
|
|
233
|
+
"AccountDetailsAndActions": ".types",
|
|
234
|
+
"AccountDetailsAndActionsCategory": ".types",
|
|
235
|
+
"AccountDetailsAndActionsIntegration": ".types",
|
|
236
|
+
"AccountDetailsAndActionsStatus": ".types",
|
|
237
|
+
"AccountDetailsAndActionsStatusEnum": ".types",
|
|
238
|
+
"AccountDetailsCategory": ".types",
|
|
239
|
+
"AccountIntegration": ".types",
|
|
240
|
+
"AccountToken": ".types",
|
|
241
|
+
"AdvancedMetadata": ".types",
|
|
242
|
+
"AsyncPassthroughReciept": ".types",
|
|
243
|
+
"AsyncPassthroughRetrieveResponse": ".resources",
|
|
244
|
+
"Attachment": ".types",
|
|
245
|
+
"AttachmentRequest": ".types",
|
|
246
|
+
"AttachmentRequestTicket": ".types",
|
|
247
|
+
"AttachmentTicket": ".types",
|
|
248
|
+
"AuditLogEvent": ".types",
|
|
249
|
+
"AuditLogEventEventType": ".types",
|
|
250
|
+
"AuditLogEventRole": ".types",
|
|
251
|
+
"AvailableActions": ".types",
|
|
252
|
+
"CategoriesEnum": ".types",
|
|
253
|
+
"CategoryEnum": ".types",
|
|
254
|
+
"Collection": ".types",
|
|
255
|
+
"CollectionAccessLevel": ".types",
|
|
256
|
+
"CollectionAccessLevelEnum": ".types",
|
|
257
|
+
"CollectionCollectionType": ".types",
|
|
258
|
+
"CollectionParentCollection": ".types",
|
|
259
|
+
"CollectionTypeEnum": ".types",
|
|
260
|
+
"CollectionsViewersListRequestExpand": ".resources",
|
|
261
|
+
"Comment": ".types",
|
|
262
|
+
"CommentContact": ".types",
|
|
263
|
+
"CommentRequest": ".types",
|
|
264
|
+
"CommentRequestContact": ".types",
|
|
265
|
+
"CommentRequestTicket": ".types",
|
|
266
|
+
"CommentRequestUser": ".types",
|
|
267
|
+
"CommentResponse": ".types",
|
|
268
|
+
"CommentTicket": ".types",
|
|
269
|
+
"CommentUser": ".types",
|
|
270
|
+
"CommentsListRequestExpand": ".resources",
|
|
271
|
+
"CommentsRetrieveRequestExpand": ".resources",
|
|
272
|
+
"CommonModelScopeApi": ".types",
|
|
273
|
+
"CommonModelScopesBodyRequest": ".types",
|
|
274
|
+
"Contact": ".types",
|
|
275
|
+
"ContactAccount": ".types",
|
|
276
|
+
"ContactRequest": ".types",
|
|
277
|
+
"ContactRequestAccount": ".types",
|
|
278
|
+
"DataPassthroughRequest": ".types",
|
|
279
|
+
"DebugModeLog": ".types",
|
|
280
|
+
"DebugModelLogSummary": ".types",
|
|
281
|
+
"EnabledActionsEnum": ".types",
|
|
282
|
+
"EncodingEnum": ".types",
|
|
283
|
+
"EndUserDetailsRequestLanguage": ".resources",
|
|
284
|
+
"ErrorValidationProblem": ".types",
|
|
285
|
+
"EventTypeEnum": ".types",
|
|
286
|
+
"ExternalTargetFieldApi": ".types",
|
|
287
|
+
"ExternalTargetFieldApiResponse": ".types",
|
|
288
|
+
"FieldFormatEnum": ".types",
|
|
289
|
+
"FieldMappingApiInstance": ".types",
|
|
290
|
+
"FieldMappingApiInstanceRemoteField": ".types",
|
|
291
|
+
"FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".types",
|
|
292
|
+
"FieldMappingApiInstanceResponse": ".types",
|
|
293
|
+
"FieldMappingApiInstanceTargetField": ".types",
|
|
294
|
+
"FieldMappingInstanceResponse": ".types",
|
|
295
|
+
"FieldPermissionDeserializer": ".types",
|
|
296
|
+
"FieldPermissionDeserializerRequest": ".types",
|
|
297
|
+
"FieldTypeEnum": ".types",
|
|
298
|
+
"IndividualCommonModelScopeDeserializer": ".types",
|
|
299
|
+
"IndividualCommonModelScopeDeserializerRequest": ".types",
|
|
300
|
+
"Issue": ".types",
|
|
301
|
+
"IssueStatus": ".types",
|
|
302
|
+
"IssueStatusEnum": ".types",
|
|
303
|
+
"IssuesListRequestStatus": ".resources",
|
|
304
|
+
"ItemFormatEnum": ".types",
|
|
305
|
+
"ItemSchema": ".types",
|
|
306
|
+
"ItemTypeEnum": ".types",
|
|
307
|
+
"LanguageEnum": ".types",
|
|
308
|
+
"LastSyncResultEnum": ".types",
|
|
309
|
+
"LinkToken": ".types",
|
|
310
|
+
"LinkedAccountStatus": ".types",
|
|
311
|
+
"LinkedAccountsListRequestCategory": ".resources",
|
|
312
|
+
"MetaResponse": ".types",
|
|
313
|
+
"MethodEnum": ".types",
|
|
314
|
+
"ModelOperation": ".types",
|
|
315
|
+
"ModelPermissionDeserializer": ".types",
|
|
316
|
+
"ModelPermissionDeserializerRequest": ".types",
|
|
317
|
+
"MultipartFormFieldRequest": ".types",
|
|
318
|
+
"MultipartFormFieldRequestEncoding": ".types",
|
|
319
|
+
"PaginatedAccountDetailsAndActionsList": ".types",
|
|
320
|
+
"PaginatedAccountList": ".types",
|
|
321
|
+
"PaginatedAttachmentList": ".types",
|
|
322
|
+
"PaginatedAuditLogEventList": ".types",
|
|
323
|
+
"PaginatedCollectionList": ".types",
|
|
324
|
+
"PaginatedCommentList": ".types",
|
|
325
|
+
"PaginatedContactList": ".types",
|
|
326
|
+
"PaginatedIssueList": ".types",
|
|
327
|
+
"PaginatedProjectList": ".types",
|
|
328
|
+
"PaginatedRemoteFieldClassList": ".types",
|
|
329
|
+
"PaginatedRoleList": ".types",
|
|
330
|
+
"PaginatedSyncStatusList": ".types",
|
|
331
|
+
"PaginatedTagList": ".types",
|
|
332
|
+
"PaginatedTeamList": ".types",
|
|
333
|
+
"PaginatedTicketList": ".types",
|
|
334
|
+
"PaginatedUserList": ".types",
|
|
335
|
+
"PaginatedViewerList": ".types",
|
|
336
|
+
"PatchedTicketRequest": ".types",
|
|
337
|
+
"PatchedTicketRequestAccessLevel": ".types",
|
|
338
|
+
"PatchedTicketRequestPriority": ".types",
|
|
339
|
+
"PatchedTicketRequestStatus": ".types",
|
|
340
|
+
"PriorityEnum": ".types",
|
|
341
|
+
"Project": ".types",
|
|
342
|
+
"ProjectsUsersListRequestExpand": ".resources",
|
|
343
|
+
"RemoteData": ".types",
|
|
344
|
+
"RemoteEndpointInfo": ".types",
|
|
345
|
+
"RemoteField": ".types",
|
|
346
|
+
"RemoteFieldApi": ".types",
|
|
347
|
+
"RemoteFieldApiCoverage": ".types",
|
|
348
|
+
"RemoteFieldApiResponse": ".types",
|
|
349
|
+
"RemoteFieldClass": ".types",
|
|
350
|
+
"RemoteFieldClassFieldChoicesItem": ".types",
|
|
351
|
+
"RemoteFieldClassFieldFormat": ".types",
|
|
352
|
+
"RemoteFieldClassFieldType": ".types",
|
|
353
|
+
"RemoteFieldRemoteFieldClass": ".types",
|
|
354
|
+
"RemoteFieldRequest": ".types",
|
|
355
|
+
"RemoteFieldRequestRemoteFieldClass": ".types",
|
|
356
|
+
"RemoteKey": ".types",
|
|
357
|
+
"RemoteResponse": ".types",
|
|
358
|
+
"RequestFormatEnum": ".types",
|
|
359
|
+
"ResponseTypeEnum": ".types",
|
|
360
|
+
"Role": ".types",
|
|
361
|
+
"RoleEnum": ".types",
|
|
362
|
+
"RoleTicketAccess": ".types",
|
|
363
|
+
"RoleTicketActionsItem": ".types",
|
|
364
|
+
"SelectiveSyncConfigurationsUsageEnum": ".types",
|
|
365
|
+
"StatusFd5Enum": ".types",
|
|
366
|
+
"SyncStatus": ".types",
|
|
367
|
+
"SyncStatusLastSyncResult": ".types",
|
|
368
|
+
"Tag": ".types",
|
|
369
|
+
"Team": ".types",
|
|
370
|
+
"Ticket": ".types",
|
|
371
|
+
"TicketAccessEnum": ".types",
|
|
372
|
+
"TicketAccessLevel": ".types",
|
|
373
|
+
"TicketAccessLevelEnum": ".types",
|
|
374
|
+
"TicketAccount": ".types",
|
|
375
|
+
"TicketActionsEnum": ".types",
|
|
376
|
+
"TicketAssignedTeamsItem": ".types",
|
|
377
|
+
"TicketAssigneesItem": ".types",
|
|
378
|
+
"TicketAttachmentsItem": ".types",
|
|
379
|
+
"TicketCollectionsItem": ".types",
|
|
380
|
+
"TicketContact": ".types",
|
|
381
|
+
"TicketCreator": ".types",
|
|
382
|
+
"TicketParentTicket": ".types",
|
|
383
|
+
"TicketPriority": ".types",
|
|
384
|
+
"TicketRequest": ".types",
|
|
385
|
+
"TicketRequestAccessLevel": ".types",
|
|
386
|
+
"TicketRequestAccount": ".types",
|
|
387
|
+
"TicketRequestAssignedTeamsItem": ".types",
|
|
388
|
+
"TicketRequestAssigneesItem": ".types",
|
|
389
|
+
"TicketRequestAttachmentsItem": ".types",
|
|
390
|
+
"TicketRequestCollectionsItem": ".types",
|
|
391
|
+
"TicketRequestContact": ".types",
|
|
392
|
+
"TicketRequestCreator": ".types",
|
|
393
|
+
"TicketRequestParentTicket": ".types",
|
|
394
|
+
"TicketRequestPriority": ".types",
|
|
395
|
+
"TicketRequestStatus": ".types",
|
|
396
|
+
"TicketResponse": ".types",
|
|
397
|
+
"TicketStatus": ".types",
|
|
398
|
+
"TicketStatusEnum": ".types",
|
|
399
|
+
"TicketingAttachmentResponse": ".types",
|
|
400
|
+
"TicketingContactResponse": ".types",
|
|
401
|
+
"TicketsListRequestExpand": ".resources",
|
|
402
|
+
"TicketsListRequestPriority": ".resources",
|
|
403
|
+
"TicketsListRequestRemoteFields": ".resources",
|
|
404
|
+
"TicketsListRequestShowEnumOrigins": ".resources",
|
|
405
|
+
"TicketsRetrieveRequestExpand": ".resources",
|
|
406
|
+
"TicketsRetrieveRequestRemoteFields": ".resources",
|
|
407
|
+
"TicketsRetrieveRequestShowEnumOrigins": ".resources",
|
|
408
|
+
"TicketsViewersListRequestExpand": ".resources",
|
|
409
|
+
"User": ".types",
|
|
410
|
+
"UserRolesItem": ".types",
|
|
411
|
+
"UserTeamsItem": ".types",
|
|
412
|
+
"UsersListRequestExpand": ".resources",
|
|
413
|
+
"UsersRetrieveRequestExpand": ".resources",
|
|
414
|
+
"ValidationProblemSource": ".types",
|
|
415
|
+
"Viewer": ".types",
|
|
416
|
+
"ViewerTeam": ".types",
|
|
417
|
+
"ViewerUser": ".types",
|
|
418
|
+
"WarningValidationProblem": ".types",
|
|
419
|
+
"WebhookReceiver": ".types",
|
|
420
|
+
"account_details": ".resources",
|
|
421
|
+
"account_token": ".resources",
|
|
422
|
+
"accounts": ".resources",
|
|
423
|
+
"async_passthrough": ".resources",
|
|
424
|
+
"attachments": ".resources",
|
|
425
|
+
"audit_trail": ".resources",
|
|
426
|
+
"available_actions": ".resources",
|
|
427
|
+
"collections": ".resources",
|
|
428
|
+
"comments": ".resources",
|
|
429
|
+
"contacts": ".resources",
|
|
430
|
+
"delete_account": ".resources",
|
|
431
|
+
"field_mapping": ".resources",
|
|
432
|
+
"force_resync": ".resources",
|
|
433
|
+
"generate_key": ".resources",
|
|
434
|
+
"issues": ".resources",
|
|
435
|
+
"link_token": ".resources",
|
|
436
|
+
"linked_accounts": ".resources",
|
|
437
|
+
"passthrough": ".resources",
|
|
438
|
+
"projects": ".resources",
|
|
439
|
+
"regenerate_key": ".resources",
|
|
440
|
+
"roles": ".resources",
|
|
441
|
+
"scopes": ".resources",
|
|
442
|
+
"sync_status": ".resources",
|
|
443
|
+
"tags": ".resources",
|
|
444
|
+
"teams": ".resources",
|
|
445
|
+
"tickets": ".resources",
|
|
446
|
+
"users": ".resources",
|
|
447
|
+
"webhook_receivers": ".resources",
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
452
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
453
|
+
if module_name is None:
|
|
454
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
455
|
+
try:
|
|
456
|
+
module = import_module(module_name, __package__)
|
|
457
|
+
result = getattr(module, attr_name)
|
|
458
|
+
return result
|
|
459
|
+
except ImportError as e:
|
|
460
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
461
|
+
except AttributeError as e:
|
|
462
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
def __dir__():
|
|
466
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
467
|
+
return sorted(lazy_attrs)
|
|
468
|
+
|
|
226
469
|
|
|
227
470
|
__all__ = [
|
|
228
471
|
"Account",
|