pipedream 2.1.0__tar.gz → 2.1.2__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 (243) hide show
  1. {pipedream-2.1.0 → pipedream-2.1.2}/PKG-INFO +1 -1
  2. {pipedream-2.1.0 → pipedream-2.1.2}/pyproject.toml +1 -1
  3. pipedream-2.1.2/src/pipedream/apps/client.py +683 -0
  4. pipedream-2.1.2/src/pipedream/apps/raw_client.py +831 -0
  5. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/client_wrapper.py +2 -2
  6. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/errors/__init__.py +23 -1
  7. pipedream-2.1.2/src/pipedream/errors/bad_gateway_error.py +11 -0
  8. pipedream-2.1.2/src/pipedream/errors/forbidden_error.py +11 -0
  9. pipedream-2.1.2/src/pipedream/errors/gateway_timeout_error.py +11 -0
  10. pipedream-2.1.2/src/pipedream/errors/not_implemented_error.py +11 -0
  11. pipedream-2.1.2/src/pipedream/errors/service_unavailable_error.py +11 -0
  12. pipedream-2.1.2/src/pipedream/errors/unauthorized_error.py +11 -0
  13. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/__init__.py +9 -0
  14. pipedream-2.1.2/src/pipedream/types/apps_page_info.py +22 -0
  15. pipedream-2.1.2/src/pipedream/types/connect_error.py +23 -0
  16. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/error_response.py +6 -14
  17. pipedream-2.1.2/src/pipedream/types/list_response.py +21 -0
  18. pipedream-2.1.0/src/pipedream/apps/client.py +0 -326
  19. pipedream-2.1.0/src/pipedream/apps/raw_client.py +0 -344
  20. {pipedream-2.1.0 → pipedream-2.1.2}/LICENSE +0 -0
  21. {pipedream-2.1.0 → pipedream-2.1.2}/README.md +0 -0
  22. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/__init__.py +0 -0
  23. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/_default_clients.py +0 -0
  24. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/accounts/__init__.py +0 -0
  25. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/accounts/client.py +0 -0
  26. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/accounts/raw_client.py +0 -0
  27. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/actions/__init__.py +0 -0
  28. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/actions/client.py +0 -0
  29. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/actions/raw_client.py +0 -0
  30. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/actions/types/__init__.py +0 -0
  31. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/actions/types/actions_list_request_registry.py +0 -0
  32. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/app_categories/__init__.py +0 -0
  33. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/app_categories/client.py +0 -0
  34. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/app_categories/raw_client.py +0 -0
  35. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/apps/__init__.py +0 -0
  36. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/apps/types/__init__.py +0 -0
  37. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/apps/types/apps_list_request_sort_direction.py +0 -0
  38. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/apps/types/apps_list_request_sort_key.py +0 -0
  39. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/client.py +0 -0
  40. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/components/__init__.py +0 -0
  41. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/components/client.py +0 -0
  42. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/components/raw_client.py +0 -0
  43. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/components/types/__init__.py +0 -0
  44. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/components/types/components_list_request_registry.py +0 -0
  45. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/__init__.py +0 -0
  46. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/api_error.py +0 -0
  47. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/datetime_utils.py +0 -0
  48. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/file.py +0 -0
  49. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/force_multipart.py +0 -0
  50. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/http_client.py +0 -0
  51. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/http_response.py +0 -0
  52. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/http_sse/__init__.py +0 -0
  53. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/http_sse/_api.py +0 -0
  54. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/http_sse/_decoders.py +0 -0
  55. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/http_sse/_exceptions.py +0 -0
  56. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/http_sse/_models.py +0 -0
  57. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/jsonable_encoder.py +0 -0
  58. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/logging.py +0 -0
  59. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/oauth_token_provider.py +0 -0
  60. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/pagination.py +0 -0
  61. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/parse_error.py +0 -0
  62. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/pydantic_utilities.py +0 -0
  63. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/query_encoder.py +0 -0
  64. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/remove_none_from_dict.py +0 -0
  65. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/request_options.py +0 -0
  66. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/core/serialization.py +0 -0
  67. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/deployed_triggers/__init__.py +0 -0
  68. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/deployed_triggers/client.py +0 -0
  69. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/deployed_triggers/raw_client.py +0 -0
  70. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/environment.py +0 -0
  71. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/errors/bad_request_error.py +0 -0
  72. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/errors/not_found_error.py +0 -0
  73. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/errors/too_many_requests_error.py +0 -0
  74. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/file_stash/__init__.py +0 -0
  75. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/file_stash/client.py +0 -0
  76. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/file_stash/raw_client.py +0 -0
  77. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/oauth_tokens/__init__.py +0 -0
  78. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/oauth_tokens/client.py +0 -0
  79. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/oauth_tokens/raw_client.py +0 -0
  80. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/pipedream.py +0 -0
  81. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/project_environment/__init__.py +0 -0
  82. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/project_environment/client.py +0 -0
  83. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/project_environment/raw_client.py +0 -0
  84. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/projects/__init__.py +0 -0
  85. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/projects/client.py +0 -0
  86. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/projects/raw_client.py +0 -0
  87. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/proxy/__init__.py +0 -0
  88. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/proxy/client.py +0 -0
  89. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/proxy/raw_client.py +0 -0
  90. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/py.typed +0 -0
  91. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/tokens/__init__.py +0 -0
  92. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/tokens/client.py +0 -0
  93. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/tokens/raw_client.py +0 -0
  94. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/triggers/__init__.py +0 -0
  95. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/triggers/client.py +0 -0
  96. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/triggers/raw_client.py +0 -0
  97. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/triggers/types/__init__.py +0 -0
  98. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/triggers/types/triggers_list_request_registry.py +0 -0
  99. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/account.py +0 -0
  100. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/account_credentials.py +0 -0
  101. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/account_id.py +0 -0
  102. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/app.py +0 -0
  103. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/app_auth_type.py +0 -0
  104. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/app_category.py +0 -0
  105. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/app_scope_profiles_item.py +0 -0
  106. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/app_scope_profiles_item_name.py +0 -0
  107. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/backend_client_opts.py +0 -0
  108. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/client_opts.py +0 -0
  109. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/component.py +0 -0
  110. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/component_stash.py +0 -0
  111. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/component_type.py +0 -0
  112. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop.py +0 -0
  113. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_airtable_base_id.py +0 -0
  114. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_airtable_field_id.py +0 -0
  115. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_airtable_table_id.py +0 -0
  116. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_airtable_view_id.py +0 -0
  117. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_alert.py +0 -0
  118. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_alert_type.py +0 -0
  119. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_any.py +0 -0
  120. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_any_options_item.py +0 -0
  121. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_app.py +0 -0
  122. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_apphook.py +0 -0
  123. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_base.py +0 -0
  124. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_base_type.py +0 -0
  125. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_boolean.py +0 -0
  126. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_boolean_options_item.py +0 -0
  127. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_data_store.py +0 -0
  128. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_db.py +0 -0
  129. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_dir.py +0 -0
  130. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_dir_access_mode.py +0 -0
  131. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_discord_channel.py +0 -0
  132. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_discord_channel_array.py +0 -0
  133. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_http.py +0 -0
  134. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_http_request.py +0 -0
  135. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_integer.py +0 -0
  136. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_integer_array.py +0 -0
  137. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_integer_array_options_item.py +0 -0
  138. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_integer_options_item.py +0 -0
  139. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_object.py +0 -0
  140. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_object_options_item.py +0 -0
  141. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_sql.py +0 -0
  142. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_sql_auth.py +0 -0
  143. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_sql_options_item.py +0 -0
  144. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_string.py +0 -0
  145. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_string_array.py +0 -0
  146. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_string_array_options_item.py +0 -0
  147. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_string_format.py +0 -0
  148. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_string_options_item.py +0 -0
  149. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_timer.py +0 -0
  150. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_timer_default.py +0 -0
  151. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_timer_option.py +0 -0
  152. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configurable_prop_timer_static.py +0 -0
  153. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configure_prop_options.py +0 -0
  154. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configure_prop_options_item.py +0 -0
  155. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configure_prop_opts.py +0 -0
  156. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configure_prop_response.py +0 -0
  157. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configured_prop_value.py +0 -0
  158. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configured_prop_value_any.py +0 -0
  159. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configured_prop_value_app.py +0 -0
  160. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configured_prop_value_boolean.py +0 -0
  161. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configured_prop_value_integer.py +0 -0
  162. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configured_prop_value_object.py +0 -0
  163. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configured_prop_value_sql.py +0 -0
  164. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configured_prop_value_string.py +0 -0
  165. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configured_prop_value_string_array.py +0 -0
  166. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/configured_props.py +0 -0
  167. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/connect_token.py +0 -0
  168. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/connect_usage.py +0 -0
  169. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/connect_usage_response.py +0 -0
  170. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/create_o_auth_token_response.py +0 -0
  171. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/create_token_response.py +0 -0
  172. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/delete_trigger_opts.py +0 -0
  173. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/deploy_trigger_response.py +0 -0
  174. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/deployed_component.py +0 -0
  175. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/dynamic_props.py +0 -0
  176. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/emitted_event.py +0 -0
  177. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/emitter.py +0 -0
  178. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/emitter_type.py +0 -0
  179. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/external_user.py +0 -0
  180. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_accounts_response.py +0 -0
  181. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_app_category_response.py +0 -0
  182. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_app_response.py +0 -0
  183. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_apps_response.py +0 -0
  184. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_component_response.py +0 -0
  185. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_components_response.py +0 -0
  186. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_trigger_events_response.py +0 -0
  187. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_trigger_response.py +0 -0
  188. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_trigger_webhooks_response.py +0 -0
  189. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_trigger_workflows_response.py +0 -0
  190. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_triggers_response.py +0 -0
  191. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_users_response.py +0 -0
  192. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_webhook_response.py +0 -0
  193. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/get_webhook_with_signing_key_response.py +0 -0
  194. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/http_interface.py +0 -0
  195. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/http_request_auth.py +0 -0
  196. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/http_request_auth_type.py +0 -0
  197. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/http_request_body.py +0 -0
  198. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/http_request_body_mode.py +0 -0
  199. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/http_request_body_type.py +0 -0
  200. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/http_request_config.py +0 -0
  201. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/http_request_field.py +0 -0
  202. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/list_accounts_response.py +0 -0
  203. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/list_app_categories_response.py +0 -0
  204. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/list_apps_response.py +0 -0
  205. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/list_projects_response.py +0 -0
  206. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/observation.py +0 -0
  207. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/observation_error.py +0 -0
  208. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/page_info.py +0 -0
  209. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/project.py +0 -0
  210. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/project_environment.py +0 -0
  211. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/project_info_response.py +0 -0
  212. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/project_info_response_app.py +0 -0
  213. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/prop_option.py +0 -0
  214. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/prop_option_nested.py +0 -0
  215. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/prop_option_value.py +0 -0
  216. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/proxy_response.py +0 -0
  217. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/proxy_response_binary.py +0 -0
  218. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/reload_props_opts.py +0 -0
  219. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/reload_props_response.py +0 -0
  220. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/run_action_opts_stash_id.py +0 -0
  221. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/run_action_response.py +0 -0
  222. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/set_webhook_response.py +0 -0
  223. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/start_connect_opts.py +0 -0
  224. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/stash_id.py +0 -0
  225. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/timer_cron.py +0 -0
  226. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/timer_interface.py +0 -0
  227. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/timer_interval.py +0 -0
  228. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/too_many_requests_error_body.py +0 -0
  229. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/tool_annotations.py +0 -0
  230. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/trigger_webhook.py +0 -0
  231. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/validate_token_response.py +0 -0
  232. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/webhook.py +0 -0
  233. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/webhook_with_optional_signing_key.py +0 -0
  234. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/types/webhook_with_signing_key.py +0 -0
  235. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/usage/__init__.py +0 -0
  236. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/usage/client.py +0 -0
  237. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/usage/raw_client.py +0 -0
  238. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/users/__init__.py +0 -0
  239. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/users/client.py +0 -0
  240. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/users/raw_client.py +0 -0
  241. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/version.py +0 -0
  242. {pipedream-2.1.0 → pipedream-2.1.2}/src/pipedream/workflows/__init__.py +0 -0
  243. {pipedream-2.1.0 → pipedream-2.1.2}/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.0
