pipedream 2.1.9__tar.gz → 2.1.11__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.9 → pipedream-2.1.11}/PKG-INFO +1 -1
- {pipedream-2.1.9 → pipedream-2.1.11}/pyproject.toml +1 -1
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/client_wrapper.py +2 -2
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/errors/__init__.py +16 -1
- pipedream-2.1.11/src/pipedream/errors/bad_gateway_error.py +10 -0
- pipedream-2.1.11/src/pipedream/errors/internal_server_error.py +10 -0
- pipedream-2.1.11/src/pipedream/errors/unauthorized_error.py +10 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/__init__.py +27 -0
- pipedream-2.1.11/src/pipedream/types/app_document.py +63 -0
- pipedream-2.1.11/src/pipedream/types/app_response.py +24 -0
- pipedream-2.1.11/src/pipedream/types/component_document.py +49 -0
- pipedream-2.1.11/src/pipedream/types/component_response.py +24 -0
- pipedream-2.1.11/src/pipedream/types/components_facets_response.py +26 -0
- pipedream-2.1.11/src/pipedream/types/components_list_response.py +22 -0
- pipedream-2.1.11/src/pipedream/types/components_page_info.py +22 -0
- pipedream-2.1.11/src/pipedream/types/facet_value.py +24 -0
- pipedream-2.1.11/src/pipedream/types/facets_response.py +25 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/list_response.py +2 -1
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/v_2/__init__.py +3 -3
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/v_2/apps/client.py +10 -8
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/v_2/apps/raw_client.py +223 -24
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/v_2/client.py +19 -0
- pipedream-2.1.11/src/pipedream/v_2/components/__init__.py +4 -0
- pipedream-2.1.11/src/pipedream/v_2/components/client.py +368 -0
- pipedream-2.1.11/src/pipedream/v_2/components/raw_client.py +735 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/LICENSE +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/README.md +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/_default_clients.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/accounts/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/accounts/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/accounts/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/actions/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/actions/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/actions/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/actions/types/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/actions/types/actions_list_request_registry.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/app_categories/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/app_categories/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/app_categories/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/apps/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/apps/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/apps/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/apps/types/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/apps/types/apps_list_request_sort_direction.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/apps/types/apps_list_request_sort_key.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/components/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/components/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/components/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/components/types/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/components/types/components_list_request_registry.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/api_error.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/datetime_utils.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/file.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/force_multipart.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/http_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/http_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/http_sse/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/http_sse/_api.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/http_sse/_decoders.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/http_sse/_exceptions.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/http_sse/_models.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/jsonable_encoder.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/logging.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/oauth_token_provider.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/pagination.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/parse_error.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/pydantic_utilities.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/query_encoder.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/remove_none_from_dict.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/request_options.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/core/serialization.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/deployed_triggers/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/deployed_triggers/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/deployed_triggers/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/environment.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/errors/bad_request_error.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/errors/not_found_error.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/errors/not_implemented_error.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/errors/service_unavailable_error.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/errors/too_many_requests_error.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/file_stash/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/file_stash/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/file_stash/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/oauth_tokens/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/oauth_tokens/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/oauth_tokens/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/pipedream.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/project_environment/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/project_environment/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/project_environment/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/projects/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/projects/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/projects/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/proxy/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/proxy/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/proxy/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/py.typed +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/tokens/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/tokens/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/tokens/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/triggers/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/triggers/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/triggers/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/triggers/types/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/triggers/types/triggers_list_request_registry.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/account.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/account_credentials.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/account_id.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/app.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/app_auth_type.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/app_category.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/app_scope_profiles_item.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/app_scope_profiles_item_name.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/apps_page_info.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/backend_client_opts.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/client_opts.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/component.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/component_stash.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/component_type.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_airtable_base_id.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_airtable_field_id.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_airtable_table_id.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_airtable_view_id.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_alert.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_alert_type.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_any.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_any_options_item.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_app.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_apphook.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_base.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_base_type.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_boolean.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_boolean_options_item.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_data_store.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_db.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_dir.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_dir_access_mode.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_discord_channel.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_discord_channel_array.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_http.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_http_request.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_integer.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_integer_array.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_integer_array_options_item.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_integer_options_item.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_object.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_object_options_item.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_sql.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_sql_auth.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_sql_options_item.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_string.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_string_array.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_string_array_options_item.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_string_format.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_string_options_item.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_timer.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_timer_default.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_timer_option.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_timer_static.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configure_prop_options.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configure_prop_options_item.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configure_prop_opts.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configure_prop_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_any.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_app.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_boolean.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_integer.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_object.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_sql.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_string.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_string_array.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/configured_props.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/connect_token.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/connect_usage.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/connect_usage_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/create_o_auth_token_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/create_token_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/delete_trigger_opts.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/deploy_trigger_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/deployed_component.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/dynamic_props.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/emitted_event.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/emitter.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/emitter_type.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/error_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/external_user.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_accounts_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_app_category_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_app_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_apps_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_component_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_components_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_trigger_events_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_trigger_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_trigger_webhooks_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_trigger_workflows_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_triggers_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_users_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_webhook_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/get_webhook_with_signing_key_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/http_interface.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/http_request_auth.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/http_request_auth_type.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/http_request_body.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/http_request_body_mode.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/http_request_body_type.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/http_request_config.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/http_request_field.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/list_accounts_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/list_app_categories_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/list_apps_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/list_projects_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/observation.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/observation_error.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/page_info.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/project.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/project_environment.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/project_info_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/project_info_response_app.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/prop_option.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/prop_option_nested.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/prop_option_value.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/proxy_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/proxy_response_binary.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/reload_props_opts.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/reload_props_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/run_action_opts_stash_id.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/run_action_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/set_webhook_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/start_connect_opts.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/stash_id.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/timer_cron.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/timer_interface.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/timer_interval.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/too_many_requests_error_body.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/tool_annotations.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/trigger_webhook.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/validate_token_response.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/webhook.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/webhook_with_optional_signing_key.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/types/webhook_with_signing_key.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/usage/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/usage/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/usage/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/users/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/users/client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/users/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/v_2/apps/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/v_2/raw_client.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/version.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/workflows/__init__.py +0 -0
- {pipedream-2.1.9 → pipedream-2.1.11}/src/pipedream/workflows/client.py +0 -0
|
@@ -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.11",
|
|
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.11",
|
|
43
43
|
**(self.get_custom_headers() or {}),
|
|
44
44
|
}
|
|
45
45
|
if self._project_environment is not None:
|
|
@@ -6,17 +6,23 @@ import typing
|
|
|
6
6
|
from importlib import import_module
|
|
7
7
|
|
|
8
8
|
if typing.TYPE_CHECKING:
|
|
9
|
+
from .bad_gateway_error import BadGatewayError
|
|
9
10
|
from .bad_request_error import BadRequestError
|
|
11
|
+
from .internal_server_error import InternalServerError
|
|
10
12
|
from .not_found_error import NotFoundError
|
|
11
13
|
from .not_implemented_error import NotImplementedError
|
|
12
14
|
from .service_unavailable_error import ServiceUnavailableError
|
|
13
15
|
from .too_many_requests_error import TooManyRequestsError
|
|
16
|
+
from .unauthorized_error import UnauthorizedError
|
|
14
17
|
_dynamic_imports: typing.Dict[str, str] = {
|
|
18
|
+
"BadGatewayError": ".bad_gateway_error",
|
|
15
19
|
"BadRequestError": ".bad_request_error",
|
|
20
|
+
"InternalServerError": ".internal_server_error",
|
|
16
21
|
"NotFoundError": ".not_found_error",
|
|
17
22
|
"NotImplementedError": ".not_implemented_error",
|
|
18
23
|
"ServiceUnavailableError": ".service_unavailable_error",
|
|
19
24
|
"TooManyRequestsError": ".too_many_requests_error",
|
|
25
|
+
"UnauthorizedError": ".unauthorized_error",
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
|
|
@@ -41,4 +47,13 @@ def __dir__():
|
|
|
41
47
|
return sorted(lazy_attrs)
|
|
42
48
|
|
|
43
49
|
|
|
44
|
-
__all__ = [
|
|
50
|
+
__all__ = [
|
|
51
|
+
"BadGatewayError",
|
|
52
|
+
"BadRequestError",
|
|
53
|
+
"InternalServerError",
|
|
54
|
+
"NotFoundError",
|
|
55
|
+
"NotImplementedError",
|
|
56
|
+
"ServiceUnavailableError",
|
|
57
|
+
"TooManyRequestsError",
|
|
58
|
+
"UnauthorizedError",
|
|
59
|
+
]
|
|
@@ -0,0 +1,10 @@
|
|
|
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)
|
|
@@ -0,0 +1,10 @@
|
|
|
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)
|
|
@@ -0,0 +1,10 @@
|
|
|
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)
|
|
@@ -12,14 +12,21 @@ 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
|
|
15
17
|
from .app_scope_profiles_item import AppScopeProfilesItem
|
|
16
18
|
from .app_scope_profiles_item_name import AppScopeProfilesItemName
|
|
17
19
|
from .apps_page_info import AppsPageInfo
|
|
18
20
|
from .backend_client_opts import BackendClientOpts
|
|
19
21
|
from .client_opts import ClientOpts
|
|
20
22
|
from .component import Component
|
|
23
|
+
from .component_document import ComponentDocument
|
|
24
|
+
from .component_response import ComponentResponse
|
|
21
25
|
from .component_stash import ComponentStash
|
|
22
26
|
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
|
|
23
30
|
from .configurable_prop import ConfigurableProp
|
|
24
31
|
from .configurable_prop_airtable_base_id import ConfigurablePropAirtableBaseId
|
|
25
32
|
from .configurable_prop_airtable_field_id import ConfigurablePropAirtableFieldId
|
|
@@ -89,6 +96,8 @@ if typing.TYPE_CHECKING:
|
|
|
89
96
|
from .emitter_type import EmitterType
|
|
90
97
|
from .error_response import ErrorResponse
|
|
91
98
|
from .external_user import ExternalUser
|
|
99
|
+
from .facet_value import FacetValue
|
|
100
|
+
from .facets_response import FacetsResponse
|
|
92
101
|
from .get_accounts_response import GetAccountsResponse
|
|
93
102
|
from .get_app_category_response import GetAppCategoryResponse
|
|
94
103
|
from .get_app_response import GetAppResponse
|
|
@@ -152,14 +161,21 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
152
161
|
"App": ".app",
|
|
153
162
|
"AppAuthType": ".app_auth_type",
|
|
154
163
|
"AppCategory": ".app_category",
|
|
164
|
+
"AppDocument": ".app_document",
|
|
165
|
+
"AppResponse": ".app_response",
|
|
155
166
|
"AppScopeProfilesItem": ".app_scope_profiles_item",
|
|
156
167
|
"AppScopeProfilesItemName": ".app_scope_profiles_item_name",
|
|
157
168
|
"AppsPageInfo": ".apps_page_info",
|
|
158
169
|
"BackendClientOpts": ".backend_client_opts",
|
|
159
170
|
"ClientOpts": ".client_opts",
|
|
160
171
|
"Component": ".component",
|
|
172
|
+
"ComponentDocument": ".component_document",
|
|
173
|
+
"ComponentResponse": ".component_response",
|
|
161
174
|
"ComponentStash": ".component_stash",
|
|
162
175
|
"ComponentType": ".component_type",
|
|
176
|
+
"ComponentsFacetsResponse": ".components_facets_response",
|
|
177
|
+
"ComponentsListResponse": ".components_list_response",
|
|
178
|
+
"ComponentsPageInfo": ".components_page_info",
|
|
163
179
|
"ConfigurableProp": ".configurable_prop",
|
|
164
180
|
"ConfigurablePropAirtableBaseId": ".configurable_prop_airtable_base_id",
|
|
165
181
|
"ConfigurablePropAirtableFieldId": ".configurable_prop_airtable_field_id",
|
|
@@ -229,6 +245,8 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
229
245
|
"EmitterType": ".emitter_type",
|
|
230
246
|
"ErrorResponse": ".error_response",
|
|
231
247
|
"ExternalUser": ".external_user",
|
|
248
|
+
"FacetValue": ".facet_value",
|
|
249
|
+
"FacetsResponse": ".facets_response",
|
|
232
250
|
"GetAccountsResponse": ".get_accounts_response",
|
|
233
251
|
"GetAppCategoryResponse": ".get_app_category_response",
|
|
234
252
|
"GetAppResponse": ".get_app_response",
|
|
@@ -316,14 +334,21 @@ __all__ = [
|
|
|
316
334
|
"App",
|
|
317
335
|
"AppAuthType",
|
|
318
336
|
"AppCategory",
|
|
337
|
+
"AppDocument",
|
|
338
|
+
"AppResponse",
|
|
319
339
|
"AppScopeProfilesItem",
|
|
320
340
|
"AppScopeProfilesItemName",
|
|
321
341
|
"AppsPageInfo",
|
|
322
342
|
"BackendClientOpts",
|
|
323
343
|
"ClientOpts",
|
|
324
344
|
"Component",
|
|
345
|
+
"ComponentDocument",
|
|
346
|
+
"ComponentResponse",
|
|
325
347
|
"ComponentStash",
|
|
326
348
|
"ComponentType",
|
|
349
|
+
"ComponentsFacetsResponse",
|
|
350
|
+
"ComponentsListResponse",
|
|
351
|
+
"ComponentsPageInfo",
|
|
327
352
|
"ConfigurableProp",
|
|
328
353
|
"ConfigurablePropAirtableBaseId",
|
|
329
354
|
"ConfigurablePropAirtableFieldId",
|
|
@@ -393,6 +418,8 @@ __all__ = [
|
|
|
393
418
|
"EmitterType",
|
|
394
419
|
"ErrorResponse",
|
|
395
420
|
"ExternalUser",
|
|
421
|
+
"FacetValue",
|
|
422
|
+
"FacetsResponse",
|
|
396
423
|
"GetAccountsResponse",
|
|
397
424
|
"GetAppCategoryResponse",
|
|
398
425
|
"GetAppResponse",
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
|
@@ -0,0 +1,49 @@
|
|
|
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 ComponentDocument(UniversalBaseModel):
|
|
10
|
+
"""
|
|
11
|
+
The documented subset of a v2 components Typesense document. The endpoints
|
|
12
|
+
return the raw search document, which also carries fields not modeled here
|
|
13
|
+
(`configurable_props`, `annotations`, `stash`, and the internal
|
|
14
|
+
`owner_hashid` scoping field); those still appear in the response but are
|
|
15
|
+
left untyped.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
app_name_slug: typing.Optional[str] = pydantic.Field(default=None)
|
|
19
|
+
"""
|
|
20
|
+
`name_slug` of the component's app (e.g. `slack`).
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
component_type: typing.Optional[str] = pydantic.Field(default=None)
|
|
24
|
+
"""
|
|
25
|
+
`action` or `source` (trigger).
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
description: typing.Optional[str] = None
|
|
29
|
+
id: str = pydantic.Field()
|
|
30
|
+
"""
|
|
31
|
+
Published-component hashid (e.g. `pc_abc123`).
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
key: str = pydantic.Field()
|
|
35
|
+
"""
|
|
36
|
+
Component key (e.g. `slack-send-message`).
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
name: typing.Optional[str] = None
|
|
40
|
+
version: typing.Optional[str] = None
|
|
41
|
+
|
|
42
|
+
if IS_PYDANTIC_V2:
|
|
43
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
44
|
+
else:
|
|
45
|
+
|
|
46
|
+
class Config:
|
|
47
|
+
frozen = True
|
|
48
|
+
smart_union = True
|
|
49
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,24 @@
|
|
|
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 .component_document import ComponentDocument
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ComponentResponse(UniversalBaseModel):
|
|
11
|
+
"""
|
|
12
|
+
Single-component response envelope: `{ "data": <component> }`.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
data: ComponentDocument
|
|
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
|
|
@@ -0,0 +1,26 @@
|
|
|
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 .facet_value import FacetValue
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ComponentsFacetsResponse(UniversalBaseModel):
|
|
11
|
+
"""
|
|
12
|
+
Facets response envelope: `{ "data": { <field>: [{value, count}, ...] } }`,
|
|
13
|
+
keyed by facet field name (`component_type`, `app_name_slug`). Reuses the
|
|
14
|
+
shared `FacetValue` bucket registered by the apps handler.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
data: typing.Dict[str, typing.List[FacetValue]]
|
|
18
|
+
|
|
19
|
+
if IS_PYDANTIC_V2:
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
21
|
+
else:
|
|
22
|
+
|
|
23
|
+
class Config:
|
|
24
|
+
frozen = True
|
|
25
|
+
smart_union = True
|
|
26
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,22 @@
|
|
|
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 .component_document import ComponentDocument
|
|
8
|
+
from .components_page_info import ComponentsPageInfo
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ComponentsListResponse(UniversalBaseModel):
|
|
12
|
+
data: typing.List[ComponentDocument]
|
|
13
|
+
page_info: ComponentsPageInfo
|
|
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
|
|
@@ -0,0 +1,22 @@
|
|
|
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 ComponentsPageInfo(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
|
|
@@ -0,0 +1,24 @@
|
|
|
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 FacetValue(UniversalBaseModel):
|
|
10
|
+
"""
|
|
11
|
+
One facet bucket: a field value and how many apps carry it.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
count: int
|
|
15
|
+
value: str
|
|
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
|
|
@@ -0,0 +1,25 @@
|
|
|
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 .facet_value import FacetValue
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class FacetsResponse(UniversalBaseModel):
|
|
11
|
+
"""
|
|
12
|
+
Facets response envelope: `{ "data": { <field>: [{value, count}, ...] } }`,
|
|
13
|
+
keyed by facet field name (`category_name`, `auth_type`).
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
data: typing.Dict[str, typing.List[FacetValue]]
|
|
17
|
+
|
|
18
|
+
if IS_PYDANTIC_V2:
|
|
19
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
20
|
+
else:
|
|
21
|
+
|
|
22
|
+
class Config:
|
|
23
|
+
frozen = True
|
|
24
|
+
smart_union = True
|
|
25
|
+
extra = pydantic.Extra.allow
|
|
@@ -4,11 +4,12 @@ import typing
|
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
6
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .app_document import AppDocument
|
|
7
8
|
from .apps_page_info import AppsPageInfo
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
class ListResponse(UniversalBaseModel):
|
|
11
|
-
data: typing.List[
|
|
12
|
+
data: typing.List[AppDocument]
|
|
12
13
|
page_info: AppsPageInfo
|
|
13
14
|
|
|
14
15
|
if IS_PYDANTIC_V2:
|
|
@@ -6,8 +6,8 @@ import typing
|
|
|
6
6
|
from importlib import import_module
|
|
7
7
|
|
|
8
8
|
if typing.TYPE_CHECKING:
|
|
9
|
-
from . import apps
|
|
10
|
-
_dynamic_imports: typing.Dict[str, str] = {"apps": ".apps"}
|
|
9
|
+
from . import apps, components
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {"apps": ".apps", "components": ".components"}
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
def __getattr__(attr_name: str) -> typing.Any:
|
|
@@ -31,4 +31,4 @@ def __dir__():
|
|
|
31
31
|
return sorted(lazy_attrs)
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
__all__ = ["apps"]
|
|
34
|
+
__all__ = ["apps", "components"]
|
|
@@ -4,6 +4,8 @@ import typing
|
|
|
4
4
|
|
|
5
5
|
from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
6
6
|
from ...core.request_options import RequestOptions
|
|
7
|
+
from ...types.app_response import AppResponse
|
|
8
|
+
from ...types.facets_response import FacetsResponse
|
|
7
9
|
from ...types.list_response import ListResponse
|
|
8
10
|
from .raw_client import AsyncRawAppsClient, RawAppsClient
|
|
9
11
|
|
|
@@ -109,7 +111,7 @@ class AppsClient:
|
|
|
109
111
|
)
|
|
110
112
|
return _response.data
|
|
111
113
|
|
|
112
|
-
def facets(self, *, request_options: typing.Optional[RequestOptions] = None) ->
|
|
114
|
+
def facets(self, *, request_options: typing.Optional[RequestOptions] = None) -> FacetsResponse:
|
|
113
115
|
"""
|
|
114
116
|
Mirrors `V1::AppsController#v2_facets` (`AppTypesenseSearch.facets`):
|
|
115
117
|
returns `{ data: { category_name: [...], auth_type: [...] } }`.
|
|
@@ -121,7 +123,7 @@ class AppsClient:
|
|
|
121
123
|
|
|
122
124
|
Returns
|
|
123
125
|
-------
|
|
124
|
-
|
|
126
|
+
FacetsResponse
|
|
125
127
|
Facet values keyed by field under `data`
|
|
126
128
|
|
|
127
129
|
Examples
|
|
@@ -138,7 +140,7 @@ class AppsClient:
|
|
|
138
140
|
_response = self._raw_client.facets(request_options=request_options)
|
|
139
141
|
return _response.data
|
|
140
142
|
|
|
141
|
-
def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) ->
|
|
143
|
+
def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> AppResponse:
|
|
142
144
|
"""
|
|
143
145
|
Looks up a single app by hashid (e.g. `app_abc123`) or name_slug (e.g. `github`).
|
|
144
146
|
If the value starts with `app_` it is treated as a hashid and matched against
|
|
@@ -154,7 +156,7 @@ class AppsClient:
|
|
|
154
156
|
|
|
155
157
|
Returns
|
|
156
158
|
-------
|
|
157
|
-
|
|
159
|
+
AppResponse
|
|
158
160
|
The app, under `data`
|
|
159
161
|
|
|
160
162
|
Examples
|
|
@@ -283,7 +285,7 @@ class AsyncAppsClient:
|
|
|
283
285
|
)
|
|
284
286
|
return _response.data
|
|
285
287
|
|
|
286
|
-
async def facets(self, *, request_options: typing.Optional[RequestOptions] = None) ->
|
|
288
|
+
async def facets(self, *, request_options: typing.Optional[RequestOptions] = None) -> FacetsResponse:
|
|
287
289
|
"""
|
|
288
290
|
Mirrors `V1::AppsController#v2_facets` (`AppTypesenseSearch.facets`):
|
|
289
291
|
returns `{ data: { category_name: [...], auth_type: [...] } }`.
|
|
@@ -295,7 +297,7 @@ class AsyncAppsClient:
|
|
|
295
297
|
|
|
296
298
|
Returns
|
|
297
299
|
-------
|
|
298
|
-
|
|
300
|
+
FacetsResponse
|
|
299
301
|
Facet values keyed by field under `data`
|
|
300
302
|
|
|
301
303
|
Examples
|
|
@@ -320,7 +322,7 @@ class AsyncAppsClient:
|
|
|
320
322
|
_response = await self._raw_client.facets(request_options=request_options)
|
|
321
323
|
return _response.data
|
|
322
324
|
|
|
323
|
-
async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) ->
|
|
325
|
+
async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> AppResponse:
|
|
324
326
|
"""
|
|
325
327
|
Looks up a single app by hashid (e.g. `app_abc123`) or name_slug (e.g. `github`).
|
|
326
328
|
If the value starts with `app_` it is treated as a hashid and matched against
|
|
@@ -336,7 +338,7 @@ class AsyncAppsClient:
|
|
|
336
338
|
|
|
337
339
|
Returns
|
|
338
340
|
-------
|
|
339
|
-
|
|
341
|
+
AppResponse
|
|
340
342
|
The app, under `data`
|
|
341
343
|
|
|
342
344
|
Examples
|