pipedream 2.1.13__tar.gz → 2.1.15__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.13 → pipedream-2.1.15}/PKG-INFO +1 -1
  2. {pipedream-2.1.13 → pipedream-2.1.15}/pyproject.toml +1 -1
  3. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/client.py +0 -19
  4. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/client_wrapper.py +2 -2
  5. pipedream-2.1.15/src/pipedream/errors/__init__.py +40 -0
  6. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/file_stash/client.py +8 -8
  7. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/file_stash/raw_client.py +6 -6
  8. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/__init__.py +0 -33
  9. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/error_response.py +14 -4
  10. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/validate_token_response.py +5 -0
  11. pipedream-2.1.13/src/pipedream/errors/__init__.py +0 -59
  12. pipedream-2.1.13/src/pipedream/errors/bad_gateway_error.py +0 -10
  13. pipedream-2.1.13/src/pipedream/errors/internal_server_error.py +0 -10
  14. pipedream-2.1.13/src/pipedream/errors/not_implemented_error.py +0 -11
  15. pipedream-2.1.13/src/pipedream/errors/service_unavailable_error.py +0 -11
  16. pipedream-2.1.13/src/pipedream/errors/unauthorized_error.py +0 -10
  17. pipedream-2.1.13/src/pipedream/types/app_document.py +0 -63
  18. pipedream-2.1.13/src/pipedream/types/app_response.py +0 -24
  19. pipedream-2.1.13/src/pipedream/types/apps_page_info.py +0 -22
  20. pipedream-2.1.13/src/pipedream/types/component_document.py +0 -49
  21. pipedream-2.1.13/src/pipedream/types/component_response.py +0 -24
  22. pipedream-2.1.13/src/pipedream/types/components_facets_response.py +0 -26
  23. pipedream-2.1.13/src/pipedream/types/components_list_response.py +0 -22
  24. pipedream-2.1.13/src/pipedream/types/components_page_info.py +0 -22
  25. pipedream-2.1.13/src/pipedream/types/facet_value.py +0 -24
  26. pipedream-2.1.13/src/pipedream/types/facets_response.py +0 -25
  27. pipedream-2.1.13/src/pipedream/types/list_response.py +0 -22
  28. pipedream-2.1.13/src/pipedream/v2/__init__.py +0 -34
  29. pipedream-2.1.13/src/pipedream/v2/apps/__init__.py +0 -4
  30. pipedream-2.1.13/src/pipedream/v2/apps/client.py +0 -366
  31. pipedream-2.1.13/src/pipedream/v2/apps/raw_client.py +0 -683
  32. pipedream-2.1.13/src/pipedream/v2/client.py +0 -82
  33. pipedream-2.1.13/src/pipedream/v2/components/__init__.py +0 -4
  34. pipedream-2.1.13/src/pipedream/v2/components/client.py +0 -368
  35. pipedream-2.1.13/src/pipedream/v2/components/raw_client.py +0 -735
  36. pipedream-2.1.13/src/pipedream/v2/raw_client.py +0 -13
  37. {pipedream-2.1.13 → pipedream-2.1.15}/LICENSE +0 -0
  38. {pipedream-2.1.13 → pipedream-2.1.15}/README.md +0 -0
  39. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/__init__.py +0 -0
  40. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/_default_clients.py +0 -0
  41. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/accounts/__init__.py +0 -0
  42. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/accounts/client.py +0 -0
  43. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/accounts/raw_client.py +0 -0
  44. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/actions/__init__.py +0 -0
  45. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/actions/client.py +0 -0
  46. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/actions/raw_client.py +0 -0
  47. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/actions/types/__init__.py +0 -0
  48. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/actions/types/actions_list_request_registry.py +0 -0
  49. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/app_categories/__init__.py +0 -0
  50. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/app_categories/client.py +0 -0
  51. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/app_categories/raw_client.py +0 -0
  52. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/apps/__init__.py +0 -0
  53. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/apps/client.py +0 -0
  54. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/apps/raw_client.py +0 -0
  55. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/apps/types/__init__.py +0 -0
  56. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/apps/types/apps_list_request_sort_direction.py +0 -0
  57. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/apps/types/apps_list_request_sort_key.py +0 -0
  58. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/components/__init__.py +0 -0
  59. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/components/client.py +0 -0
  60. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/components/raw_client.py +0 -0
  61. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/components/types/__init__.py +0 -0
  62. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/components/types/components_list_request_registry.py +0 -0
  63. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/__init__.py +0 -0
  64. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/api_error.py +0 -0
  65. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/datetime_utils.py +0 -0
  66. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/file.py +0 -0
  67. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/force_multipart.py +0 -0
  68. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_client.py +0 -0
  69. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_response.py +0 -0
  70. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_sse/__init__.py +0 -0
  71. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_sse/_api.py +0 -0
  72. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_sse/_decoders.py +0 -0
  73. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_sse/_exceptions.py +0 -0
  74. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/http_sse/_models.py +0 -0
  75. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/jsonable_encoder.py +0 -0
  76. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/logging.py +0 -0
  77. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/oauth_token_provider.py +0 -0
  78. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/pagination.py +0 -0
  79. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/parse_error.py +0 -0
  80. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/pydantic_utilities.py +0 -0
  81. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/query_encoder.py +0 -0
  82. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/remove_none_from_dict.py +0 -0
  83. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/request_options.py +0 -0
  84. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/core/serialization.py +0 -0
  85. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/deployed_triggers/__init__.py +0 -0
  86. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/deployed_triggers/client.py +0 -0
  87. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/deployed_triggers/raw_client.py +0 -0
  88. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/environment.py +0 -0
  89. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/errors/bad_request_error.py +0 -0
  90. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/errors/not_found_error.py +0 -0
  91. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/errors/too_many_requests_error.py +0 -0
  92. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/file_stash/__init__.py +0 -0
  93. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/oauth_tokens/__init__.py +0 -0
  94. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/oauth_tokens/client.py +0 -0
  95. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/oauth_tokens/raw_client.py +0 -0
  96. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/pipedream.py +0 -0
  97. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/project_environment/__init__.py +0 -0
  98. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/project_environment/client.py +0 -0
  99. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/project_environment/raw_client.py +0 -0
  100. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/projects/__init__.py +0 -0
  101. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/projects/client.py +0 -0
  102. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/projects/raw_client.py +0 -0
  103. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/proxy/__init__.py +0 -0
  104. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/proxy/client.py +0 -0
  105. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/proxy/raw_client.py +0 -0
  106. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/py.typed +0 -0
  107. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/tokens/__init__.py +0 -0
  108. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/tokens/client.py +0 -0
  109. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/tokens/raw_client.py +0 -0
  110. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/triggers/__init__.py +0 -0
  111. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/triggers/client.py +0 -0
  112. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/triggers/raw_client.py +0 -0
  113. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/triggers/types/__init__.py +0 -0
  114. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/triggers/types/triggers_list_request_registry.py +0 -0
  115. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/account.py +0 -0
  116. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/account_credentials.py +0 -0
  117. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/account_id.py +0 -0
  118. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/app.py +0 -0
  119. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/app_auth_type.py +0 -0
  120. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/app_category.py +0 -0
  121. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/app_scope_profiles_item.py +0 -0
  122. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/app_scope_profiles_item_name.py +0 -0
  123. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/backend_client_opts.py +0 -0
  124. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/client_opts.py +0 -0
  125. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/component.py +0 -0
  126. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/component_stash.py +0 -0
  127. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/component_type.py +0 -0
  128. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop.py +0 -0
  129. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_airtable_base_id.py +0 -0
  130. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_airtable_field_id.py +0 -0
  131. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_airtable_table_id.py +0 -0
  132. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_airtable_view_id.py +0 -0
  133. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_alert.py +0 -0
  134. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_alert_type.py +0 -0
  135. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_any.py +0 -0
  136. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_any_options_item.py +0 -0
  137. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_app.py +0 -0
  138. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_apphook.py +0 -0
  139. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_base.py +0 -0
  140. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_base_type.py +0 -0
  141. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_boolean.py +0 -0
  142. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_boolean_options_item.py +0 -0
  143. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_data_store.py +0 -0
  144. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_db.py +0 -0
  145. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_dir.py +0 -0
  146. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_dir_access_mode.py +0 -0
  147. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_discord_channel.py +0 -0
  148. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_discord_channel_array.py +0 -0
  149. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_http.py +0 -0
  150. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_http_request.py +0 -0
  151. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_integer.py +0 -0
  152. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_integer_array.py +0 -0
  153. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_integer_array_options_item.py +0 -0
  154. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_integer_options_item.py +0 -0
  155. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_object.py +0 -0
  156. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_object_options_item.py +0 -0
  157. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_sql.py +0 -0
  158. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_sql_auth.py +0 -0
  159. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_sql_options_item.py +0 -0
  160. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_string.py +0 -0
  161. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_string_array.py +0 -0
  162. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_string_array_options_item.py +0 -0
  163. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_string_format.py +0 -0
  164. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_string_options_item.py +0 -0
  165. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_timer.py +0 -0
  166. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_timer_default.py +0 -0
  167. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_timer_option.py +0 -0
  168. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configurable_prop_timer_static.py +0 -0
  169. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configure_prop_options.py +0 -0
  170. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configure_prop_options_item.py +0 -0
  171. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configure_prop_opts.py +0 -0
  172. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configure_prop_response.py +0 -0
  173. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value.py +0 -0
  174. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_any.py +0 -0
  175. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_app.py +0 -0
  176. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_boolean.py +0 -0
  177. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_integer.py +0 -0
  178. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_object.py +0 -0
  179. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_sql.py +0 -0
  180. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_string.py +0 -0
  181. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_prop_value_string_array.py +0 -0
  182. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/configured_props.py +0 -0
  183. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/connect_token.py +0 -0
  184. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/connect_usage.py +0 -0
  185. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/connect_usage_response.py +0 -0
  186. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/create_o_auth_token_response.py +0 -0
  187. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/create_token_response.py +0 -0
  188. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/delete_trigger_opts.py +0 -0
  189. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/deploy_trigger_response.py +0 -0
  190. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/deployed_component.py +0 -0
  191. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/dynamic_props.py +0 -0
  192. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/emitted_event.py +0 -0
  193. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/emitter.py +0 -0
  194. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/emitter_type.py +0 -0
  195. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/external_user.py +0 -0
  196. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_accounts_response.py +0 -0
  197. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_app_category_response.py +0 -0
  198. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_app_response.py +0 -0
  199. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_apps_response.py +0 -0
  200. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_component_response.py +0 -0
  201. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_components_response.py +0 -0
  202. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_trigger_events_response.py +0 -0
  203. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_trigger_response.py +0 -0
  204. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_trigger_webhooks_response.py +0 -0
  205. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_trigger_workflows_response.py +0 -0
  206. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_triggers_response.py +0 -0
  207. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_users_response.py +0 -0
  208. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_webhook_response.py +0 -0
  209. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/get_webhook_with_signing_key_response.py +0 -0
  210. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_interface.py +0 -0
  211. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_auth.py +0 -0
  212. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_auth_type.py +0 -0
  213. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_body.py +0 -0
  214. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_body_mode.py +0 -0
  215. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_body_type.py +0 -0
  216. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_config.py +0 -0
  217. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/http_request_field.py +0 -0
  218. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/list_accounts_response.py +0 -0
  219. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/list_app_categories_response.py +0 -0
  220. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/list_apps_response.py +0 -0
  221. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/list_projects_response.py +0 -0
  222. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/observation.py +0 -0
  223. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/observation_error.py +0 -0
  224. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/page_info.py +0 -0
  225. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/project.py +0 -0
  226. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/project_environment.py +0 -0
  227. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/project_info_response.py +0 -0
  228. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/project_info_response_app.py +0 -0
  229. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/prop_option.py +0 -0
  230. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/prop_option_nested.py +0 -0
  231. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/prop_option_value.py +0 -0
  232. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/proxy_response.py +0 -0
  233. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/proxy_response_binary.py +0 -0
  234. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/reload_props_opts.py +0 -0
  235. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/reload_props_response.py +0 -0
  236. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/run_action_opts_stash_id.py +0 -0
  237. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/run_action_response.py +0 -0
  238. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/set_webhook_response.py +0 -0
  239. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/start_connect_opts.py +0 -0
  240. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/stash_id.py +0 -0
  241. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/timer_cron.py +0 -0
  242. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/timer_interface.py +0 -0
  243. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/timer_interval.py +0 -0
  244. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/too_many_requests_error_body.py +0 -0
  245. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/tool_annotations.py +0 -0
  246. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/trigger_webhook.py +0 -0
  247. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/webhook.py +0 -0
  248. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/webhook_with_optional_signing_key.py +0 -0
  249. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/types/webhook_with_signing_key.py +0 -0
  250. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/usage/__init__.py +0 -0
  251. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/usage/client.py +0 -0
  252. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/usage/raw_client.py +0 -0
  253. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/users/__init__.py +0 -0
  254. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/users/client.py +0 -0
  255. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/users/raw_client.py +0 -0
  256. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/version.py +0 -0
  257. {pipedream-2.1.13 → pipedream-2.1.15}/src/pipedream/workflows/__init__.py +0 -0
  258. {pipedream-2.1.13 → pipedream-2.1.15}/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.13
