pipedream 2.0.1__tar.gz → 2.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. {pipedream-2.0.1 → pipedream-2.0.2}/PKG-INFO +1 -1
  2. {pipedream-2.0.1 → pipedream-2.0.2}/pyproject.toml +1 -1
  3. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/accounts/client.py +102 -0
  4. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/accounts/raw_client.py +132 -0
  5. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/client_wrapper.py +2 -2
  6. {pipedream-2.0.1 → pipedream-2.0.2}/LICENSE +0 -0
  7. {pipedream-2.0.1 → pipedream-2.0.2}/README.md +0 -0
  8. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/__init__.py +0 -0
  9. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/_default_clients.py +0 -0
  10. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/accounts/__init__.py +0 -0
  11. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/actions/__init__.py +0 -0
  12. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/actions/client.py +0 -0
  13. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/actions/raw_client.py +0 -0
  14. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/actions/types/__init__.py +0 -0
  15. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/actions/types/actions_list_request_registry.py +0 -0
  16. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/app_categories/__init__.py +0 -0
  17. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/app_categories/client.py +0 -0
  18. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/app_categories/raw_client.py +0 -0
  19. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/apps/__init__.py +0 -0
  20. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/apps/client.py +0 -0
  21. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/apps/raw_client.py +0 -0
  22. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/apps/types/__init__.py +0 -0
  23. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/apps/types/apps_list_request_sort_direction.py +0 -0
  24. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/apps/types/apps_list_request_sort_key.py +0 -0
  25. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/client.py +0 -0
  26. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/components/__init__.py +0 -0
  27. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/components/client.py +0 -0
  28. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/components/raw_client.py +0 -0
  29. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/components/types/__init__.py +0 -0
  30. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/components/types/components_list_request_registry.py +0 -0
  31. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/__init__.py +0 -0
  32. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/api_error.py +0 -0
  33. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/datetime_utils.py +0 -0
  34. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/file.py +0 -0
  35. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/force_multipart.py +0 -0
  36. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/http_client.py +0 -0
  37. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/http_response.py +0 -0
  38. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/http_sse/__init__.py +0 -0
  39. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/http_sse/_api.py +0 -0
  40. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/http_sse/_decoders.py +0 -0
  41. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/http_sse/_exceptions.py +0 -0
  42. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/http_sse/_models.py +0 -0
  43. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/jsonable_encoder.py +0 -0
  44. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/logging.py +0 -0
  45. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/oauth_token_provider.py +0 -0
  46. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/pagination.py +0 -0
  47. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/parse_error.py +0 -0
  48. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/pydantic_utilities.py +0 -0
  49. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/query_encoder.py +0 -0
  50. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/remove_none_from_dict.py +0 -0
  51. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/request_options.py +0 -0
  52. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/core/serialization.py +0 -0
  53. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/deployed_triggers/__init__.py +0 -0
  54. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/deployed_triggers/client.py +0 -0
  55. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/deployed_triggers/raw_client.py +0 -0
  56. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/environment.py +0 -0
  57. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/errors/__init__.py +0 -0
  58. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/errors/bad_request_error.py +0 -0
  59. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/errors/not_found_error.py +0 -0
  60. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/errors/too_many_requests_error.py +0 -0
  61. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/file_stash/__init__.py +0 -0
  62. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/file_stash/client.py +0 -0
  63. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/file_stash/raw_client.py +0 -0
  64. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/oauth_tokens/__init__.py +0 -0
  65. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/oauth_tokens/client.py +0 -0
  66. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/oauth_tokens/raw_client.py +0 -0
  67. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/pipedream.py +0 -0
  68. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/project_environment/__init__.py +0 -0
  69. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/project_environment/client.py +0 -0
  70. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/project_environment/raw_client.py +0 -0
  71. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/projects/__init__.py +0 -0
  72. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/projects/client.py +0 -0
  73. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/projects/raw_client.py +0 -0
  74. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/proxy/__init__.py +0 -0
  75. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/proxy/client.py +0 -0
  76. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/proxy/raw_client.py +0 -0
  77. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/py.typed +0 -0
  78. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/tokens/__init__.py +0 -0
  79. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/tokens/client.py +0 -0
  80. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/tokens/raw_client.py +0 -0
  81. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/triggers/__init__.py +0 -0
  82. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/triggers/client.py +0 -0
  83. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/triggers/raw_client.py +0 -0
  84. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/triggers/types/__init__.py +0 -0
  85. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/triggers/types/triggers_list_request_registry.py +0 -0
  86. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/__init__.py +0 -0
  87. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/account.py +0 -0
  88. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/account_credentials.py +0 -0
  89. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/account_id.py +0 -0
  90. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/app.py +0 -0
  91. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/app_auth_type.py +0 -0
  92. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/app_category.py +0 -0
  93. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/backend_client_opts.py +0 -0
  94. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/client_opts.py +0 -0
  95. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/component.py +0 -0
  96. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/component_stash.py +0 -0
  97. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/component_type.py +0 -0
  98. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop.py +0 -0
  99. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_airtable_base_id.py +0 -0
  100. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_airtable_field_id.py +0 -0
  101. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_airtable_table_id.py +0 -0
  102. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_airtable_view_id.py +0 -0
  103. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_alert.py +0 -0
  104. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_alert_type.py +0 -0
  105. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_any.py +0 -0
  106. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_any_options_item.py +0 -0
  107. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_app.py +0 -0
  108. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_apphook.py +0 -0
  109. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_base.py +0 -0
  110. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_base_type.py +0 -0
  111. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_boolean.py +0 -0
  112. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_boolean_options_item.py +0 -0
  113. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_data_store.py +0 -0
  114. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_db.py +0 -0
  115. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_dir.py +0 -0
  116. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_dir_access_mode.py +0 -0
  117. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_discord_channel.py +0 -0
  118. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_discord_channel_array.py +0 -0
  119. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_http.py +0 -0
  120. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_http_request.py +0 -0
  121. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_integer.py +0 -0
  122. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_integer_array.py +0 -0
  123. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_integer_array_options_item.py +0 -0
  124. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_integer_options_item.py +0 -0
  125. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_object.py +0 -0
  126. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_object_options_item.py +0 -0
  127. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_sql.py +0 -0
  128. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_sql_auth.py +0 -0
  129. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_sql_options_item.py +0 -0
  130. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_string.py +0 -0
  131. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_string_array.py +0 -0
  132. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_string_array_options_item.py +0 -0
  133. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_string_format.py +0 -0
  134. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_string_options_item.py +0 -0
  135. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_timer.py +0 -0
  136. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_timer_default.py +0 -0
  137. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_timer_option.py +0 -0
  138. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configurable_prop_timer_static.py +0 -0
  139. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configure_prop_options.py +0 -0
  140. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configure_prop_options_item.py +0 -0
  141. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configure_prop_opts.py +0 -0
  142. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configure_prop_response.py +0 -0
  143. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configured_prop_value.py +0 -0
  144. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configured_prop_value_any.py +0 -0
  145. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configured_prop_value_app.py +0 -0
  146. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configured_prop_value_boolean.py +0 -0
  147. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configured_prop_value_integer.py +0 -0
  148. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configured_prop_value_object.py +0 -0
  149. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configured_prop_value_sql.py +0 -0
  150. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configured_prop_value_string.py +0 -0
  151. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configured_prop_value_string_array.py +0 -0
  152. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/configured_props.py +0 -0
  153. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/connect_token.py +0 -0
  154. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/connect_usage.py +0 -0
  155. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/connect_usage_response.py +0 -0
  156. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/create_o_auth_token_response.py +0 -0
  157. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/create_token_response.py +0 -0
  158. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/delete_trigger_opts.py +0 -0
  159. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/deploy_trigger_response.py +0 -0
  160. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/deployed_component.py +0 -0
  161. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/dynamic_props.py +0 -0
  162. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/emitted_event.py +0 -0
  163. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/emitter.py +0 -0
  164. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/emitter_type.py +0 -0
  165. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/error_response.py +0 -0
  166. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/external_user.py +0 -0
  167. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_accounts_response.py +0 -0
  168. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_app_category_response.py +0 -0
  169. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_app_response.py +0 -0
  170. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_apps_response.py +0 -0
  171. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_component_response.py +0 -0
  172. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_components_response.py +0 -0
  173. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_trigger_events_response.py +0 -0
  174. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_trigger_response.py +0 -0
  175. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_trigger_webhooks_response.py +0 -0
  176. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_trigger_workflows_response.py +0 -0
  177. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_triggers_response.py +0 -0
  178. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_users_response.py +0 -0
  179. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_webhook_response.py +0 -0
  180. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/get_webhook_with_signing_key_response.py +0 -0
  181. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/http_interface.py +0 -0
  182. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/http_request_auth.py +0 -0
  183. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/http_request_auth_type.py +0 -0
  184. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/http_request_body.py +0 -0
  185. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/http_request_body_mode.py +0 -0
  186. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/http_request_body_type.py +0 -0
  187. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/http_request_config.py +0 -0
  188. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/http_request_field.py +0 -0
  189. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/list_accounts_response.py +0 -0
  190. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/list_app_categories_response.py +0 -0
  191. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/list_apps_response.py +0 -0
  192. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/list_projects_response.py +0 -0
  193. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/observation.py +0 -0
  194. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/observation_error.py +0 -0
  195. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/page_info.py +0 -0
  196. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/project.py +0 -0
  197. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/project_environment.py +0 -0
  198. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/project_info_response.py +0 -0
  199. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/project_info_response_app.py +0 -0
  200. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/prop_option.py +0 -0
  201. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/prop_option_nested.py +0 -0
  202. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/prop_option_value.py +0 -0
  203. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/proxy_response.py +0 -0
  204. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/proxy_response_binary.py +0 -0
  205. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/reload_props_opts.py +0 -0
  206. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/reload_props_response.py +0 -0
  207. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/run_action_opts_stash_id.py +0 -0
  208. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/run_action_response.py +0 -0
  209. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/set_webhook_response.py +0 -0
  210. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/start_connect_opts.py +0 -0
  211. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/stash_id.py +0 -0
  212. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/timer_cron.py +0 -0
  213. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/timer_interface.py +0 -0
  214. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/timer_interval.py +0 -0
  215. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/too_many_requests_error_body.py +0 -0
  216. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/tool_annotations.py +0 -0
  217. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/trigger_webhook.py +0 -0
  218. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/validate_token_response.py +0 -0
  219. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/webhook.py +0 -0
  220. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/webhook_with_optional_signing_key.py +0 -0
  221. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/types/webhook_with_signing_key.py +0 -0
  222. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/usage/__init__.py +0 -0
  223. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/usage/client.py +0 -0
  224. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/usage/raw_client.py +0 -0
  225. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/users/__init__.py +0 -0
  226. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/users/client.py +0 -0
  227. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/users/raw_client.py +0 -0
  228. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/version.py +0 -0
  229. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/workflows/__init__.py +0 -0
  230. {pipedream-2.0.1 → pipedream-2.0.2}/src/pipedream/workflows/client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pipedream
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary:
5
5
  Requires-Python: >=3.10,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -4,7 +4,7 @@ dynamic = ["version"]
