gumlet 0.2.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 (200) hide show
  1. gumlet/__init__.py +88 -0
  2. gumlet/_base_client.py +2236 -0
  3. gumlet/_client.py +1256 -0
  4. gumlet/_compat.py +226 -0
  5. gumlet/_constants.py +14 -0
  6. gumlet/_event_handler.py +85 -0
  7. gumlet/_exceptions.py +126 -0
  8. gumlet/_files.py +173 -0
  9. gumlet/_models.py +962 -0
  10. gumlet/_qs.py +149 -0
  11. gumlet/_resource.py +43 -0
  12. gumlet/_response.py +840 -0
  13. gumlet/_send_queue.py +90 -0
  14. gumlet/_streaming.py +350 -0
  15. gumlet/_types.py +274 -0
  16. gumlet/_utils/__init__.py +64 -0
  17. gumlet/_utils/_compat.py +45 -0
  18. gumlet/_utils/_datetime_parse.py +136 -0
  19. gumlet/_utils/_json.py +35 -0
  20. gumlet/_utils/_logs.py +25 -0
  21. gumlet/_utils/_path.py +127 -0
  22. gumlet/_utils/_proxy.py +65 -0
  23. gumlet/_utils/_reflection.py +42 -0
  24. gumlet/_utils/_resources_proxy.py +24 -0
  25. gumlet/_utils/_streams.py +12 -0
  26. gumlet/_utils/_sync.py +58 -0
  27. gumlet/_utils/_transform.py +457 -0
  28. gumlet/_utils/_typing.py +156 -0
  29. gumlet/_utils/_utils.py +433 -0
  30. gumlet/_version.py +4 -0
  31. gumlet/py.typed +0 -0
  32. gumlet/resources/__init__.py +299 -0
  33. gumlet/resources/audio_upload.py +289 -0
  34. gumlet/resources/audit_logs.py +291 -0
  35. gumlet/resources/billing.py +464 -0
  36. gumlet/resources/channel_viewers.py +545 -0
  37. gumlet/resources/folders.py +842 -0
  38. gumlet/resources/image_sources.py +1077 -0
  39. gumlet/resources/image_usage_analytics.py +228 -0
  40. gumlet/resources/live_stream_assets.py +1025 -0
  41. gumlet/resources/live_stream_workspaces.py +462 -0
  42. gumlet/resources/multipart_upload.py +284 -0
  43. gumlet/resources/organization_data.py +145 -0
  44. gumlet/resources/recycle_bin.py +273 -0
  45. gumlet/resources/subtitle_upload.py +287 -0
  46. gumlet/resources/user_data.py +145 -0
  47. gumlet/resources/video_analytics.py +469 -0
  48. gumlet/resources/video_assets.py +2145 -0
  49. gumlet/resources/video_playlists.py +1143 -0
  50. gumlet/resources/video_profiles.py +796 -0
  51. gumlet/resources/video_usage_analytics.py +367 -0
  52. gumlet/resources/video_workspaces.py +864 -0
  53. gumlet/resources/webhooks.py +595 -0
  54. gumlet/types/__init__.py +190 -0
  55. gumlet/types/audio_upload_complete_params.py +20 -0
  56. gumlet/types/audio_upload_complete_response.py +7 -0
  57. gumlet/types/audio_upload_upload_params.py +13 -0
  58. gumlet/types/audio_upload_upload_response.py +22 -0
  59. gumlet/types/audit_log_fetch_params.py +77 -0
  60. gumlet/types/audit_log_fetch_response.py +61 -0
  61. gumlet/types/billing_fetch_details_response.py +28 -0
  62. gumlet/types/billing_fetch_upcoming_invoice_response.py +55 -0
  63. gumlet/types/billing_list_invoices_response.py +38 -0
  64. gumlet/types/billing_update_details_params.py +30 -0
  65. gumlet/types/billing_update_details_response.py +28 -0
  66. gumlet/types/channel_viewer_delete_params.py +13 -0
  67. gumlet/types/channel_viewer_delete_response.py +11 -0
  68. gumlet/types/channel_viewer_invite_csv_params.py +13 -0
  69. gumlet/types/channel_viewer_invite_csv_response.py +11 -0
  70. gumlet/types/channel_viewer_invite_params.py +21 -0
  71. gumlet/types/channel_viewer_invite_response.py +11 -0
  72. gumlet/types/channel_viewer_list_subscribers_params.py +15 -0
  73. gumlet/types/channel_viewer_list_subscribers_response.py +43 -0
  74. gumlet/types/folder_create_params.py +16 -0
  75. gumlet/types/folder_create_response.py +31 -0
  76. gumlet/types/folder_delete_assets_params.py +12 -0
  77. gumlet/types/folder_delete_assets_response.py +15 -0
  78. gumlet/types/folder_delete_response.py +11 -0
  79. gumlet/types/folder_list_params.py +12 -0
  80. gumlet/types/folder_list_response.py +35 -0
  81. gumlet/types/folder_retrieve_response.py +31 -0
  82. gumlet/types/folder_update_params.py +33 -0
  83. gumlet/types/folder_update_response.py +45 -0
  84. gumlet/types/image_source_create_params.py +180 -0
  85. gumlet/types/image_source_create_response.py +49 -0
  86. gumlet/types/image_source_delete_response.py +7 -0
  87. gumlet/types/image_source_list_params.py +15 -0
  88. gumlet/types/image_source_list_response.py +252 -0
  89. gumlet/types/image_source_purge_cache_params.py +13 -0
  90. gumlet/types/image_source_purge_cache_response.py +9 -0
  91. gumlet/types/image_source_purge_params.py +13 -0
  92. gumlet/types/image_source_purge_response.py +9 -0
  93. gumlet/types/image_source_retrieve_response.py +419 -0
  94. gumlet/types/image_source_update_params.py +398 -0
  95. gumlet/types/image_source_update_response.py +408 -0
  96. gumlet/types/image_usage_analytic_retrieve_params.py +56 -0
  97. gumlet/types/image_usage_analytic_retrieve_response.py +191 -0
  98. gumlet/types/live_stream_asset_complete_response.py +7 -0
  99. gumlet/types/live_stream_asset_create_params.py +29 -0
  100. gumlet/types/live_stream_asset_create_response.py +55 -0
  101. gumlet/types/live_stream_asset_delete_response.py +7 -0
  102. gumlet/types/live_stream_asset_filter_params.py +18 -0
  103. gumlet/types/live_stream_asset_filter_response.py +69 -0
  104. gumlet/types/live_stream_asset_retrieve_status_response.py +55 -0
  105. gumlet/types/live_stream_asset_status_history_response.py +37 -0
  106. gumlet/types/live_stream_asset_update_params.py +21 -0
  107. gumlet/types/live_stream_asset_update_response.py +55 -0
  108. gumlet/types/live_stream_asset_upload_params.py +16 -0
  109. gumlet/types/live_stream_asset_upload_response.py +23 -0
  110. gumlet/types/live_stream_workspace_create_params.py +12 -0
  111. gumlet/types/live_stream_workspace_create_response.py +25 -0
  112. gumlet/types/live_stream_workspace_delete_response.py +7 -0
  113. gumlet/types/live_stream_workspace_list_response.py +32 -0
  114. gumlet/types/live_stream_workspace_update_params.py +15 -0
  115. gumlet/types/live_stream_workspace_update_response.py +25 -0
  116. gumlet/types/multipart_upload_complete_params.py +22 -0
  117. gumlet/types/multipart_upload_complete_response.py +7 -0
  118. gumlet/types/multipart_upload_retrieve_part_url_response.py +15 -0
  119. gumlet/types/organization_data_fetch_org_response.py +84 -0
  120. gumlet/types/recycle_bin_list_params.py +18 -0
  121. gumlet/types/recycle_bin_list_response.py +45 -0
  122. gumlet/types/recycle_bin_recover_params.py +12 -0
  123. gumlet/types/subtitle_upload_complete_params.py +20 -0
  124. gumlet/types/subtitle_upload_complete_response.py +7 -0
  125. gumlet/types/subtitle_upload_upload_params.py +13 -0
  126. gumlet/types/subtitle_upload_upload_response.py +22 -0
  127. gumlet/types/user_data_fetch_response.py +42 -0
  128. gumlet/types/video_analytic_aggregated_data_params.py +99 -0
  129. gumlet/types/video_analytic_aggregated_data_response.py +23 -0
  130. gumlet/types/video_analytic_breakdown_data_params.py +138 -0
  131. gumlet/types/video_analytic_breakdown_data_response.py +33 -0
  132. gumlet/types/video_analytic_chart_data_params.py +119 -0
  133. gumlet/types/video_analytic_chart_data_response.py +47 -0
  134. gumlet/types/video_asset_analytics_params.py +47 -0
  135. gumlet/types/video_asset_analytics_response.py +163 -0
  136. gumlet/types/video_asset_create_params.py +270 -0
  137. gumlet/types/video_asset_create_response.py +103 -0
  138. gumlet/types/video_asset_create_update_chapter_params.py +22 -0
  139. gumlet/types/video_asset_create_update_chapter_response.py +7 -0
  140. gumlet/types/video_asset_delete_many_params.py +16 -0
  141. gumlet/types/video_asset_delete_many_response.py +10 -0
  142. gumlet/types/video_asset_list_deprecated_params.py +41 -0
  143. gumlet/types/video_asset_list_deprecated_response.py +108 -0
  144. gumlet/types/video_asset_list_params.py +61 -0
  145. gumlet/types/video_asset_list_response.py +140 -0
  146. gumlet/types/video_asset_retrieve_details_response.py +224 -0
  147. gumlet/types/video_asset_tag_many_params.py +22 -0
  148. gumlet/types/video_asset_tag_many_response.py +10 -0
  149. gumlet/types/video_asset_thumbnail_select_params.py +12 -0
  150. gumlet/types/video_asset_thumbnail_select_response.py +16 -0
  151. gumlet/types/video_asset_thumbnail_upload_response.py +16 -0
  152. gumlet/types/video_asset_update_params.py +64 -0
  153. gumlet/types/video_asset_update_response.py +7 -0
  154. gumlet/types/video_asset_upload_params.py +267 -0
  155. gumlet/types/video_asset_upload_response.py +97 -0
  156. gumlet/types/video_playlist_create_asset_params.py +19 -0
  157. gumlet/types/video_playlist_create_asset_response.py +11 -0
  158. gumlet/types/video_playlist_create_params.py +15 -0
  159. gumlet/types/video_playlist_create_response.py +59 -0
  160. gumlet/types/video_playlist_delete_asset_params.py +13 -0
  161. gumlet/types/video_playlist_delete_asset_response.py +11 -0
  162. gumlet/types/video_playlist_list_all_params.py +12 -0
  163. gumlet/types/video_playlist_list_all_response.py +23 -0
  164. gumlet/types/video_playlist_list_assets_params.py +21 -0
  165. gumlet/types/video_playlist_list_assets_response.py +31 -0
  166. gumlet/types/video_playlist_reorder_asset_params.py +31 -0
  167. gumlet/types/video_playlist_reorder_asset_response.py +13 -0
  168. gumlet/types/video_playlist_update_params.py +60 -0
  169. gumlet/types/video_playlist_update_response.py +59 -0
  170. gumlet/types/video_profile_create_params.py +200 -0
  171. gumlet/types/video_profile_create_response.py +35 -0
  172. gumlet/types/video_profile_delete_response.py +7 -0
  173. gumlet/types/video_profile_list_params.py +15 -0
  174. gumlet/types/video_profile_list_response.py +45 -0
  175. gumlet/types/video_profile_retrieve_response.py +39 -0
  176. gumlet/types/video_profile_update_params.py +215 -0
  177. gumlet/types/video_profile_update_response.py +39 -0
  178. gumlet/types/video_usage_analytic_retrieve_params.py +58 -0
  179. gumlet/types/video_usage_analytic_retrieve_response.py +109 -0
  180. gumlet/types/video_usage_analytic_top_assets_params.py +24 -0
  181. gumlet/types/video_usage_analytic_top_assets_response.py +21 -0
  182. gumlet/types/video_workspace_create_params.py +205 -0
  183. gumlet/types/video_workspace_create_response.py +121 -0
  184. gumlet/types/video_workspace_delete_response.py +7 -0
  185. gumlet/types/video_workspace_list_params.py +15 -0
  186. gumlet/types/video_workspace_list_response.py +162 -0
  187. gumlet/types/video_workspace_retrieve_response.py +234 -0
  188. gumlet/types/video_workspace_update_params.py +280 -0
  189. gumlet/types/video_workspace_update_response.py +150 -0
  190. gumlet/types/webhook_create_params.py +22 -0
  191. gumlet/types/webhook_create_response.py +23 -0
  192. gumlet/types/webhook_delete_response.py +7 -0
  193. gumlet/types/webhook_history_response.py +31 -0
  194. gumlet/types/webhook_list_response.py +30 -0
  195. gumlet/types/webhook_update_params.py +21 -0
  196. gumlet/types/webhook_update_response.py +23 -0
  197. gumlet-0.2.0.dist-info/METADATA +243 -0
  198. gumlet-0.2.0.dist-info/RECORD +200 -0
  199. gumlet-0.2.0.dist-info/WHEEL +4 -0
  200. gumlet-0.2.0.dist-info/licenses/LICENSE +201 -0
