yertle-client 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. yertle_client-0.1.0/.gitignore +238 -0
  2. yertle_client-0.1.0/PKG-INFO +70 -0
  3. yertle_client-0.1.0/README.md +48 -0
  4. yertle_client-0.1.0/generate.sh +44 -0
  5. yertle_client-0.1.0/openapi-config.yaml +3 -0
  6. yertle_client-0.1.0/pyproject.toml +34 -0
  7. yertle_client-0.1.0/yertle_client/__init__.py +8 -0
  8. yertle_client-0.1.0/yertle_client/api/__init__.py +1 -0
  9. yertle_client-0.1.0/yertle_client/api/authentication/__init__.py +1 -0
  10. yertle_client-0.1.0/yertle_client/api/authentication/refresh_token_auth_refresh_post.py +174 -0
  11. yertle_client-0.1.0/yertle_client/api/authentication/sign_in_auth_signin_post.py +174 -0
  12. yertle_client-0.1.0/yertle_client/api/authentication/sign_up_auth_signup_post.py +174 -0
  13. yertle_client-0.1.0/yertle_client/api/authentication/verify_token_auth_verify_post.py +174 -0
  14. yertle_client-0.1.0/yertle_client/api/auto_create/__init__.py +1 -0
  15. yertle_client-0.1.0/yertle_client/api/auto_create/get_auto_create_job_nodes_orgs_org_id_auto_create_jobs_job_id_nodes_get.py +184 -0
  16. yertle_client-0.1.0/yertle_client/api/auto_create/get_auto_create_job_orgs_org_id_auto_create_jobs_job_id_get.py +184 -0
  17. yertle_client-0.1.0/yertle_client/api/auto_create/list_auto_create_jobs_orgs_org_id_auto_create_jobs_get.py +170 -0
  18. yertle_client-0.1.0/yertle_client/api/auto_create/start_auto_create_orgs_org_id_auto_create_github_post.py +207 -0
  19. yertle_client-0.1.0/yertle_client/api/aws_integrations/__init__.py +1 -0
  20. yertle_client-0.1.0/yertle_client/api/aws_integrations/check_resource_orgs_org_id_integrations_aws_integration_id_check_resource_post.py +205 -0
  21. yertle_client-0.1.0/yertle_client/api/aws_integrations/create_aws_integration_orgs_org_id_integrations_aws_post.py +191 -0
  22. yertle_client-0.1.0/yertle_client/api/aws_integrations/describe_resource_orgs_org_id_integrations_aws_integration_id_describe_resource_post.py +205 -0
  23. yertle_client-0.1.0/yertle_client/api/aws_integrations/get_metrics_orgs_org_id_integrations_aws_integration_id_metrics_post.py +205 -0
  24. yertle_client-0.1.0/yertle_client/api/aws_integrations/get_setup_info_orgs_org_id_integrations_aws_setup_info_get.py +170 -0
  25. yertle_client-0.1.0/yertle_client/api/aws_integrations/validate_aws_integration_orgs_org_id_integrations_aws_integration_id_validate_post.py +212 -0
  26. yertle_client-0.1.0/yertle_client/api/branches/__init__.py +1 -0
  27. yertle_client-0.1.0/yertle_client/api/branches/compare_branches_orgs_org_id_nodes_node_id_branches_diff_source_branch_target_branch_get.py +243 -0
  28. yertle_client-0.1.0/yertle_client/api/branches/create_branch_orgs_org_id_nodes_node_id_branches_post.py +228 -0
  29. yertle_client-0.1.0/yertle_client/api/branches/delete_branch_orgs_org_id_nodes_node_id_branches_branch_name_delete.py +254 -0
  30. yertle_client-0.1.0/yertle_client/api/branches/list_branches_orgs_org_id_nodes_node_id_branches_get.py +199 -0
  31. yertle_client-0.1.0/yertle_client/api/contact_messages/__init__.py +1 -0
  32. yertle_client-0.1.0/yertle_client/api/contact_messages/create_contact_message_contact_messages_post.py +174 -0
  33. yertle_client-0.1.0/yertle_client/api/default/__init__.py +1 -0
  34. yertle_client-0.1.0/yertle_client/api/default/root_get.py +89 -0
  35. yertle_client-0.1.0/yertle_client/api/directories/__init__.py +1 -0
  36. yertle_client-0.1.0/yertle_client/api/directories/get_all_orgs_directory_tree_orgs_all_directories_tree_get.py +186 -0
  37. yertle_client-0.1.0/yertle_client/api/directories/get_all_orgs_hierarchy_orgs_all_hierarchy_get.py +148 -0
  38. yertle_client-0.1.0/yertle_client/api/directories/get_directory_contents_across_orgs_orgs_all_directories_contents_get.py +201 -0
  39. yertle_client-0.1.0/yertle_client/api/directories/get_directory_tree_orgs_org_id_nodes_directories_tree_get.py +170 -0
  40. yertle_client-0.1.0/yertle_client/api/directories/get_org_directory_contents_orgs_org_id_directories_contents_get.py +217 -0
  41. yertle_client-0.1.0/yertle_client/api/directories/get_org_hierarchy_orgs_org_id_hierarchy_get.py +182 -0
  42. yertle_client-0.1.0/yertle_client/api/directories/list_all_directories_orgs_org_id_nodes_directories_get.py +191 -0
  43. yertle_client-0.1.0/yertle_client/api/github_app/__init__.py +1 -0
  44. yertle_client-0.1.0/yertle_client/api/github_app/get_install_state_github_install_state_get.py +174 -0
  45. yertle_client-0.1.0/yertle_client/api/github_app/get_my_installations_github_my_installations_get.py +138 -0
  46. yertle_client-0.1.0/yertle_client/api/github_app/save_installation_orgs_org_id_github_installations_post.py +231 -0
  47. yertle_client-0.1.0/yertle_client/api/graph/__init__.py +1 -0
  48. yertle_client-0.1.0/yertle_client/api/graph/get_all_orgs_graph_orgs_all_graph_get.py +136 -0
  49. yertle_client-0.1.0/yertle_client/api/graph/get_org_graph_orgs_org_id_graph_get.py +170 -0
  50. yertle_client-0.1.0/yertle_client/api/health/__init__.py +1 -0
  51. yertle_client-0.1.0/yertle_client/api/health/health_check_health_get.py +136 -0
  52. yertle_client-0.1.0/yertle_client/api/health/liveness_check_health_live_get.py +136 -0
  53. yertle_client-0.1.0/yertle_client/api/health/readiness_check_health_ready_get.py +136 -0
  54. yertle_client-0.1.0/yertle_client/api/integrations/__init__.py +1 -0
  55. yertle_client-0.1.0/yertle_client/api/integrations/delete_integration_orgs_org_id_integrations_integration_id_delete.py +182 -0
  56. yertle_client-0.1.0/yertle_client/api/integrations/list_integrations_orgs_org_id_integrations_get.py +196 -0
  57. yertle_client-0.1.0/yertle_client/api/node_history/__init__.py +1 -0
  58. yertle_client-0.1.0/yertle_client/api/node_history/get_canvas_state_at_commit_orgs_org_id_nodes_node_id_tree_branch_commits_commit_id_canvas_get.py +312 -0
  59. yertle_client-0.1.0/yertle_client/api/node_history/get_commit_details_orgs_org_id_nodes_node_id_tree_branch_commits_commit_id_get.py +224 -0
  60. yertle_client-0.1.0/yertle_client/api/node_history/get_commits_by_branch_orgs_org_id_nodes_node_id_tree_branch_commits_get.py +246 -0
  61. yertle_client-0.1.0/yertle_client/api/node_history/get_complete_state_at_commit_orgs_org_id_nodes_node_id_tree_branch_commits_commit_id_complete_get.py +228 -0
  62. yertle_client-0.1.0/yertle_client/api/node_history/get_node_diff_orgs_org_id_nodes_node_id_diff_commit_a_commit_b_get.py +212 -0
  63. yertle_client-0.1.0/yertle_client/api/node_history/get_node_history_orgs_org_id_nodes_node_id_history_get.py +220 -0
  64. yertle_client-0.1.0/yertle_client/api/nodes/__init__.py +1 -0
  65. yertle_client-0.1.0/yertle_client/api/nodes/create_node_orgs_org_id_nodes_post.py +191 -0
  66. yertle_client-0.1.0/yertle_client/api/nodes/delete_node_orgs_org_id_nodes_node_id_delete.py +204 -0
  67. yertle_client-0.1.0/yertle_client/api/nodes/get_branch_head_commit_orgs_org_id_nodes_node_id_tree_branch_head_get.py +198 -0
  68. yertle_client-0.1.0/yertle_client/api/nodes/get_canvas_state_by_branch_orgs_org_id_nodes_node_id_tree_branch_canvas_get.py +286 -0
  69. yertle_client-0.1.0/yertle_client/api/nodes/get_complete_state_by_branch_orgs_org_id_nodes_node_id_tree_branch_complete_get.py +198 -0
  70. yertle_client-0.1.0/yertle_client/api/nodes/list_all_nodes_across_orgs_orgs_all_nodes_get.py +201 -0
  71. yertle_client-0.1.0/yertle_client/api/nodes/list_nodes_orgs_org_id_nodes_get.py +206 -0
  72. yertle_client-0.1.0/yertle_client/api/nodes/push_node_state_orgs_org_id_nodes_node_id_tree_branch_push_put.py +287 -0
  73. yertle_client-0.1.0/yertle_client/api/notifications/__init__.py +1 -0
  74. yertle_client-0.1.0/yertle_client/api/notifications/notify_new_signup_notifications_new_signup_post.py +136 -0
  75. yertle_client-0.1.0/yertle_client/api/organizations/__init__.py +1 -0
  76. yertle_client-0.1.0/yertle_client/api/organizations/accept_invitation_invitations_accept_post.py +186 -0
  77. yertle_client-0.1.0/yertle_client/api/organizations/add_allowed_emails_orgs_org_id_allowed_emails_post.py +190 -0
  78. yertle_client-0.1.0/yertle_client/api/organizations/add_member_orgs_org_id_members_post.py +218 -0
  79. yertle_client-0.1.0/yertle_client/api/organizations/create_organization_orgs_post.py +174 -0
  80. yertle_client-0.1.0/yertle_client/api/organizations/delete_allowed_email_orgs_org_id_allowed_emails_email_id_delete.py +181 -0
  81. yertle_client-0.1.0/yertle_client/api/organizations/delete_organization_orgs_org_id_delete.py +193 -0
  82. yertle_client-0.1.0/yertle_client/api/organizations/get_invitation_details_invitations_details_post.py +186 -0
  83. yertle_client-0.1.0/yertle_client/api/organizations/get_organization_orgs_org_id_get.py +169 -0
  84. yertle_client-0.1.0/yertle_client/api/organizations/leave_organization_orgs_org_id_members_me_delete.py +179 -0
  85. yertle_client-0.1.0/yertle_client/api/organizations/list_allowed_emails_orgs_org_id_allowed_emails_get.py +169 -0
  86. yertle_client-0.1.0/yertle_client/api/organizations/list_invite_links_orgs_org_id_invite_links_get.py +169 -0
  87. yertle_client-0.1.0/yertle_client/api/organizations/list_members_orgs_org_id_members_get.py +169 -0
  88. yertle_client-0.1.0/yertle_client/api/organizations/list_organizations_orgs_get.py +136 -0
  89. yertle_client-0.1.0/yertle_client/api/organizations/regenerate_invite_link_orgs_org_id_invite_links_link_id_regenerate_post.py +191 -0
  90. yertle_client-0.1.0/yertle_client/api/organizations/remove_member_orgs_org_id_members_member_user_id_delete.py +181 -0
  91. yertle_client-0.1.0/yertle_client/api/organizations/update_org_settings_orgs_org_id_settings_patch.py +190 -0
  92. yertle_client-0.1.0/yertle_client/api/organizations/update_organization_orgs_org_id_patch.py +194 -0
  93. yertle_client-0.1.0/yertle_client/api/public/__init__.py +1 -0
  94. yertle_client-0.1.0/yertle_client/api/public/get_public_branches_public_orgs_org_id_nodes_node_id_branches_get.py +184 -0
  95. yertle_client-0.1.0/yertle_client/api/public/get_public_canvas_state_at_commit_public_orgs_org_id_nodes_node_id_tree_branch_commits_commit_id_canvas_get.py +248 -0
  96. yertle_client-0.1.0/yertle_client/api/public/get_public_canvas_state_public_orgs_org_id_nodes_node_id_tree_branch_canvas_get.py +234 -0
  97. yertle_client-0.1.0/yertle_client/api/public/get_public_commits_public_orgs_org_id_nodes_node_id_tree_branch_commits_get.py +234 -0
  98. yertle_client-0.1.0/yertle_client/api/public/get_public_complete_state_at_commit_public_orgs_org_id_nodes_node_id_tree_branch_commits_commit_id_complete_get.py +212 -0
  99. yertle_client-0.1.0/yertle_client/api/public/get_public_complete_state_public_orgs_org_id_nodes_node_id_tree_branch_complete_get.py +198 -0
  100. yertle_client-0.1.0/yertle_client/api/public/get_public_org_graph_public_orgs_org_id_graph_get.py +170 -0
  101. yertle_client-0.1.0/yertle_client/api/public/get_public_org_nodes_public_orgs_org_id_nodes_get.py +206 -0
  102. yertle_client-0.1.0/yertle_client/api/pull_requests/__init__.py +1 -0
  103. yertle_client-0.1.0/yertle_client/api/pull_requests/close_pull_request_orgs_org_id_nodes_node_id_pull_requests_pr_number_close_post.py +213 -0
  104. yertle_client-0.1.0/yertle_client/api/pull_requests/create_pull_request_orgs_org_id_nodes_node_id_pull_requests_post.py +240 -0
  105. yertle_client-0.1.0/yertle_client/api/pull_requests/get_pull_request_orgs_org_id_nodes_node_id_pull_requests_pr_number_get.py +229 -0
  106. yertle_client-0.1.0/yertle_client/api/pull_requests/list_pull_requests_orgs_org_id_nodes_node_id_pull_requests_get.py +255 -0
  107. yertle_client-0.1.0/yertle_client/api/pull_requests/merge_pull_request_orgs_org_id_nodes_node_id_pull_requests_pr_number_merge_post.py +233 -0
  108. yertle_client-0.1.0/yertle_client/api/search/__init__.py +1 -0
  109. yertle_client-0.1.0/yertle_client/api/search/retrieve_subgraph_orgs_org_id_search_retrieve_post.py +243 -0
  110. yertle_client-0.1.0/yertle_client/api/search/search_nodes_orgs_org_id_nodes_search_post.py +211 -0
  111. yertle_client-0.1.0/yertle_client/api/tokens/__init__.py +1 -0
  112. yertle_client-0.1.0/yertle_client/api/tokens/create_token_tokens_post.py +190 -0
  113. yertle_client-0.1.0/yertle_client/api/tokens/list_tokens_tokens_get.py +174 -0
  114. yertle_client-0.1.0/yertle_client/api/tokens/revoke_token_tokens_token_id_delete.py +167 -0
  115. yertle_client-0.1.0/yertle_client/auth.py +21 -0
  116. yertle_client-0.1.0/yertle_client/client.py +282 -0
  117. yertle_client-0.1.0/yertle_client/errors.py +16 -0
  118. yertle_client-0.1.0/yertle_client/models/__init__.py +303 -0
  119. yertle_client-0.1.0/yertle_client/models/add_allowed_emails_request.py +62 -0
  120. yertle_client-0.1.0/yertle_client/models/add_allowed_emails_response.py +70 -0
  121. yertle_client-0.1.0/yertle_client/models/add_member_request.py +81 -0
  122. yertle_client-0.1.0/yertle_client/models/add_member_request_role.py +10 -0
  123. yertle_client-0.1.0/yertle_client/models/allowed_email_list_response.py +84 -0
  124. yertle_client-0.1.0/yertle_client/models/allowed_email_response.py +87 -0
  125. yertle_client-0.1.0/yertle_client/models/auto_create_git_hub_request.py +124 -0
  126. yertle_client-0.1.0/yertle_client/models/auto_create_git_hub_request_review_mode.py +9 -0
  127. yertle_client-0.1.0/yertle_client/models/auto_create_job_created_response.py +62 -0
  128. yertle_client-0.1.0/yertle_client/models/auto_create_job_list_response.py +84 -0
  129. yertle_client-0.1.0/yertle_client/models/auto_create_job_node_link_response.py +124 -0
  130. yertle_client-0.1.0/yertle_client/models/auto_create_job_nodes_response.py +80 -0
  131. yertle_client-0.1.0/yertle_client/models/auto_create_job_response.py +270 -0
  132. yertle_client-0.1.0/yertle_client/models/aws_setup_info_response.py +86 -0
  133. yertle_client-0.1.0/yertle_client/models/branch_comparison_response.py +163 -0
  134. yertle_client-0.1.0/yertle_client/models/branch_head_commit_response.py +78 -0
  135. yertle_client-0.1.0/yertle_client/models/branch_list_response.py +84 -0
  136. yertle_client-0.1.0/yertle_client/models/branch_response.py +177 -0
  137. yertle_client-0.1.0/yertle_client/models/check_resource_request.py +61 -0
  138. yertle_client-0.1.0/yertle_client/models/commit_details_response.py +186 -0
  139. yertle_client-0.1.0/yertle_client/models/commit_diff_response.py +158 -0
  140. yertle_client-0.1.0/yertle_client/models/commit_history_response.py +108 -0
  141. yertle_client-0.1.0/yertle_client/models/commit_response.py +148 -0
  142. yertle_client-0.1.0/yertle_client/models/comparison.py +47 -0
  143. yertle_client-0.1.0/yertle_client/models/config.py +47 -0
  144. yertle_client-0.1.0/yertle_client/models/contact_message_response.py +117 -0
  145. yertle_client-0.1.0/yertle_client/models/context.py +47 -0
  146. yertle_client-0.1.0/yertle_client/models/create_aws_integration_request.py +91 -0
  147. yertle_client-0.1.0/yertle_client/models/create_branch_request.py +84 -0
  148. yertle_client-0.1.0/yertle_client/models/create_contact_message_request.py +100 -0
  149. yertle_client-0.1.0/yertle_client/models/create_node_request.py +193 -0
  150. yertle_client-0.1.0/yertle_client/models/create_node_request_tags_type_0.py +47 -0
  151. yertle_client-0.1.0/yertle_client/models/create_organization_request.py +84 -0
  152. yertle_client-0.1.0/yertle_client/models/create_pr_request.py +110 -0
  153. yertle_client-0.1.0/yertle_client/models/create_pr_response.py +68 -0
  154. yertle_client-0.1.0/yertle_client/models/create_token_request.py +84 -0
  155. yertle_client-0.1.0/yertle_client/models/created_token_response.py +130 -0
  156. yertle_client-0.1.0/yertle_client/models/database_status_response.py +62 -0
  157. yertle_client-0.1.0/yertle_client/models/deleted.py +47 -0
  158. yertle_client-0.1.0/yertle_client/models/deletion_result_response.py +84 -0
  159. yertle_client-0.1.0/yertle_client/models/diff_entity_response.py +152 -0
  160. yertle_client-0.1.0/yertle_client/models/directory_contents_response.py +52 -0
  161. yertle_client-0.1.0/yertle_client/models/directory_list_response.py +84 -0
  162. yertle_client-0.1.0/yertle_client/models/directory_response.py +70 -0
  163. yertle_client-0.1.0/yertle_client/models/directory_tree_response.py +163 -0
  164. yertle_client-0.1.0/yertle_client/models/directory_tree_response_directories_type_0_item.py +47 -0
  165. yertle_client-0.1.0/yertle_client/models/directory_tree_response_tree_type_0_item.py +47 -0
  166. yertle_client-0.1.0/yertle_client/models/git_hub_install_state_response.py +62 -0
  167. yertle_client-0.1.0/yertle_client/models/git_hub_installations_list_response.py +78 -0
  168. yertle_client-0.1.0/yertle_client/models/graph_edge.py +140 -0
  169. yertle_client-0.1.0/yertle_client/models/graph_node_response.py +128 -0
  170. yertle_client-0.1.0/yertle_client/models/health_check_response.py +94 -0
  171. yertle_client-0.1.0/yertle_client/models/hierarchy_entry_response.py +136 -0
  172. yertle_client-0.1.0/yertle_client/models/hierarchy_response.py +84 -0
  173. yertle_client-0.1.0/yertle_client/models/http_validation_error.py +79 -0
  174. yertle_client-0.1.0/yertle_client/models/invite_accept_response.py +78 -0
  175. yertle_client-0.1.0/yertle_client/models/invite_link_details_response.py +72 -0
  176. yertle_client-0.1.0/yertle_client/models/invite_link_details_response_role.py +9 -0
  177. yertle_client-0.1.0/yertle_client/models/invite_link_list_response.py +76 -0
  178. yertle_client-0.1.0/yertle_client/models/invite_link_response.py +105 -0
  179. yertle_client-0.1.0/yertle_client/models/invite_link_response_role.py +9 -0
  180. yertle_client-0.1.0/yertle_client/models/list_pr_response.py +98 -0
  181. yertle_client-0.1.0/yertle_client/models/liveness_check_response.py +70 -0
  182. yertle_client-0.1.0/yertle_client/models/member_list_response.py +84 -0
  183. yertle_client-0.1.0/yertle_client/models/member_response.py +102 -0
  184. yertle_client-0.1.0/yertle_client/models/member_response_role.py +10 -0
  185. yertle_client-0.1.0/yertle_client/models/merge_pr_response.py +70 -0
  186. yertle_client-0.1.0/yertle_client/models/message_response.py +62 -0
  187. yertle_client-0.1.0/yertle_client/models/metadata.py +47 -0
  188. yertle_client-0.1.0/yertle_client/models/metric_datapoint.py +69 -0
  189. yertle_client-0.1.0/yertle_client/models/metric_result.py +99 -0
  190. yertle_client-0.1.0/yertle_client/models/metrics_response.py +128 -0
  191. yertle_client-0.1.0/yertle_client/models/node.py +47 -0
  192. yertle_client-0.1.0/yertle_client/models/node_canvas_state_response.py +53 -0
  193. yertle_client-0.1.0/yertle_client/models/node_complete_state_response.py +330 -0
  194. yertle_client-0.1.0/yertle_client/models/node_complete_state_response_child_nodes_item.py +47 -0
  195. yertle_client-0.1.0/yertle_client/models/node_complete_state_response_connections_item.py +47 -0
  196. yertle_client-0.1.0/yertle_client/models/node_complete_state_response_egress_connections_item.py +47 -0
  197. yertle_client-0.1.0/yertle_client/models/node_complete_state_response_ingress_connections_item.py +47 -0
  198. yertle_client-0.1.0/yertle_client/models/node_complete_state_response_parent_nodes_item.py +47 -0
  199. yertle_client-0.1.0/yertle_client/models/node_complete_state_response_tags.py +47 -0
  200. yertle_client-0.1.0/yertle_client/models/node_complete_state_response_visual_properties_item.py +47 -0
  201. yertle_client-0.1.0/yertle_client/models/node_list_response.py +100 -0
  202. yertle_client-0.1.0/yertle_client/models/node_response.py +282 -0
  203. yertle_client-0.1.0/yertle_client/models/node_response_tags_type_0.py +47 -0
  204. yertle_client-0.1.0/yertle_client/models/node_search_filters.py +423 -0
  205. yertle_client-0.1.0/yertle_client/models/node_search_filters_tag_match_mode_type_0.py +9 -0
  206. yertle_client-0.1.0/yertle_client/models/node_search_filters_tags_type_0.py +47 -0
  207. yertle_client-0.1.0/yertle_client/models/notify_new_signup_response.py +64 -0
  208. yertle_client-0.1.0/yertle_client/models/notify_new_signup_response_status.py +9 -0
  209. yertle_client-0.1.0/yertle_client/models/org_graph_response.py +132 -0
  210. yertle_client-0.1.0/yertle_client/models/org_integration_list_response.py +76 -0
  211. yertle_client-0.1.0/yertle_client/models/org_integration_response.py +201 -0
  212. yertle_client-0.1.0/yertle_client/models/organization_list_response.py +84 -0
  213. yertle_client-0.1.0/yertle_client/models/organization_response.py +237 -0
  214. yertle_client-0.1.0/yertle_client/models/organization_response_role_type_0.py +10 -0
  215. yertle_client-0.1.0/yertle_client/models/pr_detail_response.py +68 -0
  216. yertle_client-0.1.0/yertle_client/models/pull_request_response.py +401 -0
  217. yertle_client-0.1.0/yertle_client/models/push_state_request.py +91 -0
  218. yertle_client-0.1.0/yertle_client/models/push_state_response.py +184 -0
  219. yertle_client-0.1.0/yertle_client/models/push_state_response_connection_id_mappings_type_0.py +47 -0
  220. yertle_client-0.1.0/yertle_client/models/readiness_check_response.py +86 -0
  221. yertle_client-0.1.0/yertle_client/models/refresh_token_request.py +62 -0
  222. yertle_client-0.1.0/yertle_client/models/refresh_token_response.py +78 -0
  223. yertle_client-0.1.0/yertle_client/models/resource_check_result.py +131 -0
  224. yertle_client-0.1.0/yertle_client/models/resource_description.py +151 -0
  225. yertle_client-0.1.0/yertle_client/models/resource_description_tags.py +47 -0
  226. yertle_client-0.1.0/yertle_client/models/retrieval_scope_request.py +143 -0
  227. yertle_client-0.1.0/yertle_client/models/retrieval_scope_request_tag_filters_type_0.py +47 -0
  228. yertle_client-0.1.0/yertle_client/models/retrieve_request.py +186 -0
  229. yertle_client-0.1.0/yertle_client/models/retrieve_request_expansion_depth_type_0.py +11 -0
  230. yertle_client-0.1.0/yertle_client/models/retrieve_response.py +120 -0
  231. yertle_client-0.1.0/yertle_client/models/save_installation_request.py +83 -0
  232. yertle_client-0.1.0/yertle_client/models/services.py +47 -0
  233. yertle_client-0.1.0/yertle_client/models/sign_in_request.py +70 -0
  234. yertle_client-0.1.0/yertle_client/models/sign_in_response.py +129 -0
  235. yertle_client-0.1.0/yertle_client/models/sign_in_response_user.py +47 -0
  236. yertle_client-0.1.0/yertle_client/models/sign_up_request.py +92 -0
  237. yertle_client-0.1.0/yertle_client/models/sign_up_response.py +119 -0
  238. yertle_client-0.1.0/yertle_client/models/sign_up_response_user.py +47 -0
  239. yertle_client-0.1.0/yertle_client/models/state.py +47 -0
  240. yertle_client-0.1.0/yertle_client/models/subgraph_connection.py +125 -0
  241. yertle_client-0.1.0/yertle_client/models/subgraph_match.py +98 -0
  242. yertle_client-0.1.0/yertle_client/models/subgraph_match_match_reason.py +10 -0
  243. yertle_client-0.1.0/yertle_client/models/subgraph_node.py +156 -0
  244. yertle_client-0.1.0/yertle_client/models/subgraph_node_tags.py +47 -0
  245. yertle_client-0.1.0/yertle_client/models/token_list_item.py +179 -0
  246. yertle_client-0.1.0/yertle_client/models/token_list_response.py +84 -0
  247. yertle_client-0.1.0/yertle_client/models/token_request.py +62 -0
  248. yertle_client-0.1.0/yertle_client/models/token_response.py +97 -0
  249. yertle_client-0.1.0/yertle_client/models/update_org_settings_request.py +109 -0
  250. yertle_client-0.1.0/yertle_client/models/update_org_settings_request_invite_mode_type_0.py +9 -0
  251. yertle_client-0.1.0/yertle_client/models/update_organization_request.py +94 -0
  252. yertle_client-0.1.0/yertle_client/models/update_settings_response.py +98 -0
  253. yertle_client-0.1.0/yertle_client/models/validation_error.py +123 -0
  254. yertle_client-0.1.0/yertle_client/models/verify_token_request.py +62 -0
  255. yertle_client-0.1.0/yertle_client/models/verify_token_response.py +126 -0
  256. yertle_client-0.1.0/yertle_client/models/verify_token_response_user_type_0.py +47 -0
  257. yertle_client-0.1.0/yertle_client/types.py +54 -0