3
+ Version: 2.1.15
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.13"
7
+ version = "2.1.15"
8
8
  description = ""
9
9
  readme = "README.md"
10
10
  authors = []
@@ -29,7 +29,6 @@ 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
33
32
 
34
33
 
35
34
  class Client:
@@ -224,7 +223,6 @@ class Client:
224
223
  self._tokens: typing.Optional[TokensClient] = None
225
224
  self._usage: typing.Optional[UsageClient] = None
226
225
  self._oauth_tokens: typing.Optional[OauthTokensClient] = None
227
- self._v2: typing.Optional[V2Client] = None
228
226
 
229
227
  @property
230
228
  def app_categories(self):
@@ -346,14 +344,6 @@ class Client:
346
344
  self._oauth_tokens = OauthTokensClient(client_wrapper=self._client_wrapper)
347
345
  return self._oauth_tokens
348
346
 
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
-
357
347
 
358
348
  def _make_default_async_client(
359
349
  timeout: typing.Optional[float],
@@ -562,7 +552,6 @@ class AsyncClient:
562
552
  self._tokens: typing.Optional[AsyncTokensClient] = None
563
553
  self._usage: typing.Optional[AsyncUsageClient] = None
564
554
  self._oauth_tokens: typing.Optional[AsyncOauthTokensClient] = None
565
- self._v2: typing.Optional[AsyncV2Client] = None
566
555
 
567
556
  @property
568
557
  def app_categories(self):
@@ -684,14 +673,6 @@ class AsyncClient:
684
673
  self._oauth_tokens = AsyncOauthTokensClient(client_wrapper=self._client_wrapper)
685
674
  return self._oauth_tokens
686
675
 
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
-
695
676
 
696
677
  def _get_base_url(*, base_url: typing.Optional[str] = None, environment: PipedreamEnvironment) -> str:
697
678
  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.13",
37
+ "User-Agent": "pipedream/2.1.15",
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.13",
42
+ "X-Fern-SDK-Version": "2.1.15",
43
43
  **(self.get_custom_headers() or {}),
44
44
  }
