pipedream 2.1.10__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.
Files changed (257) hide show
  1. {pipedream-2.1.10 → pipedream-2.1.11}/PKG-INFO +1 -1
  2. {pipedream-2.1.10 → pipedream-2.1.11}/pyproject.toml +1 -1
  3. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/client_wrapper.py +2 -2
  4. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/__init__.py +15 -0
  5. pipedream-2.1.11/src/pipedream/types/component_document.py +49 -0
  6. pipedream-2.1.11/src/pipedream/types/component_response.py +24 -0
  7. pipedream-2.1.11/src/pipedream/types/components_facets_response.py +26 -0
  8. pipedream-2.1.11/src/pipedream/types/components_list_response.py +22 -0
  9. pipedream-2.1.11/src/pipedream/types/components_page_info.py +22 -0
  10. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/v_2/__init__.py +3 -3
  11. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/v_2/client.py +19 -0
  12. pipedream-2.1.11/src/pipedream/v_2/components/__init__.py +4 -0
  13. pipedream-2.1.11/src/pipedream/v_2/components/client.py +368 -0
  14. pipedream-2.1.11/src/pipedream/v_2/components/raw_client.py +735 -0
  15. {pipedream-2.1.10 → pipedream-2.1.11}/LICENSE +0 -0
  16. {pipedream-2.1.10 → pipedream-2.1.11}/README.md +0 -0
  17. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/__init__.py +0 -0
  18. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/_default_clients.py +0 -0
  19. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/accounts/__init__.py +0 -0
  20. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/accounts/client.py +0 -0
  21. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/accounts/raw_client.py +0 -0
  22. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/actions/__init__.py +0 -0
  23. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/actions/client.py +0 -0
  24. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/actions/raw_client.py +0 -0
  25. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/actions/types/__init__.py +0 -0
  26. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/actions/types/actions_list_request_registry.py +0 -0
  27. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/app_categories/__init__.py +0 -0
  28. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/app_categories/client.py +0 -0
  29. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/app_categories/raw_client.py +0 -0
  30. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/apps/__init__.py +0 -0
  31. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/apps/client.py +0 -0
  32. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/apps/raw_client.py +0 -0
  33. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/apps/types/__init__.py +0 -0
  34. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/apps/types/apps_list_request_sort_direction.py +0 -0
  35. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/apps/types/apps_list_request_sort_key.py +0 -0
  36. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/client.py +0 -0
  37. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/components/__init__.py +0 -0
  38. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/components/client.py +0 -0
  39. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/components/raw_client.py +0 -0
  40. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/components/types/__init__.py +0 -0
  41. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/components/types/components_list_request_registry.py +0 -0
  42. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/__init__.py +0 -0
  43. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/api_error.py +0 -0
  44. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/datetime_utils.py +0 -0
  45. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/file.py +0 -0
  46. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/force_multipart.py +0 -0
  47. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/http_client.py +0 -0
  48. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/http_response.py +0 -0
  49. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/http_sse/__init__.py +0 -0
  50. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/http_sse/_api.py +0 -0
  51. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/http_sse/_decoders.py +0 -0
  52. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/http_sse/_exceptions.py +0 -0
  53. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/http_sse/_models.py +0 -0
  54. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/jsonable_encoder.py +0 -0
  55. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/logging.py +0 -0
  56. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/oauth_token_provider.py +0 -0
  57. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/pagination.py +0 -0
  58. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/parse_error.py +0 -0
  59. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/pydantic_utilities.py +0 -0
  60. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/query_encoder.py +0 -0
  61. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/remove_none_from_dict.py +0 -0
  62. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/request_options.py +0 -0
  63. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/core/serialization.py +0 -0
  64. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/deployed_triggers/__init__.py +0 -0
  65. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/deployed_triggers/client.py +0 -0
  66. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/deployed_triggers/raw_client.py +0 -0
  67. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/environment.py +0 -0
  68. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/errors/__init__.py +0 -0
  69. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/errors/bad_gateway_error.py +0 -0
  70. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/errors/bad_request_error.py +0 -0
  71. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/errors/internal_server_error.py +0 -0
  72. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/errors/not_found_error.py +0 -0
  73. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/errors/not_implemented_error.py +0 -0
  74. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/errors/service_unavailable_error.py +0 -0
  75. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/errors/too_many_requests_error.py +0 -0
  76. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/errors/unauthorized_error.py +0 -0
  77. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/file_stash/__init__.py +0 -0
  78. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/file_stash/client.py +0 -0
  79. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/file_stash/raw_client.py +0 -0
  80. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/oauth_tokens/__init__.py +0 -0
  81. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/oauth_tokens/client.py +0 -0
  82. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/oauth_tokens/raw_client.py +0 -0
  83. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/pipedream.py +0 -0
  84. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/project_environment/__init__.py +0 -0
  85. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/project_environment/client.py +0 -0
  86. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/project_environment/raw_client.py +0 -0
  87. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/projects/__init__.py +0 -0
  88. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/projects/client.py +0 -0
  89. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/projects/raw_client.py +0 -0
  90. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/proxy/__init__.py +0 -0
  91. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/proxy/client.py +0 -0
  92. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/proxy/raw_client.py +0 -0
  93. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/py.typed +0 -0
  94. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/tokens/__init__.py +0 -0
  95. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/tokens/client.py +0 -0
  96. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/tokens/raw_client.py +0 -0
  97. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/triggers/__init__.py +0 -0
  98. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/triggers/client.py +0 -0
  99. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/triggers/raw_client.py +0 -0
  100. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/triggers/types/__init__.py +0 -0
  101. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/triggers/types/triggers_list_request_registry.py +0 -0
  102. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/account.py +0 -0
  103. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/account_credentials.py +0 -0
  104. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/account_id.py +0 -0
  105. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/app.py +0 -0
  106. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/app_auth_type.py +0 -0
  107. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/app_category.py +0 -0
  108. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/app_document.py +0 -0
  109. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/app_response.py +0 -0
  110. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/app_scope_profiles_item.py +0 -0
  111. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/app_scope_profiles_item_name.py +0 -0
  112. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/apps_page_info.py +0 -0
  113. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/backend_client_opts.py +0 -0
  114. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/client_opts.py +0 -0
  115. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/component.py +0 -0
  116. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/component_stash.py +0 -0
  117. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/component_type.py +0 -0
  118. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop.py +0 -0
  119. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_airtable_base_id.py +0 -0
  120. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_airtable_field_id.py +0 -0
  121. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_airtable_table_id.py +0 -0
  122. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_airtable_view_id.py +0 -0
  123. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_alert.py +0 -0
  124. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_alert_type.py +0 -0
  125. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_any.py +0 -0
  126. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_any_options_item.py +0 -0
  127. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_app.py +0 -0
  128. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_apphook.py +0 -0
  129. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_base.py +0 -0
  130. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_base_type.py +0 -0
  131. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_boolean.py +0 -0
  132. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_boolean_options_item.py +0 -0
  133. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_data_store.py +0 -0
  134. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_db.py +0 -0
  135. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_dir.py +0 -0
  136. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_dir_access_mode.py +0 -0
  137. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_discord_channel.py +0 -0
  138. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_discord_channel_array.py +0 -0
  139. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_http.py +0 -0
  140. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_http_request.py +0 -0
  141. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_integer.py +0 -0
  142. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_integer_array.py +0 -0
  143. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_integer_array_options_item.py +0 -0
  144. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_integer_options_item.py +0 -0
  145. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_object.py +0 -0
  146. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_object_options_item.py +0 -0
  147. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_sql.py +0 -0
  148. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_sql_auth.py +0 -0
  149. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_sql_options_item.py +0 -0
  150. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_string.py +0 -0
  151. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_string_array.py +0 -0
  152. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_string_array_options_item.py +0 -0
  153. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_string_format.py +0 -0
  154. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_string_options_item.py +0 -0
  155. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_timer.py +0 -0
  156. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_timer_default.py +0 -0
  157. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_timer_option.py +0 -0
  158. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configurable_prop_timer_static.py +0 -0
  159. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configure_prop_options.py +0 -0
  160. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configure_prop_options_item.py +0 -0
  161. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configure_prop_opts.py +0 -0
  162. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configure_prop_response.py +0 -0
  163. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value.py +0 -0
  164. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_any.py +0 -0
  165. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_app.py +0 -0
  166. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_boolean.py +0 -0
  167. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_integer.py +0 -0
  168. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_object.py +0 -0
  169. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_sql.py +0 -0
  170. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_string.py +0 -0
  171. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configured_prop_value_string_array.py +0 -0
  172. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/configured_props.py +0 -0
  173. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/connect_token.py +0 -0
  174. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/connect_usage.py +0 -0
  175. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/connect_usage_response.py +0 -0
  176. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/create_o_auth_token_response.py +0 -0
  177. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/create_token_response.py +0 -0
  178. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/delete_trigger_opts.py +0 -0
  179. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/deploy_trigger_response.py +0 -0
  180. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/deployed_component.py +0 -0
  181. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/dynamic_props.py +0 -0
  182. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/emitted_event.py +0 -0
  183. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/emitter.py +0 -0
  184. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/emitter_type.py +0 -0
  185. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/error_response.py +0 -0
  186. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/external_user.py +0 -0
  187. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/facet_value.py +0 -0
  188. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/facets_response.py +0 -0
  189. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_accounts_response.py +0 -0
  190. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_app_category_response.py +0 -0
  191. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_app_response.py +0 -0
  192. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_apps_response.py +0 -0
  193. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_component_response.py +0 -0
  194. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_components_response.py +0 -0
  195. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_trigger_events_response.py +0 -0
  196. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_trigger_response.py +0 -0
  197. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_trigger_webhooks_response.py +0 -0
  198. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_trigger_workflows_response.py +0 -0
  199. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_triggers_response.py +0 -0
  200. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_users_response.py +0 -0
  201. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_webhook_response.py +0 -0
  202. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/get_webhook_with_signing_key_response.py +0 -0
  203. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/http_interface.py +0 -0
  204. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/http_request_auth.py +0 -0
  205. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/http_request_auth_type.py +0 -0
  206. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/http_request_body.py +0 -0
  207. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/http_request_body_mode.py +0 -0
  208. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/http_request_body_type.py +0 -0
  209. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/http_request_config.py +0 -0
  210. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/http_request_field.py +0 -0
  211. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/list_accounts_response.py +0 -0
  212. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/list_app_categories_response.py +0 -0
  213. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/list_apps_response.py +0 -0
  214. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/list_projects_response.py +0 -0
  215. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/list_response.py +0 -0
  216. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/observation.py +0 -0
  217. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/observation_error.py +0 -0
  218. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/page_info.py +0 -0
  219. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/project.py +0 -0
  220. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/project_environment.py +0 -0
  221. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/project_info_response.py +0 -0
  222. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/project_info_response_app.py +0 -0
  223. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/prop_option.py +0 -0
  224. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/prop_option_nested.py +0 -0
  225. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/prop_option_value.py +0 -0
  226. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/proxy_response.py +0 -0
  227. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/proxy_response_binary.py +0 -0
  228. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/reload_props_opts.py +0 -0
  229. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/reload_props_response.py +0 -0
  230. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/run_action_opts_stash_id.py +0 -0
  231. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/run_action_response.py +0 -0
  232. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/set_webhook_response.py +0 -0
  233. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/start_connect_opts.py +0 -0
  234. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/stash_id.py +0 -0
  235. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/timer_cron.py +0 -0
  236. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/timer_interface.py +0 -0
  237. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/timer_interval.py +0 -0
  238. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/too_many_requests_error_body.py +0 -0
  239. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/tool_annotations.py +0 -0
  240. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/trigger_webhook.py +0 -0
  241. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/validate_token_response.py +0 -0
  242. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/webhook.py +0 -0
  243. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/webhook_with_optional_signing_key.py +0 -0
  244. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/types/webhook_with_signing_key.py +0 -0
  245. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/usage/__init__.py +0 -0
  246. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/usage/client.py +0 -0
  247. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/usage/raw_client.py +0 -0
  248. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/users/__init__.py +0 -0
  249. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/users/client.py +0 -0
  250. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/users/raw_client.py +0 -0
  251. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/v_2/apps/__init__.py +0 -0
  252. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/v_2/apps/client.py +0 -0
  253. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/v_2/apps/raw_client.py +0 -0
  254. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/v_2/raw_client.py +0 -0
  255. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/version.py +0 -0
  256. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/workflows/__init__.py +0 -0
  257. {pipedream-2.1.10 → pipedream-2.1.11}/src/pipedream/workflows/client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pipedream