@@ -0,0 +1,238 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+ *.pem
9
+
10
+ # Distribution / packaging
11
+ .Python
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+
30
+ .claude/worktrees/
31
+ .claude/launch.json
32
+ .claude/next-worktree-port
33
+
34
+ # PyInstaller
35
+ # Usually these files are written by a python script from a template
36
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
37
+ *.manifest
38
+ *.spec
39
+
40
+ # Installer logs
41
+ pip-log.txt
42
+ pip-delete-this-directory.txt
43
+
44
+ # Unit test / coverage reports
45
+ htmlcov/
46
+ .tox/
47
+ .nox/
48
+ .coverage
49
+ .coverage.*
50
+ .cache
51
+ nosetests.xml
52
+ coverage.xml
53
+ *.cover
54
+ *.py,cover
55
+ .hypothesis/
56
+ .pytest_cache/
57
+ cover/
58
+
59
+ # Translations
60
+ *.mo
61
+ *.pot
62
+
63
+ # Django stuff:
64
+ *.log
65
+ local_settings.py
66
+ db.sqlite3
67
+ db.sqlite3-journal
68
+
69
+ # Flask stuff:
70
+ instance/
71
+ .webassets-cache
72
+
73
+ # Scrapy stuff:
74
+ .scrapy
75
+
76
+ # Sphinx documentation
77
+ docs/_build/
78
+
79
+ # PyBuilder
80
+ .pybuilder/
81
+ target/
82
+
83
+ # Jupyter Notebook
84
+ .ipynb_checkpoints
85
+
86
+ # IPython
87
+ profile_default/
88
+ ipython_config.py
89
+
90
+ # pyenv
91
+ # For a library or package, you might want to ignore these files since the code is
92
+ # intended to run in multiple environments; otherwise, check them in:
93
+ # .python-version
94
+
95
+ # pipenv
96
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
97
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
98
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
99
+ # install all needed dependencies.
100
+ #Pipfile.lock
101
+
102
+ # UV
103
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
104
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
105
+ # commonly ignored for libraries.
106
+ #uv.lock
107
+
108
+ # poetry
109
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
110
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
111
+ # commonly ignored for libraries.
112
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
113
+ #poetry.lock
114
+
115
+ # pdm
116
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
117
+ #pdm.lock
118
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
119
+ # in version control.
120
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
121
+ .pdm.toml
122
+ .pdm-python
123
+ .pdm-build/
124
+
125
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
126
+ __pypackages__/
127
+
128
+ # Celery stuff
129
+ celerybeat-schedule
130
+ celerybeat.pid
131
+
132
+ # SageMath parsed files
133
+ *.sage.py
134
+
135
+ # Environments
136
+ .venv
137
+ env/
138
+ venv/
139
+ ENV/
140
+ env.bak/
141
+ venv.bak/
142
+
143
+ # Spyder project settings
144
+ .spyderproject
145
+ .spyproject
146
+
147
+ # Rope project settings
148
+ .ropeproject
149
+
150
+ # mkdocs documentation
151
+ /site
152
+
153
+ # mypy
154
+ .mypy_cache/
155
+ .dmypy.json
156
+ dmypy.json
157
+
158
+ # Pyre type checker
159
+ .pyre/
160
+
161
+ # pytype static type analyzer
162
+ .pytype/
163
+
164
+ # Cython debug symbols
165
+ cython_debug/
166
+
167
+ # PyCharm
168
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
169
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
170
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
171
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
172
+ #.idea/
173
+
174
+ # Ruff stuff:
175
+ .ruff_cache/
176
+
177
+ # PyPI configuration file
178
+ .pypirc
179
+ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
180
+
181
+ # dependencies
182
+ /node_modules
183
+ /.pnp
184
+ .pnp.js
185
+
186
+ # testing
187
+ /coverage
188
+
189
+ # production
190
+ /build
191
+
192
+ # misc
193
+ .DS_Store
194
+
195
+ # Environment files strategy:
196
+ # .env.dev, .env.prod - Generated by CLI (make update-env ENV=xxx), tracked in git
197
+ # .env.local - Local development only, not tracked in git
198
+ # .env* - Other temporary environment files, not tracked in git
199
+ .env
200
+ .env.local
201
+ .env.development.local
202
+ .env.test.local
203
+ .env.production.local
204
+ pretty.output
205
+
206
+
207
+ npm-debug.log*
208
+ yarn-debug.log*
209
+ yarn-error.log*
210
+
211
+ frontend/coverage/
212
+
213
+ frontend/node_modules/
214
+
215
+ backend/.aws-sam/
216
+
217
+
218
+ set_vars.sh
219
+
220
+ .obsidian/
221
+ backend/layers/aurora-db/python/
222
+ backend/layers/postgresql-db/python
223
+
224
+ secrets.sh
225
+
226
+ backend/local/users.json
227
+ backend/layers/postgresql-db/postgresql-layer.zip
228
+
229
+
230
+ # Supabase migrations are tracked in version control
231
+ # (No auto-generated files to ignore)
232
+
233
+ deployment/prod.yaml
234
+ backend/src/config/environments/prod.yaml
235
+
236
+ # Go CLI
237
+ cli/yertle
238
+ cli/dist/
@@ -0,0 +1,70 @@
1
+ Metadata-Version: 2.5
2
+ Name: yertle-client
3
+ Version: 0.1.0
4
+ Summary: Auto-generated Python client for the Yertle API.
5
+ Project-URL: Homepage, https://github.com/model-context/yertle-python
6
+ Project-URL: Repository, https://github.com/model-context/yertle-python
7
+ Author: Yertle
8
+ License: MIT
9
+ Keywords: api,client,yertle
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Requires-Python: >=3.11
18
+ Requires-Dist: attrs>=23.2
19
+ Requires-Dist: httpx<1,>=0.27
20
+ Requires-Dist: python-dateutil>=2.8
21
+ Description-Content-Type: text/markdown
22
+
23
+ # yertle-client
24
+
25
+ Auto-generated Python client for the [Yertle](https://yertle.com) API.
26
+
27
+ > **Status:** alpha (`0.0.1`). Generated with [`openapi-python-client`](https://github.com/openapi-generators/openapi-python-client) from the backend's OpenAPI spec.
28
+
29
+ ## Install
30
+
31
+ ```bash
32
+ # Not yet on PyPI. Install from this repo:
33
+ pip install -e clients/python/
34
+ ```
35
+
36
+ ## Usage
37
+
38
+ ```python
39
+ from yertle_client.auth import client_from_token
40
+ from yertle_client.api.organizations import list_organizations_orgs_get
41
+
42
+ client = client_from_token(
43
+ token="<JWT or PAT>",
44
+ base_url="https://api.yertle.com",
45
+ )
46
+ orgs = list_organizations_orgs_get.sync(client=client)
47
+ for org in orgs or []:
48
+ print(org.id, org.name)
49
+ ```
50
+
51
+ The package re-exports `Client` and `AuthenticatedClient` from the top level for direct use, but `client_from_token` is the recommended entry point.
52
+
53
+ ## Regeneration
54
+
55
+ ```bash
56
+ ./generate.sh # dump from local backend, then regen
57
+ OPENAPI_PATH=/path/to/spec.json ./generate.sh # use a local spec file
58
+ OPENAPI_URL=http://localhost:8000/openapi.json ./generate.sh # fetch from a running backend
59
+ ```
60
+
61
+ ## Layout
62
+
63
+ | Path | Source | Notes |
64
+ |---|---|---|
65
+ | `yertle_client/api/` | generated | one module per API route |
66
+ | `yertle_client/models/` | generated | request/response models (attrs-based) |
67
+ | `yertle_client/client.py` | generated | `Client` and `AuthenticatedClient` |
68
+ | `yertle_client/auth.py` | **hand-written** | `client_from_token` helper. May be wiped by regeneration — restore from git. |
69
+ | `openapi-config.yaml` | hand-written | codegen options (package name, naming) |
70
+ | `generate.sh` | hand-written | regeneration script |
@@ -0,0 +1,48 @@
1
+ # yertle-client
2
+
3
+ Auto-generated Python client for the [Yertle](https://yertle.com) API.
4
+
5
+ > **Status:** alpha (`0.0.1`). Generated with [`openapi-python-client`](https://github.com/openapi-generators/openapi-python-client) from the backend's OpenAPI spec.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ # Not yet on PyPI. Install from this repo:
11
+ pip install -e clients/python/
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```python
17
+ from yertle_client.auth import client_from_token
18
+ from yertle_client.api.organizations import list_organizations_orgs_get
19
+
20
+ client = client_from_token(
21
+ token="<JWT or PAT>",
22
+ base_url="https://api.yertle.com",
23
+ )
24
+ orgs = list_organizations_orgs_get.sync(client=client)
25
+ for org in orgs or []:
26
+ print(org.id, org.name)
27
+ ```
28
+
29
+ The package re-exports `Client` and `AuthenticatedClient` from the top level for direct use, but `client_from_token` is the recommended entry point.
30
+
31
+ ## Regeneration
32
+
33
+ ```bash
34
+ ./generate.sh # dump from local backend, then regen
35
+ OPENAPI_PATH=/path/to/spec.json ./generate.sh # use a local spec file
36
+ OPENAPI_URL=http://localhost:8000/openapi.json ./generate.sh # fetch from a running backend
37
+ ```
38
+
39
+ ## Layout
40
+
41
+ | Path | Source | Notes |
42
+ |---|---|---|
43
+ | `yertle_client/api/` | generated | one module per API route |
44
+ | `yertle_client/models/` | generated | request/response models (attrs-based) |
45
+ | `yertle_client/client.py` | generated | `Client` and `AuthenticatedClient` |
46
+ | `yertle_client/auth.py` | **hand-written** | `client_from_token` helper. May be wiped by regeneration — restore from git. |
47
+ | `openapi-config.yaml` | hand-written | codegen options (package name, naming) |
48
+ | `generate.sh` | hand-written | regeneration script |
@@ -0,0 +1,44 @@
1
+ #!/usr/bin/env bash
2
+ # Regenerate yertle_client/ from the backend's OpenAPI spec.
3
+ #
4
+ # Spec source priority:
5
+ # 1. $OPENAPI_URL — fetch from URL (e.g. a running backend or live API)
6
+ # 2. $OPENAPI_PATH — read from a local JSON file
7
+ # 3. (default) — dump from the local backend via Python import
8
+ #
9
+ # Hand-written files inside yertle_client/ (currently: auth.py) may be
10
+ # removed during regeneration. Restore them from git afterwards:
11
+ # git checkout yertle_client/auth.py
12
+
13
+ set -euo pipefail
14
+ cd "$(dirname "$0")"
15
+
16
+ if [[ -n "${OPENAPI_URL:-}" ]]; then
17
+ SRC_ARG="--url ${OPENAPI_URL}"
18
+ elif [[ -n "${OPENAPI_PATH:-}" ]]; then
19
+ SRC_ARG="--path ${OPENAPI_PATH}"
20
+ else
21
+ echo "→ Dumping OpenAPI spec from local backend..."
22
+ TMPSPEC="$(mktemp -t yertle-openapi.XXXXXX.json)"
23
+ # cd into backend/ (not repo root) so `from src.api.app import ...` resolves.
24
+ # `src` is a package inside backend/, not at the repo root.
25
+ pushd ../../backend > /dev/null
26
+ pipenv run python -c "
27
+ from src.api.app import create_app
28
+ import json, sys
29
+ json.dump(create_app().openapi(), sys.stdout)
30
+ " > "$TMPSPEC"
31
+ popd > /dev/null
32
+ SRC_ARG="--path ${TMPSPEC}"
33
+ fi
34
+
35
+ echo "→ Running openapi-python-client..."
36
+ uvx --from openapi-python-client openapi-python-client generate \
37
+ ${SRC_ARG} \
38
+ --output-path yertle_client \
39
+ --meta none \
40
+ --config openapi-config.yaml \
41
+ --overwrite
42
+
43
+ echo
44
+ echo "✓ Done. If auth.py was removed, restore it: git checkout yertle_client/auth.py"
@@ -0,0 +1,3 @@
1
+ project_name_override: "yertle-client"
2
+ package_name_override: "yertle_client"
3
+ use_path_prefixes_for_title_model_names: false
@@ -0,0 +1,34 @@
1
+ [project]
2
+ name = "yertle-client"
3
+ version = "0.1.0"
4
+ description = "Auto-generated Python client for the Yertle API."
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ license = { text = "MIT" }
8
+ authors = [{ name = "Yertle" }]
9
+ keywords = ["yertle", "api", "client"]
10
+ classifiers = [
11
+ "Development Status :: 3 - Alpha",
12
+ "Intended Audience :: Developers",
13
+ "License :: OSI Approved :: MIT License",
14
+ "Programming Language :: Python :: 3",
15
+ "Programming Language :: Python :: 3.11",
16
+ "Programming Language :: Python :: 3.12",
17
+ "Programming Language :: Python :: 3.13",
18
+ ]
19
+ dependencies = [
20
+ "httpx>=0.27,<1",
21
+ "attrs>=23.2",
22
+ "python-dateutil>=2.8",
23
+ ]
24
+
25
+ [project.urls]
26
+ Homepage = "https://github.com/model-context/yertle-python"
27
+ Repository = "https://github.com/model-context/yertle-python"
28
+
29
+ [build-system]
30
+ requires = ["hatchling"]
31
+ build-backend = "hatchling.build"
32
+
33
+ [tool.hatch.build.targets.wheel]
34
+ packages = ["yertle_client"]
@@ -0,0 +1,8 @@
1
+ """A client library for accessing Flow API"""
2
+
3
+ from .client import AuthenticatedClient, Client
4
+
5
+ __all__ = (
6
+ "AuthenticatedClient",
7
+ "Client",
8
+ )
@@ -0,0 +1 @@
1
+ """Contains methods for accessing the API"""
@@ -0,0 +1 @@
1
+ """Contains endpoint functions for accessing the API"""
@@ -0,0 +1,174 @@
1
+ from http import HTTPStatus
2
+ from typing import Any
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import AuthenticatedClient, Client
8
+ from ...models.http_validation_error import HTTPValidationError
9
+ from ...models.refresh_token_request import RefreshTokenRequest
10
+ from ...models.refresh_token_response import RefreshTokenResponse
11
+ from ...types import Response
12
+
13
+
14
+ def _get_kwargs(
15
+ *,
16
+ body: RefreshTokenRequest,
17
+ ) -> dict[str, Any]:
18
+ headers: dict[str, Any] = {}
19
+
20
+ _kwargs: dict[str, Any] = {
21
+ "method": "post",
22
+ "url": "/auth/refresh",
23
+ }
24
+
25
+ _kwargs["json"] = body.to_dict()
26
+
27
+ headers["Content-Type"] = "application/json"
28
+
29
+ _kwargs["headers"] = headers
30
+ return _kwargs
31
+
32
+
33
+ def _parse_response(
34
+ *, client: AuthenticatedClient | Client, response: httpx.Response
35
+ ) -> HTTPValidationError | RefreshTokenResponse | None:
36
+ if response.status_code == 200:
37
+ response_200 = RefreshTokenResponse.from_dict(response.json())
38
+
39
+ return response_200
40
+
41
+ if response.status_code == 422:
42
+ response_422 = HTTPValidationError.from_dict(response.json())
43
+
44
+ return response_422
45
+
46
+ if client.raise_on_unexpected_status:
47
+ raise errors.UnexpectedStatus(response.status_code, response.content)
48
+ else:
49
+ return None
50
+
51
+
52
+ def _build_response(
53
+ *, client: AuthenticatedClient | Client, response: httpx.Response
54
+ ) -> Response[HTTPValidationError | RefreshTokenResponse]:
55
+ return Response(
56
+ status_code=HTTPStatus(response.status_code),
57
+ content=response.content,
58
+ headers=response.headers,
59
+ parsed=_parse_response(client=client, response=response),
60
+ )
61
+
62
+
63
+ def sync_detailed(
64
+ *,
65
+ client: AuthenticatedClient | Client,
66
+ body: RefreshTokenRequest,
67
+ ) -> Response[HTTPValidationError | RefreshTokenResponse]:
68
+ """Refresh Token
69
+
70
+ Refresh an access token using a refresh token.
71
+
72
+ Args:
73
+ body (RefreshTokenRequest): Request model for token refresh.
74
+
75
+ Raises:
76
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
77
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
78
+
79
+ Returns:
80
+ Response[HTTPValidationError | RefreshTokenResponse]
81
+ """
82
+
83
+ kwargs = _get_kwargs(
84
+ body=body,
85
+ )
86
+
87
+ response = client.get_httpx_client().request(
88
+ **kwargs,
89
+ )
90
+
91
+ return _build_response(client=client, response=response)
92
+
93
+
94
+ def sync(
95
+ *,
96
+ client: AuthenticatedClient | Client,
97
+ body: RefreshTokenRequest,
98
+ ) -> HTTPValidationError | RefreshTokenResponse | None:
99
+ """Refresh Token
100
+
101
+ Refresh an access token using a refresh token.
102
+
103
+ Args:
104
+ body (RefreshTokenRequest): Request model for token refresh.
105
+
106
+ Raises:
107
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
108
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
109
+
110
+ Returns:
111
+ HTTPValidationError | RefreshTokenResponse
112
+ """
113
+
114
+ return sync_detailed(
115
+ client=client,
116
+ body=body,
117
+ ).parsed
118
+
119
+
120
+ async def asyncio_detailed(
121
+ *,
122
+ client: AuthenticatedClient | Client,
123
+ body: RefreshTokenRequest,
124
+ ) -> Response[HTTPValidationError | RefreshTokenResponse]:
125
+ """Refresh Token
126
+
127
+ Refresh an access token using a refresh token.
128
+
129
+ Args:
130
+ body (RefreshTokenRequest): Request model for token refresh.
131
+
132
+ Raises:
133
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
134
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
135
+
136
+ Returns:
137
+ Response[HTTPValidationError | RefreshTokenResponse]
138
+ """
139
+
140
+ kwargs = _get_kwargs(
141
+ body=body,
142
+ )
143
+
144
+ response = await client.get_async_httpx_client().request(**kwargs)
145
+
146
+ return _build_response(client=client, response=response)
147
+
148
+
149
+ async def asyncio(
150
+ *,
151
+ client: AuthenticatedClient | Client,
152
+ body: RefreshTokenRequest,
153
+ ) -> HTTPValidationError | RefreshTokenResponse | None:
154
+ """Refresh Token
155
+
156
+ Refresh an access token using a refresh token.
157
+
158
+ Args:
159
+ body (RefreshTokenRequest): Request model for token refresh.
160
+
161
+ Raises:
162
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
163
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
164
+
165
+ Returns:
166
+ HTTPValidationError | RefreshTokenResponse
167
+ """
168
+
169
+ return (
170
+ await asyncio_detailed(
171
+ client=client,
172
+ body=body,
173
+ )
174
+ ).parsed