4
4
 
5
5
  [tool.poetry]
6
6
  name = "pipedream"
7
- version = "2.0.1"
7
+ version = "2.0.2"
8
8
  description = ""
9
9
  readme = "README.md"
10
10
  authors = []
@@ -288,6 +288,53 @@ class AccountsClient:
288
288
  _response = self._raw_client.delete_by_app(app_id, request_options=request_options)
289
289
  return _response.data
290
290
 
291
+ def list_by_external_user(
292
+ self,
293
+ external_user_id: str,
294
+ *,
295
+ include_credentials: typing.Optional[bool] = None,
296
+ app: typing.Optional[str] = None,
297
+ request_options: typing.Optional[RequestOptions] = None,
298
+ ) -> typing.List[Account]:
299
+ """
300
+ List all connected accounts for a specific external user. Equivalent to GET /accounts with external_user_id filter but uses path-based routing.
301
+
302
+ Parameters
303
+ ----------
304
+ external_user_id : str
305
+
306
+ include_credentials : typing.Optional[bool]
307
+
308
+ app : typing.Optional[str]
309
+
310
+ request_options : typing.Optional[RequestOptions]
311
+ Request-specific configuration.
312
+
313
+ Returns
314
+ -------
315
+ typing.List[Account]
316
+ accounts listed
317
+
318
+ Examples
319
+ --------
320
+ from pipedream import Pipedream
321
+
322
+ client = Pipedream(
323
+ project_id="YOUR_PROJECT_ID",
324
+ client_id="YOUR_CLIENT_ID",
325
+ client_secret="YOUR_CLIENT_SECRET",
326
+ )
327
+ client.accounts.list_by_external_user(
328
+ external_user_id="external_user_id",
329
+ include_credentials=True,
330
+ app="app",
331
+ )
332
+ """
333
+ _response = self._raw_client.list_by_external_user(
334
+ external_user_id, include_credentials=include_credentials, app=app, request_options=request_options
335
+ )
336
+ return _response.data
337
+
291
338
 