3
- Version: 2.1.10
3
+ Version: 2.1.11
4
4
  Summary:
5
5
  Requires-Python: >=3.10,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -4,7 +4,7 @@ dynamic = ["version"]
4
4
 
5
5
  [tool.poetry]
6
6
  name = "pipedream"
7
- version = "2.1.10"
7
+ version = "2.1.11"
8
8
  description = ""
9
9
  readme = "README.md"
10
10
  authors = []
@@ -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.10",
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.10",
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:
@@ -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"]
@@ -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
@@ -0,0 +1,4 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+
@@ -0,0 +1,368 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
6
+ from ...core.request_options import RequestOptions
7
+ from ...types.component_response import ComponentResponse
8
+ from ...types.components_facets_response import ComponentsFacetsResponse
9
+ from ...types.components_list_response import ComponentsListResponse
10
+ from .raw_client import AsyncRawComponentsClient, RawComponentsClient
11
+
12
+
13
+ class ComponentsClient:
14
+ def __init__(self, *, client_wrapper: SyncClientWrapper):
15
+ self._raw_client = RawComponentsClient(client_wrapper=client_wrapper)
16
+
17
+ @property
18
+ def with_raw_response(self) -> RawComponentsClient:
19
+ """
20
+ Retrieves a raw implementation of this client that returns raw responses.
21
+
22
+ Returns
23
+ -------
24
+ RawComponentsClient
25
+ """
26
+ return self._raw_client
27
+
28
+ def list(
29
+ self,
30
+ *,
31
+ q: typing.Optional[str] = None,
32
+ limit: typing.Optional[int] = None,
33
+ page: typing.Optional[int] = None,
34
+ component_type: typing.Optional[str] = None,
35
+ app: typing.Optional[str] = None,
36
+ registry: typing.Optional[str] = None,
37
+ request_options: typing.Optional[RequestOptions] = None,
38
+ ) -> ComponentsListResponse:
39
+ """
40
+ Parameters
41
+ ----------
42
+ q : typing.Optional[str]
43
+
44
+ limit : typing.Optional[int]
45
+
46
+ page : typing.Optional[int]
47
+
48
+ component_type : typing.Optional[str]
49
+ "actions" | "action" → action; "triggers" | "trigger" → source.
50
+
51
+ app : typing.Optional[str]
52
+ Comma-separated list of app name_slugs (e.g. `slack,github`). Rails
53
+ also resolves app hashids to slugs here; the Rust port treats values
54
+ as slugs directly. Passing a hashid will silently filter to zero
55
+ results.
56
+
57
+ registry : typing.Optional[str]
58
+ `public` (default) | `private` | `all`. Determines whether the scoped
59
+ search key is generated with just `public` or also the caller's org.
60
+
61
+ request_options : typing.Optional[RequestOptions]
62
+ Request-specific configuration.
63
+
64
+ Returns
65
+ -------
66
+ ComponentsListResponse
67
+ Paginated list of components
68
+
69
+ Examples
70
+ --------
71
+ from pipedream import Pipedream
72
+
73
+ client = Pipedream(
74
+ project_id="YOUR_PROJECT_ID",
75
+ client_id="YOUR_CLIENT_ID",
76
+ client_secret="YOUR_CLIENT_SECRET",
77
+ )
78
+ client.v_2.components.list(
79
+ q="q",
80
+ limit=1000000,
81
+ page=1000000,
82
+ component_type="component_type",
83
+ app="app",
84
+ registry="registry",
85
+ )
86
+ """
87
+ _response = self._raw_client.list(
88
+ q=q,
89
+ limit=limit,
90
+ page=page,
91
+ component_type=component_type,
92
+ app=app,
93
+ registry=registry,
94
+ request_options=request_options,
95
+ )
96
+ return _response.data
97
+
98
+ def facets(
99
+ self, *, registry: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None
100
+ ) -> ComponentsFacetsResponse:
101
+ """
102
+ Mirrors `V1::Connect::ComponentsController#v2_facets`
103
+ (`PublishedComponentTypesenseSearch.facets`): returns
104
+ `{ data: { component_type: [...], app_name_slug: [...] } }`, scoped by the
105
+ caller's org via a per-request Typesense API key.
106
+
107
+ Parameters
108
+ ----------
109
+ registry : typing.Optional[str]
110
+ `public` (default) | `private` | `all` — same semantics as the listing.
111
+
112
+ request_options : typing.Optional[RequestOptions]
113
+ Request-specific configuration.
114
+
115
+ Returns
116
+ -------
117
+ ComponentsFacetsResponse
118
+ Facet values keyed by field under `data`
119
+
120
+ Examples
121
+ --------
122
+ from pipedream import Pipedream
123
+
124
+ client = Pipedream(
125
+ project_id="YOUR_PROJECT_ID",
126
+ client_id="YOUR_CLIENT_ID",
127
+ client_secret="YOUR_CLIENT_SECRET",
128
+ )
129
+ client.v_2.components.facets(
130
+ registry="registry",
131
+ )
132
+ """
133
+ _response = self._raw_client.facets(registry=registry, request_options=request_options)
134
+ return _response.data
135
+
136
+ def retrieve(
137
+ self, id: str, *, registry: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None
138
+ ) -> ComponentResponse:
139
+ """
140
+ Looks up a single published component by hashid (e.g. `pc_abc123`). IDs
141
+ that don't start with `pc_` return 404. Scoping is enforced via the same
142
+ per-request scoped Typesense API key as the listing, so private
143
+ components from other orgs are invisible (404, not 403, to avoid
144
+ confirming existence).
145
+
146
+ Parameters
147
+ ----------
148
+ id : str
149
+ Published-component hashid (pc_...)
150
+
151
+ registry : typing.Optional[str]
152
+ `public` (default) | `private` | `all` — same semantics as the listing.
153
+
154
+ request_options : typing.Optional[RequestOptions]
155
+ Request-specific configuration.
156
+
157
+ Returns
158
+ -------
159
+ ComponentResponse
160
+ The component, under `data`
161
+
162
+ Examples
163
+ --------
164
+ from pipedream import Pipedream
165
+
166
+ client = Pipedream(
167
+ project_id="YOUR_PROJECT_ID",
168
+ client_id="YOUR_CLIENT_ID",
169
+ client_secret="YOUR_CLIENT_SECRET",
170
+ )
171
+ client.v_2.components.retrieve(
172
+ id="id",
173
+ registry="registry",
174
+ )
175
+ """
176
+ _response = self._raw_client.retrieve(id, registry=registry, request_options=request_options)
177
+ return _response.data
178
+
179
+
180
+ class AsyncComponentsClient:
181
+ def __init__(self, *, client_wrapper: AsyncClientWrapper):
182
+ self._raw_client = AsyncRawComponentsClient(client_wrapper=client_wrapper)
183
+
184
+ @property
185
+ def with_raw_response(self) -> AsyncRawComponentsClient:
186
+ """
187
+ Retrieves a raw implementation of this client that returns raw responses.
188
+
189
+ Returns
190
+ -------
191
+ AsyncRawComponentsClient
192
+ """
193
+ return self._raw_client
194
+
195
+ async def list(
196
+ self,
197
+ *,
198
+ q: typing.Optional[str] = None,
199
+ limit: typing.Optional[int] = None,
200
+ page: typing.Optional[int] = None,
201
+ component_type: typing.Optional[str] = None,
202
+ app: typing.Optional[str] = None,
203
+ registry: typing.Optional[str] = None,
204
+ request_options: typing.Optional[RequestOptions] = None,
205
+ ) -> ComponentsListResponse:
206
+ """
207
+ Parameters
208
+ ----------
209
+ q : typing.Optional[str]
210
+
211
+ limit : typing.Optional[int]
212
+
213
+ page : typing.Optional[int]
214
+
215
+ component_type : typing.Optional[str]
216
+ "actions" | "action" → action; "triggers" | "trigger" → source.
217
+
218
+ app : typing.Optional[str]
219
+ Comma-separated list of app name_slugs (e.g. `slack,github`). Rails
220
+ also resolves app hashids to slugs here; the Rust port treats values
221
+ as slugs directly. Passing a hashid will silently filter to zero
222
+ results.
223
+
224
+ registry : typing.Optional[str]
225
+ `public` (default) | `private` | `all`. Determines whether the scoped
226
+ search key is generated with just `public` or also the caller's org.
227
+
228
+ request_options : typing.Optional[RequestOptions]
229
+ Request-specific configuration.
230
+
231
+ Returns
232
+ -------
233
+ ComponentsListResponse
234
+ Paginated list of components
235
+
236
+ Examples
237
+ --------
238
+ import asyncio
239
+
240
+ from pipedream import AsyncPipedream
241
+
242
+ client = AsyncPipedream(
243
+ project_id="YOUR_PROJECT_ID",
244
+ client_id="YOUR_CLIENT_ID",
245
+ client_secret="YOUR_CLIENT_SECRET",
246
+ )
247
+
248
+
249
+ async def main() -> None:
250
+ await client.v_2.components.list(
251
+ q="q",
252
+ limit=1000000,
253
+ page=1000000,
254
+ component_type="component_type",
255
+ app="app",
256
+ registry="registry",
257
+ )
258
+
259
+
260
+ asyncio.run(main())
261
+ """
262
+ _response = await self._raw_client.list(
263
+ q=q,
264
+ limit=limit,
265
+ page=page,
266
+ component_type=component_type,
267
+ app=app,
268
+ registry=registry,
269
+ request_options=request_options,
270
+ )
271
+ return _response.data
272
+
273
+ async def facets(
274
+ self, *, registry: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None
275
+ ) -> ComponentsFacetsResponse:
276
+ """
277
+ Mirrors `V1::Connect::ComponentsController#v2_facets`
278
+ (`PublishedComponentTypesenseSearch.facets`): returns
279
+ `{ data: { component_type: [...], app_name_slug: [...] } }`, scoped by the
280
+ caller's org via a per-request Typesense API key.
281
+
282
+ Parameters
283
+ ----------
284
+ registry : typing.Optional[str]
285
+ `public` (default) | `private` | `all` — same semantics as the listing.
286
+
287
+ request_options : typing.Optional[RequestOptions]
288
+ Request-specific configuration.
289
+
290
+ Returns
291
+ -------
292
+ ComponentsFacetsResponse
293
+ Facet values keyed by field under `data`
294
+
295
+ Examples
296
+ --------
297
+ import asyncio
298
+
299
+ from pipedream import AsyncPipedream
300
+
301
+ client = AsyncPipedream(
302
+ project_id="YOUR_PROJECT_ID",
303
+ client_id="YOUR_CLIENT_ID",
304
+ client_secret="YOUR_CLIENT_SECRET",
305
+ )
306
+
307
+
308
+ async def main() -> None:
309
+ await client.v_2.components.facets(
310
+ registry="registry",
311
+ )
312
+
313
+
314
+ asyncio.run(main())
315
+ """
316
+ _response = await self._raw_client.facets(registry=registry, request_options=request_options)
317
+ return _response.data
318
+
319
+ async def retrieve(
320
+ self, id: str, *, registry: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None
321
+ ) -> ComponentResponse:
322
+ """
323
+ Looks up a single published component by hashid (e.g. `pc_abc123`). IDs
324
+ that don't start with `pc_` return 404. Scoping is enforced via the same
325
+ per-request scoped Typesense API key as the listing, so private
326
+ components from other orgs are invisible (404, not 403, to avoid
327
+ confirming existence).
328
+
329
+ Parameters
330
+ ----------
331
+ id : str
332
+ Published-component hashid (pc_...)
333
+
334
+ registry : typing.Optional[str]
335
+ `public` (default) | `private` | `all` — same semantics as the listing.
336
+
337
+ request_options : typing.Optional[RequestOptions]
338
+ Request-specific configuration.
339
+
340
+ Returns
341
+ -------
342
+ ComponentResponse
343
+ The component, under `data`
344
+
345
+ Examples
346
+ --------
347
+ import asyncio
348
+
349
+ from pipedream import AsyncPipedream
350
+
351
+ client = AsyncPipedream(
352
+ project_id="YOUR_PROJECT_ID",
353
+ client_id="YOUR_CLIENT_ID",
354
+ client_secret="YOUR_CLIENT_SECRET",
355
+ )
356
+
357
+
358
+ async def main() -> None:
359
+ await client.v_2.components.retrieve(
360
+ id="id",
361
+ registry="registry",
362
+ )
363
+
364
+
365
+ asyncio.run(main())
366
+ """
367
+ _response = await self._raw_client.retrieve(id, registry=registry, request_options=request_options)
368
+ return _response.data