45
45
  if self._project_environment is not None:
@@ -0,0 +1,40 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+
5
+ import typing
6
+ from importlib import import_module
7
+
8
+ if typing.TYPE_CHECKING:
9
+ from .bad_request_error import BadRequestError
10
+ from .not_found_error import NotFoundError
11
+ from .too_many_requests_error import TooManyRequestsError
12
+ _dynamic_imports: typing.Dict[str, str] = {
13
+ "BadRequestError": ".bad_request_error",
14
+ "NotFoundError": ".not_found_error",
15
+ "TooManyRequestsError": ".too_many_requests_error",
16
+ }
17
+
18
+
19
+ def __getattr__(attr_name: str) -> typing.Any:
20
+ module_name = _dynamic_imports.get(attr_name)
21
+ if module_name is None:
22
+ raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
23
+ try:
24
+ module = import_module(module_name, __package__)
25
+ if module_name == f".{attr_name}":
26
+ return module
27
+ else:
28
+ return getattr(module, attr_name)
29
+ except ImportError as e:
30
+ raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
31
+ except AttributeError as e:
32
+ raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
33
+
34
+
35
+ def __dir__():
36
+ lazy_attrs = list(_dynamic_imports.keys())
37
+ return sorted(lazy_attrs)
38
+
39
+
40
+ __all__ = ["BadRequestError", "NotFoundError", "TooManyRequestsError"]
@@ -23,14 +23,14 @@ class FileStashClient:
23
23
  return self._raw_client