292
339
  class AsyncAccountsClient:
293
340
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
@@ -604,3 +651,58 @@ class AsyncAccountsClient:
604
651
  """
605
652
  _response = await self._raw_client.delete_by_app(app_id, request_options=request_options)
606
653
  return _response.data
654
+
655
+ async def list_by_external_user(
656
+ self,
657
+ external_user_id: str,
658
+ *,
659
+ include_credentials: typing.Optional[bool] = None,
660
+ app: typing.Optional[str] = None,
661
+ request_options: typing.Optional[RequestOptions] = None,
662
+ ) -> typing.List[Account]:
663
+ """
664
+ List all connected accounts for a specific external user. Equivalent to GET /accounts with external_user_id filter but uses path-based routing.
665
+
666
+ Parameters
667
+ ----------
668
+ external_user_id : str
669
+
670
+ include_credentials : typing.Optional[bool]
671
+
672
+ app : typing.Optional[str]
673
+
674
+ request_options : typing.Optional[RequestOptions]
675
+ Request-specific configuration.
676
+
677
+ Returns
678
+ -------
679
+ typing.List[Account]
680
+ accounts listed
681
+
682
+ Examples
683
+ --------
684
+ import asyncio
685
+
686
+ from pipedream import AsyncPipedream
687
+
688
+ client = AsyncPipedream(
689
+ project_id="YOUR_PROJECT_ID",
690
+ client_id="YOUR_CLIENT_ID",
691
+ client_secret="YOUR_CLIENT_SECRET",
692
+ )
693
+
694
+
695
+ async def main() -> None:
696
+ await client.accounts.list_by_external_user(
697
+ external_user_id="external_user_id",
698
+ include_credentials=True,
699
+ app="app",
700
+ )
701
+
702
+
703
+ asyncio.run(main())
704
+ """
705
+ _response = await self._raw_client.list_by_external_user(
706
+ external_user_id, include_credentials=include_credentials, app=app, request_options=request_options
707
+ )
708
+ return _response.data
@@ -375,6 +375,72 @@ class RawAccountsClient:
375
375
  )
376
376
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
377
377
 
378
+ def list_by_external_user(
379
+ self,
380
+ external_user_id: str,
381
+ *,
382
+ include_credentials: typing.Optional[bool] = None,
383
+ app: typing.Optional[str] = None,
384
+ request_options: typing.Optional[RequestOptions] = None,
385
+ ) -> HttpResponse[typing.List[Account]]:
386
+ """
387
+ List all connected accounts for a specific external user. Equivalent to GET /accounts with external_user_id filter but uses path-based routing.
388
+
389
+ Parameters
390
+ ----------
391
+ external_user_id : str
392
+
393
+ include_credentials : typing.Optional[bool]
394
+
395
+ app : typing.Optional[str]
396
+
397
+ request_options : typing.Optional[RequestOptions]
398
+ Request-specific configuration.
399
+
400
+ Returns
401
+ -------
402
+ HttpResponse[typing.List[Account]]
403
+ accounts listed
404
+ """
405
+ _response = self._client_wrapper.httpx_client.request(
406
+ f"v1/connect/{encode_path_param(self._client_wrapper._project_id)}/users/{encode_path_param(external_user_id)}/accounts",
407
+ method="GET",
408
+ params={
409
+ "include_credentials": include_credentials,
410
+ "app": app,
411
+ },
412
+ request_options=request_options,
413
+ )
414
+ try:
415
+ if 200 <= _response.status_code < 300:
416
+ _data = typing.cast(
417
+ typing.List[Account],
418
+ parse_obj_as(
419
+ type_=typing.List[Account], # type: ignore
420
+ object_=_response.json(),
421
+ ),
422
+ )
423
+ return HttpResponse(response=_response, data=_data)
424
+ if _response.status_code == 429:
425
+ raise TooManyRequestsError(
426
+ headers=dict(_response.headers),
427
+ body=typing.cast(
428
+ typing.Any,
429
+ parse_obj_as(
430
+ type_=typing.Any, # type: ignore
431
+ object_=_response.json(),
432
+ ),
433
+ ),
434
+ )
435
+ _response_json = _response.json()
436
+ except JSONDecodeError:
437
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
438
+ except ValidationError as e:
439
+ raise ParsingError(
440
+ status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e
441
+ )
442
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
443
+
378
444
 
379
445
  class AsyncRawAccountsClient:
380
446
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
@@ -735,3 +801,69 @@ class AsyncRawAccountsClient:
735
801
  status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e
736
802
  )
737
803
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
804
+
805
+ async def list_by_external_user(
806
+ self,
807
+ external_user_id: str,
808
+ *,
809
+ include_credentials: typing.Optional[bool] = None,
810
+ app: typing.Optional[str] = None,
811
+ request_options: typing.Optional[RequestOptions] = None,
812
+ ) -> AsyncHttpResponse[typing.List[Account]]:
813
+ """
814
+ List all connected accounts for a specific external user. Equivalent to GET /accounts with external_user_id filter but uses path-based routing.
815
+
816
+ Parameters
817
+ ----------
818
+ external_user_id : str
819
+
820
+ include_credentials : typing.Optional[bool]
821
+
822
+ app : typing.Optional[str]
823
+
824
+ request_options : typing.Optional[RequestOptions]
825
+ Request-specific configuration.
826
+
827
+ Returns
828
+ -------
829
+ AsyncHttpResponse[typing.List[Account]]
830
+ accounts listed
831
+ """
832
+ _response = await self._client_wrapper.httpx_client.request(
833
+ f"v1/connect/{encode_path_param(self._client_wrapper._project_id)}/users/{encode_path_param(external_user_id)}/accounts",
834
+ method="GET",
835
+ params={
836
+ "include_credentials": include_credentials,
837
+ "app": app,
838
+ },
839
+ request_options=request_options,
840
+ )
841
+ try:
842
+ if 200 <= _response.status_code < 300:
843
+ _data = typing.cast(
844
+ typing.List[Account],
845
+ parse_obj_as(
846
+ type_=typing.List[Account], # type: ignore
847
+ object_=_response.json(),
848
+ ),
849
+ )
850
+ return AsyncHttpResponse(response=_response, data=_data)
851
+ if _response.status_code == 429:
852
+ raise TooManyRequestsError(
853
+ headers=dict(_response.headers),
854
+ body=typing.cast(
855
+ typing.Any,
856
+ parse_obj_as(
857
+ type_=typing.Any, # type: ignore
858
+ object_=_response.json(),
859
+ ),
860
+ ),
861
+ )
862
+ _response_json = _response.json()
863
+ except JSONDecodeError:
864
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
865
+ except ValidationError as e:
866
+ raise ParsingError(
867
+ status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e
868
+ )
869
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
@@ -34,12 +34,12 @@ class BaseClientWrapper:
34
34
  import platform
35
35
 
36
36
  headers: typing.Dict[str, str] = {
37
- "User-Agent": "pipedream/2.0.1",
37
+ "User-Agent": "pipedream/2.0.2",
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.0.1",
42
+ "X-Fern-SDK-Version": "2.0.2",
43
43
  **(self.get_custom_headers() or {}),
44
44
  }
45
45
  if self._project_environment is not None:
File without changes
File without changes