gumlet/__init__.py ADDED
@@ -0,0 +1,88 @@
1
+ # File generated from our OpenAPI spec by Scalar. See README.md for details.
2
+
3
+ import typing as _t
4
+
5
+ from . import types
6
+ from ._types import NOT_GIVEN, Omit, NoneType, NotGiven, Transport, ProxiesTypes, omit, not_given
7
+ from ._utils import file_from_path
8
+ from ._client import Client, Stream, Gumlet, Timeout, Transport, AsyncClient, AsyncStream, AsyncGumlet, RequestOptions
9
+ from ._models import BaseModel
10
+ from ._version import __title__, __version__
11
+ from ._response import APIResponse as APIResponse, AsyncAPIResponse as AsyncAPIResponse
12
+ from ._constants import DEFAULT_TIMEOUT, DEFAULT_MAX_RETRIES, DEFAULT_CONNECTION_LIMITS
13
+ from ._exceptions import (
14
+ APIError,
15
+ GumletError,
16
+ ConflictError,
17
+ NotFoundError,
18
+ APIStatusError,
19
+ RateLimitError,
20
+ APITimeoutError,
21
+ BadRequestError,
22
+ APIConnectionError,
23
+ AuthenticationError,
24
+ InternalServerError,
25
+ PermissionDeniedError,
26
+ UnprocessableEntityError,
27
+ APIResponseValidationError,
28
+ )
29
+ from ._base_client import DefaultHttpxClient, DefaultAioHttpClient, DefaultAsyncHttpxClient
30
+ from ._utils._logs import setup_logging as _setup_logging
31
+
32
+ __all__ = [
33
+ "types",
34
+ "__version__",
35
+ "__title__",
36
+ "NoneType",
37
+ "Transport",
38
+ "ProxiesTypes",
39
+ "NotGiven",
40
+ "NOT_GIVEN",
41
+ "not_given",
42
+ "Omit",
43
+ "omit",
44
+ "GumletError",
45
+ "APIError",
46
+ "APIStatusError",
47
+ "APITimeoutError",
48
+ "APIConnectionError",
49
+ "APIResponseValidationError",
50
+ "BadRequestError",
51
+ "AuthenticationError",
52
+ "PermissionDeniedError",
53
+ "NotFoundError",
54
+ "ConflictError",
55
+ "UnprocessableEntityError",
56
+ "RateLimitError",
57
+ "InternalServerError",
58
+ "Timeout",
59
+ "RequestOptions",
60
+ "Client",
61
+ "AsyncClient",
62
+ "Stream",
63
+ "AsyncStream",
64
+ "Gumlet",
65
+ "AsyncGumlet",
66
+ "file_from_path",
67
+ "BaseModel",
68
+ "DEFAULT_TIMEOUT",
69
+ "DEFAULT_MAX_RETRIES",
70
+ "DEFAULT_CONNECTION_LIMITS",
71
+ "DefaultHttpxClient",
72
+ "DefaultAsyncHttpxClient",
73
+ "DefaultAioHttpClient",
74
+ ]
75
+
76
+ if not _t.TYPE_CHECKING:
77
+ from ._utils._resources_proxy import resources as resources
78
+
79
+ _setup_logging()
80
+
81
+ __locals = locals()
82
+ __module_name = __name__
83
+ for __export_name in __all__:
84
+ if not __export_name.startswith("__"):
85
+ try:
86
+ __locals[__export_name].__module__ = __module_name
87
+ except (TypeError, AttributeError):
88
+ pass