24
24
 
25
25
  def download_file(
26
- self, *, s3key: str, request_options: typing.Optional[RequestOptions] = None
26
+ self, *, s_3_key: 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
- s3key : str
33
+ s_3_key : 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
- s3key="s3_key",
53
+ s_3_key="s3_key",
54
54
  )
55
55
  """
56
- with self._raw_client.download_file(s3key=s3key, request_options=request_options) as r:
56
+ with self._raw_client.download_file(s_3_key=s_3_key, 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, *, s3key: str, request_options: typing.Optional[RequestOptions] = None
76
+ self, *, s_3_key: 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
- s3key : str
83
+ s_3_key : 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
- s3key="s3_key",
108
+ s_3_key="s3_key",
109
109
  )
110
110
 
111
111
 
112
112
  asyncio.run(main())
113
113
  """
114
- async with self._raw_client.download_file(s3key=s3key, request_options=request_options) as r:
114
+ async with self._raw_client.download_file(s_3_key=s_3_key, 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, *, s3key: str, request_options: typing.Optional[RequestOptions] = None
24
+ self, *, s_3_key: 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
- s3key : str
31
+ s_3_key : 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": s3key,
45
+ "s3_key": s_3_key,
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, *, s3key: str, request_options: typing.Optional[RequestOptions] = None
92
+ self, *, s_3_key: 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
- s3key : str
99
+ s_3_key : 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": s3key,
113
+ "s3_key": s_3_key,
114
114
  },
