pipedream 2.1.10__tar.gz → 2.1.12__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.10 → pipedream-2.1.12}/PKG-INFO +1 -1
- {pipedream-2.1.10 → pipedream-2.1.12}/pyproject.toml +1 -1
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/client.py +13 -13
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/client_wrapper.py +2 -2
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/file_stash/client.py +8 -8
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/file_stash/raw_client.py +6 -6
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/__init__.py +15 -0
- pipedream-2.1.12/src/pipedream/types/component_document.py +49 -0
- pipedream-2.1.12/src/pipedream/types/component_response.py +24 -0
- pipedream-2.1.12/src/pipedream/types/components_facets_response.py +26 -0
- pipedream-2.1.12/src/pipedream/types/components_list_response.py +22 -0
- pipedream-2.1.12/src/pipedream/types/components_page_info.py +22 -0
- {pipedream-2.1.10/src/pipedream/v_2 → pipedream-2.1.12/src/pipedream/v2}/__init__.py +3 -3
- {pipedream-2.1.10/src/pipedream/v_2 → pipedream-2.1.12/src/pipedream/v2}/apps/client.py +6 -6
- {pipedream-2.1.10/src/pipedream/v_2 → pipedream-2.1.12/src/pipedream/v2}/client.py +19 -0
- pipedream-2.1.12/src/pipedream/v2/components/__init__.py +4 -0
- pipedream-2.1.12/src/pipedream/v2/components/client.py +368 -0
- pipedream-2.1.12/src/pipedream/v2/components/raw_client.py +735 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/LICENSE +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/README.md +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/_default_clients.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/accounts/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/accounts/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/accounts/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/actions/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/actions/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/actions/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/actions/types/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/actions/types/actions_list_request_registry.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/app_categories/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/app_categories/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/app_categories/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/apps/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/apps/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/apps/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/apps/types/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/apps/types/apps_list_request_sort_direction.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/apps/types/apps_list_request_sort_key.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/components/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/components/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/components/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/components/types/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/components/types/components_list_request_registry.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/api_error.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/datetime_utils.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/file.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/force_multipart.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/http_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/http_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/http_sse/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/http_sse/_api.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/http_sse/_decoders.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/http_sse/_exceptions.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/http_sse/_models.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/jsonable_encoder.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/logging.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/oauth_token_provider.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/pagination.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/parse_error.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/pydantic_utilities.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/query_encoder.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/remove_none_from_dict.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/request_options.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/core/serialization.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/deployed_triggers/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/deployed_triggers/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/deployed_triggers/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/environment.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/errors/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/errors/bad_gateway_error.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/errors/bad_request_error.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/errors/internal_server_error.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/errors/not_found_error.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/errors/not_implemented_error.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/errors/service_unavailable_error.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/errors/too_many_requests_error.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/errors/unauthorized_error.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/file_stash/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/oauth_tokens/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/oauth_tokens/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/oauth_tokens/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/pipedream.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/project_environment/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/project_environment/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/project_environment/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/projects/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/projects/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/projects/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/proxy/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/proxy/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/proxy/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/py.typed +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/tokens/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/tokens/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/tokens/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/triggers/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/triggers/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/triggers/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/triggers/types/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/triggers/types/triggers_list_request_registry.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/account.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/account_credentials.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/account_id.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/app.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/app_auth_type.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/app_category.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/app_document.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/app_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/app_scope_profiles_item.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/app_scope_profiles_item_name.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/apps_page_info.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/backend_client_opts.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/client_opts.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/component.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/component_stash.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/component_type.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_airtable_base_id.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_airtable_field_id.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_airtable_table_id.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_airtable_view_id.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_alert.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_alert_type.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_any.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_any_options_item.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_app.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_apphook.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_base.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_base_type.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_boolean.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_boolean_options_item.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_data_store.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_db.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_dir.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_dir_access_mode.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_discord_channel.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_discord_channel_array.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_http.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_http_request.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_integer.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_integer_array.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_integer_array_options_item.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_integer_options_item.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_object.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_object_options_item.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_sql.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_sql_auth.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_sql_options_item.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_string.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_string_array.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_string_array_options_item.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_string_format.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_string_options_item.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_timer.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_timer_default.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_timer_option.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configurable_prop_timer_static.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configure_prop_options.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configure_prop_options_item.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configure_prop_opts.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configure_prop_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configured_prop_value.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configured_prop_value_any.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configured_prop_value_app.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configured_prop_value_boolean.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configured_prop_value_integer.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configured_prop_value_object.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configured_prop_value_sql.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configured_prop_value_string.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configured_prop_value_string_array.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/configured_props.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/connect_token.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/connect_usage.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/connect_usage_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/create_o_auth_token_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/create_token_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/delete_trigger_opts.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/deploy_trigger_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/deployed_component.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/dynamic_props.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/emitted_event.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/emitter.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/emitter_type.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/error_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/external_user.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/facet_value.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/facets_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_accounts_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_app_category_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_app_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_apps_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_component_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_components_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_trigger_events_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_trigger_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_trigger_webhooks_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_trigger_workflows_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_triggers_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_users_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_webhook_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/get_webhook_with_signing_key_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/http_interface.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/http_request_auth.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/http_request_auth_type.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/http_request_body.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/http_request_body_mode.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/http_request_body_type.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/http_request_config.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/http_request_field.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/list_accounts_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/list_app_categories_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/list_apps_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/list_projects_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/list_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/observation.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/observation_error.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/page_info.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/project.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/project_environment.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/project_info_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/project_info_response_app.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/prop_option.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/prop_option_nested.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/prop_option_value.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/proxy_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/proxy_response_binary.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/reload_props_opts.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/reload_props_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/run_action_opts_stash_id.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/run_action_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/set_webhook_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/start_connect_opts.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/stash_id.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/timer_cron.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/timer_interface.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/timer_interval.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/too_many_requests_error_body.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/tool_annotations.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/trigger_webhook.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/validate_token_response.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/webhook.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/webhook_with_optional_signing_key.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/types/webhook_with_signing_key.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/usage/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/usage/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/usage/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/users/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/users/client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/users/raw_client.py +0 -0
- {pipedream-2.1.10/src/pipedream/v_2 → pipedream-2.1.12/src/pipedream/v2}/apps/__init__.py +0 -0
- {pipedream-2.1.10/src/pipedream/v_2 → pipedream-2.1.12/src/pipedream/v2}/apps/raw_client.py +0 -0
- {pipedream-2.1.10/src/pipedream/v_2 → pipedream-2.1.12/src/pipedream/v2}/raw_client.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/version.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/workflows/__init__.py +0 -0
- {pipedream-2.1.10 → pipedream-2.1.12}/src/pipedream/workflows/client.py +0 -0
|
@@ -29,7 +29,7 @@ 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 .
|
|
32
|
+
from .v2.client import AsyncV2Client, V2Client
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
class Client:
|
|
@@ -224,7 +224,7 @@ class Client:
|
|
|
224
224
|
self._tokens: typing.Optional[TokensClient] = None
|
|
225
225
|
self._usage: typing.Optional[UsageClient] = None
|
|
226
226
|
self._oauth_tokens: typing.Optional[OauthTokensClient] = None
|
|
227
|
-
self.
|
|
227
|
+
self._v2: typing.Optional[V2Client] = None
|
|
228
228
|
|
|
229
229
|
@property
|
|
230
230
|
def app_categories(self):
|
|
@@ -347,12 +347,12 @@ class Client:
|
|
|
347
347
|
return self._oauth_tokens
|
|
348
348
|
|
|
349
349
|
@property
|
|
350
|
-
def
|
|
351
|
-
if self.
|
|
352
|
-
from .
|
|
350
|
+
def v2(self):
|
|
351
|
+
if self._v2 is None:
|
|
352
|
+
from .v2.client import V2Client # noqa: E402
|
|
353
353
|
|
|
354
|
-
self.
|
|
355
|
-
return self.
|
|
354
|
+
self._v2 = V2Client(client_wrapper=self._client_wrapper)
|
|
355
|
+
return self._v2
|
|
356
356
|
|
|
357
357
|
|
|
358
358
|
def _make_default_async_client(
|
|
@@ -562,7 +562,7 @@ class AsyncClient:
|
|
|
562
562
|
self._tokens: typing.Optional[AsyncTokensClient] = None
|
|
563
563
|
self._usage: typing.Optional[AsyncUsageClient] = None
|
|
564
564
|
self._oauth_tokens: typing.Optional[AsyncOauthTokensClient] = None
|
|
565
|
-
self.
|
|
565
|
+
self._v2: typing.Optional[AsyncV2Client] = None
|
|
566
566
|
|
|
567
567
|
@property
|
|
568
568
|
def app_categories(self):
|
|
@@ -685,12 +685,12 @@ class AsyncClient:
|
|
|
685
685
|
return self._oauth_tokens
|
|
686
686
|
|
|
687
687
|
@property
|
|
688
|
-
def
|
|
689
|
-
if self.
|
|
690
|
-
from .
|
|
688
|
+
def v2(self):
|
|
689
|
+
if self._v2 is None:
|
|
690
|
+
from .v2.client import AsyncV2Client # noqa: E402
|
|
691
691
|
|
|
692
|
-
self.
|
|
693
|
-
return self.
|
|
692
|
+
self._v2 = AsyncV2Client(client_wrapper=self._client_wrapper)
|
|
693
|
+
return self._v2
|
|
694
694
|
|
|
695
695
|
|
|
696
696
|
def _get_base_url(*, base_url: typing.Optional[str] = None, environment: PipedreamEnvironment) -> str:
|
|
@@ -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.12",
|
|
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.12",
|
|
43
43
|
**(self.get_custom_headers() or {}),
|
|
44
44
|
}
|
|
45
45
|
if self._project_environment is not None:
|
|
@@ -23,14 +23,14 @@ class FileStashClient:
|
|
|
23
23
|
return self._raw_client
|
|
24
24
|
|
|
25
25
|
def download_file(
|
|
26
|
-
self, *,
|
|
26
|
+
self, *, s3key: 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
|
+
s3key : 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
|
+
s3key="s3_key",
|
|
54
54
|
)
|
|
55
55
|
"""
|
|
56
|
-
with self._raw_client.download_file(
|
|
56
|
+
with self._raw_client.download_file(s3key=s3key, 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, *, s3key: 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
|
+
s3key : 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
|
+
s3key="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(s3key=s3key, 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, *, s3key: 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
|
+
s3key : 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": s3key,
|
|
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, *, s3key: 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
|
+
s3key : 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": s3key,
|
|
114
114
|
},
|
|
115
115
|
request_options=request_options,
|
|
116
116
|
) as _response:
|
|
@@ -20,8 +20,13 @@ if typing.TYPE_CHECKING:
|
|
|
20
20
|
from .backend_client_opts import BackendClientOpts
|
|
21
21
|
from .client_opts import ClientOpts
|
|
22
22
|
from .component import Component
|
|
23
|
+
from .component_document import ComponentDocument
|
|
24
|
+
from .component_response import ComponentResponse
|
|
23
25
|
from .component_stash import ComponentStash
|
|
24
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
|
|
25
30
|
from .configurable_prop import ConfigurableProp
|
|
26
31
|
from .configurable_prop_airtable_base_id import ConfigurablePropAirtableBaseId
|
|
27
32
|
from .configurable_prop_airtable_field_id import ConfigurablePropAirtableFieldId
|
|
@@ -164,8 +169,13 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
164
169
|
"BackendClientOpts": ".backend_client_opts",
|
|
165
170
|
"ClientOpts": ".client_opts",
|
|
166
171
|
"Component": ".component",
|
|
172
|
+
"ComponentDocument": ".component_document",
|
|
173
|
+
"ComponentResponse": ".component_response",
|
|
167
174
|
"ComponentStash": ".component_stash",
|
|
168
175
|
"ComponentType": ".component_type",
|
|
176
|
+
"ComponentsFacetsResponse": ".components_facets_response",
|
|
177
|
+
"ComponentsListResponse": ".components_list_response",
|
|
178
|
+
"ComponentsPageInfo": ".components_page_info",
|
|
169
179
|
"ConfigurableProp": ".configurable_prop",
|
|
170
180
|
"ConfigurablePropAirtableBaseId": ".configurable_prop_airtable_base_id",
|
|
171
181
|
"ConfigurablePropAirtableFieldId": ".configurable_prop_airtable_field_id",
|
|
@@ -332,8 +342,13 @@ __all__ = [
|
|
|
332
342
|
"BackendClientOpts",
|
|
333
343
|
"ClientOpts",
|
|
334
344
|
"Component",
|
|
345
|
+
"ComponentDocument",
|
|
346
|
+
"ComponentResponse",
|
|
335
347
|
"ComponentStash",
|
|
336
348
|
"ComponentType",
|
|
349
|
+
"ComponentsFacetsResponse",
|
|
350
|
+
"ComponentsListResponse",
|
|
351
|
+
"ComponentsPageInfo",
|
|
337
352
|
"ConfigurableProp",
|
|
338
353
|
"ConfigurablePropAirtableBaseId",
|
|
339
354
|
"ConfigurablePropAirtableFieldId",
|
|
@@ -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
|
|
@@ -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"]
|
|
@@ -85,7 +85,7 @@ class AppsClient:
|
|
|
85
85
|
client_id="YOUR_CLIENT_ID",
|
|
86
86
|
client_secret="YOUR_CLIENT_SECRET",
|
|
87
87
|
)
|
|
88
|
-
client.
|
|
88
|
+
client.v2.apps.list(
|
|
89
89
|
q="q",
|
|
90
90
|
limit=1000000,
|
|
91
91
|
page=1000000,
|
|
@@ -135,7 +135,7 @@ class AppsClient:
|
|
|
135
135
|
client_id="YOUR_CLIENT_ID",
|
|
136
136
|
client_secret="YOUR_CLIENT_SECRET",
|
|
137
137
|
)
|
|
138
|
-
client.
|
|
138
|
+
client.v2.apps.facets()
|
|
139
139
|
"""
|
|
140
140
|
_response = self._raw_client.facets(request_options=request_options)
|
|
141
141
|
return _response.data
|
|
@@ -168,7 +168,7 @@ class AppsClient:
|
|
|
168
168
|
client_id="YOUR_CLIENT_ID",
|
|
169
169
|
client_secret="YOUR_CLIENT_SECRET",
|
|
170
170
|
)
|
|
171
|
-
client.
|
|
171
|
+
client.v2.apps.retrieve(
|
|
172
172
|
id="id",
|
|
173
173
|
)
|
|
174
174
|
"""
|
|
@@ -256,7 +256,7 @@ class AsyncAppsClient:
|
|
|
256
256
|
|
|
257
257
|
|
|
258
258
|
async def main() -> None:
|
|
259
|
-
await client.
|
|
259
|
+
await client.v2.apps.list(
|
|
260
260
|
q="q",
|
|
261
261
|
limit=1000000,
|
|
262
262
|
page=1000000,
|
|
@@ -314,7 +314,7 @@ class AsyncAppsClient:
|
|
|
314
314
|
|
|
315
315
|
|
|
316
316
|
async def main() -> None:
|
|
317
|
-
await client.
|
|
317
|
+
await client.v2.apps.facets()
|
|
318
318
|
|
|
319
319
|
|
|
320
320
|
asyncio.run(main())
|
|
@@ -355,7 +355,7 @@ class AsyncAppsClient:
|
|
|
355
355
|
|
|
356
356
|
|
|
357
357
|
async def main() -> None:
|
|
358
|
-
await client.
|
|
358
|
+
await client.v2.apps.retrieve(
|
|
359
359
|
id="id",
|
|
360
360
|
)
|
|
361
361
|
|
|
@@ -9,6 +9,7 @@ from .raw_client import AsyncRawV2Client, RawV2Client
|
|
|
9
9
|
|
|
10
10
|
if typing.TYPE_CHECKING:
|
|
11
11
|
from .apps.client import AppsClient, AsyncAppsClient
|
|
12
|
+
from .components.client import AsyncComponentsClient, ComponentsClient
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
class V2Client:
|
|
@@ -16,6 +17,7 @@ class V2Client:
|
|
|
16
17
|
self._raw_client = RawV2Client(client_wrapper=client_wrapper)
|
|
17
18
|
self._client_wrapper = client_wrapper
|
|
18
19
|
self._apps: typing.Optional[AppsClient] = None
|
|
20
|
+
self._components: typing.Optional[ComponentsClient] = None
|
|
19
21
|
|
|
20
22
|
@property
|
|
21
23
|
def with_raw_response(self) -> RawV2Client:
|
|
@@ -36,12 +38,21 @@ class V2Client:
|
|
|
36
38
|
self._apps = AppsClient(client_wrapper=self._client_wrapper)
|
|
37
39
|
return self._apps
|
|
38
40
|
|
|
41
|
+
@property
|
|
42
|
+
def components(self):
|
|
43
|
+
if self._components is None:
|
|
44
|
+
from .components.client import ComponentsClient # noqa: E402
|
|
45
|
+
|
|
46
|
+
self._components = ComponentsClient(client_wrapper=self._client_wrapper)
|
|
47
|
+
return self._components
|
|
48
|
+
|
|
39
49
|
|
|
40
50
|
class AsyncV2Client:
|
|
41
51
|
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
42
52
|
self._raw_client = AsyncRawV2Client(client_wrapper=client_wrapper)
|
|
43
53
|
self._client_wrapper = client_wrapper
|
|
44
54
|
self._apps: typing.Optional[AsyncAppsClient] = None
|
|
55
|
+
self._components: typing.Optional[AsyncComponentsClient] = None
|
|
45
56
|
|
|
46
57
|
@property
|
|
47
58
|
def with_raw_response(self) -> AsyncRawV2Client:
|
|
@@ -61,3 +72,11 @@ class AsyncV2Client:
|
|
|
61
72
|
|
|
62
73
|
self._apps = AsyncAppsClient(client_wrapper=self._client_wrapper)
|
|
63
74
|
return self._apps
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
def components(self):
|
|
78
|
+
if self._components is None:
|
|
79
|
+
from .components.client import AsyncComponentsClient # noqa: E402
|
|
80
|
+
|
|
81
|
+
self._components = AsyncComponentsClient(client_wrapper=self._client_wrapper)
|
|
82
|
+
return self._components
|