egnyte-client 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. egnyte_client/__init__.py +160 -0
  2. egnyte_client/async_client.py +2901 -0
  3. egnyte_client/cli/__init__.py +132 -0
  4. egnyte_client/cli/__main__.py +4 -0
  5. egnyte_client/cli/commands/__init__.py +0 -0
  6. egnyte_client/cli/commands/audit.py +1226 -0
  7. egnyte_client/cli/commands/auth.py +32 -0
  8. egnyte_client/cli/commands/bookmarks.py +63 -0
  9. egnyte_client/cli/commands/comments.py +101 -0
  10. egnyte_client/cli/commands/events.py +91 -0
  11. egnyte_client/cli/commands/fs.py +690 -0
  12. egnyte_client/cli/commands/groups.py +178 -0
  13. egnyte_client/cli/commands/links.py +138 -0
  14. egnyte_client/cli/commands/metadata.py +737 -0
  15. egnyte_client/cli/commands/perms.py +245 -0
  16. egnyte_client/cli/commands/search.py +109 -0
  17. egnyte_client/cli/commands/trash.py +183 -0
  18. egnyte_client/cli/commands/users.py +138 -0
  19. egnyte_client/cli/commands/webhooks.py +218 -0
  20. egnyte_client/cli/context.py +47 -0
  21. egnyte_client/cli/group.py +72 -0
  22. egnyte_client/cli/options.py +139 -0
  23. egnyte_client/cli/output.py +64 -0
  24. egnyte_client/client.py +2870 -0
  25. egnyte_client/errors.py +320 -0
  26. egnyte_client/oauth.py +45 -0
  27. egnyte_client/operations/__init__.py +11 -0
  28. egnyte_client/operations/audit.py +807 -0
  29. egnyte_client/operations/auth.py +54 -0
  30. egnyte_client/operations/bookmark.py +100 -0
  31. egnyte_client/operations/comment.py +110 -0
  32. egnyte_client/operations/event.py +63 -0
  33. egnyte_client/operations/filesystem.py +814 -0
  34. egnyte_client/operations/generic.py +228 -0
  35. egnyte_client/operations/group.py +184 -0
  36. egnyte_client/operations/insights.py +23 -0
  37. egnyte_client/operations/link.py +161 -0
  38. egnyte_client/operations/metadata.py +473 -0
  39. egnyte_client/operations/permission.py +118 -0
  40. egnyte_client/operations/search.py +79 -0
  41. egnyte_client/operations/trash.py +135 -0
  42. egnyte_client/operations/user.py +192 -0
  43. egnyte_client/operations/webhook.py +230 -0
  44. egnyte_client/py.typed +0 -0
  45. egnyte_client/schemas/audit.py +775 -0
  46. egnyte_client/schemas/auth.py +89 -0
  47. egnyte_client/schemas/bookmark.py +60 -0
  48. egnyte_client/schemas/comment.py +76 -0
  49. egnyte_client/schemas/event.py +253 -0
  50. egnyte_client/schemas/filesystem.py +491 -0
  51. egnyte_client/schemas/generic.py +73 -0
  52. egnyte_client/schemas/group.py +97 -0
  53. egnyte_client/schemas/insights.py +71 -0
  54. egnyte_client/schemas/link.py +159 -0
  55. egnyte_client/schemas/metadata.py +362 -0
  56. egnyte_client/schemas/permission.py +79 -0
  57. egnyte_client/schemas/search.py +259 -0
  58. egnyte_client/schemas/trash.py +241 -0
  59. egnyte_client/schemas/user.py +213 -0
  60. egnyte_client/schemas/webhook.py +253 -0
  61. egnyte_client/transport.py +341 -0
  62. egnyte_client-0.1.0.dist-info/METADATA +576 -0
  63. egnyte_client-0.1.0.dist-info/RECORD +66 -0
  64. egnyte_client-0.1.0.dist-info/WHEEL +4 -0
  65. egnyte_client-0.1.0.dist-info/entry_points.txt +3 -0
  66. egnyte_client-0.1.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,160 @@