115
115
  request_options=request_options,
116
116
  ) as _response:
@@ -12,21 +12,13 @@ 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
17
15
  from .app_scope_profiles_item import AppScopeProfilesItem
18
16
  from .app_scope_profiles_item_name import AppScopeProfilesItemName
19
- from .apps_page_info import AppsPageInfo
20
17
  from .backend_client_opts import BackendClientOpts
21
18
  from .client_opts import ClientOpts
22
19
  from .component import Component
23
- from .component_document import ComponentDocument
24
- from .component_response import ComponentResponse
25
20
  from .component_stash import ComponentStash
26
21
  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
30
22
  from .configurable_prop import ConfigurableProp
31
23
  from .configurable_prop_airtable_base_id import ConfigurablePropAirtableBaseId
32
24
  from .configurable_prop_airtable_field_id import ConfigurablePropAirtableFieldId
@@ -96,8 +88,6 @@ if typing.TYPE_CHECKING:
96
88
  from .emitter_type import EmitterType
97
89
  from .error_response import ErrorResponse
98
90
  from .external_user import ExternalUser
99
- from .facet_value import FacetValue
100
- from .facets_response import FacetsResponse
101
91
  from .get_accounts_response import GetAccountsResponse
102
92
  from .get_app_category_response import GetAppCategoryResponse
103
93
  from .get_app_response import GetAppResponse
@@ -124,7 +114,6 @@ if typing.TYPE_CHECKING:
124
114
  from .list_app_categories_response import ListAppCategoriesResponse
