files-com 1.6.208__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.
Potentially problematic release.
This version of files-com might be problematic. Click here for more details.
- README.md +758 -0
- _VERSION +1 -0
- files_com-1.6.208.dist-info/METADATA +770 -0
- files_com-1.6.208.dist-info/RECORD +126 -0
- files_com-1.6.208.dist-info/WHEEL +5 -0
- files_com-1.6.208.dist-info/licenses/LICENSE +21 -0
- files_com-1.6.208.dist-info/top_level.txt +1 -0
- files_sdk/__init__.py +309 -0
- files_sdk/api.py +63 -0
- files_sdk/api_client.py +336 -0
- files_sdk/error.py +2981 -0
- files_sdk/list_obj.py +42 -0
- files_sdk/models/__init__.py +119 -0
- files_sdk/models/account_line_item.py +51 -0
- files_sdk/models/action.py +49 -0
- files_sdk/models/action_notification_export.py +153 -0
- files_sdk/models/action_notification_export_result.py +88 -0
- files_sdk/models/agent_push_update.py +44 -0
- files_sdk/models/api_key.py +318 -0
- files_sdk/models/api_request_log.py +105 -0
- files_sdk/models/app.py +89 -0
- files_sdk/models/as2_incoming_message.py +117 -0
- files_sdk/models/as2_outgoing_message.py +113 -0
- files_sdk/models/as2_partner.py +415 -0
- files_sdk/models/as2_station.py +282 -0
- files_sdk/models/auto.py +36 -0
- files_sdk/models/automation.py +823 -0
- files_sdk/models/automation_log.py +94 -0
- files_sdk/models/automation_run.py +112 -0
- files_sdk/models/bandwidth_snapshot.py +91 -0
- files_sdk/models/behavior.py +340 -0
- files_sdk/models/bundle.py +686 -0
- files_sdk/models/bundle_action.py +93 -0
- files_sdk/models/bundle_download.py +94 -0
- files_sdk/models/bundle_notification.py +252 -0
- files_sdk/models/bundle_path.py +37 -0
- files_sdk/models/bundle_recipient.py +133 -0
- files_sdk/models/bundle_registration.py +82 -0
- files_sdk/models/child_site_management_policy.py +278 -0
- files_sdk/models/clickwrap.py +268 -0
- files_sdk/models/dns_record.py +59 -0
- files_sdk/models/email_incoming_message.py +102 -0
- files_sdk/models/email_log.py +84 -0
- files_sdk/models/errors.py +37 -0
- files_sdk/models/exavault_api_request_log.py +102 -0
- files_sdk/models/external_event.py +148 -0
- files_sdk/models/file.py +851 -0
- files_sdk/models/file_action.py +39 -0
- files_sdk/models/file_comment.py +191 -0
- files_sdk/models/file_comment_reaction.py +125 -0
- files_sdk/models/file_migration.py +69 -0
- files_sdk/models/file_migration_log.py +88 -0
- files_sdk/models/file_upload_part.py +54 -0
- files_sdk/models/folder.py +186 -0
- files_sdk/models/form_field.py +43 -0
- files_sdk/models/form_field_set.py +265 -0
- files_sdk/models/ftp_action_log.py +104 -0
- files_sdk/models/gpg_key.py +333 -0
- files_sdk/models/group.py +338 -0
- files_sdk/models/group_user.py +235 -0
- files_sdk/models/history.py +236 -0
- files_sdk/models/history_export.py +238 -0
- files_sdk/models/history_export_result.py +98 -0
- files_sdk/models/holiday_region.py +58 -0
- files_sdk/models/image.py +37 -0
- files_sdk/models/inbound_s3_log.py +95 -0
- files_sdk/models/inbox_recipient.py +124 -0
- files_sdk/models/inbox_registration.py +79 -0
- files_sdk/models/inbox_upload.py +80 -0
- files_sdk/models/invoice.py +91 -0
- files_sdk/models/invoice_line_item.py +51 -0
- files_sdk/models/ip_address.py +119 -0
- files_sdk/models/key_lifecycle_rule.py +243 -0
- files_sdk/models/lock.py +174 -0
- files_sdk/models/message.py +244 -0
- files_sdk/models/message_comment.py +223 -0
- files_sdk/models/message_comment_reaction.py +181 -0
- files_sdk/models/message_reaction.py +170 -0
- files_sdk/models/notification.py +451 -0
- files_sdk/models/outbound_connection_log.py +105 -0
- files_sdk/models/partner.py +307 -0
- files_sdk/models/payment.py +91 -0
- files_sdk/models/payment_line_item.py +42 -0
- files_sdk/models/permission.py +190 -0
- files_sdk/models/preview.py +40 -0
- files_sdk/models/priority.py +63 -0
- files_sdk/models/project.py +205 -0
- files_sdk/models/public_hosting_request_log.py +101 -0
- files_sdk/models/public_ip_address.py +42 -0
- files_sdk/models/public_key.py +269 -0
- files_sdk/models/remote_bandwidth_snapshot.py +91 -0
- files_sdk/models/remote_mount_backend.py +438 -0
- files_sdk/models/remote_server.py +1854 -0
- files_sdk/models/remote_server_configuration_file.py +73 -0
- files_sdk/models/remote_server_credential.py +855 -0
- files_sdk/models/request.py +184 -0
- files_sdk/models/restore.py +142 -0
- files_sdk/models/scim_log.py +88 -0
- files_sdk/models/session.py +100 -0
- files_sdk/models/settings_change.py +71 -0
- files_sdk/models/sftp_action_log.py +108 -0
- files_sdk/models/sftp_host_key.py +215 -0
- files_sdk/models/share_group.py +228 -0
- files_sdk/models/share_group_member.py +41 -0
- files_sdk/models/siem_http_destination.py +1074 -0
- files_sdk/models/site.py +1289 -0
- files_sdk/models/snapshot.py +255 -0
- files_sdk/models/sso_strategy.py +168 -0
- files_sdk/models/status.py +42 -0
- files_sdk/models/style.py +152 -0
- files_sdk/models/sync.py +588 -0
- files_sdk/models/sync_log.py +86 -0
- files_sdk/models/sync_run.py +124 -0
- files_sdk/models/usage_by_top_level_dir.py +41 -0
- files_sdk/models/usage_daily_snapshot.py +93 -0
- files_sdk/models/usage_snapshot.py +73 -0
- files_sdk/models/user.py +1232 -0
- files_sdk/models/user_cipher_use.py +91 -0
- files_sdk/models/user_lifecycle_rule.py +355 -0
- files_sdk/models/user_request.py +166 -0
- files_sdk/models/user_sftp_client_use.py +68 -0
- files_sdk/models/web_dav_action_log.py +104 -0
- files_sdk/models/webhook_test.py +116 -0
- files_sdk/models/workspace.py +202 -0
- files_sdk/path_util.py +42 -0
- files_sdk/util.py +34 -0
files_sdk/error.py
ADDED
|
@@ -0,0 +1,2981 @@
|
|
|
1
|
+
class Error(Exception):
|
|
2
|
+
def __init__(
|
|
3
|
+
self,
|
|
4
|
+
message=None,
|
|
5
|
+
http_body=None,
|
|
6
|
+
http_status=None,
|
|
7
|
+
json_body=None,
|
|
8
|
+
headers=None,
|
|
9
|
+
code=None,
|
|
10
|
+
):
|
|
11
|
+
super().__init__(message)
|
|
12
|
+
|
|
13
|
+
if http_body and hasattr(http_body, "decode"):
|
|
14
|
+
try:
|
|
15
|
+
http_body = http_body.decode("utf-8")
|
|
16
|
+
except BaseException:
|
|
17
|
+
http_body = "<Could not decode body as utf-8. "
|
|
18
|
+
|
|
19
|
+
self._message = message
|
|
20
|
+
self.http_body = http_body
|
|
21
|
+
self.http_status = http_status
|
|
22
|
+
self.json_body = json_body
|
|
23
|
+
self.headers = headers or {}
|
|
24
|
+
self.code = code
|
|
25
|
+
self.response = None
|
|
26
|
+
|
|
27
|
+
def __str__(self):
|
|
28
|
+
msg = ""
|
|
29
|
+
if self.http_status:
|
|
30
|
+
msg += "HTTP {} ".format(self.http_status)
|
|
31
|
+
if self._message:
|
|
32
|
+
msg += self._message
|
|
33
|
+
return msg
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class APIConnectionError(Error):
|
|
37
|
+
pass
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class APIError(Error):
|
|
41
|
+
def __init__(
|
|
42
|
+
self,
|
|
43
|
+
message=None,
|
|
44
|
+
http_body=None,
|
|
45
|
+
http_status=None,
|
|
46
|
+
json_body=None,
|
|
47
|
+
headers=None,
|
|
48
|
+
code=None,
|
|
49
|
+
):
|
|
50
|
+
super().__init__(
|
|
51
|
+
message, http_body, http_status, json_body, headers, code
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
if json_body is None:
|
|
55
|
+
return
|
|
56
|
+
|
|
57
|
+
self.detail = json_body.get("detail")
|
|
58
|
+
self.error = json_body.get("error")
|
|
59
|
+
self.errors = json_body.get("errors")
|
|
60
|
+
self.http_code = json_body.get("http-code")
|
|
61
|
+
self.instance = json_body.get("instance")
|
|
62
|
+
self.model_errors = json_body.get("model-errors")
|
|
63
|
+
self.title = json_body.get("title")
|
|
64
|
+
self.error_type = json_body.get("type")
|
|
65
|
+
self.data = json_body.get("data")
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
class AuthenticationError(Error):
|
|
69
|
+
pass
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
class InvalidRequestError(Error):
|
|
73
|
+
pass
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class NotImplementedError(Error):
|
|
77
|
+
pass
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class PermissionsError(Error):
|
|
81
|
+
pass
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
class RateLimitError(Error):
|
|
85
|
+
pass
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
class ValidationError(Error):
|
|
89
|
+
pass
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
class InvalidParameterError(InvalidRequestError):
|
|
93
|
+
pass
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
class MissingParameterError(InvalidRequestError):
|
|
97
|
+
pass
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
class BadRequestError(APIError):
|
|
101
|
+
def __init__(
|
|
102
|
+
self,
|
|
103
|
+
message=None,
|
|
104
|
+
http_body=None,
|
|
105
|
+
http_status=None,
|
|
106
|
+
json_body=None,
|
|
107
|
+
headers=None,
|
|
108
|
+
code=None,
|
|
109
|
+
):
|
|
110
|
+
super().__init__(
|
|
111
|
+
message, http_body, http_status, json_body, headers, code
|
|
112
|
+
)
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
class AgentUpgradeRequiredError(BadRequestError):
|
|
116
|
+
def __init__(
|
|
117
|
+
self,
|
|
118
|
+
message=None,
|
|
119
|
+
http_body=None,
|
|
120
|
+
http_status=None,
|
|
121
|
+
json_body=None,
|
|
122
|
+
headers=None,
|
|
123
|
+
code=None,
|
|
124
|
+
):
|
|
125
|
+
super().__init__(
|
|
126
|
+
message, http_body, http_status, json_body, headers, code
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
class AttachmentTooLargeError(BadRequestError):
|
|
131
|
+
def __init__(
|
|
132
|
+
self,
|
|
133
|
+
message=None,
|
|
134
|
+
http_body=None,
|
|
135
|
+
http_status=None,
|
|
136
|
+
json_body=None,
|
|
137
|
+
headers=None,
|
|
138
|
+
code=None,
|
|
139
|
+
):
|
|
140
|
+
super().__init__(
|
|
141
|
+
message, http_body, http_status, json_body, headers, code
|
|
142
|
+
)
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
class CannotDownloadDirectoryError(BadRequestError):
|
|
146
|
+
def __init__(
|
|
147
|
+
self,
|
|
148
|
+
message=None,
|
|
149
|
+
http_body=None,
|
|
150
|
+
http_status=None,
|
|
151
|
+
json_body=None,
|
|
152
|
+
headers=None,
|
|
153
|
+
code=None,
|
|
154
|
+
):
|
|
155
|
+
super().__init__(
|
|
156
|
+
message, http_body, http_status, json_body, headers, code
|
|
157
|
+
)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
class CantMoveWithMultipleLocationsError(BadRequestError):
|
|
161
|
+
def __init__(
|
|
162
|
+
self,
|
|
163
|
+
message=None,
|
|
164
|
+
http_body=None,
|
|
165
|
+
http_status=None,
|
|
166
|
+
json_body=None,
|
|
167
|
+
headers=None,
|
|
168
|
+
code=None,
|
|
169
|
+
):
|
|
170
|
+
super().__init__(
|
|
171
|
+
message, http_body, http_status, json_body, headers, code
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
class DatetimeParseError(BadRequestError):
|
|
176
|
+
def __init__(
|
|
177
|
+
self,
|
|
178
|
+
message=None,
|
|
179
|
+
http_body=None,
|
|
180
|
+
http_status=None,
|
|
181
|
+
json_body=None,
|
|
182
|
+
headers=None,
|
|
183
|
+
code=None,
|
|
184
|
+
):
|
|
185
|
+
super().__init__(
|
|
186
|
+
message, http_body, http_status, json_body, headers, code
|
|
187
|
+
)
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
class DestinationSameError(BadRequestError):
|
|
191
|
+
def __init__(
|
|
192
|
+
self,
|
|
193
|
+
message=None,
|
|
194
|
+
http_body=None,
|
|
195
|
+
http_status=None,
|
|
196
|
+
json_body=None,
|
|
197
|
+
headers=None,
|
|
198
|
+
code=None,
|
|
199
|
+
):
|
|
200
|
+
super().__init__(
|
|
201
|
+
message, http_body, http_status, json_body, headers, code
|
|
202
|
+
)
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
class DoesNotSupportSortingError(BadRequestError):
|
|
206
|
+
def __init__(
|
|
207
|
+
self,
|
|
208
|
+
message=None,
|
|
209
|
+
http_body=None,
|
|
210
|
+
http_status=None,
|
|
211
|
+
json_body=None,
|
|
212
|
+
headers=None,
|
|
213
|
+
code=None,
|
|
214
|
+
):
|
|
215
|
+
super().__init__(
|
|
216
|
+
message, http_body, http_status, json_body, headers, code
|
|
217
|
+
)
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
class FolderMustNotBeAFileError(BadRequestError):
|
|
221
|
+
def __init__(
|
|
222
|
+
self,
|
|
223
|
+
message=None,
|
|
224
|
+
http_body=None,
|
|
225
|
+
http_status=None,
|
|
226
|
+
json_body=None,
|
|
227
|
+
headers=None,
|
|
228
|
+
code=None,
|
|
229
|
+
):
|
|
230
|
+
super().__init__(
|
|
231
|
+
message, http_body, http_status, json_body, headers, code
|
|
232
|
+
)
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
class FoldersNotAllowedError(BadRequestError):
|
|
236
|
+
def __init__(
|
|
237
|
+
self,
|
|
238
|
+
message=None,
|
|
239
|
+
http_body=None,
|
|
240
|
+
http_status=None,
|
|
241
|
+
json_body=None,
|
|
242
|
+
headers=None,
|
|
243
|
+
code=None,
|
|
244
|
+
):
|
|
245
|
+
super().__init__(
|
|
246
|
+
message, http_body, http_status, json_body, headers, code
|
|
247
|
+
)
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
class InvalidBodyError(BadRequestError):
|
|
251
|
+
def __init__(
|
|
252
|
+
self,
|
|
253
|
+
message=None,
|
|
254
|
+
http_body=None,
|
|
255
|
+
http_status=None,
|
|
256
|
+
json_body=None,
|
|
257
|
+
headers=None,
|
|
258
|
+
code=None,
|
|
259
|
+
):
|
|
260
|
+
super().__init__(
|
|
261
|
+
message, http_body, http_status, json_body, headers, code
|
|
262
|
+
)
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
class InvalidCursorError(BadRequestError):
|
|
266
|
+
def __init__(
|
|
267
|
+
self,
|
|
268
|
+
message=None,
|
|
269
|
+
http_body=None,
|
|
270
|
+
http_status=None,
|
|
271
|
+
json_body=None,
|
|
272
|
+
headers=None,
|
|
273
|
+
code=None,
|
|
274
|
+
):
|
|
275
|
+
super().__init__(
|
|
276
|
+
message, http_body, http_status, json_body, headers, code
|
|
277
|
+
)
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
class InvalidCursorTypeForSortError(BadRequestError):
|
|
281
|
+
def __init__(
|
|
282
|
+
self,
|
|
283
|
+
message=None,
|
|
284
|
+
http_body=None,
|
|
285
|
+
http_status=None,
|
|
286
|
+
json_body=None,
|
|
287
|
+
headers=None,
|
|
288
|
+
code=None,
|
|
289
|
+
):
|
|
290
|
+
super().__init__(
|
|
291
|
+
message, http_body, http_status, json_body, headers, code
|
|
292
|
+
)
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
class InvalidEtagsError(BadRequestError):
|
|
296
|
+
def __init__(
|
|
297
|
+
self,
|
|
298
|
+
message=None,
|
|
299
|
+
http_body=None,
|
|
300
|
+
http_status=None,
|
|
301
|
+
json_body=None,
|
|
302
|
+
headers=None,
|
|
303
|
+
code=None,
|
|
304
|
+
):
|
|
305
|
+
super().__init__(
|
|
306
|
+
message, http_body, http_status, json_body, headers, code
|
|
307
|
+
)
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
class InvalidFilterAliasCombinationError(BadRequestError):
|
|
311
|
+
def __init__(
|
|
312
|
+
self,
|
|
313
|
+
message=None,
|
|
314
|
+
http_body=None,
|
|
315
|
+
http_status=None,
|
|
316
|
+
json_body=None,
|
|
317
|
+
headers=None,
|
|
318
|
+
code=None,
|
|
319
|
+
):
|
|
320
|
+
super().__init__(
|
|
321
|
+
message, http_body, http_status, json_body, headers, code
|
|
322
|
+
)
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
class InvalidFilterFieldError(BadRequestError):
|
|
326
|
+
def __init__(
|
|
327
|
+
self,
|
|
328
|
+
message=None,
|
|
329
|
+
http_body=None,
|
|
330
|
+
http_status=None,
|
|
331
|
+
json_body=None,
|
|
332
|
+
headers=None,
|
|
333
|
+
code=None,
|
|
334
|
+
):
|
|
335
|
+
super().__init__(
|
|
336
|
+
message, http_body, http_status, json_body, headers, code
|
|
337
|
+
)
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
class InvalidFilterParamError(BadRequestError):
|
|
341
|
+
def __init__(
|
|
342
|
+
self,
|
|
343
|
+
message=None,
|
|
344
|
+
http_body=None,
|
|
345
|
+
http_status=None,
|
|
346
|
+
json_body=None,
|
|
347
|
+
headers=None,
|
|
348
|
+
code=None,
|
|
349
|
+
):
|
|
350
|
+
super().__init__(
|
|
351
|
+
message, http_body, http_status, json_body, headers, code
|
|
352
|
+
)
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
class InvalidFilterParamFormatError(BadRequestError):
|
|
356
|
+
def __init__(
|
|
357
|
+
self,
|
|
358
|
+
message=None,
|
|
359
|
+
http_body=None,
|
|
360
|
+
http_status=None,
|
|
361
|
+
json_body=None,
|
|
362
|
+
headers=None,
|
|
363
|
+
code=None,
|
|
364
|
+
):
|
|
365
|
+
super().__init__(
|
|
366
|
+
message, http_body, http_status, json_body, headers, code
|
|
367
|
+
)
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
class InvalidFilterParamValueError(BadRequestError):
|
|
371
|
+
def __init__(
|
|
372
|
+
self,
|
|
373
|
+
message=None,
|
|
374
|
+
http_body=None,
|
|
375
|
+
http_status=None,
|
|
376
|
+
json_body=None,
|
|
377
|
+
headers=None,
|
|
378
|
+
code=None,
|
|
379
|
+
):
|
|
380
|
+
super().__init__(
|
|
381
|
+
message, http_body, http_status, json_body, headers, code
|
|
382
|
+
)
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
class InvalidInputEncodingError(BadRequestError):
|
|
386
|
+
def __init__(
|
|
387
|
+
self,
|
|
388
|
+
message=None,
|
|
389
|
+
http_body=None,
|
|
390
|
+
http_status=None,
|
|
391
|
+
json_body=None,
|
|
392
|
+
headers=None,
|
|
393
|
+
code=None,
|
|
394
|
+
):
|
|
395
|
+
super().__init__(
|
|
396
|
+
message, http_body, http_status, json_body, headers, code
|
|
397
|
+
)
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
class InvalidInterfaceError(BadRequestError):
|
|
401
|
+
def __init__(
|
|
402
|
+
self,
|
|
403
|
+
message=None,
|
|
404
|
+
http_body=None,
|
|
405
|
+
http_status=None,
|
|
406
|
+
json_body=None,
|
|
407
|
+
headers=None,
|
|
408
|
+
code=None,
|
|
409
|
+
):
|
|
410
|
+
super().__init__(
|
|
411
|
+
message, http_body, http_status, json_body, headers, code
|
|
412
|
+
)
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
class InvalidOauthProviderError(BadRequestError):
|
|
416
|
+
def __init__(
|
|
417
|
+
self,
|
|
418
|
+
message=None,
|
|
419
|
+
http_body=None,
|
|
420
|
+
http_status=None,
|
|
421
|
+
json_body=None,
|
|
422
|
+
headers=None,
|
|
423
|
+
code=None,
|
|
424
|
+
):
|
|
425
|
+
super().__init__(
|
|
426
|
+
message, http_body, http_status, json_body, headers, code
|
|
427
|
+
)
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
class InvalidPathError(BadRequestError):
|
|
431
|
+
def __init__(
|
|
432
|
+
self,
|
|
433
|
+
message=None,
|
|
434
|
+
http_body=None,
|
|
435
|
+
http_status=None,
|
|
436
|
+
json_body=None,
|
|
437
|
+
headers=None,
|
|
438
|
+
code=None,
|
|
439
|
+
):
|
|
440
|
+
super().__init__(
|
|
441
|
+
message, http_body, http_status, json_body, headers, code
|
|
442
|
+
)
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
class InvalidReturnToUrlError(BadRequestError):
|
|
446
|
+
def __init__(
|
|
447
|
+
self,
|
|
448
|
+
message=None,
|
|
449
|
+
http_body=None,
|
|
450
|
+
http_status=None,
|
|
451
|
+
json_body=None,
|
|
452
|
+
headers=None,
|
|
453
|
+
code=None,
|
|
454
|
+
):
|
|
455
|
+
super().__init__(
|
|
456
|
+
message, http_body, http_status, json_body, headers, code
|
|
457
|
+
)
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
class InvalidSortFieldError(BadRequestError):
|
|
461
|
+
def __init__(
|
|
462
|
+
self,
|
|
463
|
+
message=None,
|
|
464
|
+
http_body=None,
|
|
465
|
+
http_status=None,
|
|
466
|
+
json_body=None,
|
|
467
|
+
headers=None,
|
|
468
|
+
code=None,
|
|
469
|
+
):
|
|
470
|
+
super().__init__(
|
|
471
|
+
message, http_body, http_status, json_body, headers, code
|
|
472
|
+
)
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
class InvalidSortFilterCombinationError(BadRequestError):
|
|
476
|
+
def __init__(
|
|
477
|
+
self,
|
|
478
|
+
message=None,
|
|
479
|
+
http_body=None,
|
|
480
|
+
http_status=None,
|
|
481
|
+
json_body=None,
|
|
482
|
+
headers=None,
|
|
483
|
+
code=None,
|
|
484
|
+
):
|
|
485
|
+
super().__init__(
|
|
486
|
+
message, http_body, http_status, json_body, headers, code
|
|
487
|
+
)
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
class InvalidUploadOffsetError(BadRequestError):
|
|
491
|
+
def __init__(
|
|
492
|
+
self,
|
|
493
|
+
message=None,
|
|
494
|
+
http_body=None,
|
|
495
|
+
http_status=None,
|
|
496
|
+
json_body=None,
|
|
497
|
+
headers=None,
|
|
498
|
+
code=None,
|
|
499
|
+
):
|
|
500
|
+
super().__init__(
|
|
501
|
+
message, http_body, http_status, json_body, headers, code
|
|
502
|
+
)
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
class InvalidUploadPartGapError(BadRequestError):
|
|
506
|
+
def __init__(
|
|
507
|
+
self,
|
|
508
|
+
message=None,
|
|
509
|
+
http_body=None,
|
|
510
|
+
http_status=None,
|
|
511
|
+
json_body=None,
|
|
512
|
+
headers=None,
|
|
513
|
+
code=None,
|
|
514
|
+
):
|
|
515
|
+
super().__init__(
|
|
516
|
+
message, http_body, http_status, json_body, headers, code
|
|
517
|
+
)
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
class InvalidUploadPartSizeError(BadRequestError):
|
|
521
|
+
def __init__(
|
|
522
|
+
self,
|
|
523
|
+
message=None,
|
|
524
|
+
http_body=None,
|
|
525
|
+
http_status=None,
|
|
526
|
+
json_body=None,
|
|
527
|
+
headers=None,
|
|
528
|
+
code=None,
|
|
529
|
+
):
|
|
530
|
+
super().__init__(
|
|
531
|
+
message, http_body, http_status, json_body, headers, code
|
|
532
|
+
)
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
class MethodNotAllowedError(BadRequestError):
|
|
536
|
+
def __init__(
|
|
537
|
+
self,
|
|
538
|
+
message=None,
|
|
539
|
+
http_body=None,
|
|
540
|
+
http_status=None,
|
|
541
|
+
json_body=None,
|
|
542
|
+
headers=None,
|
|
543
|
+
code=None,
|
|
544
|
+
):
|
|
545
|
+
super().__init__(
|
|
546
|
+
message, http_body, http_status, json_body, headers, code
|
|
547
|
+
)
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
class MultipleSortParamsNotAllowedError(BadRequestError):
|
|
551
|
+
def __init__(
|
|
552
|
+
self,
|
|
553
|
+
message=None,
|
|
554
|
+
http_body=None,
|
|
555
|
+
http_status=None,
|
|
556
|
+
json_body=None,
|
|
557
|
+
headers=None,
|
|
558
|
+
code=None,
|
|
559
|
+
):
|
|
560
|
+
super().__init__(
|
|
561
|
+
message, http_body, http_status, json_body, headers, code
|
|
562
|
+
)
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
class NoValidInputParamsError(BadRequestError):
|
|
566
|
+
def __init__(
|
|
567
|
+
self,
|
|
568
|
+
message=None,
|
|
569
|
+
http_body=None,
|
|
570
|
+
http_status=None,
|
|
571
|
+
json_body=None,
|
|
572
|
+
headers=None,
|
|
573
|
+
code=None,
|
|
574
|
+
):
|
|
575
|
+
super().__init__(
|
|
576
|
+
message, http_body, http_status, json_body, headers, code
|
|
577
|
+
)
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
class PartNumberTooLargeError(BadRequestError):
|
|
581
|
+
def __init__(
|
|
582
|
+
self,
|
|
583
|
+
message=None,
|
|
584
|
+
http_body=None,
|
|
585
|
+
http_status=None,
|
|
586
|
+
json_body=None,
|
|
587
|
+
headers=None,
|
|
588
|
+
code=None,
|
|
589
|
+
):
|
|
590
|
+
super().__init__(
|
|
591
|
+
message, http_body, http_status, json_body, headers, code
|
|
592
|
+
)
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
class PathCannotHaveTrailingWhitespaceError(BadRequestError):
|
|
596
|
+
def __init__(
|
|
597
|
+
self,
|
|
598
|
+
message=None,
|
|
599
|
+
http_body=None,
|
|
600
|
+
http_status=None,
|
|
601
|
+
json_body=None,
|
|
602
|
+
headers=None,
|
|
603
|
+
code=None,
|
|
604
|
+
):
|
|
605
|
+
super().__init__(
|
|
606
|
+
message, http_body, http_status, json_body, headers, code
|
|
607
|
+
)
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
class ReauthenticationNeededFieldsError(BadRequestError):
|
|
611
|
+
def __init__(
|
|
612
|
+
self,
|
|
613
|
+
message=None,
|
|
614
|
+
http_body=None,
|
|
615
|
+
http_status=None,
|
|
616
|
+
json_body=None,
|
|
617
|
+
headers=None,
|
|
618
|
+
code=None,
|
|
619
|
+
):
|
|
620
|
+
super().__init__(
|
|
621
|
+
message, http_body, http_status, json_body, headers, code
|
|
622
|
+
)
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
class RequestParamsContainInvalidCharacterError(BadRequestError):
|
|
626
|
+
def __init__(
|
|
627
|
+
self,
|
|
628
|
+
message=None,
|
|
629
|
+
http_body=None,
|
|
630
|
+
http_status=None,
|
|
631
|
+
json_body=None,
|
|
632
|
+
headers=None,
|
|
633
|
+
code=None,
|
|
634
|
+
):
|
|
635
|
+
super().__init__(
|
|
636
|
+
message, http_body, http_status, json_body, headers, code
|
|
637
|
+
)
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
class RequestParamsInvalidError(BadRequestError):
|
|
641
|
+
def __init__(
|
|
642
|
+
self,
|
|
643
|
+
message=None,
|
|
644
|
+
http_body=None,
|
|
645
|
+
http_status=None,
|
|
646
|
+
json_body=None,
|
|
647
|
+
headers=None,
|
|
648
|
+
code=None,
|
|
649
|
+
):
|
|
650
|
+
super().__init__(
|
|
651
|
+
message, http_body, http_status, json_body, headers, code
|
|
652
|
+
)
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
class RequestParamsRequiredError(BadRequestError):
|
|
656
|
+
def __init__(
|
|
657
|
+
self,
|
|
658
|
+
message=None,
|
|
659
|
+
http_body=None,
|
|
660
|
+
http_status=None,
|
|
661
|
+
json_body=None,
|
|
662
|
+
headers=None,
|
|
663
|
+
code=None,
|
|
664
|
+
):
|
|
665
|
+
super().__init__(
|
|
666
|
+
message, http_body, http_status, json_body, headers, code
|
|
667
|
+
)
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
class SearchAllOnChildPathError(BadRequestError):
|
|
671
|
+
def __init__(
|
|
672
|
+
self,
|
|
673
|
+
message=None,
|
|
674
|
+
http_body=None,
|
|
675
|
+
http_status=None,
|
|
676
|
+
json_body=None,
|
|
677
|
+
headers=None,
|
|
678
|
+
code=None,
|
|
679
|
+
):
|
|
680
|
+
super().__init__(
|
|
681
|
+
message, http_body, http_status, json_body, headers, code
|
|
682
|
+
)
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
class UnrecognizedSortIndexError(BadRequestError):
|
|
686
|
+
def __init__(
|
|
687
|
+
self,
|
|
688
|
+
message=None,
|
|
689
|
+
http_body=None,
|
|
690
|
+
http_status=None,
|
|
691
|
+
json_body=None,
|
|
692
|
+
headers=None,
|
|
693
|
+
code=None,
|
|
694
|
+
):
|
|
695
|
+
super().__init__(
|
|
696
|
+
message, http_body, http_status, json_body, headers, code
|
|
697
|
+
)
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
class UnsupportedCurrencyError(BadRequestError):
|
|
701
|
+
def __init__(
|
|
702
|
+
self,
|
|
703
|
+
message=None,
|
|
704
|
+
http_body=None,
|
|
705
|
+
http_status=None,
|
|
706
|
+
json_body=None,
|
|
707
|
+
headers=None,
|
|
708
|
+
code=None,
|
|
709
|
+
):
|
|
710
|
+
super().__init__(
|
|
711
|
+
message, http_body, http_status, json_body, headers, code
|
|
712
|
+
)
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
class UnsupportedHttpResponseFormatError(BadRequestError):
|
|
716
|
+
def __init__(
|
|
717
|
+
self,
|
|
718
|
+
message=None,
|
|
719
|
+
http_body=None,
|
|
720
|
+
http_status=None,
|
|
721
|
+
json_body=None,
|
|
722
|
+
headers=None,
|
|
723
|
+
code=None,
|
|
724
|
+
):
|
|
725
|
+
super().__init__(
|
|
726
|
+
message, http_body, http_status, json_body, headers, code
|
|
727
|
+
)
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
class UnsupportedMediaTypeError(BadRequestError):
|
|
731
|
+
def __init__(
|
|
732
|
+
self,
|
|
733
|
+
message=None,
|
|
734
|
+
http_body=None,
|
|
735
|
+
http_status=None,
|
|
736
|
+
json_body=None,
|
|
737
|
+
headers=None,
|
|
738
|
+
code=None,
|
|
739
|
+
):
|
|
740
|
+
super().__init__(
|
|
741
|
+
message, http_body, http_status, json_body, headers, code
|
|
742
|
+
)
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
class UserIdInvalidError(BadRequestError):
|
|
746
|
+
def __init__(
|
|
747
|
+
self,
|
|
748
|
+
message=None,
|
|
749
|
+
http_body=None,
|
|
750
|
+
http_status=None,
|
|
751
|
+
json_body=None,
|
|
752
|
+
headers=None,
|
|
753
|
+
code=None,
|
|
754
|
+
):
|
|
755
|
+
super().__init__(
|
|
756
|
+
message, http_body, http_status, json_body, headers, code
|
|
757
|
+
)
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
class UserIdOnUserEndpointError(BadRequestError):
|
|
761
|
+
def __init__(
|
|
762
|
+
self,
|
|
763
|
+
message=None,
|
|
764
|
+
http_body=None,
|
|
765
|
+
http_status=None,
|
|
766
|
+
json_body=None,
|
|
767
|
+
headers=None,
|
|
768
|
+
code=None,
|
|
769
|
+
):
|
|
770
|
+
super().__init__(
|
|
771
|
+
message, http_body, http_status, json_body, headers, code
|
|
772
|
+
)
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
class UserRequiredError(BadRequestError):
|
|
776
|
+
def __init__(
|
|
777
|
+
self,
|
|
778
|
+
message=None,
|
|
779
|
+
http_body=None,
|
|
780
|
+
http_status=None,
|
|
781
|
+
json_body=None,
|
|
782
|
+
headers=None,
|
|
783
|
+
code=None,
|
|
784
|
+
):
|
|
785
|
+
super().__init__(
|
|
786
|
+
message, http_body, http_status, json_body, headers, code
|
|
787
|
+
)
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
class NotAuthenticatedError(APIError):
|
|
791
|
+
def __init__(
|
|
792
|
+
self,
|
|
793
|
+
message=None,
|
|
794
|
+
http_body=None,
|
|
795
|
+
http_status=None,
|
|
796
|
+
json_body=None,
|
|
797
|
+
headers=None,
|
|
798
|
+
code=None,
|
|
799
|
+
):
|
|
800
|
+
super().__init__(
|
|
801
|
+
message, http_body, http_status, json_body, headers, code
|
|
802
|
+
)
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
class AdditionalAuthenticationRequiredError(NotAuthenticatedError):
|
|
806
|
+
def __init__(
|
|
807
|
+
self,
|
|
808
|
+
message=None,
|
|
809
|
+
http_body=None,
|
|
810
|
+
http_status=None,
|
|
811
|
+
json_body=None,
|
|
812
|
+
headers=None,
|
|
813
|
+
code=None,
|
|
814
|
+
):
|
|
815
|
+
super().__init__(
|
|
816
|
+
message, http_body, http_status, json_body, headers, code
|
|
817
|
+
)
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
class ApiKeySessionsNotSupportedError(NotAuthenticatedError):
|
|
821
|
+
def __init__(
|
|
822
|
+
self,
|
|
823
|
+
message=None,
|
|
824
|
+
http_body=None,
|
|
825
|
+
http_status=None,
|
|
826
|
+
json_body=None,
|
|
827
|
+
headers=None,
|
|
828
|
+
code=None,
|
|
829
|
+
):
|
|
830
|
+
super().__init__(
|
|
831
|
+
message, http_body, http_status, json_body, headers, code
|
|
832
|
+
)
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
class AuthenticationRequiredError(NotAuthenticatedError):
|
|
836
|
+
def __init__(
|
|
837
|
+
self,
|
|
838
|
+
message=None,
|
|
839
|
+
http_body=None,
|
|
840
|
+
http_status=None,
|
|
841
|
+
json_body=None,
|
|
842
|
+
headers=None,
|
|
843
|
+
code=None,
|
|
844
|
+
):
|
|
845
|
+
super().__init__(
|
|
846
|
+
message, http_body, http_status, json_body, headers, code
|
|
847
|
+
)
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
class BundleRegistrationCodeFailedError(NotAuthenticatedError):
|
|
851
|
+
def __init__(
|
|
852
|
+
self,
|
|
853
|
+
message=None,
|
|
854
|
+
http_body=None,
|
|
855
|
+
http_status=None,
|
|
856
|
+
json_body=None,
|
|
857
|
+
headers=None,
|
|
858
|
+
code=None,
|
|
859
|
+
):
|
|
860
|
+
super().__init__(
|
|
861
|
+
message, http_body, http_status, json_body, headers, code
|
|
862
|
+
)
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
class FilesAgentTokenFailedError(NotAuthenticatedError):
|
|
866
|
+
def __init__(
|
|
867
|
+
self,
|
|
868
|
+
message=None,
|
|
869
|
+
http_body=None,
|
|
870
|
+
http_status=None,
|
|
871
|
+
json_body=None,
|
|
872
|
+
headers=None,
|
|
873
|
+
code=None,
|
|
874
|
+
):
|
|
875
|
+
super().__init__(
|
|
876
|
+
message, http_body, http_status, json_body, headers, code
|
|
877
|
+
)
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
class InboxRegistrationCodeFailedError(NotAuthenticatedError):
|
|
881
|
+
def __init__(
|
|
882
|
+
self,
|
|
883
|
+
message=None,
|
|
884
|
+
http_body=None,
|
|
885
|
+
http_status=None,
|
|
886
|
+
json_body=None,
|
|
887
|
+
headers=None,
|
|
888
|
+
code=None,
|
|
889
|
+
):
|
|
890
|
+
super().__init__(
|
|
891
|
+
message, http_body, http_status, json_body, headers, code
|
|
892
|
+
)
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
class InvalidCredentialsError(NotAuthenticatedError):
|
|
896
|
+
def __init__(
|
|
897
|
+
self,
|
|
898
|
+
message=None,
|
|
899
|
+
http_body=None,
|
|
900
|
+
http_status=None,
|
|
901
|
+
json_body=None,
|
|
902
|
+
headers=None,
|
|
903
|
+
code=None,
|
|
904
|
+
):
|
|
905
|
+
super().__init__(
|
|
906
|
+
message, http_body, http_status, json_body, headers, code
|
|
907
|
+
)
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
class InvalidOauthError(NotAuthenticatedError):
|
|
911
|
+
def __init__(
|
|
912
|
+
self,
|
|
913
|
+
message=None,
|
|
914
|
+
http_body=None,
|
|
915
|
+
http_status=None,
|
|
916
|
+
json_body=None,
|
|
917
|
+
headers=None,
|
|
918
|
+
code=None,
|
|
919
|
+
):
|
|
920
|
+
super().__init__(
|
|
921
|
+
message, http_body, http_status, json_body, headers, code
|
|
922
|
+
)
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
class InvalidOrExpiredCodeError(NotAuthenticatedError):
|
|
926
|
+
def __init__(
|
|
927
|
+
self,
|
|
928
|
+
message=None,
|
|
929
|
+
http_body=None,
|
|
930
|
+
http_status=None,
|
|
931
|
+
json_body=None,
|
|
932
|
+
headers=None,
|
|
933
|
+
code=None,
|
|
934
|
+
):
|
|
935
|
+
super().__init__(
|
|
936
|
+
message, http_body, http_status, json_body, headers, code
|
|
937
|
+
)
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
class InvalidSessionError(NotAuthenticatedError):
|
|
941
|
+
def __init__(
|
|
942
|
+
self,
|
|
943
|
+
message=None,
|
|
944
|
+
http_body=None,
|
|
945
|
+
http_status=None,
|
|
946
|
+
json_body=None,
|
|
947
|
+
headers=None,
|
|
948
|
+
code=None,
|
|
949
|
+
):
|
|
950
|
+
super().__init__(
|
|
951
|
+
message, http_body, http_status, json_body, headers, code
|
|
952
|
+
)
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
class InvalidUsernameOrPasswordError(NotAuthenticatedError):
|
|
956
|
+
def __init__(
|
|
957
|
+
self,
|
|
958
|
+
message=None,
|
|
959
|
+
http_body=None,
|
|
960
|
+
http_status=None,
|
|
961
|
+
json_body=None,
|
|
962
|
+
headers=None,
|
|
963
|
+
code=None,
|
|
964
|
+
):
|
|
965
|
+
super().__init__(
|
|
966
|
+
message, http_body, http_status, json_body, headers, code
|
|
967
|
+
)
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
class LockedOutError(NotAuthenticatedError):
|
|
971
|
+
def __init__(
|
|
972
|
+
self,
|
|
973
|
+
message=None,
|
|
974
|
+
http_body=None,
|
|
975
|
+
http_status=None,
|
|
976
|
+
json_body=None,
|
|
977
|
+
headers=None,
|
|
978
|
+
code=None,
|
|
979
|
+
):
|
|
980
|
+
super().__init__(
|
|
981
|
+
message, http_body, http_status, json_body, headers, code
|
|
982
|
+
)
|
|
983
|
+
|
|
984
|
+
|
|
985
|
+
class LockoutRegionMismatchError(NotAuthenticatedError):
|
|
986
|
+
def __init__(
|
|
987
|
+
self,
|
|
988
|
+
message=None,
|
|
989
|
+
http_body=None,
|
|
990
|
+
http_status=None,
|
|
991
|
+
json_body=None,
|
|
992
|
+
headers=None,
|
|
993
|
+
code=None,
|
|
994
|
+
):
|
|
995
|
+
super().__init__(
|
|
996
|
+
message, http_body, http_status, json_body, headers, code
|
|
997
|
+
)
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
class OneTimePasswordIncorrectError(NotAuthenticatedError):
|
|
1001
|
+
def __init__(
|
|
1002
|
+
self,
|
|
1003
|
+
message=None,
|
|
1004
|
+
http_body=None,
|
|
1005
|
+
http_status=None,
|
|
1006
|
+
json_body=None,
|
|
1007
|
+
headers=None,
|
|
1008
|
+
code=None,
|
|
1009
|
+
):
|
|
1010
|
+
super().__init__(
|
|
1011
|
+
message, http_body, http_status, json_body, headers, code
|
|
1012
|
+
)
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
class TwoFactorAuthenticationErrorError(NotAuthenticatedError):
|
|
1016
|
+
def __init__(
|
|
1017
|
+
self,
|
|
1018
|
+
message=None,
|
|
1019
|
+
http_body=None,
|
|
1020
|
+
http_status=None,
|
|
1021
|
+
json_body=None,
|
|
1022
|
+
headers=None,
|
|
1023
|
+
code=None,
|
|
1024
|
+
):
|
|
1025
|
+
super().__init__(
|
|
1026
|
+
message, http_body, http_status, json_body, headers, code
|
|
1027
|
+
)
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
class TwoFactorAuthenticationSetupExpiredError(NotAuthenticatedError):
|
|
1031
|
+
def __init__(
|
|
1032
|
+
self,
|
|
1033
|
+
message=None,
|
|
1034
|
+
http_body=None,
|
|
1035
|
+
http_status=None,
|
|
1036
|
+
json_body=None,
|
|
1037
|
+
headers=None,
|
|
1038
|
+
code=None,
|
|
1039
|
+
):
|
|
1040
|
+
super().__init__(
|
|
1041
|
+
message, http_body, http_status, json_body, headers, code
|
|
1042
|
+
)
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
class NotAuthorizedError(APIError):
|
|
1046
|
+
def __init__(
|
|
1047
|
+
self,
|
|
1048
|
+
message=None,
|
|
1049
|
+
http_body=None,
|
|
1050
|
+
http_status=None,
|
|
1051
|
+
json_body=None,
|
|
1052
|
+
headers=None,
|
|
1053
|
+
code=None,
|
|
1054
|
+
):
|
|
1055
|
+
super().__init__(
|
|
1056
|
+
message, http_body, http_status, json_body, headers, code
|
|
1057
|
+
)
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
class ApiKeyIsDisabledError(NotAuthorizedError):
|
|
1061
|
+
def __init__(
|
|
1062
|
+
self,
|
|
1063
|
+
message=None,
|
|
1064
|
+
http_body=None,
|
|
1065
|
+
http_status=None,
|
|
1066
|
+
json_body=None,
|
|
1067
|
+
headers=None,
|
|
1068
|
+
code=None,
|
|
1069
|
+
):
|
|
1070
|
+
super().__init__(
|
|
1071
|
+
message, http_body, http_status, json_body, headers, code
|
|
1072
|
+
)
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
class ApiKeyIsPathRestrictedError(NotAuthorizedError):
|
|
1076
|
+
def __init__(
|
|
1077
|
+
self,
|
|
1078
|
+
message=None,
|
|
1079
|
+
http_body=None,
|
|
1080
|
+
http_status=None,
|
|
1081
|
+
json_body=None,
|
|
1082
|
+
headers=None,
|
|
1083
|
+
code=None,
|
|
1084
|
+
):
|
|
1085
|
+
super().__init__(
|
|
1086
|
+
message, http_body, http_status, json_body, headers, code
|
|
1087
|
+
)
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
class ApiKeyOnlyForDesktopAppError(NotAuthorizedError):
|
|
1091
|
+
def __init__(
|
|
1092
|
+
self,
|
|
1093
|
+
message=None,
|
|
1094
|
+
http_body=None,
|
|
1095
|
+
http_status=None,
|
|
1096
|
+
json_body=None,
|
|
1097
|
+
headers=None,
|
|
1098
|
+
code=None,
|
|
1099
|
+
):
|
|
1100
|
+
super().__init__(
|
|
1101
|
+
message, http_body, http_status, json_body, headers, code
|
|
1102
|
+
)
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
class ApiKeyOnlyForMobileAppError(NotAuthorizedError):
|
|
1106
|
+
def __init__(
|
|
1107
|
+
self,
|
|
1108
|
+
message=None,
|
|
1109
|
+
http_body=None,
|
|
1110
|
+
http_status=None,
|
|
1111
|
+
json_body=None,
|
|
1112
|
+
headers=None,
|
|
1113
|
+
code=None,
|
|
1114
|
+
):
|
|
1115
|
+
super().__init__(
|
|
1116
|
+
message, http_body, http_status, json_body, headers, code
|
|
1117
|
+
)
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
class ApiKeyOnlyForOfficeIntegrationError(NotAuthorizedError):
|
|
1121
|
+
def __init__(
|
|
1122
|
+
self,
|
|
1123
|
+
message=None,
|
|
1124
|
+
http_body=None,
|
|
1125
|
+
http_status=None,
|
|
1126
|
+
json_body=None,
|
|
1127
|
+
headers=None,
|
|
1128
|
+
code=None,
|
|
1129
|
+
):
|
|
1130
|
+
super().__init__(
|
|
1131
|
+
message, http_body, http_status, json_body, headers, code
|
|
1132
|
+
)
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
class BillingOrSiteAdminPermissionRequiredError(NotAuthorizedError):
|
|
1136
|
+
def __init__(
|
|
1137
|
+
self,
|
|
1138
|
+
message=None,
|
|
1139
|
+
http_body=None,
|
|
1140
|
+
http_status=None,
|
|
1141
|
+
json_body=None,
|
|
1142
|
+
headers=None,
|
|
1143
|
+
code=None,
|
|
1144
|
+
):
|
|
1145
|
+
super().__init__(
|
|
1146
|
+
message, http_body, http_status, json_body, headers, code
|
|
1147
|
+
)
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
class BillingPermissionRequiredError(NotAuthorizedError):
|
|
1151
|
+
def __init__(
|
|
1152
|
+
self,
|
|
1153
|
+
message=None,
|
|
1154
|
+
http_body=None,
|
|
1155
|
+
http_status=None,
|
|
1156
|
+
json_body=None,
|
|
1157
|
+
headers=None,
|
|
1158
|
+
code=None,
|
|
1159
|
+
):
|
|
1160
|
+
super().__init__(
|
|
1161
|
+
message, http_body, http_status, json_body, headers, code
|
|
1162
|
+
)
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
class BundleMaximumUsesReachedError(NotAuthorizedError):
|
|
1166
|
+
def __init__(
|
|
1167
|
+
self,
|
|
1168
|
+
message=None,
|
|
1169
|
+
http_body=None,
|
|
1170
|
+
http_status=None,
|
|
1171
|
+
json_body=None,
|
|
1172
|
+
headers=None,
|
|
1173
|
+
code=None,
|
|
1174
|
+
):
|
|
1175
|
+
super().__init__(
|
|
1176
|
+
message, http_body, http_status, json_body, headers, code
|
|
1177
|
+
)
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
class BundlePermissionRequiredError(NotAuthorizedError):
|
|
1181
|
+
def __init__(
|
|
1182
|
+
self,
|
|
1183
|
+
message=None,
|
|
1184
|
+
http_body=None,
|
|
1185
|
+
http_status=None,
|
|
1186
|
+
json_body=None,
|
|
1187
|
+
headers=None,
|
|
1188
|
+
code=None,
|
|
1189
|
+
):
|
|
1190
|
+
super().__init__(
|
|
1191
|
+
message, http_body, http_status, json_body, headers, code
|
|
1192
|
+
)
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
class CannotLoginWhileUsingKeyError(NotAuthorizedError):
|
|
1196
|
+
def __init__(
|
|
1197
|
+
self,
|
|
1198
|
+
message=None,
|
|
1199
|
+
http_body=None,
|
|
1200
|
+
http_status=None,
|
|
1201
|
+
json_body=None,
|
|
1202
|
+
headers=None,
|
|
1203
|
+
code=None,
|
|
1204
|
+
):
|
|
1205
|
+
super().__init__(
|
|
1206
|
+
message, http_body, http_status, json_body, headers, code
|
|
1207
|
+
)
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
class CantActForOtherUserError(NotAuthorizedError):
|
|
1211
|
+
def __init__(
|
|
1212
|
+
self,
|
|
1213
|
+
message=None,
|
|
1214
|
+
http_body=None,
|
|
1215
|
+
http_status=None,
|
|
1216
|
+
json_body=None,
|
|
1217
|
+
headers=None,
|
|
1218
|
+
code=None,
|
|
1219
|
+
):
|
|
1220
|
+
super().__init__(
|
|
1221
|
+
message, http_body, http_status, json_body, headers, code
|
|
1222
|
+
)
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
class ContactAdminForPasswordChangeHelpError(NotAuthorizedError):
|
|
1226
|
+
def __init__(
|
|
1227
|
+
self,
|
|
1228
|
+
message=None,
|
|
1229
|
+
http_body=None,
|
|
1230
|
+
http_status=None,
|
|
1231
|
+
json_body=None,
|
|
1232
|
+
headers=None,
|
|
1233
|
+
code=None,
|
|
1234
|
+
):
|
|
1235
|
+
super().__init__(
|
|
1236
|
+
message, http_body, http_status, json_body, headers, code
|
|
1237
|
+
)
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
class FilesAgentFailedAuthorizationError(NotAuthorizedError):
|
|
1241
|
+
def __init__(
|
|
1242
|
+
self,
|
|
1243
|
+
message=None,
|
|
1244
|
+
http_body=None,
|
|
1245
|
+
http_status=None,
|
|
1246
|
+
json_body=None,
|
|
1247
|
+
headers=None,
|
|
1248
|
+
code=None,
|
|
1249
|
+
):
|
|
1250
|
+
super().__init__(
|
|
1251
|
+
message, http_body, http_status, json_body, headers, code
|
|
1252
|
+
)
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
class FolderAdminOrBillingPermissionRequiredError(NotAuthorizedError):
|
|
1256
|
+
def __init__(
|
|
1257
|
+
self,
|
|
1258
|
+
message=None,
|
|
1259
|
+
http_body=None,
|
|
1260
|
+
http_status=None,
|
|
1261
|
+
json_body=None,
|
|
1262
|
+
headers=None,
|
|
1263
|
+
code=None,
|
|
1264
|
+
):
|
|
1265
|
+
super().__init__(
|
|
1266
|
+
message, http_body, http_status, json_body, headers, code
|
|
1267
|
+
)
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
class FolderAdminPermissionRequiredError(NotAuthorizedError):
|
|
1271
|
+
def __init__(
|
|
1272
|
+
self,
|
|
1273
|
+
message=None,
|
|
1274
|
+
http_body=None,
|
|
1275
|
+
http_status=None,
|
|
1276
|
+
json_body=None,
|
|
1277
|
+
headers=None,
|
|
1278
|
+
code=None,
|
|
1279
|
+
):
|
|
1280
|
+
super().__init__(
|
|
1281
|
+
message, http_body, http_status, json_body, headers, code
|
|
1282
|
+
)
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
class FullPermissionRequiredError(NotAuthorizedError):
|
|
1286
|
+
def __init__(
|
|
1287
|
+
self,
|
|
1288
|
+
message=None,
|
|
1289
|
+
http_body=None,
|
|
1290
|
+
http_status=None,
|
|
1291
|
+
json_body=None,
|
|
1292
|
+
headers=None,
|
|
1293
|
+
code=None,
|
|
1294
|
+
):
|
|
1295
|
+
super().__init__(
|
|
1296
|
+
message, http_body, http_status, json_body, headers, code
|
|
1297
|
+
)
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
class HistoryPermissionRequiredError(NotAuthorizedError):
|
|
1301
|
+
def __init__(
|
|
1302
|
+
self,
|
|
1303
|
+
message=None,
|
|
1304
|
+
http_body=None,
|
|
1305
|
+
http_status=None,
|
|
1306
|
+
json_body=None,
|
|
1307
|
+
headers=None,
|
|
1308
|
+
code=None,
|
|
1309
|
+
):
|
|
1310
|
+
super().__init__(
|
|
1311
|
+
message, http_body, http_status, json_body, headers, code
|
|
1312
|
+
)
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
class InsufficientPermissionForParamsError(NotAuthorizedError):
|
|
1316
|
+
def __init__(
|
|
1317
|
+
self,
|
|
1318
|
+
message=None,
|
|
1319
|
+
http_body=None,
|
|
1320
|
+
http_status=None,
|
|
1321
|
+
json_body=None,
|
|
1322
|
+
headers=None,
|
|
1323
|
+
code=None,
|
|
1324
|
+
):
|
|
1325
|
+
super().__init__(
|
|
1326
|
+
message, http_body, http_status, json_body, headers, code
|
|
1327
|
+
)
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
class InsufficientPermissionForSiteError(NotAuthorizedError):
|
|
1331
|
+
def __init__(
|
|
1332
|
+
self,
|
|
1333
|
+
message=None,
|
|
1334
|
+
http_body=None,
|
|
1335
|
+
http_status=None,
|
|
1336
|
+
json_body=None,
|
|
1337
|
+
headers=None,
|
|
1338
|
+
code=None,
|
|
1339
|
+
):
|
|
1340
|
+
super().__init__(
|
|
1341
|
+
message, http_body, http_status, json_body, headers, code
|
|
1342
|
+
)
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
class MoverAccessDeniedError(NotAuthorizedError):
|
|
1346
|
+
def __init__(
|
|
1347
|
+
self,
|
|
1348
|
+
message=None,
|
|
1349
|
+
http_body=None,
|
|
1350
|
+
http_status=None,
|
|
1351
|
+
json_body=None,
|
|
1352
|
+
headers=None,
|
|
1353
|
+
code=None,
|
|
1354
|
+
):
|
|
1355
|
+
super().__init__(
|
|
1356
|
+
message, http_body, http_status, json_body, headers, code
|
|
1357
|
+
)
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
class MoverPackageRequiredError(NotAuthorizedError):
|
|
1361
|
+
def __init__(
|
|
1362
|
+
self,
|
|
1363
|
+
message=None,
|
|
1364
|
+
http_body=None,
|
|
1365
|
+
http_status=None,
|
|
1366
|
+
json_body=None,
|
|
1367
|
+
headers=None,
|
|
1368
|
+
code=None,
|
|
1369
|
+
):
|
|
1370
|
+
super().__init__(
|
|
1371
|
+
message, http_body, http_status, json_body, headers, code
|
|
1372
|
+
)
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
class MustAuthenticateWithApiKeyError(NotAuthorizedError):
|
|
1376
|
+
def __init__(
|
|
1377
|
+
self,
|
|
1378
|
+
message=None,
|
|
1379
|
+
http_body=None,
|
|
1380
|
+
http_status=None,
|
|
1381
|
+
json_body=None,
|
|
1382
|
+
headers=None,
|
|
1383
|
+
code=None,
|
|
1384
|
+
):
|
|
1385
|
+
super().__init__(
|
|
1386
|
+
message, http_body, http_status, json_body, headers, code
|
|
1387
|
+
)
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
class NeedAdminPermissionForInboxError(NotAuthorizedError):
|
|
1391
|
+
def __init__(
|
|
1392
|
+
self,
|
|
1393
|
+
message=None,
|
|
1394
|
+
http_body=None,
|
|
1395
|
+
http_status=None,
|
|
1396
|
+
json_body=None,
|
|
1397
|
+
headers=None,
|
|
1398
|
+
code=None,
|
|
1399
|
+
):
|
|
1400
|
+
super().__init__(
|
|
1401
|
+
message, http_body, http_status, json_body, headers, code
|
|
1402
|
+
)
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
class NonAdminsMustQueryByFolderOrPathError(NotAuthorizedError):
|
|
1406
|
+
def __init__(
|
|
1407
|
+
self,
|
|
1408
|
+
message=None,
|
|
1409
|
+
http_body=None,
|
|
1410
|
+
http_status=None,
|
|
1411
|
+
json_body=None,
|
|
1412
|
+
headers=None,
|
|
1413
|
+
code=None,
|
|
1414
|
+
):
|
|
1415
|
+
super().__init__(
|
|
1416
|
+
message, http_body, http_status, json_body, headers, code
|
|
1417
|
+
)
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
class NotAllowedToCreateBundleError(NotAuthorizedError):
|
|
1421
|
+
def __init__(
|
|
1422
|
+
self,
|
|
1423
|
+
message=None,
|
|
1424
|
+
http_body=None,
|
|
1425
|
+
http_status=None,
|
|
1426
|
+
json_body=None,
|
|
1427
|
+
headers=None,
|
|
1428
|
+
code=None,
|
|
1429
|
+
):
|
|
1430
|
+
super().__init__(
|
|
1431
|
+
message, http_body, http_status, json_body, headers, code
|
|
1432
|
+
)
|
|
1433
|
+
|
|
1434
|
+
|
|
1435
|
+
class NotEnqueuableSyncError(NotAuthorizedError):
|
|
1436
|
+
def __init__(
|
|
1437
|
+
self,
|
|
1438
|
+
message=None,
|
|
1439
|
+
http_body=None,
|
|
1440
|
+
http_status=None,
|
|
1441
|
+
json_body=None,
|
|
1442
|
+
headers=None,
|
|
1443
|
+
code=None,
|
|
1444
|
+
):
|
|
1445
|
+
super().__init__(
|
|
1446
|
+
message, http_body, http_status, json_body, headers, code
|
|
1447
|
+
)
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
class PasswordChangeNotRequiredError(NotAuthorizedError):
|
|
1451
|
+
def __init__(
|
|
1452
|
+
self,
|
|
1453
|
+
message=None,
|
|
1454
|
+
http_body=None,
|
|
1455
|
+
http_status=None,
|
|
1456
|
+
json_body=None,
|
|
1457
|
+
headers=None,
|
|
1458
|
+
code=None,
|
|
1459
|
+
):
|
|
1460
|
+
super().__init__(
|
|
1461
|
+
message, http_body, http_status, json_body, headers, code
|
|
1462
|
+
)
|
|
1463
|
+
|
|
1464
|
+
|
|
1465
|
+
class PasswordChangeRequiredError(NotAuthorizedError):
|
|
1466
|
+
def __init__(
|
|
1467
|
+
self,
|
|
1468
|
+
message=None,
|
|
1469
|
+
http_body=None,
|
|
1470
|
+
http_status=None,
|
|
1471
|
+
json_body=None,
|
|
1472
|
+
headers=None,
|
|
1473
|
+
code=None,
|
|
1474
|
+
):
|
|
1475
|
+
super().__init__(
|
|
1476
|
+
message, http_body, http_status, json_body, headers, code
|
|
1477
|
+
)
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
class PaymentMethodErrorError(NotAuthorizedError):
|
|
1481
|
+
def __init__(
|
|
1482
|
+
self,
|
|
1483
|
+
message=None,
|
|
1484
|
+
http_body=None,
|
|
1485
|
+
http_status=None,
|
|
1486
|
+
json_body=None,
|
|
1487
|
+
headers=None,
|
|
1488
|
+
code=None,
|
|
1489
|
+
):
|
|
1490
|
+
super().__init__(
|
|
1491
|
+
message, http_body, http_status, json_body, headers, code
|
|
1492
|
+
)
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
class ReadOnlySessionError(NotAuthorizedError):
|
|
1496
|
+
def __init__(
|
|
1497
|
+
self,
|
|
1498
|
+
message=None,
|
|
1499
|
+
http_body=None,
|
|
1500
|
+
http_status=None,
|
|
1501
|
+
json_body=None,
|
|
1502
|
+
headers=None,
|
|
1503
|
+
code=None,
|
|
1504
|
+
):
|
|
1505
|
+
super().__init__(
|
|
1506
|
+
message, http_body, http_status, json_body, headers, code
|
|
1507
|
+
)
|
|
1508
|
+
|
|
1509
|
+
|
|
1510
|
+
class ReadPermissionRequiredError(NotAuthorizedError):
|
|
1511
|
+
def __init__(
|
|
1512
|
+
self,
|
|
1513
|
+
message=None,
|
|
1514
|
+
http_body=None,
|
|
1515
|
+
http_status=None,
|
|
1516
|
+
json_body=None,
|
|
1517
|
+
headers=None,
|
|
1518
|
+
code=None,
|
|
1519
|
+
):
|
|
1520
|
+
super().__init__(
|
|
1521
|
+
message, http_body, http_status, json_body, headers, code
|
|
1522
|
+
)
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
class ReauthenticationFailedError(NotAuthorizedError):
|
|
1526
|
+
def __init__(
|
|
1527
|
+
self,
|
|
1528
|
+
message=None,
|
|
1529
|
+
http_body=None,
|
|
1530
|
+
http_status=None,
|
|
1531
|
+
json_body=None,
|
|
1532
|
+
headers=None,
|
|
1533
|
+
code=None,
|
|
1534
|
+
):
|
|
1535
|
+
super().__init__(
|
|
1536
|
+
message, http_body, http_status, json_body, headers, code
|
|
1537
|
+
)
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
class ReauthenticationFailedFinalError(NotAuthorizedError):
|
|
1541
|
+
def __init__(
|
|
1542
|
+
self,
|
|
1543
|
+
message=None,
|
|
1544
|
+
http_body=None,
|
|
1545
|
+
http_status=None,
|
|
1546
|
+
json_body=None,
|
|
1547
|
+
headers=None,
|
|
1548
|
+
code=None,
|
|
1549
|
+
):
|
|
1550
|
+
super().__init__(
|
|
1551
|
+
message, http_body, http_status, json_body, headers, code
|
|
1552
|
+
)
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
class ReauthenticationNeededActionError(NotAuthorizedError):
|
|
1556
|
+
def __init__(
|
|
1557
|
+
self,
|
|
1558
|
+
message=None,
|
|
1559
|
+
http_body=None,
|
|
1560
|
+
http_status=None,
|
|
1561
|
+
json_body=None,
|
|
1562
|
+
headers=None,
|
|
1563
|
+
code=None,
|
|
1564
|
+
):
|
|
1565
|
+
super().__init__(
|
|
1566
|
+
message, http_body, http_status, json_body, headers, code
|
|
1567
|
+
)
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
class RecaptchaFailedError(NotAuthorizedError):
|
|
1571
|
+
def __init__(
|
|
1572
|
+
self,
|
|
1573
|
+
message=None,
|
|
1574
|
+
http_body=None,
|
|
1575
|
+
http_status=None,
|
|
1576
|
+
json_body=None,
|
|
1577
|
+
headers=None,
|
|
1578
|
+
code=None,
|
|
1579
|
+
):
|
|
1580
|
+
super().__init__(
|
|
1581
|
+
message, http_body, http_status, json_body, headers, code
|
|
1582
|
+
)
|
|
1583
|
+
|
|
1584
|
+
|
|
1585
|
+
class SelfManagedRequiredError(NotAuthorizedError):
|
|
1586
|
+
def __init__(
|
|
1587
|
+
self,
|
|
1588
|
+
message=None,
|
|
1589
|
+
http_body=None,
|
|
1590
|
+
http_status=None,
|
|
1591
|
+
json_body=None,
|
|
1592
|
+
headers=None,
|
|
1593
|
+
code=None,
|
|
1594
|
+
):
|
|
1595
|
+
super().__init__(
|
|
1596
|
+
message, http_body, http_status, json_body, headers, code
|
|
1597
|
+
)
|
|
1598
|
+
|
|
1599
|
+
|
|
1600
|
+
class SiteAdminRequiredError(NotAuthorizedError):
|
|
1601
|
+
def __init__(
|
|
1602
|
+
self,
|
|
1603
|
+
message=None,
|
|
1604
|
+
http_body=None,
|
|
1605
|
+
http_status=None,
|
|
1606
|
+
json_body=None,
|
|
1607
|
+
headers=None,
|
|
1608
|
+
code=None,
|
|
1609
|
+
):
|
|
1610
|
+
super().__init__(
|
|
1611
|
+
message, http_body, http_status, json_body, headers, code
|
|
1612
|
+
)
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
class SiteFilesAreImmutableError(NotAuthorizedError):
|
|
1616
|
+
def __init__(
|
|
1617
|
+
self,
|
|
1618
|
+
message=None,
|
|
1619
|
+
http_body=None,
|
|
1620
|
+
http_status=None,
|
|
1621
|
+
json_body=None,
|
|
1622
|
+
headers=None,
|
|
1623
|
+
code=None,
|
|
1624
|
+
):
|
|
1625
|
+
super().__init__(
|
|
1626
|
+
message, http_body, http_status, json_body, headers, code
|
|
1627
|
+
)
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
class TwoFactorAuthenticationRequiredError(NotAuthorizedError):
|
|
1631
|
+
def __init__(
|
|
1632
|
+
self,
|
|
1633
|
+
message=None,
|
|
1634
|
+
http_body=None,
|
|
1635
|
+
http_status=None,
|
|
1636
|
+
json_body=None,
|
|
1637
|
+
headers=None,
|
|
1638
|
+
code=None,
|
|
1639
|
+
):
|
|
1640
|
+
super().__init__(
|
|
1641
|
+
message, http_body, http_status, json_body, headers, code
|
|
1642
|
+
)
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
class UserIdWithoutSiteAdminError(NotAuthorizedError):
|
|
1646
|
+
def __init__(
|
|
1647
|
+
self,
|
|
1648
|
+
message=None,
|
|
1649
|
+
http_body=None,
|
|
1650
|
+
http_status=None,
|
|
1651
|
+
json_body=None,
|
|
1652
|
+
headers=None,
|
|
1653
|
+
code=None,
|
|
1654
|
+
):
|
|
1655
|
+
super().__init__(
|
|
1656
|
+
message, http_body, http_status, json_body, headers, code
|
|
1657
|
+
)
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
class WriteAndBundlePermissionRequiredError(NotAuthorizedError):
|
|
1661
|
+
def __init__(
|
|
1662
|
+
self,
|
|
1663
|
+
message=None,
|
|
1664
|
+
http_body=None,
|
|
1665
|
+
http_status=None,
|
|
1666
|
+
json_body=None,
|
|
1667
|
+
headers=None,
|
|
1668
|
+
code=None,
|
|
1669
|
+
):
|
|
1670
|
+
super().__init__(
|
|
1671
|
+
message, http_body, http_status, json_body, headers, code
|
|
1672
|
+
)
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
class WritePermissionRequiredError(NotAuthorizedError):
|
|
1676
|
+
def __init__(
|
|
1677
|
+
self,
|
|
1678
|
+
message=None,
|
|
1679
|
+
http_body=None,
|
|
1680
|
+
http_status=None,
|
|
1681
|
+
json_body=None,
|
|
1682
|
+
headers=None,
|
|
1683
|
+
code=None,
|
|
1684
|
+
):
|
|
1685
|
+
super().__init__(
|
|
1686
|
+
message, http_body, http_status, json_body, headers, code
|
|
1687
|
+
)
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
class NotFoundError(APIError):
|
|
1691
|
+
def __init__(
|
|
1692
|
+
self,
|
|
1693
|
+
message=None,
|
|
1694
|
+
http_body=None,
|
|
1695
|
+
http_status=None,
|
|
1696
|
+
json_body=None,
|
|
1697
|
+
headers=None,
|
|
1698
|
+
code=None,
|
|
1699
|
+
):
|
|
1700
|
+
super().__init__(
|
|
1701
|
+
message, http_body, http_status, json_body, headers, code
|
|
1702
|
+
)
|
|
1703
|
+
|
|
1704
|
+
|
|
1705
|
+
class ApiKeyNotFoundError(NotFoundError):
|
|
1706
|
+
def __init__(
|
|
1707
|
+
self,
|
|
1708
|
+
message=None,
|
|
1709
|
+
http_body=None,
|
|
1710
|
+
http_status=None,
|
|
1711
|
+
json_body=None,
|
|
1712
|
+
headers=None,
|
|
1713
|
+
code=None,
|
|
1714
|
+
):
|
|
1715
|
+
super().__init__(
|
|
1716
|
+
message, http_body, http_status, json_body, headers, code
|
|
1717
|
+
)
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
class BundlePathNotFoundError(NotFoundError):
|
|
1721
|
+
def __init__(
|
|
1722
|
+
self,
|
|
1723
|
+
message=None,
|
|
1724
|
+
http_body=None,
|
|
1725
|
+
http_status=None,
|
|
1726
|
+
json_body=None,
|
|
1727
|
+
headers=None,
|
|
1728
|
+
code=None,
|
|
1729
|
+
):
|
|
1730
|
+
super().__init__(
|
|
1731
|
+
message, http_body, http_status, json_body, headers, code
|
|
1732
|
+
)
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
class BundleRegistrationNotFoundError(NotFoundError):
|
|
1736
|
+
def __init__(
|
|
1737
|
+
self,
|
|
1738
|
+
message=None,
|
|
1739
|
+
http_body=None,
|
|
1740
|
+
http_status=None,
|
|
1741
|
+
json_body=None,
|
|
1742
|
+
headers=None,
|
|
1743
|
+
code=None,
|
|
1744
|
+
):
|
|
1745
|
+
super().__init__(
|
|
1746
|
+
message, http_body, http_status, json_body, headers, code
|
|
1747
|
+
)
|
|
1748
|
+
|
|
1749
|
+
|
|
1750
|
+
class CodeNotFoundError(NotFoundError):
|
|
1751
|
+
def __init__(
|
|
1752
|
+
self,
|
|
1753
|
+
message=None,
|
|
1754
|
+
http_body=None,
|
|
1755
|
+
http_status=None,
|
|
1756
|
+
json_body=None,
|
|
1757
|
+
headers=None,
|
|
1758
|
+
code=None,
|
|
1759
|
+
):
|
|
1760
|
+
super().__init__(
|
|
1761
|
+
message, http_body, http_status, json_body, headers, code
|
|
1762
|
+
)
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
class FileNotFoundError(NotFoundError):
|
|
1766
|
+
def __init__(
|
|
1767
|
+
self,
|
|
1768
|
+
message=None,
|
|
1769
|
+
http_body=None,
|
|
1770
|
+
http_status=None,
|
|
1771
|
+
json_body=None,
|
|
1772
|
+
headers=None,
|
|
1773
|
+
code=None,
|
|
1774
|
+
):
|
|
1775
|
+
super().__init__(
|
|
1776
|
+
message, http_body, http_status, json_body, headers, code
|
|
1777
|
+
)
|
|
1778
|
+
|
|
1779
|
+
|
|
1780
|
+
class FileUploadNotFoundError(NotFoundError):
|
|
1781
|
+
def __init__(
|
|
1782
|
+
self,
|
|
1783
|
+
message=None,
|
|
1784
|
+
http_body=None,
|
|
1785
|
+
http_status=None,
|
|
1786
|
+
json_body=None,
|
|
1787
|
+
headers=None,
|
|
1788
|
+
code=None,
|
|
1789
|
+
):
|
|
1790
|
+
super().__init__(
|
|
1791
|
+
message, http_body, http_status, json_body, headers, code
|
|
1792
|
+
)
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
class GroupNotFoundError(NotFoundError):
|
|
1796
|
+
def __init__(
|
|
1797
|
+
self,
|
|
1798
|
+
message=None,
|
|
1799
|
+
http_body=None,
|
|
1800
|
+
http_status=None,
|
|
1801
|
+
json_body=None,
|
|
1802
|
+
headers=None,
|
|
1803
|
+
code=None,
|
|
1804
|
+
):
|
|
1805
|
+
super().__init__(
|
|
1806
|
+
message, http_body, http_status, json_body, headers, code
|
|
1807
|
+
)
|
|
1808
|
+
|
|
1809
|
+
|
|
1810
|
+
class InboxNotFoundError(NotFoundError):
|
|
1811
|
+
def __init__(
|
|
1812
|
+
self,
|
|
1813
|
+
message=None,
|
|
1814
|
+
http_body=None,
|
|
1815
|
+
http_status=None,
|
|
1816
|
+
json_body=None,
|
|
1817
|
+
headers=None,
|
|
1818
|
+
code=None,
|
|
1819
|
+
):
|
|
1820
|
+
super().__init__(
|
|
1821
|
+
message, http_body, http_status, json_body, headers, code
|
|
1822
|
+
)
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
class NestedNotFoundError(NotFoundError):
|
|
1826
|
+
def __init__(
|
|
1827
|
+
self,
|
|
1828
|
+
message=None,
|
|
1829
|
+
http_body=None,
|
|
1830
|
+
http_status=None,
|
|
1831
|
+
json_body=None,
|
|
1832
|
+
headers=None,
|
|
1833
|
+
code=None,
|
|
1834
|
+
):
|
|
1835
|
+
super().__init__(
|
|
1836
|
+
message, http_body, http_status, json_body, headers, code
|
|
1837
|
+
)
|
|
1838
|
+
|
|
1839
|
+
|
|
1840
|
+
class PlanNotFoundError(NotFoundError):
|
|
1841
|
+
def __init__(
|
|
1842
|
+
self,
|
|
1843
|
+
message=None,
|
|
1844
|
+
http_body=None,
|
|
1845
|
+
http_status=None,
|
|
1846
|
+
json_body=None,
|
|
1847
|
+
headers=None,
|
|
1848
|
+
code=None,
|
|
1849
|
+
):
|
|
1850
|
+
super().__init__(
|
|
1851
|
+
message, http_body, http_status, json_body, headers, code
|
|
1852
|
+
)
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
class SiteNotFoundError(NotFoundError):
|
|
1856
|
+
def __init__(
|
|
1857
|
+
self,
|
|
1858
|
+
message=None,
|
|
1859
|
+
http_body=None,
|
|
1860
|
+
http_status=None,
|
|
1861
|
+
json_body=None,
|
|
1862
|
+
headers=None,
|
|
1863
|
+
code=None,
|
|
1864
|
+
):
|
|
1865
|
+
super().__init__(
|
|
1866
|
+
message, http_body, http_status, json_body, headers, code
|
|
1867
|
+
)
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
class UserNotFoundError(NotFoundError):
|
|
1871
|
+
def __init__(
|
|
1872
|
+
self,
|
|
1873
|
+
message=None,
|
|
1874
|
+
http_body=None,
|
|
1875
|
+
http_status=None,
|
|
1876
|
+
json_body=None,
|
|
1877
|
+
headers=None,
|
|
1878
|
+
code=None,
|
|
1879
|
+
):
|
|
1880
|
+
super().__init__(
|
|
1881
|
+
message, http_body, http_status, json_body, headers, code
|
|
1882
|
+
)
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
class ProcessingFailureError(APIError):
|
|
1886
|
+
def __init__(
|
|
1887
|
+
self,
|
|
1888
|
+
message=None,
|
|
1889
|
+
http_body=None,
|
|
1890
|
+
http_status=None,
|
|
1891
|
+
json_body=None,
|
|
1892
|
+
headers=None,
|
|
1893
|
+
code=None,
|
|
1894
|
+
):
|
|
1895
|
+
super().__init__(
|
|
1896
|
+
message, http_body, http_status, json_body, headers, code
|
|
1897
|
+
)
|
|
1898
|
+
|
|
1899
|
+
|
|
1900
|
+
class AgentUnavailableError(ProcessingFailureError):
|
|
1901
|
+
def __init__(
|
|
1902
|
+
self,
|
|
1903
|
+
message=None,
|
|
1904
|
+
http_body=None,
|
|
1905
|
+
http_status=None,
|
|
1906
|
+
json_body=None,
|
|
1907
|
+
headers=None,
|
|
1908
|
+
code=None,
|
|
1909
|
+
):
|
|
1910
|
+
super().__init__(
|
|
1911
|
+
message, http_body, http_status, json_body, headers, code
|
|
1912
|
+
)
|
|
1913
|
+
|
|
1914
|
+
|
|
1915
|
+
class AlreadyCompletedError(ProcessingFailureError):
|
|
1916
|
+
def __init__(
|
|
1917
|
+
self,
|
|
1918
|
+
message=None,
|
|
1919
|
+
http_body=None,
|
|
1920
|
+
http_status=None,
|
|
1921
|
+
json_body=None,
|
|
1922
|
+
headers=None,
|
|
1923
|
+
code=None,
|
|
1924
|
+
):
|
|
1925
|
+
super().__init__(
|
|
1926
|
+
message, http_body, http_status, json_body, headers, code
|
|
1927
|
+
)
|
|
1928
|
+
|
|
1929
|
+
|
|
1930
|
+
class AutomationCannotBeRunManuallyError(ProcessingFailureError):
|
|
1931
|
+
def __init__(
|
|
1932
|
+
self,
|
|
1933
|
+
message=None,
|
|
1934
|
+
http_body=None,
|
|
1935
|
+
http_status=None,
|
|
1936
|
+
json_body=None,
|
|
1937
|
+
headers=None,
|
|
1938
|
+
code=None,
|
|
1939
|
+
):
|
|
1940
|
+
super().__init__(
|
|
1941
|
+
message, http_body, http_status, json_body, headers, code
|
|
1942
|
+
)
|
|
1943
|
+
|
|
1944
|
+
|
|
1945
|
+
class BehaviorNotAllowedOnRemoteServerError(ProcessingFailureError):
|
|
1946
|
+
def __init__(
|
|
1947
|
+
self,
|
|
1948
|
+
message=None,
|
|
1949
|
+
http_body=None,
|
|
1950
|
+
http_status=None,
|
|
1951
|
+
json_body=None,
|
|
1952
|
+
headers=None,
|
|
1953
|
+
code=None,
|
|
1954
|
+
):
|
|
1955
|
+
super().__init__(
|
|
1956
|
+
message, http_body, http_status, json_body, headers, code
|
|
1957
|
+
)
|
|
1958
|
+
|
|
1959
|
+
|
|
1960
|
+
class BufferedUploadDisabledForThisDestinationError(ProcessingFailureError):
|
|
1961
|
+
def __init__(
|
|
1962
|
+
self,
|
|
1963
|
+
message=None,
|
|
1964
|
+
http_body=None,
|
|
1965
|
+
http_status=None,
|
|
1966
|
+
json_body=None,
|
|
1967
|
+
headers=None,
|
|
1968
|
+
code=None,
|
|
1969
|
+
):
|
|
1970
|
+
super().__init__(
|
|
1971
|
+
message, http_body, http_status, json_body, headers, code
|
|
1972
|
+
)
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+
class BundleOnlyAllowsPreviewsError(ProcessingFailureError):
|
|
1976
|
+
def __init__(
|
|
1977
|
+
self,
|
|
1978
|
+
message=None,
|
|
1979
|
+
http_body=None,
|
|
1980
|
+
http_status=None,
|
|
1981
|
+
json_body=None,
|
|
1982
|
+
headers=None,
|
|
1983
|
+
code=None,
|
|
1984
|
+
):
|
|
1985
|
+
super().__init__(
|
|
1986
|
+
message, http_body, http_status, json_body, headers, code
|
|
1987
|
+
)
|
|
1988
|
+
|
|
1989
|
+
|
|
1990
|
+
class BundleOperationRequiresSubfolderError(ProcessingFailureError):
|
|
1991
|
+
def __init__(
|
|
1992
|
+
self,
|
|
1993
|
+
message=None,
|
|
1994
|
+
http_body=None,
|
|
1995
|
+
http_status=None,
|
|
1996
|
+
json_body=None,
|
|
1997
|
+
headers=None,
|
|
1998
|
+
code=None,
|
|
1999
|
+
):
|
|
2000
|
+
super().__init__(
|
|
2001
|
+
message, http_body, http_status, json_body, headers, code
|
|
2002
|
+
)
|
|
2003
|
+
|
|
2004
|
+
|
|
2005
|
+
class CouldNotCreateParentError(ProcessingFailureError):
|
|
2006
|
+
def __init__(
|
|
2007
|
+
self,
|
|
2008
|
+
message=None,
|
|
2009
|
+
http_body=None,
|
|
2010
|
+
http_status=None,
|
|
2011
|
+
json_body=None,
|
|
2012
|
+
headers=None,
|
|
2013
|
+
code=None,
|
|
2014
|
+
):
|
|
2015
|
+
super().__init__(
|
|
2016
|
+
message, http_body, http_status, json_body, headers, code
|
|
2017
|
+
)
|
|
2018
|
+
|
|
2019
|
+
|
|
2020
|
+
class DestinationExistsError(ProcessingFailureError):
|
|
2021
|
+
def __init__(
|
|
2022
|
+
self,
|
|
2023
|
+
message=None,
|
|
2024
|
+
http_body=None,
|
|
2025
|
+
http_status=None,
|
|
2026
|
+
json_body=None,
|
|
2027
|
+
headers=None,
|
|
2028
|
+
code=None,
|
|
2029
|
+
):
|
|
2030
|
+
super().__init__(
|
|
2031
|
+
message, http_body, http_status, json_body, headers, code
|
|
2032
|
+
)
|
|
2033
|
+
|
|
2034
|
+
|
|
2035
|
+
class DestinationFolderLimitedError(ProcessingFailureError):
|
|
2036
|
+
def __init__(
|
|
2037
|
+
self,
|
|
2038
|
+
message=None,
|
|
2039
|
+
http_body=None,
|
|
2040
|
+
http_status=None,
|
|
2041
|
+
json_body=None,
|
|
2042
|
+
headers=None,
|
|
2043
|
+
code=None,
|
|
2044
|
+
):
|
|
2045
|
+
super().__init__(
|
|
2046
|
+
message, http_body, http_status, json_body, headers, code
|
|
2047
|
+
)
|
|
2048
|
+
|
|
2049
|
+
|
|
2050
|
+
class DestinationParentConflictError(ProcessingFailureError):
|
|
2051
|
+
def __init__(
|
|
2052
|
+
self,
|
|
2053
|
+
message=None,
|
|
2054
|
+
http_body=None,
|
|
2055
|
+
http_status=None,
|
|
2056
|
+
json_body=None,
|
|
2057
|
+
headers=None,
|
|
2058
|
+
code=None,
|
|
2059
|
+
):
|
|
2060
|
+
super().__init__(
|
|
2061
|
+
message, http_body, http_status, json_body, headers, code
|
|
2062
|
+
)
|
|
2063
|
+
|
|
2064
|
+
|
|
2065
|
+
class DestinationParentDoesNotExistError(ProcessingFailureError):
|
|
2066
|
+
def __init__(
|
|
2067
|
+
self,
|
|
2068
|
+
message=None,
|
|
2069
|
+
http_body=None,
|
|
2070
|
+
http_status=None,
|
|
2071
|
+
json_body=None,
|
|
2072
|
+
headers=None,
|
|
2073
|
+
code=None,
|
|
2074
|
+
):
|
|
2075
|
+
super().__init__(
|
|
2076
|
+
message, http_body, http_status, json_body, headers, code
|
|
2077
|
+
)
|
|
2078
|
+
|
|
2079
|
+
|
|
2080
|
+
class ExceededRuntimeLimitError(ProcessingFailureError):
|
|
2081
|
+
def __init__(
|
|
2082
|
+
self,
|
|
2083
|
+
message=None,
|
|
2084
|
+
http_body=None,
|
|
2085
|
+
http_status=None,
|
|
2086
|
+
json_body=None,
|
|
2087
|
+
headers=None,
|
|
2088
|
+
code=None,
|
|
2089
|
+
):
|
|
2090
|
+
super().__init__(
|
|
2091
|
+
message, http_body, http_status, json_body, headers, code
|
|
2092
|
+
)
|
|
2093
|
+
|
|
2094
|
+
|
|
2095
|
+
class ExpiredPrivateKeyError(ProcessingFailureError):
|
|
2096
|
+
def __init__(
|
|
2097
|
+
self,
|
|
2098
|
+
message=None,
|
|
2099
|
+
http_body=None,
|
|
2100
|
+
http_status=None,
|
|
2101
|
+
json_body=None,
|
|
2102
|
+
headers=None,
|
|
2103
|
+
code=None,
|
|
2104
|
+
):
|
|
2105
|
+
super().__init__(
|
|
2106
|
+
message, http_body, http_status, json_body, headers, code
|
|
2107
|
+
)
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
class ExpiredPublicKeyError(ProcessingFailureError):
|
|
2111
|
+
def __init__(
|
|
2112
|
+
self,
|
|
2113
|
+
message=None,
|
|
2114
|
+
http_body=None,
|
|
2115
|
+
http_status=None,
|
|
2116
|
+
json_body=None,
|
|
2117
|
+
headers=None,
|
|
2118
|
+
code=None,
|
|
2119
|
+
):
|
|
2120
|
+
super().__init__(
|
|
2121
|
+
message, http_body, http_status, json_body, headers, code
|
|
2122
|
+
)
|
|
2123
|
+
|
|
2124
|
+
|
|
2125
|
+
class ExportFailureError(ProcessingFailureError):
|
|
2126
|
+
def __init__(
|
|
2127
|
+
self,
|
|
2128
|
+
message=None,
|
|
2129
|
+
http_body=None,
|
|
2130
|
+
http_status=None,
|
|
2131
|
+
json_body=None,
|
|
2132
|
+
headers=None,
|
|
2133
|
+
code=None,
|
|
2134
|
+
):
|
|
2135
|
+
super().__init__(
|
|
2136
|
+
message, http_body, http_status, json_body, headers, code
|
|
2137
|
+
)
|
|
2138
|
+
|
|
2139
|
+
|
|
2140
|
+
class ExportNotReadyError(ProcessingFailureError):
|
|
2141
|
+
def __init__(
|
|
2142
|
+
self,
|
|
2143
|
+
message=None,
|
|
2144
|
+
http_body=None,
|
|
2145
|
+
http_status=None,
|
|
2146
|
+
json_body=None,
|
|
2147
|
+
headers=None,
|
|
2148
|
+
code=None,
|
|
2149
|
+
):
|
|
2150
|
+
super().__init__(
|
|
2151
|
+
message, http_body, http_status, json_body, headers, code
|
|
2152
|
+
)
|
|
2153
|
+
|
|
2154
|
+
|
|
2155
|
+
class FailedToChangePasswordError(ProcessingFailureError):
|
|
2156
|
+
def __init__(
|
|
2157
|
+
self,
|
|
2158
|
+
message=None,
|
|
2159
|
+
http_body=None,
|
|
2160
|
+
http_status=None,
|
|
2161
|
+
json_body=None,
|
|
2162
|
+
headers=None,
|
|
2163
|
+
code=None,
|
|
2164
|
+
):
|
|
2165
|
+
super().__init__(
|
|
2166
|
+
message, http_body, http_status, json_body, headers, code
|
|
2167
|
+
)
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
class FileLockedError(ProcessingFailureError):
|
|
2171
|
+
def __init__(
|
|
2172
|
+
self,
|
|
2173
|
+
message=None,
|
|
2174
|
+
http_body=None,
|
|
2175
|
+
http_status=None,
|
|
2176
|
+
json_body=None,
|
|
2177
|
+
headers=None,
|
|
2178
|
+
code=None,
|
|
2179
|
+
):
|
|
2180
|
+
super().__init__(
|
|
2181
|
+
message, http_body, http_status, json_body, headers, code
|
|
2182
|
+
)
|
|
2183
|
+
|
|
2184
|
+
|
|
2185
|
+
class FileNotUploadedError(ProcessingFailureError):
|
|
2186
|
+
def __init__(
|
|
2187
|
+
self,
|
|
2188
|
+
message=None,
|
|
2189
|
+
http_body=None,
|
|
2190
|
+
http_status=None,
|
|
2191
|
+
json_body=None,
|
|
2192
|
+
headers=None,
|
|
2193
|
+
code=None,
|
|
2194
|
+
):
|
|
2195
|
+
super().__init__(
|
|
2196
|
+
message, http_body, http_status, json_body, headers, code
|
|
2197
|
+
)
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
class FilePendingProcessingError(ProcessingFailureError):
|
|
2201
|
+
def __init__(
|
|
2202
|
+
self,
|
|
2203
|
+
message=None,
|
|
2204
|
+
http_body=None,
|
|
2205
|
+
http_status=None,
|
|
2206
|
+
json_body=None,
|
|
2207
|
+
headers=None,
|
|
2208
|
+
code=None,
|
|
2209
|
+
):
|
|
2210
|
+
super().__init__(
|
|
2211
|
+
message, http_body, http_status, json_body, headers, code
|
|
2212
|
+
)
|
|
2213
|
+
|
|
2214
|
+
|
|
2215
|
+
class FileProcessingErrorError(ProcessingFailureError):
|
|
2216
|
+
def __init__(
|
|
2217
|
+
self,
|
|
2218
|
+
message=None,
|
|
2219
|
+
http_body=None,
|
|
2220
|
+
http_status=None,
|
|
2221
|
+
json_body=None,
|
|
2222
|
+
headers=None,
|
|
2223
|
+
code=None,
|
|
2224
|
+
):
|
|
2225
|
+
super().__init__(
|
|
2226
|
+
message, http_body, http_status, json_body, headers, code
|
|
2227
|
+
)
|
|
2228
|
+
|
|
2229
|
+
|
|
2230
|
+
class FileTooBigToDecryptError(ProcessingFailureError):
|
|
2231
|
+
def __init__(
|
|
2232
|
+
self,
|
|
2233
|
+
message=None,
|
|
2234
|
+
http_body=None,
|
|
2235
|
+
http_status=None,
|
|
2236
|
+
json_body=None,
|
|
2237
|
+
headers=None,
|
|
2238
|
+
code=None,
|
|
2239
|
+
):
|
|
2240
|
+
super().__init__(
|
|
2241
|
+
message, http_body, http_status, json_body, headers, code
|
|
2242
|
+
)
|
|
2243
|
+
|
|
2244
|
+
|
|
2245
|
+
class FileTooBigToEncryptError(ProcessingFailureError):
|
|
2246
|
+
def __init__(
|
|
2247
|
+
self,
|
|
2248
|
+
message=None,
|
|
2249
|
+
http_body=None,
|
|
2250
|
+
http_status=None,
|
|
2251
|
+
json_body=None,
|
|
2252
|
+
headers=None,
|
|
2253
|
+
code=None,
|
|
2254
|
+
):
|
|
2255
|
+
super().__init__(
|
|
2256
|
+
message, http_body, http_status, json_body, headers, code
|
|
2257
|
+
)
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
class FileUploadedToWrongRegionError(ProcessingFailureError):
|
|
2261
|
+
def __init__(
|
|
2262
|
+
self,
|
|
2263
|
+
message=None,
|
|
2264
|
+
http_body=None,
|
|
2265
|
+
http_status=None,
|
|
2266
|
+
json_body=None,
|
|
2267
|
+
headers=None,
|
|
2268
|
+
code=None,
|
|
2269
|
+
):
|
|
2270
|
+
super().__init__(
|
|
2271
|
+
message, http_body, http_status, json_body, headers, code
|
|
2272
|
+
)
|
|
2273
|
+
|
|
2274
|
+
|
|
2275
|
+
class FilenameTooLongError(ProcessingFailureError):
|
|
2276
|
+
def __init__(
|
|
2277
|
+
self,
|
|
2278
|
+
message=None,
|
|
2279
|
+
http_body=None,
|
|
2280
|
+
http_status=None,
|
|
2281
|
+
json_body=None,
|
|
2282
|
+
headers=None,
|
|
2283
|
+
code=None,
|
|
2284
|
+
):
|
|
2285
|
+
super().__init__(
|
|
2286
|
+
message, http_body, http_status, json_body, headers, code
|
|
2287
|
+
)
|
|
2288
|
+
|
|
2289
|
+
|
|
2290
|
+
class FolderLockedError(ProcessingFailureError):
|
|
2291
|
+
def __init__(
|
|
2292
|
+
self,
|
|
2293
|
+
message=None,
|
|
2294
|
+
http_body=None,
|
|
2295
|
+
http_status=None,
|
|
2296
|
+
json_body=None,
|
|
2297
|
+
headers=None,
|
|
2298
|
+
code=None,
|
|
2299
|
+
):
|
|
2300
|
+
super().__init__(
|
|
2301
|
+
message, http_body, http_status, json_body, headers, code
|
|
2302
|
+
)
|
|
2303
|
+
|
|
2304
|
+
|
|
2305
|
+
class FolderNotEmptyError(ProcessingFailureError):
|
|
2306
|
+
def __init__(
|
|
2307
|
+
self,
|
|
2308
|
+
message=None,
|
|
2309
|
+
http_body=None,
|
|
2310
|
+
http_status=None,
|
|
2311
|
+
json_body=None,
|
|
2312
|
+
headers=None,
|
|
2313
|
+
code=None,
|
|
2314
|
+
):
|
|
2315
|
+
super().__init__(
|
|
2316
|
+
message, http_body, http_status, json_body, headers, code
|
|
2317
|
+
)
|
|
2318
|
+
|
|
2319
|
+
|
|
2320
|
+
class HistoryUnavailableError(ProcessingFailureError):
|
|
2321
|
+
def __init__(
|
|
2322
|
+
self,
|
|
2323
|
+
message=None,
|
|
2324
|
+
http_body=None,
|
|
2325
|
+
http_status=None,
|
|
2326
|
+
json_body=None,
|
|
2327
|
+
headers=None,
|
|
2328
|
+
code=None,
|
|
2329
|
+
):
|
|
2330
|
+
super().__init__(
|
|
2331
|
+
message, http_body, http_status, json_body, headers, code
|
|
2332
|
+
)
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
class InvalidBundleCodeError(ProcessingFailureError):
|
|
2336
|
+
def __init__(
|
|
2337
|
+
self,
|
|
2338
|
+
message=None,
|
|
2339
|
+
http_body=None,
|
|
2340
|
+
http_status=None,
|
|
2341
|
+
json_body=None,
|
|
2342
|
+
headers=None,
|
|
2343
|
+
code=None,
|
|
2344
|
+
):
|
|
2345
|
+
super().__init__(
|
|
2346
|
+
message, http_body, http_status, json_body, headers, code
|
|
2347
|
+
)
|
|
2348
|
+
|
|
2349
|
+
|
|
2350
|
+
class InvalidFileTypeError(ProcessingFailureError):
|
|
2351
|
+
def __init__(
|
|
2352
|
+
self,
|
|
2353
|
+
message=None,
|
|
2354
|
+
http_body=None,
|
|
2355
|
+
http_status=None,
|
|
2356
|
+
json_body=None,
|
|
2357
|
+
headers=None,
|
|
2358
|
+
code=None,
|
|
2359
|
+
):
|
|
2360
|
+
super().__init__(
|
|
2361
|
+
message, http_body, http_status, json_body, headers, code
|
|
2362
|
+
)
|
|
2363
|
+
|
|
2364
|
+
|
|
2365
|
+
class InvalidFilenameError(ProcessingFailureError):
|
|
2366
|
+
def __init__(
|
|
2367
|
+
self,
|
|
2368
|
+
message=None,
|
|
2369
|
+
http_body=None,
|
|
2370
|
+
http_status=None,
|
|
2371
|
+
json_body=None,
|
|
2372
|
+
headers=None,
|
|
2373
|
+
code=None,
|
|
2374
|
+
):
|
|
2375
|
+
super().__init__(
|
|
2376
|
+
message, http_body, http_status, json_body, headers, code
|
|
2377
|
+
)
|
|
2378
|
+
|
|
2379
|
+
|
|
2380
|
+
class InvalidPriorityColorError(ProcessingFailureError):
|
|
2381
|
+
def __init__(
|
|
2382
|
+
self,
|
|
2383
|
+
message=None,
|
|
2384
|
+
http_body=None,
|
|
2385
|
+
http_status=None,
|
|
2386
|
+
json_body=None,
|
|
2387
|
+
headers=None,
|
|
2388
|
+
code=None,
|
|
2389
|
+
):
|
|
2390
|
+
super().__init__(
|
|
2391
|
+
message, http_body, http_status, json_body, headers, code
|
|
2392
|
+
)
|
|
2393
|
+
|
|
2394
|
+
|
|
2395
|
+
class InvalidRangeError(ProcessingFailureError):
|
|
2396
|
+
def __init__(
|
|
2397
|
+
self,
|
|
2398
|
+
message=None,
|
|
2399
|
+
http_body=None,
|
|
2400
|
+
http_status=None,
|
|
2401
|
+
json_body=None,
|
|
2402
|
+
headers=None,
|
|
2403
|
+
code=None,
|
|
2404
|
+
):
|
|
2405
|
+
super().__init__(
|
|
2406
|
+
message, http_body, http_status, json_body, headers, code
|
|
2407
|
+
)
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
class InvalidSiteError(ProcessingFailureError):
|
|
2411
|
+
def __init__(
|
|
2412
|
+
self,
|
|
2413
|
+
message=None,
|
|
2414
|
+
http_body=None,
|
|
2415
|
+
http_status=None,
|
|
2416
|
+
json_body=None,
|
|
2417
|
+
headers=None,
|
|
2418
|
+
code=None,
|
|
2419
|
+
):
|
|
2420
|
+
super().__init__(
|
|
2421
|
+
message, http_body, http_status, json_body, headers, code
|
|
2422
|
+
)
|
|
2423
|
+
|
|
2424
|
+
|
|
2425
|
+
class MetadataNotSupportedOnRemotesError(ProcessingFailureError):
|
|
2426
|
+
def __init__(
|
|
2427
|
+
self,
|
|
2428
|
+
message=None,
|
|
2429
|
+
http_body=None,
|
|
2430
|
+
http_status=None,
|
|
2431
|
+
json_body=None,
|
|
2432
|
+
headers=None,
|
|
2433
|
+
code=None,
|
|
2434
|
+
):
|
|
2435
|
+
super().__init__(
|
|
2436
|
+
message, http_body, http_status, json_body, headers, code
|
|
2437
|
+
)
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
class ModelSaveErrorError(ProcessingFailureError):
|
|
2441
|
+
def __init__(
|
|
2442
|
+
self,
|
|
2443
|
+
message=None,
|
|
2444
|
+
http_body=None,
|
|
2445
|
+
http_status=None,
|
|
2446
|
+
json_body=None,
|
|
2447
|
+
headers=None,
|
|
2448
|
+
code=None,
|
|
2449
|
+
):
|
|
2450
|
+
super().__init__(
|
|
2451
|
+
message, http_body, http_status, json_body, headers, code
|
|
2452
|
+
)
|
|
2453
|
+
|
|
2454
|
+
|
|
2455
|
+
class MultipleProcessingErrorsError(ProcessingFailureError):
|
|
2456
|
+
def __init__(
|
|
2457
|
+
self,
|
|
2458
|
+
message=None,
|
|
2459
|
+
http_body=None,
|
|
2460
|
+
http_status=None,
|
|
2461
|
+
json_body=None,
|
|
2462
|
+
headers=None,
|
|
2463
|
+
code=None,
|
|
2464
|
+
):
|
|
2465
|
+
super().__init__(
|
|
2466
|
+
message, http_body, http_status, json_body, headers, code
|
|
2467
|
+
)
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
class PathTooLongError(ProcessingFailureError):
|
|
2471
|
+
def __init__(
|
|
2472
|
+
self,
|
|
2473
|
+
message=None,
|
|
2474
|
+
http_body=None,
|
|
2475
|
+
http_status=None,
|
|
2476
|
+
json_body=None,
|
|
2477
|
+
headers=None,
|
|
2478
|
+
code=None,
|
|
2479
|
+
):
|
|
2480
|
+
super().__init__(
|
|
2481
|
+
message, http_body, http_status, json_body, headers, code
|
|
2482
|
+
)
|
|
2483
|
+
|
|
2484
|
+
|
|
2485
|
+
class RecipientAlreadySharedError(ProcessingFailureError):
|
|
2486
|
+
def __init__(
|
|
2487
|
+
self,
|
|
2488
|
+
message=None,
|
|
2489
|
+
http_body=None,
|
|
2490
|
+
http_status=None,
|
|
2491
|
+
json_body=None,
|
|
2492
|
+
headers=None,
|
|
2493
|
+
code=None,
|
|
2494
|
+
):
|
|
2495
|
+
super().__init__(
|
|
2496
|
+
message, http_body, http_status, json_body, headers, code
|
|
2497
|
+
)
|
|
2498
|
+
|
|
2499
|
+
|
|
2500
|
+
class RemoteServerErrorError(ProcessingFailureError):
|
|
2501
|
+
def __init__(
|
|
2502
|
+
self,
|
|
2503
|
+
message=None,
|
|
2504
|
+
http_body=None,
|
|
2505
|
+
http_status=None,
|
|
2506
|
+
json_body=None,
|
|
2507
|
+
headers=None,
|
|
2508
|
+
code=None,
|
|
2509
|
+
):
|
|
2510
|
+
super().__init__(
|
|
2511
|
+
message, http_body, http_status, json_body, headers, code
|
|
2512
|
+
)
|
|
2513
|
+
|
|
2514
|
+
|
|
2515
|
+
class ResourceBelongsToParentSiteError(ProcessingFailureError):
|
|
2516
|
+
def __init__(
|
|
2517
|
+
self,
|
|
2518
|
+
message=None,
|
|
2519
|
+
http_body=None,
|
|
2520
|
+
http_status=None,
|
|
2521
|
+
json_body=None,
|
|
2522
|
+
headers=None,
|
|
2523
|
+
code=None,
|
|
2524
|
+
):
|
|
2525
|
+
super().__init__(
|
|
2526
|
+
message, http_body, http_status, json_body, headers, code
|
|
2527
|
+
)
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
class ResourceLockedError(ProcessingFailureError):
|
|
2531
|
+
def __init__(
|
|
2532
|
+
self,
|
|
2533
|
+
message=None,
|
|
2534
|
+
http_body=None,
|
|
2535
|
+
http_status=None,
|
|
2536
|
+
json_body=None,
|
|
2537
|
+
headers=None,
|
|
2538
|
+
code=None,
|
|
2539
|
+
):
|
|
2540
|
+
super().__init__(
|
|
2541
|
+
message, http_body, http_status, json_body, headers, code
|
|
2542
|
+
)
|
|
2543
|
+
|
|
2544
|
+
|
|
2545
|
+
class SubfolderLockedError(ProcessingFailureError):
|
|
2546
|
+
def __init__(
|
|
2547
|
+
self,
|
|
2548
|
+
message=None,
|
|
2549
|
+
http_body=None,
|
|
2550
|
+
http_status=None,
|
|
2551
|
+
json_body=None,
|
|
2552
|
+
headers=None,
|
|
2553
|
+
code=None,
|
|
2554
|
+
):
|
|
2555
|
+
super().__init__(
|
|
2556
|
+
message, http_body, http_status, json_body, headers, code
|
|
2557
|
+
)
|
|
2558
|
+
|
|
2559
|
+
|
|
2560
|
+
class SyncInProgressError(ProcessingFailureError):
|
|
2561
|
+
def __init__(
|
|
2562
|
+
self,
|
|
2563
|
+
message=None,
|
|
2564
|
+
http_body=None,
|
|
2565
|
+
http_status=None,
|
|
2566
|
+
json_body=None,
|
|
2567
|
+
headers=None,
|
|
2568
|
+
code=None,
|
|
2569
|
+
):
|
|
2570
|
+
super().__init__(
|
|
2571
|
+
message, http_body, http_status, json_body, headers, code
|
|
2572
|
+
)
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
class TwoFactorAuthenticationCodeAlreadySentError(ProcessingFailureError):
|
|
2576
|
+
def __init__(
|
|
2577
|
+
self,
|
|
2578
|
+
message=None,
|
|
2579
|
+
http_body=None,
|
|
2580
|
+
http_status=None,
|
|
2581
|
+
json_body=None,
|
|
2582
|
+
headers=None,
|
|
2583
|
+
code=None,
|
|
2584
|
+
):
|
|
2585
|
+
super().__init__(
|
|
2586
|
+
message, http_body, http_status, json_body, headers, code
|
|
2587
|
+
)
|
|
2588
|
+
|
|
2589
|
+
|
|
2590
|
+
class TwoFactorAuthenticationCountryBlacklistedError(ProcessingFailureError):
|
|
2591
|
+
def __init__(
|
|
2592
|
+
self,
|
|
2593
|
+
message=None,
|
|
2594
|
+
http_body=None,
|
|
2595
|
+
http_status=None,
|
|
2596
|
+
json_body=None,
|
|
2597
|
+
headers=None,
|
|
2598
|
+
code=None,
|
|
2599
|
+
):
|
|
2600
|
+
super().__init__(
|
|
2601
|
+
message, http_body, http_status, json_body, headers, code
|
|
2602
|
+
)
|
|
2603
|
+
|
|
2604
|
+
|
|
2605
|
+
class TwoFactorAuthenticationGeneralErrorError(ProcessingFailureError):
|
|
2606
|
+
def __init__(
|
|
2607
|
+
self,
|
|
2608
|
+
message=None,
|
|
2609
|
+
http_body=None,
|
|
2610
|
+
http_status=None,
|
|
2611
|
+
json_body=None,
|
|
2612
|
+
headers=None,
|
|
2613
|
+
code=None,
|
|
2614
|
+
):
|
|
2615
|
+
super().__init__(
|
|
2616
|
+
message, http_body, http_status, json_body, headers, code
|
|
2617
|
+
)
|
|
2618
|
+
|
|
2619
|
+
|
|
2620
|
+
class TwoFactorAuthenticationMethodUnsupportedErrorError(
|
|
2621
|
+
ProcessingFailureError
|
|
2622
|
+
):
|
|
2623
|
+
def __init__(
|
|
2624
|
+
self,
|
|
2625
|
+
message=None,
|
|
2626
|
+
http_body=None,
|
|
2627
|
+
http_status=None,
|
|
2628
|
+
json_body=None,
|
|
2629
|
+
headers=None,
|
|
2630
|
+
code=None,
|
|
2631
|
+
):
|
|
2632
|
+
super().__init__(
|
|
2633
|
+
message, http_body, http_status, json_body, headers, code
|
|
2634
|
+
)
|
|
2635
|
+
|
|
2636
|
+
|
|
2637
|
+
class TwoFactorAuthenticationUnsubscribedRecipientError(
|
|
2638
|
+
ProcessingFailureError
|
|
2639
|
+
):
|
|
2640
|
+
def __init__(
|
|
2641
|
+
self,
|
|
2642
|
+
message=None,
|
|
2643
|
+
http_body=None,
|
|
2644
|
+
http_status=None,
|
|
2645
|
+
json_body=None,
|
|
2646
|
+
headers=None,
|
|
2647
|
+
code=None,
|
|
2648
|
+
):
|
|
2649
|
+
super().__init__(
|
|
2650
|
+
message, http_body, http_status, json_body, headers, code
|
|
2651
|
+
)
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
class UpdatesNotAllowedForRemotesError(ProcessingFailureError):
|
|
2655
|
+
def __init__(
|
|
2656
|
+
self,
|
|
2657
|
+
message=None,
|
|
2658
|
+
http_body=None,
|
|
2659
|
+
http_status=None,
|
|
2660
|
+
json_body=None,
|
|
2661
|
+
headers=None,
|
|
2662
|
+
code=None,
|
|
2663
|
+
):
|
|
2664
|
+
super().__init__(
|
|
2665
|
+
message, http_body, http_status, json_body, headers, code
|
|
2666
|
+
)
|
|
2667
|
+
|
|
2668
|
+
|
|
2669
|
+
class RateLimitedError(APIError):
|
|
2670
|
+
def __init__(
|
|
2671
|
+
self,
|
|
2672
|
+
message=None,
|
|
2673
|
+
http_body=None,
|
|
2674
|
+
http_status=None,
|
|
2675
|
+
json_body=None,
|
|
2676
|
+
headers=None,
|
|
2677
|
+
code=None,
|
|
2678
|
+
):
|
|
2679
|
+
super().__init__(
|
|
2680
|
+
message, http_body, http_status, json_body, headers, code
|
|
2681
|
+
)
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
class DuplicateShareRecipientError(RateLimitedError):
|
|
2685
|
+
def __init__(
|
|
2686
|
+
self,
|
|
2687
|
+
message=None,
|
|
2688
|
+
http_body=None,
|
|
2689
|
+
http_status=None,
|
|
2690
|
+
json_body=None,
|
|
2691
|
+
headers=None,
|
|
2692
|
+
code=None,
|
|
2693
|
+
):
|
|
2694
|
+
super().__init__(
|
|
2695
|
+
message, http_body, http_status, json_body, headers, code
|
|
2696
|
+
)
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
class ReauthenticationRateLimitedError(RateLimitedError):
|
|
2700
|
+
def __init__(
|
|
2701
|
+
self,
|
|
2702
|
+
message=None,
|
|
2703
|
+
http_body=None,
|
|
2704
|
+
http_status=None,
|
|
2705
|
+
json_body=None,
|
|
2706
|
+
headers=None,
|
|
2707
|
+
code=None,
|
|
2708
|
+
):
|
|
2709
|
+
super().__init__(
|
|
2710
|
+
message, http_body, http_status, json_body, headers, code
|
|
2711
|
+
)
|
|
2712
|
+
|
|
2713
|
+
|
|
2714
|
+
class TooManyConcurrentLoginsError(RateLimitedError):
|
|
2715
|
+
def __init__(
|
|
2716
|
+
self,
|
|
2717
|
+
message=None,
|
|
2718
|
+
http_body=None,
|
|
2719
|
+
http_status=None,
|
|
2720
|
+
json_body=None,
|
|
2721
|
+
headers=None,
|
|
2722
|
+
code=None,
|
|
2723
|
+
):
|
|
2724
|
+
super().__init__(
|
|
2725
|
+
message, http_body, http_status, json_body, headers, code
|
|
2726
|
+
)
|
|
2727
|
+
|
|
2728
|
+
|
|
2729
|
+
class TooManyConcurrentRequestsError(RateLimitedError):
|
|
2730
|
+
def __init__(
|
|
2731
|
+
self,
|
|
2732
|
+
message=None,
|
|
2733
|
+
http_body=None,
|
|
2734
|
+
http_status=None,
|
|
2735
|
+
json_body=None,
|
|
2736
|
+
headers=None,
|
|
2737
|
+
code=None,
|
|
2738
|
+
):
|
|
2739
|
+
super().__init__(
|
|
2740
|
+
message, http_body, http_status, json_body, headers, code
|
|
2741
|
+
)
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
class TooManyLoginAttemptsError(RateLimitedError):
|
|
2745
|
+
def __init__(
|
|
2746
|
+
self,
|
|
2747
|
+
message=None,
|
|
2748
|
+
http_body=None,
|
|
2749
|
+
http_status=None,
|
|
2750
|
+
json_body=None,
|
|
2751
|
+
headers=None,
|
|
2752
|
+
code=None,
|
|
2753
|
+
):
|
|
2754
|
+
super().__init__(
|
|
2755
|
+
message, http_body, http_status, json_body, headers, code
|
|
2756
|
+
)
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
class TooManyRequestsError(RateLimitedError):
|
|
2760
|
+
def __init__(
|
|
2761
|
+
self,
|
|
2762
|
+
message=None,
|
|
2763
|
+
http_body=None,
|
|
2764
|
+
http_status=None,
|
|
2765
|
+
json_body=None,
|
|
2766
|
+
headers=None,
|
|
2767
|
+
code=None,
|
|
2768
|
+
):
|
|
2769
|
+
super().__init__(
|
|
2770
|
+
message, http_body, http_status, json_body, headers, code
|
|
2771
|
+
)
|
|
2772
|
+
|
|
2773
|
+
|
|
2774
|
+
class TooManySharesError(RateLimitedError):
|
|
2775
|
+
def __init__(
|
|
2776
|
+
self,
|
|
2777
|
+
message=None,
|
|
2778
|
+
http_body=None,
|
|
2779
|
+
http_status=None,
|
|
2780
|
+
json_body=None,
|
|
2781
|
+
headers=None,
|
|
2782
|
+
code=None,
|
|
2783
|
+
):
|
|
2784
|
+
super().__init__(
|
|
2785
|
+
message, http_body, http_status, json_body, headers, code
|
|
2786
|
+
)
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
class ServiceUnavailableError(APIError):
|
|
2790
|
+
def __init__(
|
|
2791
|
+
self,
|
|
2792
|
+
message=None,
|
|
2793
|
+
http_body=None,
|
|
2794
|
+
http_status=None,
|
|
2795
|
+
json_body=None,
|
|
2796
|
+
headers=None,
|
|
2797
|
+
code=None,
|
|
2798
|
+
):
|
|
2799
|
+
super().__init__(
|
|
2800
|
+
message, http_body, http_status, json_body, headers, code
|
|
2801
|
+
)
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
class AutomationsUnavailableError(ServiceUnavailableError):
|
|
2805
|
+
def __init__(
|
|
2806
|
+
self,
|
|
2807
|
+
message=None,
|
|
2808
|
+
http_body=None,
|
|
2809
|
+
http_status=None,
|
|
2810
|
+
json_body=None,
|
|
2811
|
+
headers=None,
|
|
2812
|
+
code=None,
|
|
2813
|
+
):
|
|
2814
|
+
super().__init__(
|
|
2815
|
+
message, http_body, http_status, json_body, headers, code
|
|
2816
|
+
)
|
|
2817
|
+
|
|
2818
|
+
|
|
2819
|
+
class MigrationInProgressError(ServiceUnavailableError):
|
|
2820
|
+
def __init__(
|
|
2821
|
+
self,
|
|
2822
|
+
message=None,
|
|
2823
|
+
http_body=None,
|
|
2824
|
+
http_status=None,
|
|
2825
|
+
json_body=None,
|
|
2826
|
+
headers=None,
|
|
2827
|
+
code=None,
|
|
2828
|
+
):
|
|
2829
|
+
super().__init__(
|
|
2830
|
+
message, http_body, http_status, json_body, headers, code
|
|
2831
|
+
)
|
|
2832
|
+
|
|
2833
|
+
|
|
2834
|
+
class SiteDisabledError(ServiceUnavailableError):
|
|
2835
|
+
def __init__(
|
|
2836
|
+
self,
|
|
2837
|
+
message=None,
|
|
2838
|
+
http_body=None,
|
|
2839
|
+
http_status=None,
|
|
2840
|
+
json_body=None,
|
|
2841
|
+
headers=None,
|
|
2842
|
+
code=None,
|
|
2843
|
+
):
|
|
2844
|
+
super().__init__(
|
|
2845
|
+
message, http_body, http_status, json_body, headers, code
|
|
2846
|
+
)
|
|
2847
|
+
|
|
2848
|
+
|
|
2849
|
+
class UploadsUnavailableError(ServiceUnavailableError):
|
|
2850
|
+
def __init__(
|
|
2851
|
+
self,
|
|
2852
|
+
message=None,
|
|
2853
|
+
http_body=None,
|
|
2854
|
+
http_status=None,
|
|
2855
|
+
json_body=None,
|
|
2856
|
+
headers=None,
|
|
2857
|
+
code=None,
|
|
2858
|
+
):
|
|
2859
|
+
super().__init__(
|
|
2860
|
+
message, http_body, http_status, json_body, headers, code
|
|
2861
|
+
)
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
class SiteConfigurationError(APIError):
|
|
2865
|
+
def __init__(
|
|
2866
|
+
self,
|
|
2867
|
+
message=None,
|
|
2868
|
+
http_body=None,
|
|
2869
|
+
http_status=None,
|
|
2870
|
+
json_body=None,
|
|
2871
|
+
headers=None,
|
|
2872
|
+
code=None,
|
|
2873
|
+
):
|
|
2874
|
+
super().__init__(
|
|
2875
|
+
message, http_body, http_status, json_body, headers, code
|
|
2876
|
+
)
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
class AccountAlreadyExistsError(SiteConfigurationError):
|
|
2880
|
+
def __init__(
|
|
2881
|
+
self,
|
|
2882
|
+
message=None,
|
|
2883
|
+
http_body=None,
|
|
2884
|
+
http_status=None,
|
|
2885
|
+
json_body=None,
|
|
2886
|
+
headers=None,
|
|
2887
|
+
code=None,
|
|
2888
|
+
):
|
|
2889
|
+
super().__init__(
|
|
2890
|
+
message, http_body, http_status, json_body, headers, code
|
|
2891
|
+
)
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
class AccountOverdueError(SiteConfigurationError):
|
|
2895
|
+
def __init__(
|
|
2896
|
+
self,
|
|
2897
|
+
message=None,
|
|
2898
|
+
http_body=None,
|
|
2899
|
+
http_status=None,
|
|
2900
|
+
json_body=None,
|
|
2901
|
+
headers=None,
|
|
2902
|
+
code=None,
|
|
2903
|
+
):
|
|
2904
|
+
super().__init__(
|
|
2905
|
+
message, http_body, http_status, json_body, headers, code
|
|
2906
|
+
)
|
|
2907
|
+
|
|
2908
|
+
|
|
2909
|
+
class NoAccountForSiteError(SiteConfigurationError):
|
|
2910
|
+
def __init__(
|
|
2911
|
+
self,
|
|
2912
|
+
message=None,
|
|
2913
|
+
http_body=None,
|
|
2914
|
+
http_status=None,
|
|
2915
|
+
json_body=None,
|
|
2916
|
+
headers=None,
|
|
2917
|
+
code=None,
|
|
2918
|
+
):
|
|
2919
|
+
super().__init__(
|
|
2920
|
+
message, http_body, http_status, json_body, headers, code
|
|
2921
|
+
)
|
|
2922
|
+
|
|
2923
|
+
|
|
2924
|
+
class SiteWasRemovedError(SiteConfigurationError):
|
|
2925
|
+
def __init__(
|
|
2926
|
+
self,
|
|
2927
|
+
message=None,
|
|
2928
|
+
http_body=None,
|
|
2929
|
+
http_status=None,
|
|
2930
|
+
json_body=None,
|
|
2931
|
+
headers=None,
|
|
2932
|
+
code=None,
|
|
2933
|
+
):
|
|
2934
|
+
super().__init__(
|
|
2935
|
+
message, http_body, http_status, json_body, headers, code
|
|
2936
|
+
)
|
|
2937
|
+
|
|
2938
|
+
|
|
2939
|
+
class TrialExpiredError(SiteConfigurationError):
|
|
2940
|
+
def __init__(
|
|
2941
|
+
self,
|
|
2942
|
+
message=None,
|
|
2943
|
+
http_body=None,
|
|
2944
|
+
http_status=None,
|
|
2945
|
+
json_body=None,
|
|
2946
|
+
headers=None,
|
|
2947
|
+
code=None,
|
|
2948
|
+
):
|
|
2949
|
+
super().__init__(
|
|
2950
|
+
message, http_body, http_status, json_body, headers, code
|
|
2951
|
+
)
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
class TrialLockedError(SiteConfigurationError):
|
|
2955
|
+
def __init__(
|
|
2956
|
+
self,
|
|
2957
|
+
message=None,
|
|
2958
|
+
http_body=None,
|
|
2959
|
+
http_status=None,
|
|
2960
|
+
json_body=None,
|
|
2961
|
+
headers=None,
|
|
2962
|
+
code=None,
|
|
2963
|
+
):
|
|
2964
|
+
super().__init__(
|
|
2965
|
+
message, http_body, http_status, json_body, headers, code
|
|
2966
|
+
)
|
|
2967
|
+
|
|
2968
|
+
|
|
2969
|
+
class UserRequestsEnabledRequiredError(SiteConfigurationError):
|
|
2970
|
+
def __init__(
|
|
2971
|
+
self,
|
|
2972
|
+
message=None,
|
|
2973
|
+
http_body=None,
|
|
2974
|
+
http_status=None,
|
|
2975
|
+
json_body=None,
|
|
2976
|
+
headers=None,
|
|
2977
|
+
code=None,
|
|
2978
|
+
):
|
|
2979
|
+
super().__init__(
|
|
2980
|
+
message, http_body, http_status, json_body, headers, code
|
|
2981
|
+
)
|