pipedream 2.1.15__tar.gz → 2.1.16__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 (258) hide show
  1. {pipedream-2.1.15 → pipedream-2.1.16}/PKG-INFO +1 -1
  2. {pipedream-2.1.15 → pipedream-2.1.16}/pyproject.toml +1 -1
  3. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/client.py +19 -0
  4. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/client_wrapper.py +2 -2
  5. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/errors/__init__.py +20 -1
  6. pipedream-2.1.16/src/pipedream/errors/bad_gateway_error.py +10 -0
  7. pipedream-2.1.16/src/pipedream/errors/internal_server_error.py +10 -0
  8. pipedream-2.1.16/src/pipedream/errors/not_implemented_error.py +11 -0
  9. pipedream-2.1.16/src/pipedream/errors/service_unavailable_error.py +11 -0
  10. pipedream-2.1.16/src/pipedream/errors/unauthorized_error.py +10 -0
  11. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/file_stash/client.py +8 -8
  12. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/file_stash/raw_client.py +6 -6
  13. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/__init__.py +33 -0
  14. pipedream-2.1.16/src/pipedream/types/app_document.py +63 -0
  15. pipedream-2.1.16/src/pipedream/types/app_response.py +24 -0
  16. pipedream-2.1.16/src/pipedream/types/apps_page_info.py +37 -0
  17. pipedream-2.1.16/src/pipedream/types/component_document.py +49 -0
  18. pipedream-2.1.16/src/pipedream/types/component_response.py +24 -0
  19. pipedream-2.1.16/src/pipedream/types/components_facets_response.py +26 -0
  20. pipedream-2.1.16/src/pipedream/types/components_list_response.py +22 -0
  21. pipedream-2.1.16/src/pipedream/types/components_page_info.py +32 -0
  22. pipedream-2.1.16/src/pipedream/types/error_response.py +26 -0
  23. pipedream-2.1.16/src/pipedream/types/facet_value.py +24 -0
  24. pipedream-2.1.16/src/pipedream/types/facets_response.py +25 -0
  25. pipedream-2.1.16/src/pipedream/types/list_response.py +22 -0
  26. pipedream-2.1.16/src/pipedream/v2/__init__.py +34 -0
  27. pipedream-2.1.16/src/pipedream/v2/apps/__init__.py +4 -0
  28. pipedream-2.1.16/src/pipedream/v2/apps/client.py +442 -0
  29. pipedream-2.1.16/src/pipedream/v2/apps/raw_client.py +772 -0
  30. pipedream-2.1.16/src/pipedream/v2/client.py +82 -0
  31. pipedream-2.1.16/src/pipedream/v2/components/__init__.py +4 -0
  32. pipedream-2.1.16/src/pipedream/v2/components/client.py +404 -0
  33. pipedream-2.1.16/src/pipedream/v2/components/raw_client.py +767 -0
  34. pipedream-2.1.16/src/pipedream/v2/raw_client.py +13 -0
  35. pipedream-2.1.15/src/pipedream/types/error_response.py +0 -36
  36. {pipedream-2.1.15 → pipedream-2.1.16}/LICENSE +0 -0
  37. {pipedream-2.1.15 → pipedream-2.1.16}/README.md +0 -0
  38. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/__init__.py +0 -0
  39. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/_default_clients.py +0 -0
  40. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/accounts/__init__.py +0 -0
  41. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/accounts/client.py +0 -0
  42. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/accounts/raw_client.py +0 -0
  43. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/actions/__init__.py +0 -0
  44. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/actions/client.py +0 -0
  45. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/actions/raw_client.py +0 -0
  46. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/actions/types/__init__.py +0 -0
  47. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/actions/types/actions_list_request_registry.py +0 -0
  48. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/app_categories/__init__.py +0 -0
  49. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/app_categories/client.py +0 -0
  50. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/app_categories/raw_client.py +0 -0
  51. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/apps/__init__.py +0 -0
  52. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/apps/client.py +0 -0
  53. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/apps/raw_client.py +0 -0
  54. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/apps/types/__init__.py +0 -0
  55. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/apps/types/apps_list_request_sort_direction.py +0 -0
  56. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/apps/types/apps_list_request_sort_key.py +0 -0
  57. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/components/__init__.py +0 -0
  58. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/components/client.py +0 -0
  59. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/components/raw_client.py +0 -0
  60. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/components/types/__init__.py +0 -0
  61. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/components/types/components_list_request_registry.py +0 -0
  62. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/__init__.py +0 -0
  63. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/api_error.py +0 -0
  64. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/datetime_utils.py +0 -0
  65. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/file.py +0 -0
  66. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/force_multipart.py +0 -0
  67. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/http_client.py +0 -0
  68. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/http_response.py +0 -0
  69. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/http_sse/__init__.py +0 -0
  70. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/http_sse/_api.py +0 -0
  71. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/http_sse/_decoders.py +0 -0
  72. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/http_sse/_exceptions.py +0 -0
  73. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/http_sse/_models.py +0 -0
  74. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/jsonable_encoder.py +0 -0
  75. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/logging.py +0 -0
  76. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/oauth_token_provider.py +0 -0
  77. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/pagination.py +0 -0
  78. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/parse_error.py +0 -0
  79. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/pydantic_utilities.py +0 -0
  80. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/query_encoder.py +0 -0
  81. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/remove_none_from_dict.py +0 -0
  82. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/request_options.py +0 -0
  83. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/core/serialization.py +0 -0
  84. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/deployed_triggers/__init__.py +0 -0
  85. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/deployed_triggers/client.py +0 -0
  86. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/deployed_triggers/raw_client.py +0 -0
  87. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/environment.py +0 -0
  88. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/errors/bad_request_error.py +0 -0
  89. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/errors/not_found_error.py +0 -0
  90. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/errors/too_many_requests_error.py +0 -0
  91. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/file_stash/__init__.py +0 -0
  92. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/oauth_tokens/__init__.py +0 -0
  93. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/oauth_tokens/client.py +0 -0
  94. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/oauth_tokens/raw_client.py +0 -0
  95. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/pipedream.py +0 -0
  96. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/project_environment/__init__.py +0 -0
  97. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/project_environment/client.py +0 -0
  98. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/project_environment/raw_client.py +0 -0
  99. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/projects/__init__.py +0 -0
  100. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/projects/client.py +0 -0
  101. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/projects/raw_client.py +0 -0
  102. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/proxy/__init__.py +0 -0
  103. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/proxy/client.py +0 -0
  104. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/proxy/raw_client.py +0 -0
  105. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/py.typed +0 -0
  106. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/tokens/__init__.py +0 -0
  107. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/tokens/client.py +0 -0
  108. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/tokens/raw_client.py +0 -0
  109. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/triggers/__init__.py +0 -0
  110. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/triggers/client.py +0 -0
  111. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/triggers/raw_client.py +0 -0
  112. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/triggers/types/__init__.py +0 -0
  113. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/triggers/types/triggers_list_request_registry.py +0 -0
  114. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/account.py +0 -0
  115. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/account_credentials.py +0 -0
  116. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/account_id.py +0 -0
  117. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/app.py +0 -0
  118. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/app_auth_type.py +0 -0
  119. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/app_category.py +0 -0
  120. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/app_scope_profiles_item.py +0 -0
  121. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/app_scope_profiles_item_name.py +0 -0
  122. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/backend_client_opts.py +0 -0
  123. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/client_opts.py +0 -0
  124. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/component.py +0 -0
  125. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/component_stash.py +0 -0
  126. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/component_type.py +0 -0
  127. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop.py +0 -0
  128. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_airtable_base_id.py +0 -0
  129. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_airtable_field_id.py +0 -0
  130. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_airtable_table_id.py +0 -0
  131. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_airtable_view_id.py +0 -0
  132. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_alert.py +0 -0
  133. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_alert_type.py +0 -0
  134. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_any.py +0 -0
  135. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_any_options_item.py +0 -0
  136. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_app.py +0 -0
  137. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_apphook.py +0 -0
  138. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_base.py +0 -0
  139. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_base_type.py +0 -0
  140. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_boolean.py +0 -0
  141. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_boolean_options_item.py +0 -0
  142. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_data_store.py +0 -0
  143. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_db.py +0 -0
  144. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_dir.py +0 -0
  145. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_dir_access_mode.py +0 -0
  146. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_discord_channel.py +0 -0
  147. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_discord_channel_array.py +0 -0
  148. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_http.py +0 -0
  149. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_http_request.py +0 -0
  150. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_integer.py +0 -0
  151. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_integer_array.py +0 -0
  152. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_integer_array_options_item.py +0 -0
  153. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_integer_options_item.py +0 -0
  154. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_object.py +0 -0
  155. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_object_options_item.py +0 -0
  156. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_sql.py +0 -0
  157. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_sql_auth.py +0 -0
  158. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_sql_options_item.py +0 -0
  159. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_string.py +0 -0
  160. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_string_array.py +0 -0
  161. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_string_array_options_item.py +0 -0
  162. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_string_format.py +0 -0
  163. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_string_options_item.py +0 -0
  164. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_timer.py +0 -0
  165. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_timer_default.py +0 -0
  166. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_timer_option.py +0 -0
  167. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configurable_prop_timer_static.py +0 -0
  168. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configure_prop_options.py +0 -0
  169. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configure_prop_options_item.py +0 -0
  170. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configure_prop_opts.py +0 -0
  171. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configure_prop_response.py +0 -0
  172. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configured_prop_value.py +0 -0
  173. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configured_prop_value_any.py +0 -0
  174. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configured_prop_value_app.py +0 -0
  175. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configured_prop_value_boolean.py +0 -0
  176. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configured_prop_value_integer.py +0 -0
  177. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configured_prop_value_object.py +0 -0
  178. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configured_prop_value_sql.py +0 -0
  179. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configured_prop_value_string.py +0 -0
  180. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configured_prop_value_string_array.py +0 -0
  181. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/configured_props.py +0 -0
  182. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/connect_token.py +0 -0
  183. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/connect_usage.py +0 -0
  184. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/connect_usage_response.py +0 -0
  185. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/create_o_auth_token_response.py +0 -0
  186. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/create_token_response.py +0 -0
  187. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/delete_trigger_opts.py +0 -0
  188. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/deploy_trigger_response.py +0 -0
  189. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/deployed_component.py +0 -0
  190. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/dynamic_props.py +0 -0
  191. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/emitted_event.py +0 -0
  192. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/emitter.py +0 -0
  193. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/emitter_type.py +0 -0
  194. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/external_user.py +0 -0
  195. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_accounts_response.py +0 -0
  196. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_app_category_response.py +0 -0
  197. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_app_response.py +0 -0
  198. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_apps_response.py +0 -0
  199. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_component_response.py +0 -0
  200. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_components_response.py +0 -0
  201. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_trigger_events_response.py +0 -0
  202. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_trigger_response.py +0 -0
  203. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_trigger_webhooks_response.py +0 -0
  204. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_trigger_workflows_response.py +0 -0
  205. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_triggers_response.py +0 -0
  206. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_users_response.py +0 -0
  207. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_webhook_response.py +0 -0
  208. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/get_webhook_with_signing_key_response.py +0 -0
  209. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/http_interface.py +0 -0
  210. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/http_request_auth.py +0 -0
  211. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/http_request_auth_type.py +0 -0
  212. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/http_request_body.py +0 -0
  213. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/http_request_body_mode.py +0 -0
  214. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/http_request_body_type.py +0 -0
  215. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/http_request_config.py +0 -0
  216. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/http_request_field.py +0 -0
  217. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/list_accounts_response.py +0 -0
  218. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/list_app_categories_response.py +0 -0
  219. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/list_apps_response.py +0 -0
  220. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/list_projects_response.py +0 -0
  221. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/observation.py +0 -0
  222. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/observation_error.py +0 -0
  223. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/page_info.py +0 -0
  224. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/project.py +0 -0
  225. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/project_environment.py +0 -0
  226. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/project_info_response.py +0 -0
  227. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/project_info_response_app.py +0 -0
  228. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/prop_option.py +0 -0
  229. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/prop_option_nested.py +0 -0
  230. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/prop_option_value.py +0 -0
  231. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/proxy_response.py +0 -0
  232. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/proxy_response_binary.py +0 -0
  233. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/reload_props_opts.py +0 -0
  234. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/reload_props_response.py +0 -0
  235. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/run_action_opts_stash_id.py +0 -0
  236. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/run_action_response.py +0 -0
  237. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/set_webhook_response.py +0 -0
  238. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/start_connect_opts.py +0 -0
  239. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/stash_id.py +0 -0
  240. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/timer_cron.py +0 -0
  241. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/timer_interface.py +0 -0
  242. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/timer_interval.py +0 -0
  243. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/too_many_requests_error_body.py +0 -0
  244. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/tool_annotations.py +0 -0
  245. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/trigger_webhook.py +0 -0
  246. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/validate_token_response.py +0 -0
  247. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/webhook.py +0 -0
  248. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/webhook_with_optional_signing_key.py +0 -0
  249. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/types/webhook_with_signing_key.py +0 -0
  250. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/usage/__init__.py +0 -0
  251. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/usage/client.py +0 -0
  252. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/usage/raw_client.py +0 -0
  253. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/users/__init__.py +0 -0
  254. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/users/client.py +0 -0
  255. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/users/raw_client.py +0 -0
  256. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/version.py +0 -0
  257. {pipedream-2.1.15 → pipedream-2.1.16}/src/pipedream/workflows/__init__.py +0 -0
  258. {pipedream-2.1.15 → pipedream-2.1.16}/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.15