125
115
  from .list_apps_response import ListAppsResponse
126
116
  from .list_projects_response import ListProjectsResponse
127
- from .list_response import ListResponse
128
117
  from .observation import Observation
129
118
  from .observation_error import ObservationError
130
119
  from .page_info import PageInfo
@@ -161,21 +150,13 @@ _dynamic_imports: typing.Dict[str, str] = {
161
150
  "App": ".app",
162
151
  "AppAuthType": ".app_auth_type",
163
152
  "AppCategory": ".app_category",
164
- "AppDocument": ".app_document",
165
- "AppResponse": ".app_response",
166
153
  "AppScopeProfilesItem": ".app_scope_profiles_item",
167
154
  "AppScopeProfilesItemName": ".app_scope_profiles_item_name",
168
- "AppsPageInfo": ".apps_page_info",
169
155
  "BackendClientOpts": ".backend_client_opts",
170
156
  "ClientOpts": ".client_opts",
171
157
  "Component": ".component",
172
- "ComponentDocument": ".component_document",
173
- "ComponentResponse": ".component_response",
174
158
  "ComponentStash": ".component_stash",
175
159
  "ComponentType": ".component_type",
176
- "ComponentsFacetsResponse": ".components_facets_response",
177
- "ComponentsListResponse": ".components_list_response",
178
- "ComponentsPageInfo": ".components_page_info",
179
160
  "ConfigurableProp": ".configurable_prop",
180
161
  "ConfigurablePropAirtableBaseId": ".configurable_prop_airtable_base_id",
181
162
  "ConfigurablePropAirtableFieldId": ".configurable_prop_airtable_field_id",
@@ -245,8 +226,6 @@ _dynamic_imports: typing.Dict[str, str] = {
245
226
  "EmitterType": ".emitter_type",
246
227
  "ErrorResponse": ".error_response",
247
228
  "ExternalUser": ".external_user",
248
- "FacetValue": ".facet_value",
249
- "FacetsResponse": ".facets_response",
250
229
  "GetAccountsResponse": ".get_accounts_response",
251
230
  "GetAppCategoryResponse": ".get_app_category_response",
252
231
  "GetAppResponse": ".get_app_response",
@@ -273,7 +252,6 @@ _dynamic_imports: typing.Dict[str, str] = {
273
252
  "ListAppCategoriesResponse": ".list_app_categories_response",
274
253
  "ListAppsResponse": ".list_apps_response",
275
254
  "ListProjectsResponse": ".list_projects_response",
276
- "ListResponse": ".list_response",
277
255
  "Observation": ".observation",
278
256
  "ObservationError": ".observation_error",
279
257
  "PageInfo": ".page_info",
@@ -334,21 +312,13 @@ __all__ = [
334
312
  "App",
335
313
  "AppAuthType",
336
314
  "AppCategory",
337
- "AppDocument",
338
- "AppResponse",
339
315
  "AppScopeProfilesItem",
340
316
  "AppScopeProfilesItemName",
341
- "AppsPageInfo",
342
317
  "BackendClientOpts",
343
318
  "ClientOpts",
344
319
  "Component",
345
- "ComponentDocument",
346
- "ComponentResponse",
347
320
  "ComponentStash",
348
321
  "ComponentType",
349
- "ComponentsFacetsResponse",
350
- "ComponentsListResponse",
351
- "ComponentsPageInfo",
352
322
  "ConfigurableProp",
353
323
  "ConfigurablePropAirtableBaseId",
354
324
  "ConfigurablePropAirtableFieldId",
@@ -418,8 +388,6 @@ __all__ = [
418
388
  "EmitterType",
419
389
  "ErrorResponse",
420
390
  "ExternalUser",
421
- "FacetValue",
422
- "FacetsResponse",
423
391
  "GetAccountsResponse",
424
392
  "GetAppCategoryResponse",
425
393
  "GetAppResponse",
@@ -446,7 +414,6 @@ __all__ = [
446
414
  "ListAppCategoriesResponse",
447
415
  "ListAppsResponse",
448
416
  "ListProjectsResponse",
449
- "ListResponse",
450
417
  "Observation",
451
418
  "ObservationError",
452
419
  "PageInfo",
@@ -8,13 +8,23 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
8
 
9
9
  class ErrorResponse(UniversalBaseModel):
10
10
  """
11
- The standard Connect error envelope: `{ "error": "<message>" }`.
11
+ Error response returned by the API in case of an error
12
+ """
12
13
 
13
- Registered under its own name (`ErrorResponse`) with no `title` so Fern does
14
- not attempt to merge it with a similarly-shaped envelope from another spec.
14
+ error: str = pydantic.Field()
15
+ """
16
+ The error message
15
17
  """
16
18
 
17
- error: str
19
+ code: typing.Optional[str] = pydantic.Field(default=None)
20
+ """
21
+ The error code
22
+ """
23
+
24
+ details: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None)
25
+ """
26
+ Additional error details
27
+ """
18
28
 
19
29
  if IS_PYDANTIC_V2:
20
30
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -28,6 +28,11 @@ class ValidateTokenResponse(UniversalBaseModel):
28
28
  OAuth app ID if applicable
29
29
  """
30
30
 
31
+ oauth_app_workday_official: typing.Optional[bool] = pydantic.Field(default=None)
32
+ """
33
+ True when the resolved OAuth client is the app's Workday-official client
34
+ """
35
+
31
36
  project_app_name: typing.Optional[str] = pydantic.Field(default=None)
32
37
  """
33
38
  Name of the project app
@@ -1,59 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- # isort: skip_file
4
-
5
- import typing
6
- from importlib import import_module
7
-
8
- if typing.TYPE_CHECKING:
9
- from .bad_gateway_error import BadGatewayError
10
- from .bad_request_error import BadRequestError
11
- from .internal_server_error import InternalServerError
12
- from .not_found_error import NotFoundError
13
- from .not_implemented_error import NotImplementedError
14
- from .service_unavailable_error import ServiceUnavailableError
15
- from .too_many_requests_error import TooManyRequestsError
16
- from .unauthorized_error import UnauthorizedError
17
- _dynamic_imports: typing.Dict[str, str] = {
18
- "BadGatewayError": ".bad_gateway_error",
19
- "BadRequestError": ".bad_request_error",
20
- "InternalServerError": ".internal_server_error",
21
- "NotFoundError": ".not_found_error",
22
- "NotImplementedError": ".not_implemented_error",
23
- "ServiceUnavailableError": ".service_unavailable_error",
24
- "TooManyRequestsError": ".too_many_requests_error",
25
- "UnauthorizedError": ".unauthorized_error",
26
- }
27
-
28
-
29
- def __getattr__(attr_name: str) -> typing.Any:
30
- module_name = _dynamic_imports.get(attr_name)
31
- if module_name is None:
32
- raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
33
- try:
34
- module = import_module(module_name, __package__)
35
- if module_name == f".{attr_name}":
36
- return module
37
- else:
38
- return getattr(module, attr_name)
39
- except ImportError as e:
40
- raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
41
- except AttributeError as e:
42
- raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
43
-
44
-
45
- def __dir__():
46
- lazy_attrs = list(_dynamic_imports.keys())
47
- return sorted(lazy_attrs)
48
-
49
-
50
- __all__ = [
51
- "BadGatewayError",
52
- "BadRequestError",
53
- "InternalServerError",
54
- "NotFoundError",
55
- "NotImplementedError",
56
- "ServiceUnavailableError",
57
- "TooManyRequestsError",
58
- "UnauthorizedError",
59
- ]
@@ -1,10 +0,0 @@
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)
@@ -1,10 +0,0 @@
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)
@@ -1,11 +0,0 @@
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)
@@ -1,11 +0,0 @@
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)
@@ -1,10 +0,0 @@
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)
@@ -1,63 +0,0 @@
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
@@ -1,24 +0,0 @@
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
@@ -1,22 +0,0 @@
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
- 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