1
+ from egnyte_client.async_client import AsyncEgnyteClient
2
+ from egnyte_client.client import EgnyteClient
3
+ from egnyte_client.errors import (
4
+ EgnyteAPIError,
5
+ EgnyteAuthError,
6
+ EgnyteConfigurationError,
7
+ EgnyteConflictError,
8
+ EgnyteError,
9
+ EgnyteForbiddenError,
10
+ EgnyteNotFoundError,
11
+ EgnyteQuotaExceededError,
12
+ EgnyteRateLimitError,
13
+ EgnyteServerError,
14
+ EgnyteValidationError,
15
+ )
16
+ from egnyte_client.oauth import build_authorization_url
17
+ from egnyte_client.operations.webhook import verify_webhook_authorization
18
+ from egnyte_client.schemas.audit import (
19
+ AuditEvent,
20
+ AuditEventPage,
21
+ AuditJob,
22
+ AuditJobStatus,
23
+ AuditRecord,
24
+ AuditReport,
25
+ QualityDocsCategoryFilter,
26
+ )
27
+ from egnyte_client.schemas.auth import OAuthToken, TokenInfo, UserInfo
28
+ from egnyte_client.schemas.bookmark import Bookmark
29
+ from egnyte_client.schemas.comment import Comment
30
+ from egnyte_client.schemas.event import (
31
+ ChangedPermission,
32
+ ChangePermissionEvent,
33
+ Event,
34
+ EventCursor,
35
+ EventData,
36
+ EventPage,
37
+ PermissionChangeAttributes,
38
+ PermissionEntry,
39
+ )
40
+ from egnyte_client.schemas.filesystem import (
41
+ CreatedFolder,
42
+ DeletedItem,
43
+ File,
44
+ FileLock,
45
+ FileVersion,
46
+ Folder,
47
+ FolderStats,
48
+ ItemReference,
49
+ UploadedFile,
50
+ )
51
+ from egnyte_client.schemas.group import Group, GroupMember, GroupSummary
52
+ from egnyte_client.schemas.insights import RecentFile, RecentFiles
53
+ from egnyte_client.schemas.link import Link, LinkUrl
54
+ from egnyte_client.schemas.metadata import (
55
+ FolderAssociation,
56
+ MetadataKey,
57
+ MetadataKeyDefinition,
58
+ MetadataNamespace,
59
+ )
60
+ from egnyte_client.schemas.permission import EffectivePermission, FolderPermissions
61
+ from egnyte_client.schemas.search import (
62
+ CustomProperty,
63
+ MetadataFilter,
64
+ MetadataRange,
65
+ SearchResult,
66
+ SearchResults,
67
+ )
68
+ from egnyte_client.schemas.trash import (
69
+ DataRetentionInfo,
70
+ TrashItem,
71
+ TrashItemOwner,
72
+ TrashItemStatus,
73
+ TrashPage,
74
+ )
75
+ from egnyte_client.schemas.user import User, UserGroup, UserName
76
+ from egnyte_client.schemas.webhook import (
77
+ Webhook,
78
+ WebhookDelivery,
79
+ WebhookDetails,
80
+ WebhookEvent,
81
+ WebhookEventUser,
82
+ )
83
+
84
+ __all__ = [
85
+ "AsyncEgnyteClient",
86
+ "AuditEvent",
87
+ "AuditEventPage",
88
+ "AuditJob",
89
+ "AuditJobStatus",
90
+ "AuditRecord",
91
+ "AuditReport",
92
+ "Bookmark",
93
+ "ChangePermissionEvent",
94
+ "ChangedPermission",
95
+ "Comment",
96
+ "CreatedFolder",
97
+ "CustomProperty",
98
+ "DataRetentionInfo",
99
+ "DeletedItem",
100
+ "EffectivePermission",
101
+ "EgnyteAPIError",
102
+ "EgnyteAuthError",
103
+ "EgnyteClient",
104
+ "EgnyteConfigurationError",
105
+ "EgnyteConflictError",
106
+ "EgnyteError",
107
+ "EgnyteForbiddenError",
108
+ "EgnyteNotFoundError",
109
+ "EgnyteQuotaExceededError",
110
+ "EgnyteRateLimitError",
111
+ "EgnyteServerError",
112
+ "EgnyteValidationError",
113
+ "Event",
114
+ "EventCursor",
115
+ "EventData",
116
+ "EventPage",
117
+ "File",
118
+ "FileLock",
119
+ "FileVersion",
120
+ "Folder",
121
+ "FolderAssociation",
122
+ "FolderPermissions",
123
+ "FolderStats",
124
+ "Group",
125
+ "GroupMember",
126
+ "GroupSummary",
127
+ "ItemReference",
128
+ "Link",
129
+ "LinkUrl",
130
+ "MetadataFilter",
131
+ "MetadataKey",
132
+ "MetadataKeyDefinition",
133
+ "MetadataNamespace",
134
+ "MetadataRange",
135
+ "OAuthToken",
136
+ "PermissionChangeAttributes",
137
+ "PermissionEntry",
138
+ "QualityDocsCategoryFilter",
139
+ "RecentFile",
140
+ "RecentFiles",
141
+ "SearchResult",
142
+ "SearchResults",
143
+ "TokenInfo",
144
+ "TrashItem",
145
+ "TrashItemOwner",
146
+ "TrashItemStatus",
147
+ "TrashPage",
148
+ "UploadedFile",
149
+ "User",
150
+ "UserGroup",
151
+ "UserInfo",
152
+ "UserName",
153
+ "Webhook",
154
+ "WebhookDelivery",
155
+ "WebhookDetails",
156
+ "WebhookEvent",
157
+ "WebhookEventUser",
158
+ "build_authorization_url",
159
+ "verify_webhook_authorization",
160
+ ]