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.
- gumlet/__init__.py +88 -0
- gumlet/_base_client.py +2236 -0
- gumlet/_client.py +1256 -0
- gumlet/_compat.py +226 -0
- gumlet/_constants.py +14 -0
- gumlet/_event_handler.py +85 -0
- gumlet/_exceptions.py +126 -0
- gumlet/_files.py +173 -0
- gumlet/_models.py +962 -0
- gumlet/_qs.py +149 -0
- gumlet/_resource.py +43 -0
- gumlet/_response.py +840 -0
- gumlet/_send_queue.py +90 -0
- gumlet/_streaming.py +350 -0
- gumlet/_types.py +274 -0
- gumlet/_utils/__init__.py +64 -0
- gumlet/_utils/_compat.py +45 -0
- gumlet/_utils/_datetime_parse.py +136 -0
- gumlet/_utils/_json.py +35 -0
- gumlet/_utils/_logs.py +25 -0
- gumlet/_utils/_path.py +127 -0
- gumlet/_utils/_proxy.py +65 -0
- gumlet/_utils/_reflection.py +42 -0
- gumlet/_utils/_resources_proxy.py +24 -0
- gumlet/_utils/_streams.py +12 -0
- gumlet/_utils/_sync.py +58 -0
- gumlet/_utils/_transform.py +457 -0
- gumlet/_utils/_typing.py +156 -0
- gumlet/_utils/_utils.py +433 -0
- gumlet/_version.py +4 -0
- gumlet/py.typed +0 -0
- gumlet/resources/__init__.py +299 -0
- gumlet/resources/audio_upload.py +289 -0
- gumlet/resources/audit_logs.py +291 -0
- gumlet/resources/billing.py +464 -0
- gumlet/resources/channel_viewers.py +545 -0
- gumlet/resources/folders.py +842 -0
- gumlet/resources/image_sources.py +1077 -0
- gumlet/resources/image_usage_analytics.py +228 -0
- gumlet/resources/live_stream_assets.py +1025 -0
- gumlet/resources/live_stream_workspaces.py +462 -0
- gumlet/resources/multipart_upload.py +284 -0
- gumlet/resources/organization_data.py +145 -0
- gumlet/resources/recycle_bin.py +273 -0
- gumlet/resources/subtitle_upload.py +287 -0
- gumlet/resources/user_data.py +145 -0
- gumlet/resources/video_analytics.py +469 -0
- gumlet/resources/video_assets.py +2145 -0
- gumlet/resources/video_playlists.py +1143 -0
- gumlet/resources/video_profiles.py +796 -0
- gumlet/resources/video_usage_analytics.py +367 -0
- gumlet/resources/video_workspaces.py +864 -0
- gumlet/resources/webhooks.py +595 -0
- gumlet/types/__init__.py +190 -0
- gumlet/types/audio_upload_complete_params.py +20 -0
- gumlet/types/audio_upload_complete_response.py +7 -0
- gumlet/types/audio_upload_upload_params.py +13 -0
- gumlet/types/audio_upload_upload_response.py +22 -0
- gumlet/types/audit_log_fetch_params.py +77 -0
- gumlet/types/audit_log_fetch_response.py +61 -0
- gumlet/types/billing_fetch_details_response.py +28 -0
- gumlet/types/billing_fetch_upcoming_invoice_response.py +55 -0
- gumlet/types/billing_list_invoices_response.py +38 -0
- gumlet/types/billing_update_details_params.py +30 -0
- gumlet/types/billing_update_details_response.py +28 -0
- gumlet/types/channel_viewer_delete_params.py +13 -0
- gumlet/types/channel_viewer_delete_response.py +11 -0
- gumlet/types/channel_viewer_invite_csv_params.py +13 -0
- gumlet/types/channel_viewer_invite_csv_response.py +11 -0
- gumlet/types/channel_viewer_invite_params.py +21 -0
- gumlet/types/channel_viewer_invite_response.py +11 -0
- gumlet/types/channel_viewer_list_subscribers_params.py +15 -0
- gumlet/types/channel_viewer_list_subscribers_response.py +43 -0
- gumlet/types/folder_create_params.py +16 -0
- gumlet/types/folder_create_response.py +31 -0
- gumlet/types/folder_delete_assets_params.py +12 -0
- gumlet/types/folder_delete_assets_response.py +15 -0
- gumlet/types/folder_delete_response.py +11 -0
- gumlet/types/folder_list_params.py +12 -0
- gumlet/types/folder_list_response.py +35 -0
- gumlet/types/folder_retrieve_response.py +31 -0
- gumlet/types/folder_update_params.py +33 -0
- gumlet/types/folder_update_response.py +45 -0
- gumlet/types/image_source_create_params.py +180 -0
- gumlet/types/image_source_create_response.py +49 -0
- gumlet/types/image_source_delete_response.py +7 -0
- gumlet/types/image_source_list_params.py +15 -0
- gumlet/types/image_source_list_response.py +252 -0
- gumlet/types/image_source_purge_cache_params.py +13 -0
- gumlet/types/image_source_purge_cache_response.py +9 -0
- gumlet/types/image_source_purge_params.py +13 -0
- gumlet/types/image_source_purge_response.py +9 -0
- gumlet/types/image_source_retrieve_response.py +419 -0
- gumlet/types/image_source_update_params.py +398 -0
- gumlet/types/image_source_update_response.py +408 -0
- gumlet/types/image_usage_analytic_retrieve_params.py +56 -0
- gumlet/types/image_usage_analytic_retrieve_response.py +191 -0
- gumlet/types/live_stream_asset_complete_response.py +7 -0
- gumlet/types/live_stream_asset_create_params.py +29 -0
- gumlet/types/live_stream_asset_create_response.py +55 -0
- gumlet/types/live_stream_asset_delete_response.py +7 -0
- gumlet/types/live_stream_asset_filter_params.py +18 -0
- gumlet/types/live_stream_asset_filter_response.py +69 -0
- gumlet/types/live_stream_asset_retrieve_status_response.py +55 -0
- gumlet/types/live_stream_asset_status_history_response.py +37 -0
- gumlet/types/live_stream_asset_update_params.py +21 -0
- gumlet/types/live_stream_asset_update_response.py +55 -0
- gumlet/types/live_stream_asset_upload_params.py +16 -0
- gumlet/types/live_stream_asset_upload_response.py +23 -0
- gumlet/types/live_stream_workspace_create_params.py +12 -0
- gumlet/types/live_stream_workspace_create_response.py +25 -0
- gumlet/types/live_stream_workspace_delete_response.py +7 -0
- gumlet/types/live_stream_workspace_list_response.py +32 -0
- gumlet/types/live_stream_workspace_update_params.py +15 -0
- gumlet/types/live_stream_workspace_update_response.py +25 -0
- gumlet/types/multipart_upload_complete_params.py +22 -0
- gumlet/types/multipart_upload_complete_response.py +7 -0
- gumlet/types/multipart_upload_retrieve_part_url_response.py +15 -0
- gumlet/types/organization_data_fetch_org_response.py +84 -0
- gumlet/types/recycle_bin_list_params.py +18 -0
- gumlet/types/recycle_bin_list_response.py +45 -0
- gumlet/types/recycle_bin_recover_params.py +12 -0
- gumlet/types/subtitle_upload_complete_params.py +20 -0
- gumlet/types/subtitle_upload_complete_response.py +7 -0
- gumlet/types/subtitle_upload_upload_params.py +13 -0
- gumlet/types/subtitle_upload_upload_response.py +22 -0
- gumlet/types/user_data_fetch_response.py +42 -0
- gumlet/types/video_analytic_aggregated_data_params.py +99 -0
- gumlet/types/video_analytic_aggregated_data_response.py +23 -0
- gumlet/types/video_analytic_breakdown_data_params.py +138 -0
- gumlet/types/video_analytic_breakdown_data_response.py +33 -0
- gumlet/types/video_analytic_chart_data_params.py +119 -0
- gumlet/types/video_analytic_chart_data_response.py +47 -0
- gumlet/types/video_asset_analytics_params.py +47 -0
- gumlet/types/video_asset_analytics_response.py +163 -0
- gumlet/types/video_asset_create_params.py +270 -0
- gumlet/types/video_asset_create_response.py +103 -0
- gumlet/types/video_asset_create_update_chapter_params.py +22 -0
- gumlet/types/video_asset_create_update_chapter_response.py +7 -0
- gumlet/types/video_asset_delete_many_params.py +16 -0
- gumlet/types/video_asset_delete_many_response.py +10 -0
- gumlet/types/video_asset_list_deprecated_params.py +41 -0
- gumlet/types/video_asset_list_deprecated_response.py +108 -0
- gumlet/types/video_asset_list_params.py +61 -0
- gumlet/types/video_asset_list_response.py +140 -0
- gumlet/types/video_asset_retrieve_details_response.py +224 -0
- gumlet/types/video_asset_tag_many_params.py +22 -0
- gumlet/types/video_asset_tag_many_response.py +10 -0
- gumlet/types/video_asset_thumbnail_select_params.py +12 -0
- gumlet/types/video_asset_thumbnail_select_response.py +16 -0
- gumlet/types/video_asset_thumbnail_upload_response.py +16 -0
- gumlet/types/video_asset_update_params.py +64 -0
- gumlet/types/video_asset_update_response.py +7 -0
- gumlet/types/video_asset_upload_params.py +267 -0
- gumlet/types/video_asset_upload_response.py +97 -0
- gumlet/types/video_playlist_create_asset_params.py +19 -0
- gumlet/types/video_playlist_create_asset_response.py +11 -0
- gumlet/types/video_playlist_create_params.py +15 -0
- gumlet/types/video_playlist_create_response.py +59 -0
- gumlet/types/video_playlist_delete_asset_params.py +13 -0
- gumlet/types/video_playlist_delete_asset_response.py +11 -0
- gumlet/types/video_playlist_list_all_params.py +12 -0
- gumlet/types/video_playlist_list_all_response.py +23 -0
- gumlet/types/video_playlist_list_assets_params.py +21 -0
- gumlet/types/video_playlist_list_assets_response.py +31 -0
- gumlet/types/video_playlist_reorder_asset_params.py +31 -0
- gumlet/types/video_playlist_reorder_asset_response.py +13 -0
- gumlet/types/video_playlist_update_params.py +60 -0
- gumlet/types/video_playlist_update_response.py +59 -0
- gumlet/types/video_profile_create_params.py +200 -0
- gumlet/types/video_profile_create_response.py +35 -0
- gumlet/types/video_profile_delete_response.py +7 -0
- gumlet/types/video_profile_list_params.py +15 -0
- gumlet/types/video_profile_list_response.py +45 -0
- gumlet/types/video_profile_retrieve_response.py +39 -0
- gumlet/types/video_profile_update_params.py +215 -0
- gumlet/types/video_profile_update_response.py +39 -0
- gumlet/types/video_usage_analytic_retrieve_params.py +58 -0
- gumlet/types/video_usage_analytic_retrieve_response.py +109 -0
- gumlet/types/video_usage_analytic_top_assets_params.py +24 -0
- gumlet/types/video_usage_analytic_top_assets_response.py +21 -0
- gumlet/types/video_workspace_create_params.py +205 -0
- gumlet/types/video_workspace_create_response.py +121 -0
- gumlet/types/video_workspace_delete_response.py +7 -0
- gumlet/types/video_workspace_list_params.py +15 -0
- gumlet/types/video_workspace_list_response.py +162 -0
- gumlet/types/video_workspace_retrieve_response.py +234 -0
- gumlet/types/video_workspace_update_params.py +280 -0
- gumlet/types/video_workspace_update_response.py +150 -0
- gumlet/types/webhook_create_params.py +22 -0
- gumlet/types/webhook_create_response.py +23 -0
- gumlet/types/webhook_delete_response.py +7 -0
- gumlet/types/webhook_history_response.py +31 -0
- gumlet/types/webhook_list_response.py +30 -0
- gumlet/types/webhook_update_params.py +21 -0
- gumlet/types/webhook_update_response.py +23 -0
- gumlet-0.2.0.dist-info/METADATA +243 -0
- gumlet-0.2.0.dist-info/RECORD +200 -0
- gumlet-0.2.0.dist-info/WHEEL +4 -0
- 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
|