3
+ Version: 2.1.2
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.0"
7
+ version = "2.1.2"
8
8
  description = ""
9
9
  readme = "README.md"
10
10
  authors = []
@@ -0,0 +1,683 @@
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.pagination import AsyncPager, SyncPager
7
+ from ..core.request_options import RequestOptions
8
+ from ..types.app import App
9
+ from ..types.get_app_response import GetAppResponse
10
+ from ..types.list_apps_response import ListAppsResponse
11
+ from ..types.list_response import ListResponse
12
+ from .raw_client import AsyncRawAppsClient, RawAppsClient
13
+ from .types.apps_list_request_sort_direction import AppsListRequestSortDirection
14
+ from .types.apps_list_request_sort_key import AppsListRequestSortKey
15
+
16
+
17
+ class AppsClient:
18
+ def __init__(self, *, client_wrapper: SyncClientWrapper):
19
+ self._raw_client = RawAppsClient(client_wrapper=client_wrapper)
20
+
21
+ @property
22
+ def with_raw_response(self) -> RawAppsClient:
23
+ """
24
+ Retrieves a raw implementation of this client that returns raw responses.
25
+
26
+ Returns
27
+ -------
28
+ RawAppsClient
29
+ """
30
+ return self._raw_client
31
+
32
+ def list(
33
+ self,
34
+ *,
35
+ after: typing.Optional[str] = None,
36
+ before: typing.Optional[str] = None,
37
+ limit: typing.Optional[int] = None,
38
+ q: typing.Optional[str] = None,
39
+ sort_key: typing.Optional[AppsListRequestSortKey] = None,
40
+ sort_direction: typing.Optional[AppsListRequestSortDirection] = None,
41
+ category_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
42
+ has_components: typing.Optional[bool] = None,
43
+ has_actions: typing.Optional[bool] = None,
44
+ has_triggers: typing.Optional[bool] = None,
45
+ request_options: typing.Optional[RequestOptions] = None,
46
+ ) -> SyncPager[App, ListAppsResponse]:
47
+ """
48
+ Retrieve all available apps with optional filtering and sorting
49
+
50
+ Parameters
51
+ ----------
52
+ after : typing.Optional[str]
53
+ The cursor to start from for pagination
54
+
55
+ before : typing.Optional[str]
56
+ The cursor to end before for pagination
57
+
58
+ limit : typing.Optional[int]
59
+ The maximum number of results to return
60
+
61
+ q : typing.Optional[str]
62
+ A search query to filter the apps
63
+
64
+ sort_key : typing.Optional[AppsListRequestSortKey]
65
+ The key to sort the apps by
66
+
67
+ sort_direction : typing.Optional[AppsListRequestSortDirection]
68
+ The direction to sort the apps
69
+
70
+ category_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
71
+ Only return apps in these categories
72
+
73
+ has_components : typing.Optional[bool]
74
+ Only return apps that have components (actions or triggers)
75
+
76
+ has_actions : typing.Optional[bool]
77
+ Only return apps that have actions
78
+
79
+ has_triggers : typing.Optional[bool]
80
+ Only return apps that have triggers
81
+
82
+ request_options : typing.Optional[RequestOptions]
83
+ Request-specific configuration.
84
+
85
+ Returns
86
+ -------
87
+ SyncPager[App, ListAppsResponse]
88
+ apps listed
89
+
90
+ Examples
91
+ --------
92
+ from pipedream import Pipedream
93
+
94
+ client = Pipedream(
95
+ project_id="YOUR_PROJECT_ID",
96
+ client_id="YOUR_CLIENT_ID",
97
+ client_secret="YOUR_CLIENT_SECRET",
98
+ )
99
+ response = client.apps.list(
100
+ after="after",
101
+ before="before",
102
+ limit=1,
103
+ q="q",
104
+ sort_key="name",
105
+ sort_direction="asc",
106
+ category_ids=["category_ids"],
107
+ has_components=True,
108
+ has_actions=True,
109
+ has_triggers=True,
110
+ )
111
+ for item in response:
112
+ yield item
113
+ # alternatively, you can paginate page-by-page
114
+ for page in response.iter_pages():
115
+ yield page
116
+ """
117
+ return self._raw_client.list(
118
+ after=after,
119
+ before=before,
120
+ limit=limit,
121
+ q=q,
122
+ sort_key=sort_key,
123
+ sort_direction=sort_direction,
124
+ category_ids=category_ids,
125
+ has_components=has_components,
126
+ has_actions=has_actions,
127
+ has_triggers=has_triggers,
128
+ request_options=request_options,
129
+ )
130
+
131
+ def retrieve(self, app_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> GetAppResponse:
132
+ """
133
+ Get detailed information about a specific app by ID or name slug
134
+
135
+ Parameters
136
+ ----------
137
+ app_id : str
138
+ The name slug or ID of the app (e.g., 'slack', 'github')
139
+
140
+ request_options : typing.Optional[RequestOptions]
141
+ Request-specific configuration.
142
+
143
+ Returns
144
+ -------
145
+ GetAppResponse
146
+ app retrieved
147
+
148
+ Examples
149
+ --------
150
+ from pipedream import Pipedream
151
+
152
+ client = Pipedream(
153
+ project_id="YOUR_PROJECT_ID",
154
+ client_id="YOUR_CLIENT_ID",
155
+ client_secret="YOUR_CLIENT_SECRET",
156
+ )
157
+ client.apps.retrieve(
158
+ app_id="app_id",
159
+ )
160
+ """
161
+ _response = self._raw_client.retrieve(app_id, request_options=request_options)
162
+ return _response.data
163
+
164
+ def index(
165
+ self,
166
+ project_id: str,
167
+ *,
168
+ q: typing.Optional[str] = None,
169
+ limit: typing.Optional[int] = None,
170
+ page: typing.Optional[int] = None,
171
+ category_name: typing.Optional[str] = None,
172
+ auth_type: typing.Optional[str] = None,
173
+ has_components: typing.Optional[str] = None,
174
+ has_actions: typing.Optional[str] = None,
175
+ has_triggers: typing.Optional[str] = None,
176
+ has_private_components: typing.Optional[str] = None,
177
+ request_options: typing.Optional[RequestOptions] = None,
178
+ ) -> ListResponse:
179
+ """
180
+ Parameters
181
+ ----------
182
+ project_id : str
183
+ Project ID (proj_...)
184
+
185
+ q : typing.Optional[str]
186
+
187
+ limit : typing.Optional[int]
188
+
189
+ page : typing.Optional[int]
190
+
191
+ category_name : typing.Optional[str]
192
+
193
+ auth_type : typing.Optional[str]
194
+
195
+ has_components : typing.Optional[str]
196
+ Component filters, mirroring Rails `V1::AppsController#having_components`:
197
+ the param's presence selects the filter and its boolean value picks the
198
+ direction (`false`/`0`/`f`/`off`/empty → apps *without*, anything else →
199
+ apps *with*). `has_components` means "has actions or triggers". Only the
200
+ first present of `has_components` > `has_actions` > `has_triggers` applies.
201
+
202
+ has_actions : typing.Optional[str]
203
+
204
+ has_triggers : typing.Optional[str]
205
+
206
+ has_private_components : typing.Optional[str]
207
+ Not supported yet in the Rust port — Rails uses
208
+ `PublishedComponentTypesenseSearch.app_slugs_for_owner_keys` here, and
209
+ we haven't ported that. Returns 501 when set.
210
+
211
+ request_options : typing.Optional[RequestOptions]
212
+ Request-specific configuration.
213
+
214
+ Returns
215
+ -------
216
+ ListResponse
217
+ Paginated list of apps
218
+
219
+ Examples
220
+ --------
221
+ from pipedream import Pipedream
222
+
223
+ client = Pipedream(
224
+ project_id="YOUR_PROJECT_ID",
225
+ client_id="YOUR_CLIENT_ID",
226
+ client_secret="YOUR_CLIENT_SECRET",
227
+ )
228
+ client.apps.index(
229
+ project_id="project_id",
230
+ q="q",
231
+ limit=1000000,
232
+ page=1000000,
233
+ category_name="category_name",
234
+ auth_type="auth_type",
235
+ has_components="has_components",
236
+ has_actions="has_actions",
237
+ has_triggers="has_triggers",
238
+ has_private_components="has_private_components",
239
+ )
240
+ """
241
+ _response = self._raw_client.index(
242
+ project_id,
243
+ q=q,
244
+ limit=limit,
245
+ page=page,
246
+ category_name=category_name,
247
+ auth_type=auth_type,
248
+ has_components=has_components,
249
+ has_actions=has_actions,
250
+ has_triggers=has_triggers,
251
+ has_private_components=has_private_components,
252
+ request_options=request_options,
253
+ )
254
+ return _response.data
255
+
256
+ def facets(self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Any:
257
+ """
258
+ Mirrors `V1::AppsController#v2_facets` (`AppTypesenseSearch.facets`):
259
+ returns `{ data: { category_name: [...], auth_type: [...] } }`.
260
+
261
+ Parameters
262
+ ----------
263
+ project_id : str
264
+ Project ID (proj_...)
265
+
266
+ request_options : typing.Optional[RequestOptions]
267
+ Request-specific configuration.
268
+
269
+ Returns
270
+ -------
271
+ typing.Any
272
+ Facet values keyed by field under `data`
273
+
274
+ Examples
275
+ --------
276
+ from pipedream import Pipedream
277
+
278
+ client = Pipedream(
279
+ project_id="YOUR_PROJECT_ID",
280
+ client_id="YOUR_CLIENT_ID",
281
+ client_secret="YOUR_CLIENT_SECRET",
282
+ )
283
+ client.apps.facets(
284
+ project_id="project_id",
285
+ )
286
+ """
287
+ _response = self._raw_client.facets(project_id, request_options=request_options)
288
+ return _response.data
289
+
290
+ def show(self, project_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Any:
291
+ """
292
+ Looks up a single app by hashid (e.g. `app_abc123`) or name_slug (e.g. `github`).
293
+ If the value starts with `app_` it is treated as a hashid and matched against
294
+ the document `id` field; otherwise it is matched against `name_slug`.
295
+
296
+ Parameters
297
+ ----------
298
+ project_id : str
299
+ Project ID (proj_...)
300
+
301
+ id : str
302
+ App hashid (app_...) or name slug (e.g. github)
303
+
304
+ request_options : typing.Optional[RequestOptions]
305
+ Request-specific configuration.
306
+
307
+ Returns
308
+ -------
309
+ typing.Any
310
+ The app, under `data`
311
+
312
+ Examples
313
+ --------
314
+ from pipedream import Pipedream
315
+
316
+ client = Pipedream(
317
+ project_id="YOUR_PROJECT_ID",
318
+ client_id="YOUR_CLIENT_ID",
319
+ client_secret="YOUR_CLIENT_SECRET",
320
+ )
321
+ client.apps.show(
322
+ project_id="project_id",
323
+ id="id",
324
+ )
325
+ """
326
+ _response = self._raw_client.show(project_id, id, request_options=request_options)
327
+ return _response.data
328
+
329
+
330
+ class AsyncAppsClient:
331
+ def __init__(self, *, client_wrapper: AsyncClientWrapper):
332
+ self._raw_client = AsyncRawAppsClient(client_wrapper=client_wrapper)
333
+
334
+ @property
335
+ def with_raw_response(self) -> AsyncRawAppsClient:
336
+ """
337
+ Retrieves a raw implementation of this client that returns raw responses.
338
+
339
+ Returns
340
+ -------
341
+ AsyncRawAppsClient
342
+ """
343
+ return self._raw_client
344
+
345
+ async def list(
346
+ self,
347
+ *,
348
+ after: typing.Optional[str] = None,
349
+ before: typing.Optional[str] = None,
350
+ limit: typing.Optional[int] = None,
351
+ q: typing.Optional[str] = None,
352
+ sort_key: typing.Optional[AppsListRequestSortKey] = None,
353
+ sort_direction: typing.Optional[AppsListRequestSortDirection] = None,
354
+ category_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
355
+ has_components: typing.Optional[bool] = None,
356
+ has_actions: typing.Optional[bool] = None,
357
+ has_triggers: typing.Optional[bool] = None,
358
+ request_options: typing.Optional[RequestOptions] = None,
359
+ ) -> AsyncPager[App, ListAppsResponse]:
360
+ """
361
+ Retrieve all available apps with optional filtering and sorting
362
+
363
+ Parameters
364
+ ----------
365
+ after : typing.Optional[str]
366
+ The cursor to start from for pagination
367
+
368
+ before : typing.Optional[str]
369
+ The cursor to end before for pagination
370
+
371
+ limit : typing.Optional[int]
372
+ The maximum number of results to return
373
+
374
+ q : typing.Optional[str]
375
+ A search query to filter the apps
376
+
377
+ sort_key : typing.Optional[AppsListRequestSortKey]
378
+ The key to sort the apps by
379
+
380
+ sort_direction : typing.Optional[AppsListRequestSortDirection]
381
+ The direction to sort the apps
382
+
383
+ category_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
384
+ Only return apps in these categories
385
+
386
+ has_components : typing.Optional[bool]
387
+ Only return apps that have components (actions or triggers)
388
+
389
+ has_actions : typing.Optional[bool]
390
+ Only return apps that have actions
391
+
392
+ has_triggers : typing.Optional[bool]
393
+ Only return apps that have triggers
394
+
395
+ request_options : typing.Optional[RequestOptions]
396
+ Request-specific configuration.
397
+
398
+ Returns
399
+ -------
400
+ AsyncPager[App, ListAppsResponse]
401
+ apps listed
402
+
403
+ Examples
404
+ --------
405
+ import asyncio
406
+
407
+ from pipedream import AsyncPipedream
408
+
409
+ client = AsyncPipedream(
410
+ project_id="YOUR_PROJECT_ID",
411
+ client_id="YOUR_CLIENT_ID",
412
+ client_secret="YOUR_CLIENT_SECRET",
413
+ )
414
+
415
+
416
+ async def main() -> None:
417
+ response = await client.apps.list(
418
+ after="after",
419
+ before="before",
420
+ limit=1,
421
+ q="q",
422
+ sort_key="name",
423
+ sort_direction="asc",
424
+ category_ids=["category_ids"],
425
+ has_components=True,
426
+ has_actions=True,
427
+ has_triggers=True,
428
+ )
429
+ async for item in response:
430
+ yield item
431
+
432
+ # alternatively, you can paginate page-by-page
433
+ async for page in response.iter_pages():
434
+ yield page
435
+
436
+
437
+ asyncio.run(main())
438
+ """
439
+ return await self._raw_client.list(
440
+ after=after,
441
+ before=before,
442
+ limit=limit,
443
+ q=q,
444
+ sort_key=sort_key,
445
+ sort_direction=sort_direction,
446
+ category_ids=category_ids,
447
+ has_components=has_components,
448
+ has_actions=has_actions,
449
+ has_triggers=has_triggers,
450
+ request_options=request_options,
451
+ )
452
+
453
+ async def retrieve(self, app_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> GetAppResponse:
454
+ """
455
+ Get detailed information about a specific app by ID or name slug
456
+
457
+ Parameters
458
+ ----------
459
+ app_id : str
460
+ The name slug or ID of the app (e.g., 'slack', 'github')
461
+
462
+ request_options : typing.Optional[RequestOptions]
463
+ Request-specific configuration.
464
+
465
+ Returns
466
+ -------
467
+ GetAppResponse
468
+ app retrieved
469
+
470
+ Examples
471
+ --------
472
+ import asyncio
473
+
474
+ from pipedream import AsyncPipedream
475
+
476
+ client = AsyncPipedream(
477
+ project_id="YOUR_PROJECT_ID",
478
+ client_id="YOUR_CLIENT_ID",
479
+ client_secret="YOUR_CLIENT_SECRET",
480
+ )
481
+
482
+
483
+ async def main() -> None:
484
+ await client.apps.retrieve(
485
+ app_id="app_id",
486
+ )
487
+
488
+
489
+ asyncio.run(main())
490
+ """
491
+ _response = await self._raw_client.retrieve(app_id, request_options=request_options)
492
+ return _response.data
493
+
494
+ async def index(
495
+ self,
496
+ project_id: str,
497
+ *,
498
+ q: typing.Optional[str] = None,
499
+ limit: typing.Optional[int] = None,
500
+ page: typing.Optional[int] = None,
501
+ category_name: typing.Optional[str] = None,
502
+ auth_type: typing.Optional[str] = None,
503
+ has_components: typing.Optional[str] = None,
504
+ has_actions: typing.Optional[str] = None,
505
+ has_triggers: typing.Optional[str] = None,
506
+ has_private_components: typing.Optional[str] = None,
507
+ request_options: typing.Optional[RequestOptions] = None,
508
+ ) -> ListResponse:
509
+ """
510
+ Parameters
511
+ ----------
512
+ project_id : str
513
+ Project ID (proj_...)
514
+
515
+ q : typing.Optional[str]
516
+
517
+ limit : typing.Optional[int]
518
+
519
+ page : typing.Optional[int]
520
+
521
+ category_name : typing.Optional[str]
522
+
523
+ auth_type : typing.Optional[str]
524
+
525
+ has_components : typing.Optional[str]
526
+ Component filters, mirroring Rails `V1::AppsController#having_components`:
527
+ the param's presence selects the filter and its boolean value picks the
528
+ direction (`false`/`0`/`f`/`off`/empty → apps *without*, anything else →
529
+ apps *with*). `has_components` means "has actions or triggers". Only the
530
+ first present of `has_components` > `has_actions` > `has_triggers` applies.
531
+
532
+ has_actions : typing.Optional[str]
533
+
534
+ has_triggers : typing.Optional[str]
535
+
536
+ has_private_components : typing.Optional[str]
537
+ Not supported yet in the Rust port — Rails uses
538
+ `PublishedComponentTypesenseSearch.app_slugs_for_owner_keys` here, and
539
+ we haven't ported that. Returns 501 when set.
540
+
541
+ request_options : typing.Optional[RequestOptions]
542
+ Request-specific configuration.
543
+
544
+ Returns
545
+ -------
546
+ ListResponse
547
+ Paginated list of apps
548
+
549
+ Examples
550
+ --------
551
+ import asyncio
552
+
553
+ from pipedream import AsyncPipedream
554
+
555
+ client = AsyncPipedream(
556
+ project_id="YOUR_PROJECT_ID",
557
+ client_id="YOUR_CLIENT_ID",
558
+ client_secret="YOUR_CLIENT_SECRET",
559
+ )
560
+
561
+
562
+ async def main() -> None:
563
+ await client.apps.index(
564
+ project_id="project_id",
565
+ q="q",
566
+ limit=1000000,
567
+ page=1000000,
568
+ category_name="category_name",
569
+ auth_type="auth_type",
570
+ has_components="has_components",
571
+ has_actions="has_actions",
572
+ has_triggers="has_triggers",
573
+ has_private_components="has_private_components",
574
+ )
575
+
576
+
577
+ asyncio.run(main())
578
+ """
579
+ _response = await self._raw_client.index(
580
+ project_id,
581
+ q=q,
582
+ limit=limit,
583
+ page=page,
584
+ category_name=category_name,
585
+ auth_type=auth_type,
586
+ has_components=has_components,
587
+ has_actions=has_actions,
588
+ has_triggers=has_triggers,
589
+ has_private_components=has_private_components,
590
+ request_options=request_options,
591
+ )
592
+ return _response.data
593
+
594
+ async def facets(self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Any:
595
+ """
596
+ Mirrors `V1::AppsController#v2_facets` (`AppTypesenseSearch.facets`):
597
+ returns `{ data: { category_name: [...], auth_type: [...] } }`.
598
+
599
+ Parameters
600
+ ----------
601
+ project_id : str
602
+ Project ID (proj_...)
603
+
604
+ request_options : typing.Optional[RequestOptions]
605
+ Request-specific configuration.
606
+
607
+ Returns
608
+ -------
609
+ typing.Any
610
+ Facet values keyed by field under `data`
611
+
612
+ Examples
613
+ --------
614
+ import asyncio
615
+
616
+ from pipedream import AsyncPipedream
617
+
618
+ client = AsyncPipedream(
619
+ project_id="YOUR_PROJECT_ID",
620
+ client_id="YOUR_CLIENT_ID",
621
+ client_secret="YOUR_CLIENT_SECRET",
622
+ )
623
+
624
+
625
+ async def main() -> None:
626
+ await client.apps.facets(
627
+ project_id="project_id",
628
+ )
629
+
630
+
631
+ asyncio.run(main())
632
+ """
633
+ _response = await self._raw_client.facets(project_id, request_options=request_options)
634
+ return _response.data
635
+
636
+ async def show(
637
+ self, project_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
638
+ ) -> typing.Any:
639
+ """
640
+ Looks up a single app by hashid (e.g. `app_abc123`) or name_slug (e.g. `github`).
641
+ If the value starts with `app_` it is treated as a hashid and matched against
642
+ the document `id` field; otherwise it is matched against `name_slug`.
643
+
644
+ Parameters
645
+ ----------
646
+ project_id : str
647
+ Project ID (proj_...)
648
+
649
+ id : str
650
+ App hashid (app_...) or name slug (e.g. github)
651
+
652
+ request_options : typing.Optional[RequestOptions]
653
+ Request-specific configuration.
654
+
655
+ Returns
656
+ -------
657
+ typing.Any
658
+ The app, under `data`
659
+
660
+ Examples
661
+ --------
662
+ import asyncio
663
+
664
+ from pipedream import AsyncPipedream
665
+
666
+ client = AsyncPipedream(
667
+ project_id="YOUR_PROJECT_ID",
668
+ client_id="YOUR_CLIENT_ID",
669
+ client_secret="YOUR_CLIENT_SECRET",
670
+ )
671
+
672
+
673
+ async def main() -> None:
674
+ await client.apps.show(
675
+ project_id="project_id",
676
+ id="id",
677
+ )
678
+
679
+
680
+ asyncio.run(main())
681
+ """
682
+ _response = await self._raw_client.show(project_id, id, request_options=request_options)
683
+ return _response.data