3
+ Version: 2.1.16
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.15"
7
+ version = "2.1.16"
8
8
  description = ""
9
9
  readme = "README.md"
10
10
  authors = []
@@ -29,6 +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 .v2.client import AsyncV2Client, V2Client
32
33
 
33
34
 
34
35
  class Client:
@@ -223,6 +224,7 @@ class Client:
223
224
  self._tokens: typing.Optional[TokensClient] = None
224
225
  self._usage: typing.Optional[UsageClient] = None
225
226
  self._oauth_tokens: typing.Optional[OauthTokensClient] = None
227
+ self._v2: typing.Optional[V2Client] = None
226
228
 
227
229
  @property
228
230
  def app_categories(self):
@@ -344,6 +346,14 @@ class Client:
344
346
  self._oauth_tokens = OauthTokensClient(client_wrapper=self._client_wrapper)
345
347
  return self._oauth_tokens
346
348
 
349
+ @property
350
+ def v2(self):
351
+ if self._v2 is None:
352
+ from .v2.client import V2Client # noqa: E402
353
+
354
+ self._v2 = V2Client(client_wrapper=self._client_wrapper)
355
+ return self._v2
356
+
347
357
 
348
358
  def _make_default_async_client(
349
359
  timeout: typing.Optional[float],
@@ -552,6 +562,7 @@ class AsyncClient:
552
562
  self._tokens: typing.Optional[AsyncTokensClient] = None
553
563
  self._usage: typing.Optional[AsyncUsageClient] = None
554
564
  self._oauth_tokens: typing.Optional[AsyncOauthTokensClient] = None
565
+ self._v2: typing.Optional[AsyncV2Client] = None
555
566
 
556
567
  @property
557
568
  def app_categories(self):
@@ -673,6 +684,14 @@ class AsyncClient:
673
684
  self._oauth_tokens = AsyncOauthTokensClient(client_wrapper=self._client_wrapper)
674
685
  return self._oauth_tokens
675
686
 
687
+ @property
688
+ def v2(self):
689
+ if self._v2 is None:
690
+ from .v2.client import AsyncV2Client # noqa: E402
691
+
692
+ self._v2 = AsyncV2Client(client_wrapper=self._client_wrapper)
693
+ return self._v2
694
+
676
695
 
677
696
  def _get_base_url(*, base_url: typing.Optional[str] = None, environment: PipedreamEnvironment) -> str:
678
697
  if base_url is not None:
@@ -34,12 +34,12 @@ class BaseClientWrapper:
34
34
  import platform
35
35
 
36
36
  headers: typing.Dict[str, str] = {
37
- "User-Agent": "pipedream/2.1.15",
37
+ "User-Agent": "pipedream/2.1.16",
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.15",
42
+ "X-Fern-SDK-Version": "2.1.16",
43
43
  **(self.get_custom_headers() or {}),
44
44
  }
45
45
  if self._project_environment is not None:
@@ -6,13 +6,23 @@ import typing
6
6
  from importlib import import_module
7
7
 
8
8
  if typing.TYPE_CHECKING:
9
+ from .bad_gateway_error import BadGatewayError
9
10
  from .bad_request_error import BadRequestError
11
+ from .internal_server_error import InternalServerError
10
12
  from .not_found_error import NotFoundError
13
+ from .not_implemented_error import NotImplementedError
14
+ from .service_unavailable_error import ServiceUnavailableError
11
15
  from .too_many_requests_error import TooManyRequestsError
16
+ from .unauthorized_error import UnauthorizedError
12
17
  _dynamic_imports: typing.Dict[str, str] = {
18
+ "BadGatewayError": ".bad_gateway_error",
13
19
  "BadRequestError": ".bad_request_error",
20
+ "InternalServerError": ".internal_server_error",
14
21
  "NotFoundError": ".not_found_error",
22
+ "NotImplementedError": ".not_implemented_error",
23
+ "ServiceUnavailableError": ".service_unavailable_error",
15
24
  "TooManyRequestsError": ".too_many_requests_error",
25
+ "UnauthorizedError": ".unauthorized_error",
16
26
  }
17
27
 
18
28
 
@@ -37,4 +47,13 @@ def __dir__():
37
47
  return sorted(lazy_attrs)
38
48
 
39
49
 
40
- __all__ = ["BadRequestError", "NotFoundError", "TooManyRequestsError"]
50
+ __all__ = [
51
+ "BadGatewayError",
52
+ "BadRequestError",
53
+ "InternalServerError",
54
+ "NotFoundError",
55
+ "NotImplementedError",
56
+ "ServiceUnavailableError",
57
+ "TooManyRequestsError",
58
+ "UnauthorizedError",
59
+ ]
@@ -0,0 +1,10 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from ..core.api_error import ApiError
6
+
7
+
8
+ class BadGatewayError(ApiError):
9
+ def __init__(self, body: typing.Any, headers: typing.Optional[typing.Dict[str, str]] = None):
10
+ super().__init__(status_code=502, headers=headers, body=body)
@@ -0,0 +1,10 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from ..core.api_error import ApiError
6
+
7
+
8
+ class InternalServerError(ApiError):
9
+ def __init__(self, body: typing.Any, headers: typing.Optional[typing.Dict[str, str]] = None):
10
+ super().__init__(status_code=500, headers=headers, body=body)
@@ -0,0 +1,11 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from ..core.api_error import ApiError
6
+ from ..types.error_response import ErrorResponse
7
+
8
+
9
+ class NotImplementedError(ApiError):
10
+ def __init__(self, body: ErrorResponse, headers: typing.Optional[typing.Dict[str, str]] = None):
11
+ super().__init__(status_code=501, headers=headers, body=body)
@@ -0,0 +1,11 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from ..core.api_error import ApiError
6
+ from ..types.error_response import ErrorResponse
7
+
8
+
9
+ class ServiceUnavailableError(ApiError):
10
+ def __init__(self, body: ErrorResponse, headers: typing.Optional[typing.Dict[str, str]] = None):
11
+ super().__init__(status_code=503, headers=headers, body=body)
@@ -0,0 +1,10 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from ..core.api_error import ApiError
6
+
7
+
8
+ class UnauthorizedError(ApiError):
9
+ def __init__(self, body: typing.Any, headers: typing.Optional[typing.Dict[str, str]] = None):
10
+ super().__init__(status_code=401, headers=headers, body=body)
@@ -23,14 +23,14 @@ class FileStashClient:
23
23
  return self._raw_client
24
24
 
25
25
  def download_file(
26
- self, *, s_3_key: str, request_options: typing.Optional[RequestOptions] = None
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
- s_3_key : str
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
- s_3_key="s3_key",
53
+ s3key="s3_key",
54
54
  )
55
55
  """
56
- with self._raw_client.download_file(s_3_key=s_3_key, request_options=request_options) as r:
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, *, s_3_key: str, request_options: typing.Optional[RequestOptions] = None
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
- s_3_key : str
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
- s_3_key="s3_key",
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(s_3_key=s_3_key, request_options=request_options) as r:
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, *, s_3_key: str, request_options: typing.Optional[RequestOptions] = None
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
- s_3_key : str
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": s_3_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, *, s_3_key: str, request_options: typing.Optional[RequestOptions] = None
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
- s_3_key : str
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": s_3_key,
113
+ "s3_key": s3key,
114
114
  },
115
115
  request_options=request_options,
116
116
  ) as _response:
@@ -12,13 +12,21 @@ if typing.TYPE_CHECKING:
12
12
  from .app import App
13
13
  from .app_auth_type import AppAuthType
14
14
  from .app_category import AppCategory
15
+ from .app_document import AppDocument
16
+ from .app_response import AppResponse
15
17
  from .app_scope_profiles_item import AppScopeProfilesItem
16
18
  from .app_scope_profiles_item_name import AppScopeProfilesItemName
19
+ from .apps_page_info import AppsPageInfo
17
20
  from .backend_client_opts import BackendClientOpts
18
21
  from .client_opts import ClientOpts
19
22
  from .component import Component
23
+ from .component_document import ComponentDocument
24
+ from .component_response import ComponentResponse
20
25
  from .component_stash import ComponentStash
21
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
22
30
  from .configurable_prop import ConfigurableProp
23
31
  from .configurable_prop_airtable_base_id import ConfigurablePropAirtableBaseId
24
32
  from .configurable_prop_airtable_field_id import ConfigurablePropAirtableFieldId
@@ -88,6 +96,8 @@ if typing.TYPE_CHECKING:
88
96
  from .emitter_type import EmitterType
89
97
  from .error_response import ErrorResponse
90
98
  from .external_user import ExternalUser
99
+ from .facet_value import FacetValue
100
+ from .facets_response import FacetsResponse
91
101
  from .get_accounts_response import GetAccountsResponse
92
102
  from .get_app_category_response import GetAppCategoryResponse
93
103
  from .get_app_response import GetAppResponse
@@ -114,6 +124,7 @@ if typing.TYPE_CHECKING:
114
124
  from .list_app_categories_response import ListAppCategoriesResponse
115
125
  from .list_apps_response import ListAppsResponse
116
126
  from .list_projects_response import ListProjectsResponse
127
+ from .list_response import ListResponse
117
128
  from .observation import Observation
118
129
  from .observation_error import ObservationError
119
130
  from .page_info import PageInfo
@@ -150,13 +161,21 @@ _dynamic_imports: typing.Dict[str, str] = {
150
161
  "App": ".app",
151
162
  "AppAuthType": ".app_auth_type",
152
163
  "AppCategory": ".app_category",
164
+ "AppDocument": ".app_document",
165
+ "AppResponse": ".app_response",
153
166
  "AppScopeProfilesItem": ".app_scope_profiles_item",
154
167
  "AppScopeProfilesItemName": ".app_scope_profiles_item_name",
168
+ "AppsPageInfo": ".apps_page_info",
155
169
  "BackendClientOpts": ".backend_client_opts",
156
170
  "ClientOpts": ".client_opts",
157
171
  "Component": ".component",
172
+ "ComponentDocument": ".component_document",
173
+ "ComponentResponse": ".component_response",
158
174
  "ComponentStash": ".component_stash",
159
175
  "ComponentType": ".component_type",
176
+ "ComponentsFacetsResponse": ".components_facets_response",
177
+ "ComponentsListResponse": ".components_list_response",
178
+ "ComponentsPageInfo": ".components_page_info",
160
179
  "ConfigurableProp": ".configurable_prop",
161
180
  "ConfigurablePropAirtableBaseId": ".configurable_prop_airtable_base_id",
162
181
  "ConfigurablePropAirtableFieldId": ".configurable_prop_airtable_field_id",
@@ -226,6 +245,8 @@ _dynamic_imports: typing.Dict[str, str] = {
226
245
  "EmitterType": ".emitter_type",
227
246
  "ErrorResponse": ".error_response",
228
247
  "ExternalUser": ".external_user",
248
+ "FacetValue": ".facet_value",
249
+ "FacetsResponse": ".facets_response",
229
250
  "GetAccountsResponse": ".get_accounts_response",
230
251
  "GetAppCategoryResponse": ".get_app_category_response",
231
252
  "GetAppResponse": ".get_app_response",
@@ -252,6 +273,7 @@ _dynamic_imports: typing.Dict[str, str] = {
252
273
  "ListAppCategoriesResponse": ".list_app_categories_response",
253
274
  "ListAppsResponse": ".list_apps_response",
254
275
  "ListProjectsResponse": ".list_projects_response",
276
+ "ListResponse": ".list_response",
255
277
  "Observation": ".observation",
256
278
  "ObservationError": ".observation_error",
257
279
  "PageInfo": ".page_info",
@@ -312,13 +334,21 @@ __all__ = [
312
334
  "App",
313
335
  "AppAuthType",
314
336
  "AppCategory",
337
+ "AppDocument",
338
+ "AppResponse",
315
339
  "AppScopeProfilesItem",
316
340
  "AppScopeProfilesItemName",
341
+ "AppsPageInfo",
317
342
  "BackendClientOpts",
318
343
  "ClientOpts",
319
344
  "Component",
345
+ "ComponentDocument",
346
+ "ComponentResponse",
320
347
  "ComponentStash",
321
348
  "ComponentType",
349
+ "ComponentsFacetsResponse",
350
+ "ComponentsListResponse",
351
+ "ComponentsPageInfo",
322
352
  "ConfigurableProp",
323
353
  "ConfigurablePropAirtableBaseId",
324
354
  "ConfigurablePropAirtableFieldId",
@@ -388,6 +418,8 @@ __all__ = [
388
418
  "EmitterType",
389
419
  "ErrorResponse",
390
420
  "ExternalUser",
421
+ "FacetValue",
422
+ "FacetsResponse",
391
423
  "GetAccountsResponse",
392
424
  "GetAppCategoryResponse",
393
425
  "GetAppResponse",
@@ -414,6 +446,7 @@ __all__ = [
414
446
  "ListAppCategoriesResponse",
415
447
  "ListAppsResponse",
416
448
  "ListProjectsResponse",
449
+ "ListResponse",
417
450
  "Observation",
418
451
  "ObservationError",
419
452
  "PageInfo",
@@ -0,0 +1,63 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+
8
+
9
+ class AppDocument(UniversalBaseModel):
10
+ """
11
+ The documented subset of a v2 apps Typesense document. The endpoints return
12
+ the raw search document, which also carries fields not modeled here
13
+ (`categories`, `custom_fields`, `scope_profiles`, `connect`); those still
14
+ appear in the response but are left untyped. Named separately from the Rails
15
+ `App` schema — whose shape differs — so the merged SDK spec keeps both.
16
+ """
17
+
18
+ auth_type: typing.Optional[str] = None
19
+ category_name: typing.Optional[str] = pydantic.Field(default=None)
20
+ """
21
+ Human-readable category name (e.g. `Developer Tools`).
22
+ """
23
+
24
+ description: typing.Optional[str] = None
25
+ featured_weight: int = pydantic.Field()
26
+ """
27
+ Sort weight; higher sorts first.
28
+ """
29
+
30
+ has_actions: bool = pydantic.Field()
31
+ """
32
+ Whether the app has any actions.
33
+ """
34
+
35
+ has_triggers: bool = pydantic.Field()
36
+ """
37
+ Whether the app has any triggers (sources).
38
+ """
39
+
40
+ id: str = pydantic.Field()
41
+ """
42
+ App hashid (e.g. `app_abc123`).
43
+ """
44
+
45
+ img_src: str = pydantic.Field()
46
+ """
47
+ Logo URL.
48
+ """
49
+
50
+ name: str
51
+ name_slug: str = pydantic.Field()
52
+ """
53
+ URL-safe identifier (e.g. `github`).
54
+ """
55
+
56
+ if IS_PYDANTIC_V2:
57
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
58
+ else:
59
+
60
+ class Config:
61
+ frozen = True
62
+ smart_union = True
63
+ extra = pydantic.Extra.allow
@@ -0,0 +1,24 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+ from .app_document import AppDocument
8
+
9
+
10
+ class AppResponse(UniversalBaseModel):
11
+ """
12
+ Single-app response envelope: `{ "data": <app> }`.
13
+ """
14
+
15
+ data: AppDocument
16
+
17
+ if IS_PYDANTIC_V2:
18
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
19
+ else:
20
+
21
+ class Config:
22
+ frozen = True
23
+ smart_union = True
24
+ extra = pydantic.Extra.allow
@@ -0,0 +1,37 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+
8
+
9
+ class AppsPageInfo(UniversalBaseModel):
10
+ """
11
+ Page metadata for the apps listing, carrying two pagination contracts at once:
12
+ - Cursor-based (Rails v1 apps contract,
13
+ `V1::ApplicationController#relation_response`): `start_cursor`/`end_cursor`
14
+ are opaque tokens the client echoes back via the `before`/`after` query
15
+ params, omitted when there is no previous/next page (matching Rails'
16
+ conditional presence).
17
+ - Built-in page-based: `page` (1-based) and `per_page` report the current
18
+ Typesense page and page size, so clients can paginate by page number.
19
+
20
+ Both are backed by the same underlying Typesense page pagination.
21
+ """
22
+
23
+ count: int
24
+ end_cursor: typing.Optional[str] = None
25
+ page: int
26
+ per_page: int
27
+ start_cursor: typing.Optional[str] = None
28
+ total_count: int
29
+
30
+ if IS_PYDANTIC_V2:
31
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
32
+ else:
33
+
34
+ class Config:
35
+ frozen = True
36
+ smart_union = True
37
+ extra = pydantic.Extra.allow
@@ -0,0 +1,49 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+
8
+
9
+ class ComponentDocument(UniversalBaseModel):
10
+ """
11
+ The documented subset of a v2 components Typesense document. The endpoints
12
+ return the raw search document, which also carries fields not modeled here
13
+ (`configurable_props`, `annotations`, `stash`, and the internal
14
+ `owner_hashid` scoping field); those still appear in the response but are
15
+ left untyped.
16
+ """
17
+
18
+ app_name_slug: typing.Optional[str] = pydantic.Field(default=None)
19
+ """
20
+ `name_slug` of the component's app (e.g. `slack`).
21
+ """
22
+
23
+ component_type: typing.Optional[str] = pydantic.Field(default=None)
24
+ """
25
+ `action` or `source` (trigger).
26
+ """
27
+
28
+ description: typing.Optional[str] = None
29
+ id: str = pydantic.Field()
30
+ """
31
+ Published-component hashid (e.g. `pc_abc123`).
32
+ """
33
+
34
+ key: str = pydantic.Field()
35
+ """
36
+ Component key (e.g. `slack-send-message`).
37
+ """
38
+
39
+ name: typing.Optional[str] = None
40
+ version: typing.Optional[str] = None
41
+
42
+ if IS_PYDANTIC_V2:
43
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
44
+ else:
45
+
46
+ class Config:
47
+ frozen = True
48
+ smart_union = True
49
+ extra = pydantic.Extra.allow
@@ -0,0 +1,24 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+ from .component_document import ComponentDocument
8
+
9
+
10
+ class ComponentResponse(UniversalBaseModel):
11
+ """
12
+ Single-component response envelope: `{ "data": <component> }`.
13
+ """
14
+
15
+ data: ComponentDocument
16
+
17
+ if IS_PYDANTIC_V2:
18
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
19
+ else:
20
+
21
+ class Config:
22
+ frozen = True
23
+ smart_union = True
24
+ extra = pydantic.Extra.allow
@@ -0,0 +1,26 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+ from .facet_value import FacetValue
8
+
9
+
10
+ class ComponentsFacetsResponse(UniversalBaseModel):
11
+ """
12
+ Facets response envelope: `{ "data": { <field>: [{value, count}, ...] } }`,
13
+ keyed by facet field name (`component_type`, `app_name_slug`). Reuses the
14
+ shared `FacetValue` bucket registered by the apps handler.
15
+ """
16
+
17
+ data: typing.Dict[str, typing.List[FacetValue]]
18
+
19
+ if IS_PYDANTIC_V2:
20
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
21
+ else:
22
+
23
+ class Config:
24
+ frozen = True
25
+ smart_union = True
26
+ extra = pydantic.Extra.allow
@@ -0,0 +1,22 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+ from .component_document import ComponentDocument
8
+ from .components_page_info import ComponentsPageInfo
9
+
10
+
11
+ class ComponentsListResponse(UniversalBaseModel):
12
+ data: typing.List[ComponentDocument]
13
+ page_info: ComponentsPageInfo
14
+
15
+ if IS_PYDANTIC_V2:
16
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
17
+ else:
18
+
19
+ class Config:
20
+ frozen = True
21
+ smart_union = True
22
+ extra = pydantic.Extra.allow