pipedream 2.1.13__tar.gz → 2.1.15__tar.gz
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.
- {pipedream-2.1.13 → pipedream-2.1.15}/PKG-INFO +1 -1
- {pipedream-2.1.13 → pipedream-2.1.15}/pyproject.toml +1 -1
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/client.py +0 -19
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/client_wrapper.py +2 -2
- pipedream-2.1.15/src/pipedream/errors/__init__.py +40 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/file_stash/client.py +8 -8
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/file_stash/raw_client.py +6 -6
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/__init__.py +0 -33
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/error_response.py +14 -4
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/validate_token_response.py +5 -0
- pipedream-2.1.13/src/pipedream/errors/__init__.py +0 -59
- pipedream-2.1.13/src/pipedream/errors/bad_gateway_error.py +0 -10
- pipedream-2.1.13/src/pipedream/errors/internal_server_error.py +0 -10
- pipedream-2.1.13/src/pipedream/errors/not_implemented_error.py +0 -11
- pipedream-2.1.13/src/pipedream/errors/service_unavailable_error.py +0 -11
- pipedream-2.1.13/src/pipedream/errors/unauthorized_error.py +0 -10
- pipedream-2.1.13/src/pipedream/types/app_document.py +0 -63
- pipedream-2.1.13/src/pipedream/types/app_response.py +0 -24
- pipedream-2.1.13/src/pipedream/types/apps_page_info.py +0 -22
- pipedream-2.1.13/src/pipedream/types/component_document.py +0 -49
- pipedream-2.1.13/src/pipedream/types/component_response.py +0 -24
- pipedream-2.1.13/src/pipedream/types/components_facets_response.py +0 -26
- pipedream-2.1.13/src/pipedream/types/components_list_response.py +0 -22
- pipedream-2.1.13/src/pipedream/types/components_page_info.py +0 -22
- pipedream-2.1.13/src/pipedream/types/facet_value.py +0 -24
- pipedream-2.1.13/src/pipedream/types/facets_response.py +0 -25
- pipedream-2.1.13/src/pipedream/types/list_response.py +0 -22
- pipedream-2.1.13/src/pipedream/v2/__init__.py +0 -34
- pipedream-2.1.13/src/pipedream/v2/apps/__init__.py +0 -4
- pipedream-2.1.13/src/pipedream/v2/apps/client.py +0 -366
- pipedream-2.1.13/src/pipedream/v2/apps/raw_client.py +0 -683
- pipedream-2.1.13/src/pipedream/v2/client.py +0 -82
- pipedream-2.1.13/src/pipedream/v2/components/__init__.py +0 -4
- pipedream-2.1.13/src/pipedream/v2/components/client.py +0 -368
- pipedream-2.1.13/src/pipedream/v2/components/raw_client.py +0 -735
- pipedream-2.1.13/src/pipedream/v2/raw_client.py +0 -13
- {pipedream-2.1.13 → pipedream-2.1.15}/LICENSE +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/README.md +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/_default_clients.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/accounts/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/accounts/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/accounts/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/actions/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/actions/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/actions/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/actions/types/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/actions/types/actions_list_request_registry.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/app_categories/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/app_categories/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/app_categories/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/apps/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/apps/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/apps/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/apps/types/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/apps/types/apps_list_request_sort_direction.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/apps/types/apps_list_request_sort_key.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/components/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/components/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/components/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/components/types/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/components/types/components_list_request_registry.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/api_error.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/datetime_utils.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/file.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/force_multipart.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_sse/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_sse/_api.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_sse/_decoders.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_sse/_exceptions.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_sse/_models.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/jsonable_encoder.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/logging.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/oauth_token_provider.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/pagination.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/parse_error.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/pydantic_utilities.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/query_encoder.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/remove_none_from_dict.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/request_options.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/serialization.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/deployed_triggers/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/deployed_triggers/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/deployed_triggers/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/environment.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/errors/bad_request_error.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/errors/not_found_error.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/errors/too_many_requests_error.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/file_stash/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/oauth_tokens/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/oauth_tokens/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/oauth_tokens/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/pipedream.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/project_environment/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/project_environment/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/project_environment/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/projects/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/projects/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/projects/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/proxy/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/proxy/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/proxy/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/py.typed +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/tokens/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/tokens/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/tokens/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/triggers/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/triggers/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/triggers/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/triggers/types/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/triggers/types/triggers_list_request_registry.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/account.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/account_credentials.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/account_id.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/app.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/app_auth_type.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/app_category.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/app_scope_profiles_item.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/app_scope_profiles_item_name.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/backend_client_opts.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/client_opts.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/component.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/component_stash.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/component_type.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_airtable_base_id.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_airtable_field_id.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_airtable_table_id.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_airtable_view_id.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_alert.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_alert_type.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_any.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_any_options_item.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_app.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_apphook.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_base.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_base_type.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_boolean.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_boolean_options_item.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_data_store.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_db.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_dir.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_dir_access_mode.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_discord_channel.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_discord_channel_array.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_http.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_http_request.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_integer.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_integer_array.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_integer_array_options_item.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_integer_options_item.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_object.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_object_options_item.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_sql.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_sql_auth.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_sql_options_item.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_string.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_string_array.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_string_array_options_item.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_string_format.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_string_options_item.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_timer.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_timer_default.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_timer_option.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_timer_static.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configure_prop_options.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configure_prop_options_item.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configure_prop_opts.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configure_prop_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_any.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_app.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_boolean.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_integer.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_object.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_sql.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_string.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_string_array.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_props.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/connect_token.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/connect_usage.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/connect_usage_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/create_o_auth_token_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/create_token_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/delete_trigger_opts.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/deploy_trigger_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/deployed_component.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/dynamic_props.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/emitted_event.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/emitter.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/emitter_type.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/external_user.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_accounts_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_app_category_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_app_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_apps_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_component_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_components_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_trigger_events_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_trigger_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_trigger_webhooks_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_trigger_workflows_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_triggers_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_users_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_webhook_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_webhook_with_signing_key_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_interface.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_auth.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_auth_type.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_body.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_body_mode.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_body_type.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_config.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_field.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/list_accounts_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/list_app_categories_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/list_apps_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/list_projects_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/observation.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/observation_error.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/page_info.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/project.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/project_environment.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/project_info_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/project_info_response_app.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/prop_option.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/prop_option_nested.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/prop_option_value.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/proxy_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/proxy_response_binary.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/reload_props_opts.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/reload_props_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/run_action_opts_stash_id.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/run_action_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/set_webhook_response.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/start_connect_opts.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/stash_id.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/timer_cron.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/timer_interface.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/timer_interval.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/too_many_requests_error_body.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/tool_annotations.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/trigger_webhook.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/webhook.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/webhook_with_optional_signing_key.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/webhook_with_signing_key.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/usage/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/usage/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/usage/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/users/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/users/client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/users/raw_client.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/version.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/workflows/__init__.py +0 -0
- {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/workflows/client.py +0 -0
|
@@ -29,7 +29,6 @@ if typing.TYPE_CHECKING:
|
|
|
29
29
|
from .triggers.client import AsyncTriggersClient, TriggersClient
|
|
30
30
|
from .usage.client import AsyncUsageClient, UsageClient
|
|
31
31
|
from .users.client import AsyncUsersClient, UsersClient
|
|
32
|
-
from .v2.client import AsyncV2Client, V2Client
|
|
33
32
|
|
|
34
33
|
|
|
35
34
|
class Client:
|
|
@@ -224,7 +223,6 @@ class Client:
|
|
|
224
223
|
self._tokens: typing.Optional[TokensClient] = None
|
|
225
224
|
self._usage: typing.Optional[UsageClient] = None
|
|
226
225
|
self._oauth_tokens: typing.Optional[OauthTokensClient] = None
|
|
227
|
-
self._v2: typing.Optional[V2Client] = None
|
|
228
226
|
|
|
229
227
|
@property
|
|
230
228
|
def app_categories(self):
|
|
@@ -346,14 +344,6 @@ class Client:
|
|
|
346
344
|
self._oauth_tokens = OauthTokensClient(client_wrapper=self._client_wrapper)
|
|
347
345
|
return self._oauth_tokens
|
|
348
346
|
|
|
349
|
-
@property
|
|
350
|
-
def v2(self):
|
|
351
|
-
if self._v2 is None:
|
|
352
|
-
from .v2.client import V2Client # noqa: E402
|
|
353
|
-
|
|
354
|
-
self._v2 = V2Client(client_wrapper=self._client_wrapper)
|
|
355
|
-
return self._v2
|
|
356
|
-
|
|
357
347
|
|
|
358
348
|
def _make_default_async_client(
|
|
359
349
|
timeout: typing.Optional[float],
|
|
@@ -562,7 +552,6 @@ class AsyncClient:
|
|
|
562
552
|
self._tokens: typing.Optional[AsyncTokensClient] = None
|
|
563
553
|
self._usage: typing.Optional[AsyncUsageClient] = None
|
|
564
554
|
self._oauth_tokens: typing.Optional[AsyncOauthTokensClient] = None
|
|
565
|
-
self._v2: typing.Optional[AsyncV2Client] = None
|
|
566
555
|
|
|
567
556
|
@property
|
|
568
557
|
def app_categories(self):
|
|
@@ -684,14 +673,6 @@ class AsyncClient:
|
|
|
684
673
|
self._oauth_tokens = AsyncOauthTokensClient(client_wrapper=self._client_wrapper)
|
|
685
674
|
return self._oauth_tokens
|
|
686
675
|
|
|
687
|
-
@property
|
|
688
|
-
def v2(self):
|
|
689
|
-
if self._v2 is None:
|
|
690
|
-
from .v2.client import AsyncV2Client # noqa: E402
|
|
691
|
-
|
|
692
|
-
self._v2 = AsyncV2Client(client_wrapper=self._client_wrapper)
|
|
693
|
-
return self._v2
|
|
694
|
-
|
|
695
676
|
|
|
696
677
|
def _get_base_url(*, base_url: typing.Optional[str] = None, environment: PipedreamEnvironment) -> str:
|
|
697
678
|
if base_url is not None:
|
|
@@ -34,12 +34,12 @@ class BaseClientWrapper:
|
|
|
34
34
|
import platform
|
|
35
35
|
|
|
36
36
|
headers: typing.Dict[str, str] = {
|
|
37
|
-
"User-Agent": "pipedream/2.1.
|
|
37
|
+
"User-Agent": "pipedream/2.1.15",
|
|
38
38
|
"X-Fern-Language": "Python",
|
|
39
39
|
"X-Fern-Runtime": f"python/{platform.python_version()}",
|
|
40
40
|
"X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
|
|
41
41
|
"X-Fern-SDK-Name": "pipedream",
|
|
42
|
-
"X-Fern-SDK-Version": "2.1.
|
|
42
|
+
"X-Fern-SDK-Version": "2.1.15",
|
|
43
43
|
**(self.get_custom_headers() or {}),
|
|
44
44
|
}
|
|
45
45
|
if self._project_environment is not None:
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
# isort: skip_file
|
|
4
|
+
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .bad_request_error import BadRequestError
|
|
10
|
+
from .not_found_error import NotFoundError
|
|
11
|
+
from .too_many_requests_error import TooManyRequestsError
|
|
12
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
13
|
+
"BadRequestError": ".bad_request_error",
|
|
14
|
+
"NotFoundError": ".not_found_error",
|
|
15
|
+
"TooManyRequestsError": ".too_many_requests_error",
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
20
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
21
|
+
if module_name is None:
|
|
22
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
23
|
+
try:
|
|
24
|
+
module = import_module(module_name, __package__)
|
|
25
|
+
if module_name == f".{attr_name}":
|
|
26
|
+
return module
|
|
27
|
+
else:
|
|
28
|
+
return getattr(module, attr_name)
|
|
29
|
+
except ImportError as e:
|
|
30
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
31
|
+
except AttributeError as e:
|
|
32
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def __dir__():
|
|
36
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
37
|
+
return sorted(lazy_attrs)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
__all__ = ["BadRequestError", "NotFoundError", "TooManyRequestsError"]
|
|
@@ -23,14 +23,14 @@ class FileStashClient:
|
|
|
23
23
|
return self._raw_client
|
|
24
24
|
|
|
25
25
|
def download_file(
|
|
26
|
-
self, *,
|
|
26
|
+
self, *, s_3_key: str, request_options: typing.Optional[RequestOptions] = None
|
|
27
27
|
) -> typing.Iterator[bytes]:
|
|
28
28
|
"""
|
|
29
29
|
Download a file from File Stash
|
|
30
30
|
|
|
31
31
|
Parameters
|
|
32
32
|
----------
|
|
33
|
-
|
|
33
|
+
s_3_key : str
|
|
34
34
|
|
|
35
35
|
request_options : typing.Optional[RequestOptions]
|
|
36
36
|
Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
|
|
@@ -50,10 +50,10 @@ class FileStashClient:
|
|
|
50
50
|
client_secret="YOUR_CLIENT_SECRET",
|
|
51
51
|
)
|
|
52
52
|
client.file_stash.download_file(
|
|
53
|
-
|
|
53
|
+
s_3_key="s3_key",
|
|
54
54
|
)
|
|
55
55
|
"""
|
|
56
|
-
with self._raw_client.download_file(
|
|
56
|
+
with self._raw_client.download_file(s_3_key=s_3_key, request_options=request_options) as r:
|
|
57
57
|
yield from r.data
|
|
58
58
|
|
|
59
59
|
|
|
@@ -73,14 +73,14 @@ class AsyncFileStashClient:
|
|
|
73
73
|
return self._raw_client
|
|
74
74
|
|
|
75
75
|
async def download_file(
|
|
76
|
-
self, *,
|
|
76
|
+
self, *, s_3_key: str, request_options: typing.Optional[RequestOptions] = None
|
|
77
77
|
) -> typing.AsyncIterator[bytes]:
|
|
78
78
|
"""
|
|
79
79
|
Download a file from File Stash
|
|
80
80
|
|
|
81
81
|
Parameters
|
|
82
82
|
----------
|
|
83
|
-
|
|
83
|
+
s_3_key : str
|
|
84
84
|
|
|
85
85
|
request_options : typing.Optional[RequestOptions]
|
|
86
86
|
Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
|
|
@@ -105,12 +105,12 @@ class AsyncFileStashClient:
|
|
|
105
105
|
|
|
106
106
|
async def main() -> None:
|
|
107
107
|
await client.file_stash.download_file(
|
|
108
|
-
|
|
108
|
+
s_3_key="s3_key",
|
|
109
109
|
)
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
asyncio.run(main())
|
|
113
113
|
"""
|
|
114
|
-
async with self._raw_client.download_file(
|
|
114
|
+
async with self._raw_client.download_file(s_3_key=s_3_key, request_options=request_options) as r:
|
|
115
115
|
async for _chunk in r.data:
|
|
116
116
|
yield _chunk
|
|
@@ -21,14 +21,14 @@ class RawFileStashClient:
|
|
|
21
21
|
|
|
22
22
|
@contextlib.contextmanager
|
|
23
23
|
def download_file(
|
|
24
|
-
self, *,
|
|
24
|
+
self, *, s_3_key: str, request_options: typing.Optional[RequestOptions] = None
|
|
25
25
|
) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]:
|
|
26
26
|
"""
|
|
27
27
|
Download a file from File Stash
|
|
28
28
|
|
|
29
29
|
Parameters
|
|
30
30
|
----------
|
|
31
|
-
|
|
31
|
+
s_3_key : str
|
|
32
32
|
|
|
33
33
|
request_options : typing.Optional[RequestOptions]
|
|
34
34
|
Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
|
|
@@ -42,7 +42,7 @@ class RawFileStashClient:
|
|
|
42
42
|
f"v1/connect/{encode_path_param(self._client_wrapper._project_id)}/file_stash/download",
|
|
43
43
|
method="GET",
|
|
44
44
|
params={
|
|
45
|
-
"s3_key":
|
|
45
|
+
"s3_key": s_3_key,
|
|
46
46
|
},
|
|
47
47
|
request_options=request_options,
|
|
48
48
|
) as _response:
|
|
@@ -89,14 +89,14 @@ class AsyncRawFileStashClient:
|
|
|
89
89
|
|
|
90
90
|
@contextlib.asynccontextmanager
|
|
91
91
|
async def download_file(
|
|
92
|
-
self, *,
|
|
92
|
+
self, *, s_3_key: str, request_options: typing.Optional[RequestOptions] = None
|
|
93
93
|
) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]:
|
|
94
94
|
"""
|
|
95
95
|
Download a file from File Stash
|
|
96
96
|
|
|
97
97
|
Parameters
|
|
98
98
|
----------
|
|
99
|
-
|
|
99
|
+
s_3_key : str
|
|
100
100
|
|
|
101
101
|
request_options : typing.Optional[RequestOptions]
|
|
102
102
|
Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
|
|
@@ -110,7 +110,7 @@ class AsyncRawFileStashClient:
|
|
|
110
110
|
f"v1/connect/{encode_path_param(self._client_wrapper._project_id)}/file_stash/download",
|
|
111
111
|
method="GET",
|
|
112
112
|
params={
|
|
113
|
-
"s3_key":
|
|
113
|
+
"s3_key": s_3_key,
|
|
114
114
|
},
|
|
115
115
|
request_options=request_options,
|
|
116
116
|
) as _response:
|
|
@@ -12,21 +12,13 @@ if typing.TYPE_CHECKING:
|
|
|
12
12
|
from .app import App
|
|
13
13
|
from .app_auth_type import AppAuthType
|
|
14
14
|
from .app_category import AppCategory
|
|
15
|
-
from .app_document import AppDocument
|
|
16
|
-
from .app_response import AppResponse
|
|
17
15
|
from .app_scope_profiles_item import AppScopeProfilesItem
|
|
18
16
|
from .app_scope_profiles_item_name import AppScopeProfilesItemName
|
|
19
|
-
from .apps_page_info import AppsPageInfo
|
|
20
17
|
from .backend_client_opts import BackendClientOpts
|
|
21
18
|
from .client_opts import ClientOpts
|
|
22
19
|
from .component import Component
|
|
23
|
-
from .component_document import ComponentDocument
|
|
24
|
-
from .component_response import ComponentResponse
|
|
25
20
|
from .component_stash import ComponentStash
|
|
26
21
|
from .component_type import ComponentType
|
|
27
|
-
from .components_facets_response import ComponentsFacetsResponse
|
|
28
|
-
from .components_list_response import ComponentsListResponse
|
|
29
|
-
from .components_page_info import ComponentsPageInfo
|
|
30
22
|
from .configurable_prop import ConfigurableProp
|
|
31
23
|
from .configurable_prop_airtable_base_id import ConfigurablePropAirtableBaseId
|
|
32
24
|
from .configurable_prop_airtable_field_id import ConfigurablePropAirtableFieldId
|
|
@@ -96,8 +88,6 @@ if typing.TYPE_CHECKING:
|
|
|
96
88
|
from .emitter_type import EmitterType
|
|
97
89
|
from .error_response import ErrorResponse
|
|
98
90
|
from .external_user import ExternalUser
|
|
99
|
-
from .facet_value import FacetValue
|
|
100
|
-
from .facets_response import FacetsResponse
|
|
101
91
|
from .get_accounts_response import GetAccountsResponse
|
|
102
92
|
from .get_app_category_response import GetAppCategoryResponse
|
|
103
93
|
from .get_app_response import GetAppResponse
|
|
@@ -124,7 +114,6 @@ if typing.TYPE_CHECKING:
|
|
|
124
114
|
from .list_app_categories_response import ListAppCategoriesResponse
|
|
125
115
|
from .list_apps_response import ListAppsResponse
|
|
126
116
|
from .list_projects_response import ListProjectsResponse
|
|
127
|
-
from .list_response import ListResponse
|
|
128
117
|
from .observation import Observation
|
|
129
118
|
from .observation_error import ObservationError
|
|
130
119
|
from .page_info import PageInfo
|
|
@@ -161,21 +150,13 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
161
150
|
"App": ".app",
|
|
162
151
|
"AppAuthType": ".app_auth_type",
|
|
163
152
|
"AppCategory": ".app_category",
|
|
164
|
-
"AppDocument": ".app_document",
|
|
165
|
-
"AppResponse": ".app_response",
|
|
166
153
|
"AppScopeProfilesItem": ".app_scope_profiles_item",
|
|
167
154
|
"AppScopeProfilesItemName": ".app_scope_profiles_item_name",
|
|
168
|
-
"AppsPageInfo": ".apps_page_info",
|
|
169
155
|
"BackendClientOpts": ".backend_client_opts",
|
|
170
156
|
"ClientOpts": ".client_opts",
|
|
171
157
|
"Component": ".component",
|
|
172
|
-
"ComponentDocument": ".component_document",
|
|
173
|
-
"ComponentResponse": ".component_response",
|
|
174
158
|
"ComponentStash": ".component_stash",
|
|
175
159
|
"ComponentType": ".component_type",
|
|
176
|
-
"ComponentsFacetsResponse": ".components_facets_response",
|
|
177
|
-
"ComponentsListResponse": ".components_list_response",
|
|
178
|
-
"ComponentsPageInfo": ".components_page_info",
|
|
179
160
|
"ConfigurableProp": ".configurable_prop",
|
|
180
161
|
"ConfigurablePropAirtableBaseId": ".configurable_prop_airtable_base_id",
|
|
181
162
|
"ConfigurablePropAirtableFieldId": ".configurable_prop_airtable_field_id",
|
|
@@ -245,8 +226,6 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
245
226
|
"EmitterType": ".emitter_type",
|
|
246
227
|
"ErrorResponse": ".error_response",
|
|
247
228
|
"ExternalUser": ".external_user",
|
|
248
|
-
"FacetValue": ".facet_value",
|
|
249
|
-
"FacetsResponse": ".facets_response",
|
|
250
229
|
"GetAccountsResponse": ".get_accounts_response",
|
|
251
230
|
"GetAppCategoryResponse": ".get_app_category_response",
|
|
252
231
|
"GetAppResponse": ".get_app_response",
|
|
@@ -273,7 +252,6 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
273
252
|
"ListAppCategoriesResponse": ".list_app_categories_response",
|
|
274
253
|
"ListAppsResponse": ".list_apps_response",
|
|
275
254
|
"ListProjectsResponse": ".list_projects_response",
|
|
276
|
-
"ListResponse": ".list_response",
|
|
277
255
|
"Observation": ".observation",
|
|
278
256
|
"ObservationError": ".observation_error",
|
|
279
257
|
"PageInfo": ".page_info",
|
|
@@ -334,21 +312,13 @@ __all__ = [
|
|
|
334
312
|
"App",
|
|
335
313
|
"AppAuthType",
|
|
336
314
|
"AppCategory",
|
|
337
|
-
"AppDocument",
|
|
338
|
-
"AppResponse",
|
|
339
315
|
"AppScopeProfilesItem",
|
|
340
316
|
"AppScopeProfilesItemName",
|
|
341
|
-
"AppsPageInfo",
|
|
342
317
|
"BackendClientOpts",
|
|
343
318
|
"ClientOpts",
|
|
344
319
|
"Component",
|
|
345
|
-
"ComponentDocument",
|
|
346
|
-
"ComponentResponse",
|
|
347
320
|
"ComponentStash",
|
|
348
321
|
"ComponentType",
|
|
349
|
-
"ComponentsFacetsResponse",
|
|
350
|
-
"ComponentsListResponse",
|
|
351
|
-
"ComponentsPageInfo",
|
|
352
322
|
"ConfigurableProp",
|
|
353
323
|
"ConfigurablePropAirtableBaseId",
|
|
354
324
|
"ConfigurablePropAirtableFieldId",
|
|
@@ -418,8 +388,6 @@ __all__ = [
|
|
|
418
388
|
"EmitterType",
|
|
419
389
|
"ErrorResponse",
|
|
420
390
|
"ExternalUser",
|
|
421
|
-
"FacetValue",
|
|
422
|
-
"FacetsResponse",
|
|
423
391
|
"GetAccountsResponse",
|
|
424
392
|
"GetAppCategoryResponse",
|
|
425
393
|
"GetAppResponse",
|
|
@@ -446,7 +414,6 @@ __all__ = [
|
|
|
446
414
|
"ListAppCategoriesResponse",
|
|
447
415
|
"ListAppsResponse",
|
|
448
416
|
"ListProjectsResponse",
|
|
449
|
-
"ListResponse",
|
|
450
417
|
"Observation",
|
|
451
418
|
"ObservationError",
|
|
452
419
|
"PageInfo",
|
|
@@ -8,13 +8,23 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
8
8
|
|
|
9
9
|
class ErrorResponse(UniversalBaseModel):
|
|
10
10
|
"""
|
|
11
|
-
|
|
11
|
+
Error response returned by the API in case of an error
|
|
12
|
+
"""
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
error: str = pydantic.Field()
|
|
15
|
+
"""
|
|
16
|
+
The error message
|
|
15
17
|
"""
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
code: typing.Optional[str] = pydantic.Field(default=None)
|
|
20
|
+
"""
|
|
21
|
+
The error code
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
details: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None)
|
|
25
|
+
"""
|
|
26
|
+
Additional error details
|
|
27
|
+
"""
|
|
18
28
|
|
|
19
29
|
if IS_PYDANTIC_V2:
|
|
20
30
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -28,6 +28,11 @@ class ValidateTokenResponse(UniversalBaseModel):
|
|
|
28
28
|
OAuth app ID if applicable
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
|
+
oauth_app_workday_official: typing.Optional[bool] = pydantic.Field(default=None)
|
|
32
|
+
"""
|
|
33
|
+
True when the resolved OAuth client is the app's Workday-official client
|
|
34
|
+
"""
|
|
35
|
+
|
|
31
36
|
project_app_name: typing.Optional[str] = pydantic.Field(default=None)
|
|
32
37
|
"""
|
|
33
38
|
Name of the project app
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
# isort: skip_file
|
|
4
|
-
|
|
5
|
-
import typing
|
|
6
|
-
from importlib import import_module
|
|
7
|
-
|
|
8
|
-
if typing.TYPE_CHECKING:
|
|
9
|
-
from .bad_gateway_error import BadGatewayError
|
|
10
|
-
from .bad_request_error import BadRequestError
|
|
11
|
-
from .internal_server_error import InternalServerError
|
|
12
|
-
from .not_found_error import NotFoundError
|
|
13
|
-
from .not_implemented_error import NotImplementedError
|
|
14
|
-
from .service_unavailable_error import ServiceUnavailableError
|
|
15
|
-
from .too_many_requests_error import TooManyRequestsError
|
|
16
|
-
from .unauthorized_error import UnauthorizedError
|
|
17
|
-
_dynamic_imports: typing.Dict[str, str] = {
|
|
18
|
-
"BadGatewayError": ".bad_gateway_error",
|
|
19
|
-
"BadRequestError": ".bad_request_error",
|
|
20
|
-
"InternalServerError": ".internal_server_error",
|
|
21
|
-
"NotFoundError": ".not_found_error",
|
|
22
|
-
"NotImplementedError": ".not_implemented_error",
|
|
23
|
-
"ServiceUnavailableError": ".service_unavailable_error",
|
|
24
|
-
"TooManyRequestsError": ".too_many_requests_error",
|
|
25
|
-
"UnauthorizedError": ".unauthorized_error",
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
def __getattr__(attr_name: str) -> typing.Any:
|
|
30
|
-
module_name = _dynamic_imports.get(attr_name)
|
|
31
|
-
if module_name is None:
|
|
32
|
-
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
33
|
-
try:
|
|
34
|
-
module = import_module(module_name, __package__)
|
|
35
|
-
if module_name == f".{attr_name}":
|
|
36
|
-
return module
|
|
37
|
-
else:
|
|
38
|
-
return getattr(module, attr_name)
|
|
39
|
-
except ImportError as e:
|
|
40
|
-
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
41
|
-
except AttributeError as e:
|
|
42
|
-
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
def __dir__():
|
|
46
|
-
lazy_attrs = list(_dynamic_imports.keys())
|
|
47
|
-
return sorted(lazy_attrs)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
__all__ = [
|
|
51
|
-
"BadGatewayError",
|
|
52
|
-
"BadRequestError",
|
|
53
|
-
"InternalServerError",
|
|
54
|
-
"NotFoundError",
|
|
55
|
-
"NotImplementedError",
|
|
56
|
-
"ServiceUnavailableError",
|
|
57
|
-
"TooManyRequestsError",
|
|
58
|
-
"UnauthorizedError",
|
|
59
|
-
]
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
from ..core.api_error import ApiError
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class BadGatewayError(ApiError):
|
|
9
|
-
def __init__(self, body: typing.Any, headers: typing.Optional[typing.Dict[str, str]] = None):
|
|
10
|
-
super().__init__(status_code=502, headers=headers, body=body)
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
from ..core.api_error import ApiError
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class InternalServerError(ApiError):
|
|
9
|
-
def __init__(self, body: typing.Any, headers: typing.Optional[typing.Dict[str, str]] = None):
|
|
10
|
-
super().__init__(status_code=500, headers=headers, body=body)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
from ..core.api_error import ApiError
|
|
6
|
-
from ..types.error_response import ErrorResponse
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class NotImplementedError(ApiError):
|
|
10
|
-
def __init__(self, body: ErrorResponse, headers: typing.Optional[typing.Dict[str, str]] = None):
|
|
11
|
-
super().__init__(status_code=501, headers=headers, body=body)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
from ..core.api_error import ApiError
|
|
6
|
-
from ..types.error_response import ErrorResponse
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class ServiceUnavailableError(ApiError):
|
|
10
|
-
def __init__(self, body: ErrorResponse, headers: typing.Optional[typing.Dict[str, str]] = None):
|
|
11
|
-
super().__init__(status_code=503, headers=headers, body=body)
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
from ..core.api_error import ApiError
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class UnauthorizedError(ApiError):
|
|
9
|
-
def __init__(self, body: typing.Any, headers: typing.Optional[typing.Dict[str, str]] = None):
|
|
10
|
-
super().__init__(status_code=401, headers=headers, body=body)
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
import pydantic
|
|
6
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class AppDocument(UniversalBaseModel):
|
|
10
|
-
"""
|
|
11
|
-
The documented subset of a v2 apps Typesense document. The endpoints return
|
|
12
|
-
the raw search document, which also carries fields not modeled here
|
|
13
|
-
(`categories`, `custom_fields`, `scope_profiles`, `connect`); those still
|
|
14
|
-
appear in the response but are left untyped. Named separately from the Rails
|
|
15
|
-
`App` schema — whose shape differs — so the merged SDK spec keeps both.
|
|
16
|
-
"""
|
|
17
|
-
|
|
18
|
-
auth_type: typing.Optional[str] = None
|
|
19
|
-
category_name: typing.Optional[str] = pydantic.Field(default=None)
|
|
20
|
-
"""
|
|
21
|
-
Human-readable category name (e.g. `Developer Tools`).
|
|
22
|
-
"""
|
|
23
|
-
|
|
24
|
-
description: typing.Optional[str] = None
|
|
25
|
-
featured_weight: int = pydantic.Field()
|
|
26
|
-
"""
|
|
27
|
-
Sort weight; higher sorts first.
|
|
28
|
-
"""
|
|
29
|
-
|
|
30
|
-
has_actions: bool = pydantic.Field()
|
|
31
|
-
"""
|
|
32
|
-
Whether the app has any actions.
|
|
33
|
-
"""
|
|
34
|
-
|
|
35
|
-
has_triggers: bool = pydantic.Field()
|
|
36
|
-
"""
|
|
37
|
-
Whether the app has any triggers (sources).
|
|
38
|
-
"""
|
|
39
|
-
|
|
40
|
-
id: str = pydantic.Field()
|
|
41
|
-
"""
|
|
42
|
-
App hashid (e.g. `app_abc123`).
|
|
43
|
-
"""
|
|
44
|
-
|
|
45
|
-
img_src: str = pydantic.Field()
|
|
46
|
-
"""
|
|
47
|
-
Logo URL.
|
|
48
|
-
"""
|
|
49
|
-
|
|
50
|
-
name: str
|
|
51
|
-
name_slug: str = pydantic.Field()
|
|
52
|
-
"""
|
|
53
|
-
URL-safe identifier (e.g. `github`).
|
|
54
|
-
"""
|
|
55
|
-
|
|
56
|
-
if IS_PYDANTIC_V2:
|
|
57
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
58
|
-
else:
|
|
59
|
-
|
|
60
|
-
class Config:
|
|
61
|
-
frozen = True
|
|
62
|
-
smart_union = True
|
|
63
|
-
extra = pydantic.Extra.allow
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
import pydantic
|
|
6
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
-
from .app_document import AppDocument
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class AppResponse(UniversalBaseModel):
|
|
11
|
-
"""
|
|
12
|
-
Single-app response envelope: `{ "data": <app> }`.
|
|
13
|
-
"""
|
|
14
|
-
|
|
15
|
-
data: AppDocument
|
|
16
|
-
|
|
17
|
-
if IS_PYDANTIC_V2:
|
|
18
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
19
|
-
else:
|
|
20
|
-
|
|
21
|
-
class Config:
|
|
22
|
-
frozen = True
|
|
23
|
-
smart_union = True
|
|
24
|
-
extra = pydantic.Extra.allow
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
import pydantic
|
|
6
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class AppsPageInfo(UniversalBaseModel):
|
|
10
|
-
count: int
|
|
11
|
-
page: int
|
|
12
|
-
per_page: int
|
|
13
|
-
total_count: int
|
|
14
|
-
|
|
15
|
-
if IS_PYDANTIC_V2:
|
|
16
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
-
else:
|
|
18
|
-
|
|
19
|
-
class Config:
|
|
20
|
-
frozen = True
|
|
21
|
-
smart_union = True
|
|
22
|
-
extra = pydantic.Extra.allow
|