speakeasy_client_sdk_ruby 4.2.22 → 4.2.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (291) hide show
  1. checksums.yaml +4 -4
  2. data/lib/open_api_sdk/apiendpoints.rb +66 -0
  3. data/lib/{speakeasy_client_sdk → open_api_sdk}/apis.rb +134 -109
  4. data/lib/{speakeasy_client_sdk → open_api_sdk}/artifacts.rb +129 -150
  5. data/lib/{speakeasy_client_sdk → open_api_sdk}/auth.rb +53 -46
  6. data/lib/{speakeasy_client_sdk → open_api_sdk}/embeds.rb +36 -29
  7. data/lib/{speakeasy_client_sdk → open_api_sdk}/events.rb +111 -54
  8. data/lib/{speakeasy_client_sdk → open_api_sdk}/github.rb +139 -127
  9. data/lib/{speakeasy_client_sdk → open_api_sdk}/metadata.rb +63 -48
  10. data/lib/{speakeasy_client_sdk/models/operations/checkaccess_request.rb → open_api_sdk/models/operations/checkgithubaccess_request.rb} +2 -2
  11. data/lib/{speakeasy_client_sdk/models/operations/deleteapi_response.rb → open_api_sdk/models/operations/checkgithubaccess_response.rb} +4 -4
  12. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/create_requestbody.rb +3 -3
  13. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/create_response.rb +4 -4
  14. data/lib/open_api_sdk/models/operations/createfreetrial_response.rb +33 -0
  15. data/lib/open_api_sdk/models/operations/createorganization_response.rb +36 -0
  16. data/lib/open_api_sdk/models/operations/createworkspace_response.rb +36 -0
  17. data/lib/open_api_sdk/models/operations/createworkspacetoken_request.rb +27 -0
  18. data/lib/{speakeasy_client_sdk/models/operations/deleteschema_response.rb → open_api_sdk/models/operations/createworkspacetoken_response.rb} +4 -4
  19. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/deleteapi_request.rb +2 -2
  20. data/lib/open_api_sdk/models/operations/deleteapi_response.rb +33 -0
  21. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/deleteapiendpoint_request.rb +2 -2
  22. data/lib/open_api_sdk/models/operations/deleteapiendpoint_response.rb +33 -0
  23. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/deleteschema_request.rb +2 -2
  24. data/lib/open_api_sdk/models/operations/deleteschema_response.rb +33 -0
  25. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/deleteversionmetadata_request.rb +2 -2
  26. data/lib/{speakeasy_client_sdk/models/operations/triggeraction_response.rb → open_api_sdk/models/operations/deleteversionmetadata_response.rb} +4 -4
  27. data/lib/open_api_sdk/models/operations/deleteworkspacetoken_request.rb +27 -0
  28. data/lib/open_api_sdk/models/operations/deleteworkspacetoken_response.rb +33 -0
  29. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/downloadschema_request.rb +2 -2
  30. data/lib/open_api_sdk/models/operations/downloadschema_response.rb +39 -0
  31. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/downloadschemarevision_request.rb +2 -2
  32. data/lib/open_api_sdk/models/operations/downloadschemarevision_response.rb +39 -0
  33. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/file.rb +2 -2
  34. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/findapiendpoint_request.rb +2 -2
  35. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/findapiendpoint_response.rb +5 -5
  36. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generateopenapispec_request.rb +2 -2
  37. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generateopenapispec_response.rb +5 -5
  38. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generateopenapispecforapiendpoint_request.rb +2 -2
  39. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generateopenapispecforapiendpoint_response.rb +5 -5
  40. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generatepostmancollection_request.rb +2 -2
  41. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generatepostmancollection_response.rb +4 -4
  42. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generatepostmancollectionforapiendpoint_request.rb +2 -2
  43. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generatepostmancollectionforapiendpoint_response.rb +4 -4
  44. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generaterequestpostmancollection_request.rb +2 -2
  45. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generaterequestpostmancollection_response.rb +4 -4
  46. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getaccesstoken_request.rb +2 -2
  47. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getaccesstoken_response.rb +5 -5
  48. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getallapiendpoints_request.rb +2 -2
  49. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getallapiendpoints_response.rb +5 -5
  50. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getallapiversions_request.rb +4 -4
  51. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getallapiversions_response.rb +5 -5
  52. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getallforversionapiendpoints_request.rb +2 -2
  53. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getallforversionapiendpoints_response.rb +5 -5
  54. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getapiendpoint_request.rb +2 -2
  55. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getapiendpoint_response.rb +5 -5
  56. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getapis_request.rb +4 -4
  57. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getapis_response.rb +5 -5
  58. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getblob_request.rb +2 -2
  59. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getblob_response.rb +4 -4
  60. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getchangesreportsignedurl_request.rb +2 -2
  61. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getchangesreportsignedurl_response.rb +4 -4
  62. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getchangesreportsignedurl_signedaccess.rb +3 -3
  63. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getembedaccesstoken_request.rb +4 -4
  64. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getembedaccesstoken_response.rb +5 -5
  65. data/lib/{speakeasy_client_sdk/models/operations/getaction_request.rb → open_api_sdk/models/operations/getgithubaction_request.rb} +2 -2
  66. data/lib/{speakeasy_client_sdk/models/operations/getaction_response.rb → open_api_sdk/models/operations/getgithubaction_response.rb} +5 -5
  67. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getlintingreportsignedurl_request.rb +2 -2
  68. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getlintingreportsignedurl_response.rb +4 -4
  69. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getlintingreportsignedurl_signedaccess.rb +3 -3
  70. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getmanifest_request.rb +2 -2
  71. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getmanifest_response.rb +5 -5
  72. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getnamespaces_response.rb +5 -5
  73. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getorganization_request.rb +2 -2
  74. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getorganization_response.rb +5 -5
  75. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getorganizations_response.rb +5 -5
  76. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getorganizationusage_response.rb +5 -5
  77. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getrequestfromeventlog_request.rb +2 -2
  78. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getrequestfromeventlog_response.rb +5 -5
  79. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getrevisions_request.rb +2 -2
  80. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getrevisions_response.rb +5 -5
  81. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getschema_request.rb +2 -2
  82. data/lib/{speakeasy_client_sdk/models/operations/getschemarevision_response.rb → open_api_sdk/models/operations/getschema_response.rb} +5 -5
  83. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getschemadiff_request.rb +2 -2
  84. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getschemadiff_response.rb +5 -5
  85. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getschemarevision_request.rb +2 -2
  86. data/lib/{speakeasy_client_sdk/models/operations/getschema_response.rb → open_api_sdk/models/operations/getschemarevision_response.rb} +5 -5
  87. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getschemas_request.rb +2 -2
  88. data/lib/open_api_sdk/models/operations/getschemas_response.rb +36 -0
  89. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/gettags_request.rb +2 -2
  90. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/gettags_response.rb +5 -5
  91. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getuser_response.rb +5 -5
  92. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getvalidembedaccesstokens_response.rb +5 -5
  93. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getversionmetadata_request.rb +2 -2
  94. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getversionmetadata_response.rb +5 -5
  95. data/lib/open_api_sdk/models/operations/getworkspace_request.rb +24 -0
  96. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspace_response.rb +5 -5
  97. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspaceaccess_request.rb +2 -2
  98. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspaceaccess_response.rb +4 -4
  99. data/lib/{speakeasy_client_sdk/models/operations/getoassummary_response.rb → open_api_sdk/models/operations/getworkspacebycontext_response.rb} +7 -7
  100. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspaceeventsbytarget_request.rb +8 -8
  101. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspaceeventsbytarget_response.rb +5 -5
  102. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspacefeatureflags_request.rb +4 -4
  103. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspacefeatureflags_response.rb +5 -5
  104. data/lib/open_api_sdk/models/operations/getworkspaces_response.rb +36 -0
  105. data/lib/{speakeasy_client_sdk/models/operations/getworkspace_request.rb → open_api_sdk/models/operations/getworkspacesettings_request.rb} +4 -4
  106. data/lib/open_api_sdk/models/operations/getworkspacesettings_response.rb +36 -0
  107. data/lib/open_api_sdk/models/operations/getworkspacetargets_request.rb +24 -0
  108. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspacetargets_response.rb +5 -5
  109. data/lib/{speakeasy_client_sdk/models/operations/getworkspacetargets_request.rb → open_api_sdk/models/operations/getworkspacetargetsdeprecated_request.rb} +7 -7
  110. data/lib/{speakeasy_client_sdk/models/operations/deleteversionmetadata_response.rb → open_api_sdk/models/operations/getworkspacetargetsdeprecated_response.rb} +9 -6
  111. data/lib/open_api_sdk/models/operations/getworkspaceteam_request.rb +24 -0
  112. data/lib/open_api_sdk/models/operations/getworkspaceteam_response.rb +36 -0
  113. data/lib/open_api_sdk/models/operations/getworkspacetokens_request.rb +24 -0
  114. data/lib/{speakeasy_client_sdk/models/operations/getschemas_response.rb → open_api_sdk/models/operations/getworkspacetokens_response.rb} +8 -8
  115. data/lib/{speakeasy_client_sdk/models/operations/fetchpublishingprs_request.rb → open_api_sdk/models/operations/githubcheckpublishingprs_request.rb} +2 -2
  116. data/lib/{speakeasy_client_sdk/models/operations/fetchpublishingprs_response.rb → open_api_sdk/models/operations/githubcheckpublishingprs_response.rb} +5 -5
  117. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/githubcheckpublishingsecrets_request.rb +2 -2
  118. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/githubcheckpublishingsecrets_response.rb +5 -5
  119. data/lib/{speakeasy_client_sdk/models/operations/configurecodesamples_response.rb → open_api_sdk/models/operations/githubconfigurecodesamples_response.rb} +5 -5
  120. data/lib/open_api_sdk/models/operations/githubconfiguremintlifyrepo_response.rb +33 -0
  121. data/lib/open_api_sdk/models/operations/githubconfiguretarget_response.rb +33 -0
  122. data/lib/open_api_sdk/models/operations/githubstorepublishingsecrets_response.rb +33 -0
  123. data/lib/{speakeasy_client_sdk/models/operations/checkaccess_response.rb → open_api_sdk/models/operations/githubtriggeraction_response.rb} +4 -4
  124. data/lib/open_api_sdk/models/operations/grantuseraccesstoworkspace_request.rb +27 -0
  125. data/lib/{speakeasy_client_sdk/models/operations/configuremintlifyrepo_response.rb → open_api_sdk/models/operations/grantuseraccesstoworkspace_response.rb} +8 -5
  126. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/insertversionmetadata_request.rb +4 -4
  127. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/insertversionmetadata_response.rb +5 -5
  128. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/op.rb +2 -2
  129. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/posttags_request.rb +4 -4
  130. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/posttags_response.rb +4 -4
  131. data/lib/open_api_sdk/models/operations/postworkspaceevents_request.rb +27 -0
  132. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/postworkspaceevents_response.rb +4 -4
  133. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/preflight_response.rb +5 -5
  134. data/lib/open_api_sdk/models/operations/queryeventlog_request.rb +24 -0
  135. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/queryeventlog_response.rb +5 -5
  136. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/queryparam_op.rb +2 -2
  137. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/registerschema_request.rb +4 -4
  138. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/registerschema_requestbody.rb +4 -4
  139. data/lib/open_api_sdk/models/operations/registerschema_response.rb +33 -0
  140. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/revokeembedaccesstoken_request.rb +2 -2
  141. data/lib/{speakeasy_client_sdk/models/operations/registerschema_response.rb → open_api_sdk/models/operations/revokeembedaccesstoken_response.rb} +4 -4
  142. data/lib/open_api_sdk/models/operations/revokeuseraccesstoworkspace_request.rb +27 -0
  143. data/lib/open_api_sdk/models/operations/revokeuseraccesstoworkspace_response.rb +33 -0
  144. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/schema.rb +2 -2
  145. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/searchworkspaceevents_request.rb +8 -8
  146. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/searchworkspaceevents_response.rb +5 -5
  147. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/suggest_request.rb +4 -4
  148. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/suggest_response.rb +2 -2
  149. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/suggestopenapi_request.rb +4 -4
  150. data/lib/open_api_sdk/models/operations/suggestopenapi_requestbody.rb +27 -0
  151. data/lib/{speakeasy_client_sdk/models/operations/suggestopenapiregistry_response.rb → open_api_sdk/models/operations/suggestopenapi_response.rb} +2 -2
  152. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/suggestopenapiregistry_request.rb +4 -4
  153. data/lib/{speakeasy_client_sdk/models/operations/suggestopenapi_response.rb → open_api_sdk/models/operations/suggestopenapiregistry_response.rb} +2 -2
  154. data/lib/open_api_sdk/models/operations/updateworkspacedetails_request.rb +27 -0
  155. data/lib/open_api_sdk/models/operations/updateworkspacedetails_response.rb +33 -0
  156. data/lib/open_api_sdk/models/operations/updateworkspacesettings_request.rb +27 -0
  157. data/lib/{speakeasy_client_sdk/models/operations/configuretarget_response.rb → open_api_sdk/models/operations/updateworkspacesettings_response.rb} +4 -4
  158. data/lib/{speakeasy_client_sdk/models/operations/registerschema_file.rb → open_api_sdk/models/operations/uploadreport_file.rb} +2 -2
  159. data/lib/open_api_sdk/models/operations/uploadreport_requestbody.rb +27 -0
  160. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/uploadreport_response.rb +4 -4
  161. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/uploadreport_uploadedreport.rb +3 -3
  162. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/upsertapi_request.rb +4 -4
  163. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/upsertapi_response.rb +5 -5
  164. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/upsertapiendpoint_request.rb +4 -4
  165. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/upsertapiendpoint_response.rb +5 -5
  166. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/validateapikey_response.rb +5 -5
  167. data/lib/open_api_sdk/models/operations.rb +166 -0
  168. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/accessdetails.rb +6 -6
  169. data/lib/open_api_sdk/models/shared/accesstoken.rb +36 -0
  170. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/accesstoken_user.rb +8 -8
  171. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/accounttype.rb +1 -1
  172. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/addtags.rb +4 -4
  173. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/annotations.rb +14 -14
  174. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/api.rb +10 -10
  175. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/api_input.rb +6 -6
  176. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/apiendpoint.rb +13 -13
  177. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/apiendpoint_input.rb +8 -8
  178. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/apikeydetails.rb +11 -11
  179. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/auth.rb +4 -4
  180. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/boundedrequest.rb +17 -17
  181. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/claims.rb +2 -2
  182. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/clievent.rb +81 -81
  183. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/diagnostic.rb +6 -6
  184. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/embedaccesstokenresponse.rb +3 -3
  185. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/embedtoken.rb +12 -12
  186. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/error.rb +4 -4
  187. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/featureflag.rb +4 -4
  188. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/filter.rb +5 -5
  189. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/filters.rb +7 -7
  190. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/generate_bump_type.rb +1 -1
  191. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/generateopenapispecdiff.rb +4 -4
  192. data/lib/open_api_sdk/models/shared/getnamespacesresponse.rb +24 -0
  193. data/lib/open_api_sdk/models/shared/getrevisionsresponse.rb +27 -0
  194. data/lib/open_api_sdk/models/shared/gettagsresponse.rb +24 -0
  195. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubconfigurecodesamplesrequest.rb +5 -5
  196. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubconfigurecodesamplesresponse.rb +6 -6
  197. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubconfiguremintlifyreporequest.rb +7 -7
  198. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubconfiguretargetrequest.rb +4 -4
  199. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubgetactionresponse.rb +4 -4
  200. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubmissingpublishingsecretsresponse.rb +3 -3
  201. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubpublishingprresponse.rb +4 -4
  202. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubstorepublishingsecretsrequest.rb +4 -4
  203. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubtriggeractionrequest.rb +8 -8
  204. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/interactiontype.rb +1 -1
  205. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/level.rb +1 -1
  206. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/license.rb +3 -3
  207. data/lib/open_api_sdk/models/shared/manifest.rb +36 -0
  208. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/namespace.rb +6 -6
  209. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/oasinfo.rb +8 -8
  210. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/oasoperation.rb +9 -9
  211. data/lib/open_api_sdk/models/shared/oassummary.rb +27 -0
  212. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/openapi_diff_bump_type.rb +1 -1
  213. data/lib/open_api_sdk/models/shared/organization.rb +45 -0
  214. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/organizationusage.rb +9 -9
  215. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/organizationusageresponse.rb +7 -7
  216. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/preflightrequest.rb +3 -3
  217. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/preflighttoken.rb +3 -3
  218. data/lib/open_api_sdk/models/shared/relationship.rb +27 -0
  219. data/lib/open_api_sdk/models/shared/report.rb +24 -0
  220. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/requestmetadata.rb +4 -4
  221. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/revision.rb +8 -8
  222. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/schema.rb +8 -8
  223. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/schemadiff.rb +6 -6
  224. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/security.rb +7 -4
  225. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/shorturl.rb +4 -4
  226. data/lib/open_api_sdk/models/shared/ssometadata.rb +27 -0
  227. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/suggestion_type.rb +1 -1
  228. data/lib/open_api_sdk/models/shared/suggestoptsold.rb +27 -0
  229. data/lib/open_api_sdk/models/shared/suggestrequestbody.rb +30 -0
  230. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/suggestrequestbody_suggestion_type.rb +1 -1
  231. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/tag.rb +6 -6
  232. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/targetsdk.rb +52 -40
  233. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/type.rb +1 -1
  234. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/unboundedrequest.rb +7 -7
  235. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/user.rb +19 -19
  236. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/v2descriptor.rb +7 -7
  237. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/valuechange.rb +4 -4
  238. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/versionmetadata.rb +8 -8
  239. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/versionmetadata_input.rb +4 -4
  240. data/lib/open_api_sdk/models/shared/workflowdocument.rb +27 -0
  241. data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/workspace.rb +12 -12
  242. data/lib/open_api_sdk/models/shared/workspaceandorganization.rb +27 -0
  243. data/lib/open_api_sdk/models/shared/workspacefeatureflagresponse.rb +24 -0
  244. data/lib/open_api_sdk/models/shared/workspaceinviteresponse.rb +27 -0
  245. data/lib/open_api_sdk/models/shared/workspaces.rb +33 -0
  246. data/lib/open_api_sdk/models/shared/workspacesettings.rb +27 -0
  247. data/lib/open_api_sdk/models/shared/workspaceteamresponse.rb +27 -0
  248. data/lib/open_api_sdk/models/shared/workspacetoken.rb +48 -0
  249. data/lib/open_api_sdk/models/shared.rb +90 -0
  250. data/lib/{speakeasy_client_sdk → open_api_sdk}/organizations.rb +94 -48
  251. data/lib/{speakeasy_client_sdk → open_api_sdk}/reports.rb +50 -42
  252. data/lib/{speakeasy_client_sdk → open_api_sdk}/requests.rb +58 -49
  253. data/lib/{speakeasy_client_sdk → open_api_sdk}/schemas.rb +157 -119
  254. data/lib/{speakeasy_client_sdk → open_api_sdk}/sdkconfiguration.rb +7 -7
  255. data/lib/{speakeasy_client_sdk → open_api_sdk}/shorturls.rb +5 -5
  256. data/lib/{speakeasy_client_sdk/sdk.rb → open_api_sdk/speakeasyclientsdk.rb} +10 -9
  257. data/lib/{speakeasy_client_sdk/apiendpoints.rb → open_api_sdk/speakeasyclientsdk_apiendpoints.rb} +138 -145
  258. data/lib/{speakeasy_client_sdk → open_api_sdk}/suggest.rb +38 -21
  259. data/lib/{speakeasy_client_sdk → open_api_sdk}/utils/metadata_fields.rb +1 -1
  260. data/lib/{speakeasy_client_sdk → open_api_sdk}/utils/utils.rb +1 -1
  261. data/lib/open_api_sdk/workspaces.rb +654 -0
  262. data/lib/speakeasy_client_sdk_ruby.rb +24 -23
  263. metadata +263 -233
  264. data/lib/speakeasy_client_sdk/models/operations/createfreetrial_response.rb +0 -33
  265. data/lib/speakeasy_client_sdk/models/operations/deleteapiendpoint_response.rb +0 -33
  266. data/lib/speakeasy_client_sdk/models/operations/downloadschema_response.rb +0 -39
  267. data/lib/speakeasy_client_sdk/models/operations/downloadschemarevision_response.rb +0 -39
  268. data/lib/speakeasy_client_sdk/models/operations/getoassummary_request.rb +0 -27
  269. data/lib/speakeasy_client_sdk/models/operations/githubstorepublishingsecrets_response.rb +0 -33
  270. data/lib/speakeasy_client_sdk/models/operations/postworkspaceevents_request.rb +0 -27
  271. data/lib/speakeasy_client_sdk/models/operations/queryeventlog_request.rb +0 -24
  272. data/lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb +0 -33
  273. data/lib/speakeasy_client_sdk/models/operations/suggestopenapi_requestbody.rb +0 -27
  274. data/lib/speakeasy_client_sdk/models/operations/uploadreport_requestbody.rb +0 -27
  275. data/lib/speakeasy_client_sdk/models/operations.rb +0 -144
  276. data/lib/speakeasy_client_sdk/models/shared/accesstoken.rb +0 -36
  277. data/lib/speakeasy_client_sdk/models/shared/getnamespacesresponse.rb +0 -24
  278. data/lib/speakeasy_client_sdk/models/shared/getrevisionsresponse.rb +0 -27
  279. data/lib/speakeasy_client_sdk/models/shared/gettagsresponse.rb +0 -24
  280. data/lib/speakeasy_client_sdk/models/shared/manifest.rb +0 -36
  281. data/lib/speakeasy_client_sdk/models/shared/oassummary.rb +0 -27
  282. data/lib/speakeasy_client_sdk/models/shared/organization.rb +0 -45
  283. data/lib/speakeasy_client_sdk/models/shared/report.rb +0 -24
  284. data/lib/speakeasy_client_sdk/models/shared/suggestoptsold.rb +0 -27
  285. data/lib/speakeasy_client_sdk/models/shared/suggestrequestbody.rb +0 -30
  286. data/lib/speakeasy_client_sdk/models/shared/workflowdocument.rb +0 -27
  287. data/lib/speakeasy_client_sdk/models/shared/workspacefeatureflagresponse.rb +0 -24
  288. data/lib/speakeasy_client_sdk/models/shared/workspaces.rb +0 -33
  289. data/lib/speakeasy_client_sdk/models/shared.rb +0 -83
  290. data/lib/speakeasy_client_sdk/workspaces.rb +0 -105
  291. /data/lib/{speakeasy_client_sdk → open_api_sdk}/utils/t.rb +0 -0
@@ -7,7 +7,7 @@ require 'faraday'
7
7
  require 'faraday/multipart'
8
8
  require 'sorbet-runtime'
9
9
 
10
- module SpeakeasyClientSDK
10
+ module OpenApiSDK
11
11
  extend T::Sig
12
12
  class Metadata
13
13
  extend T::Sig
@@ -19,15 +19,20 @@ module SpeakeasyClientSDK
19
19
  end
20
20
 
21
21
 
22
- sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::DeleteVersionMetadataRequest)).returns(::SpeakeasyClientSDK::Operations::DeleteVersionMetadataResponse) }
23
- def delete_version_metadata(request)
24
- # delete_version_metadata - Delete metadata for a particular apiID and versionID.
22
+ sig { params(api_id: ::String, version_id: ::String).returns(::OpenApiSDK::Operations::GetVersionMetadataResponse) }
23
+ def get(api_id, version_id)
24
+ # get - Get all metadata for a particular apiID and versionID.
25
+ request = ::OpenApiSDK::Operations::GetVersionMetadataRequest.new(
26
+
27
+ api_id: api_id,
28
+ version_id: version_id
29
+ )
25
30
  url, params = @sdk_configuration.get_server_details
26
31
  base_url = Utils.template_url(url, params)
27
32
  url = Utils.generate_url(
28
- ::SpeakeasyClientSDK::Operations::DeleteVersionMetadataRequest,
33
+ ::OpenApiSDK::Operations::GetVersionMetadataRequest,
29
34
  base_url,
30
- '/v1/apis/{apiID}/version/{versionID}/metadata/{metaKey}/{metaValue}',
35
+ '/v1/apis/{apiID}/version/{versionID}/metadata',
31
36
  request,
32
37
  @sdk_configuration.globals
33
38
  )
@@ -35,21 +40,24 @@ module SpeakeasyClientSDK
35
40
  headers['Accept'] = 'application/json'
36
41
  headers['user-agent'] = @sdk_configuration.user_agent
37
42
 
38
- r = @sdk_configuration.client.delete(url) do |req|
43
+ r = @sdk_configuration.client.get(url) do |req|
39
44
  req.headers = headers
40
45
  Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
41
46
  end
42
47
 
43
48
  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
44
49
 
45
- res = ::SpeakeasyClientSDK::Operations::DeleteVersionMetadataResponse.new(
50
+ res = ::OpenApiSDK::Operations::GetVersionMetadataResponse.new(
46
51
  status_code: r.status, content_type: content_type, raw_response: r
47
52
  )
48
- if r.status == 200
49
- else
50
-
53
+ if r.status >= 200 && r.status < 300
51
54
  if Utils.match_content_type(content_type, 'application/json')
52
- out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Error)
55
+ out = Utils.unmarshal_complex(r.env.response_body, T::Array[::OpenApiSDK::Shared::VersionMetadata])
56
+ res.version_metadata = out
57
+ end
58
+ elsif r.status >= 400 && r.status < 500
59
+ if Utils.match_content_type(content_type, 'application/json')
60
+ out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Error)
53
61
  res.error = out
54
62
  end
55
63
  end
@@ -57,41 +65,56 @@ module SpeakeasyClientSDK
57
65
  end
58
66
 
59
67
 
60
- sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::GetVersionMetadataRequest)).returns(::SpeakeasyClientSDK::Operations::GetVersionMetadataResponse) }
61
- def get_version_metadata(request)
62
- # get_version_metadata - Get all metadata for a particular apiID and versionID.
68
+ sig { params(api_id: ::String, version_id: ::String, version_metadata: ::OpenApiSDK::Shared::VersionMetadataInput).returns(::OpenApiSDK::Operations::InsertVersionMetadataResponse) }
69
+ def insert_version(api_id, version_id, version_metadata)
70
+ # insert_version - Insert metadata for a particular apiID and versionID.
71
+ request = ::OpenApiSDK::Operations::InsertVersionMetadataRequest.new(
72
+
73
+ api_id: api_id,
74
+ version_id: version_id,
75
+ version_metadata: version_metadata
76
+ )
63
77
  url, params = @sdk_configuration.get_server_details
64
78
  base_url = Utils.template_url(url, params)
65
79
  url = Utils.generate_url(
66
- ::SpeakeasyClientSDK::Operations::GetVersionMetadataRequest,
80
+ ::OpenApiSDK::Operations::InsertVersionMetadataRequest,
67
81
  base_url,
68
82
  '/v1/apis/{apiID}/version/{versionID}/metadata',
69
83
  request,
70
84
  @sdk_configuration.globals
71
85
  )
72
86
  headers = {}
87
+ req_content_type, data, form = Utils.serialize_request_body(request, :version_metadata, :json)
88
+ headers['content-type'] = req_content_type
89
+ raise StandardError, 'request body is required' if data.nil? && form.nil?
73
90
  headers['Accept'] = 'application/json'
74
91
  headers['user-agent'] = @sdk_configuration.user_agent
75
92
 
76
- r = @sdk_configuration.client.get(url) do |req|
93
+ r = @sdk_configuration.client.post(url) do |req|
77
94
  req.headers = headers
78
95
  Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
96
+ if form
97
+ req.body = Utils.encode_form(form)
98
+ elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
99
+ req.body = URI.encode_www_form(data)
100
+ else
101
+ req.body = data
102
+ end
79
103
  end
80
104
 
81
105
  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
82
106
 
83
- res = ::SpeakeasyClientSDK::Operations::GetVersionMetadataResponse.new(
107
+ res = ::OpenApiSDK::Operations::InsertVersionMetadataResponse.new(
84
108
  status_code: r.status, content_type: content_type, raw_response: r
85
109
  )
86
- if r.status == 200
110
+ if r.status >= 200 && r.status < 300
87
111
  if Utils.match_content_type(content_type, 'application/json')
88
- out = Utils.unmarshal_complex(r.env.response_body, T::Array[::SpeakeasyClientSDK::Shared::VersionMetadata])
112
+ out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::VersionMetadata)
89
113
  res.version_metadata = out
90
114
  end
91
- else
92
-
115
+ elsif r.status >= 400 && r.status < 500
93
116
  if Utils.match_content_type(content_type, 'application/json')
94
- out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Error)
117
+ out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Error)
95
118
  res.error = out
96
119
  end
97
120
  end
@@ -99,51 +122,43 @@ module SpeakeasyClientSDK
99
122
  end
100
123
 
101
124
 
102
- sig { params(request: ::SpeakeasyClientSDK::Operations::InsertVersionMetadataRequest).returns(::SpeakeasyClientSDK::Operations::InsertVersionMetadataResponse) }
103
- def insert_version_metadata(request)
104
- # insert_version_metadata - Insert metadata for a particular apiID and versionID.
125
+ sig { params(api_id: ::String, version_id: ::String, meta_key: ::String, meta_value: ::String).returns(::OpenApiSDK::Operations::DeleteVersionMetadataResponse) }
126
+ def delete_version(api_id, version_id, meta_key, meta_value)
127
+ # delete_version - Delete metadata for a particular apiID and versionID.
128
+ request = ::OpenApiSDK::Operations::DeleteVersionMetadataRequest.new(
129
+
130
+ api_id: api_id,
131
+ version_id: version_id,
132
+ meta_key: meta_key,
133
+ meta_value: meta_value
134
+ )
105
135
  url, params = @sdk_configuration.get_server_details
106
136
  base_url = Utils.template_url(url, params)
107
137
  url = Utils.generate_url(
108
- ::SpeakeasyClientSDK::Operations::InsertVersionMetadataRequest,
138
+ ::OpenApiSDK::Operations::DeleteVersionMetadataRequest,
109
139
  base_url,
110
- '/v1/apis/{apiID}/version/{versionID}/metadata',
140
+ '/v1/apis/{apiID}/version/{versionID}/metadata/{metaKey}/{metaValue}',
111
141
  request,
112
142
  @sdk_configuration.globals
113
143
  )
114
144
  headers = {}
115
- req_content_type, data, form = Utils.serialize_request_body(request, :version_metadata, :json)
116
- headers['content-type'] = req_content_type
117
- raise StandardError, 'request body is required' if data.nil? && form.nil?
118
145
  headers['Accept'] = 'application/json'
119
146
  headers['user-agent'] = @sdk_configuration.user_agent
120
147
 
121
- r = @sdk_configuration.client.post(url) do |req|
148
+ r = @sdk_configuration.client.delete(url) do |req|
122
149
  req.headers = headers
123
150
  Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
124
- if form
125
- req.body = Utils.encode_form(form)
126
- elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
127
- req.body = URI.encode_www_form(data)
128
- else
129
- req.body = data
130
- end
131
151
  end
132
152
 
133
153
  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
134
154
 
135
- res = ::SpeakeasyClientSDK::Operations::InsertVersionMetadataResponse.new(
155
+ res = ::OpenApiSDK::Operations::DeleteVersionMetadataResponse.new(
136
156
  status_code: r.status, content_type: content_type, raw_response: r
137
157
  )
138
- if r.status == 200
139
- if Utils.match_content_type(content_type, 'application/json')
140
- out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::VersionMetadata)
141
- res.version_metadata = out
142
- end
143
- else
144
-
158
+ if r.status >= 200 && r.status < 300
159
+ elsif r.status >= 400 && r.status < 500
145
160
  if Utils.match_content_type(content_type, 'application/json')
146
- out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Error)
161
+ out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Error)
147
162
  res.error = out
148
163
  end
149
164
  end
@@ -4,11 +4,11 @@
4
4
  # frozen_string_literal: true
5
5
 
6
6
 
7
- module SpeakeasyClientSDK
7
+ module OpenApiSDK
8
8
  module Operations
9
9
 
10
10
 
11
- class CheckAccessRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
11
+ class CheckGithubAccessRequest < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
14
 
@@ -4,11 +4,11 @@
4
4
  # frozen_string_literal: true
5
5
 
6
6
 
7
- module SpeakeasyClientSDK
7
+ module OpenApiSDK
8
8
  module Operations
9
9
 
10
10
 
11
- class DeleteApiResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
11
+ class CheckGithubAccessResponse < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
14
  # HTTP response content type for this operation
@@ -18,10 +18,10 @@ module SpeakeasyClientSDK
18
18
  # HTTP response status code for this operation
19
19
  field :status_code, ::Integer
20
20
  # Default error response
21
- field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
21
+ field :error, T.nilable(::OpenApiSDK::Shared::Error)
22
22
 
23
23
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::SpeakeasyClientSDK::Shared::Error)).void }
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::OpenApiSDK::Shared::Error)).void }
25
25
  def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
26
26
  @content_type = content_type
27
27
  @raw_response = raw_response
@@ -4,15 +4,15 @@
4
4
  # frozen_string_literal: true
5
5
 
6
6
 
7
- module SpeakeasyClientSDK
7
+ module OpenApiSDK
8
8
  module Operations
9
9
 
10
10
 
11
- class CreateRequestBody < ::SpeakeasyClientSDK::Utils::FieldAugmented
11
+ class CreateRequestBody < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
14
  # URL to shorten
15
- field :url, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('url') } }
15
+ field :url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('url') } }
16
16
 
17
17
 
18
18
  sig { params(url: ::String).void }
@@ -4,11 +4,11 @@
4
4
  # frozen_string_literal: true
5
5
 
6
6
 
7
- module SpeakeasyClientSDK
7
+ module OpenApiSDK
8
8
  module Operations
9
9
 
10
10
 
11
- class CreateResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
11
+ class CreateResponse < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
14
  # HTTP response content type for this operation
@@ -18,10 +18,10 @@ module SpeakeasyClientSDK
18
18
  # HTTP response status code for this operation
19
19
  field :status_code, ::Integer
20
20
  # OK
21
- field :short_url, T.nilable(::SpeakeasyClientSDK::Shared::ShortURL)
21
+ field :short_url, T.nilable(::OpenApiSDK::Shared::ShortURL)
22
22
 
23
23
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, short_url: T.nilable(::SpeakeasyClientSDK::Shared::ShortURL)).void }
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, short_url: T.nilable(::OpenApiSDK::Shared::ShortURL)).void }
25
25
  def initialize(content_type: nil, raw_response: nil, status_code: nil, short_url: nil)
26
26
  @content_type = content_type
27
27
  @raw_response = raw_response
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module OpenApiSDK
8
+ module Operations
9
+
10
+
11
+ class CreateFreeTrialResponse < ::OpenApiSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # Default error response
21
+ field :error, T.nilable(::OpenApiSDK::Shared::Error)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::OpenApiSDK::Shared::Error)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @error = error
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module OpenApiSDK
8
+ module Operations
9
+
10
+
11
+ class CreateOrganizationResponse < ::OpenApiSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # Default error response
21
+ field :error, T.nilable(::OpenApiSDK::Shared::Error)
22
+ # OK
23
+ field :organization, T.nilable(::OpenApiSDK::Shared::Organization)
24
+
25
+
26
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::OpenApiSDK::Shared::Error), organization: T.nilable(::OpenApiSDK::Shared::Organization)).void }
27
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, organization: nil)
28
+ @content_type = content_type
29
+ @raw_response = raw_response
30
+ @status_code = status_code
31
+ @error = error
32
+ @organization = organization
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module OpenApiSDK
8
+ module Operations
9
+
10
+
11
+ class CreateWorkspaceResponse < ::OpenApiSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # Default error response
21
+ field :error, T.nilable(::OpenApiSDK::Shared::Error)
22
+ # OK
23
+ field :workspace, T.nilable(::OpenApiSDK::Shared::Workspace)
24
+
25
+
26
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::OpenApiSDK::Shared::Error), workspace: T.nilable(::OpenApiSDK::Shared::Workspace)).void }
27
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, workspace: nil)
28
+ @content_type = content_type
29
+ @raw_response = raw_response
30
+ @status_code = status_code
31
+ @error = error
32
+ @workspace = workspace
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,27 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module OpenApiSDK
8
+ module Operations
9
+
10
+
11
+ class CreateWorkspaceTokenRequest < ::OpenApiSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Unique identifier of the workspace.
15
+ field :workspace_id, ::String, { 'path_param': { 'field_name': 'workspace_id', 'style': 'simple', 'explode': false } }
16
+
17
+ field :workspace_token, ::OpenApiSDK::Shared::WorkspaceToken, { 'request': { 'media_type': 'application/json' } }
18
+
19
+
20
+ sig { params(workspace_id: ::String, workspace_token: ::OpenApiSDK::Shared::WorkspaceToken).void }
21
+ def initialize(workspace_id: nil, workspace_token: nil)
22
+ @workspace_id = workspace_id
23
+ @workspace_token = workspace_token
24
+ end
25
+ end
26
+ end
27
+ end
@@ -4,11 +4,11 @@
4
4
  # frozen_string_literal: true
5
5
 
6
6
 
7
- module SpeakeasyClientSDK
7
+ module OpenApiSDK
8
8
  module Operations
9
9
 
10
10
 
11
- class DeleteSchemaResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
11
+ class CreateWorkspaceTokenResponse < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
14
  # HTTP response content type for this operation
@@ -18,10 +18,10 @@ module SpeakeasyClientSDK
18
18
  # HTTP response status code for this operation
19
19
  field :status_code, ::Integer
20
20
  # Default error response
21
- field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
21
+ field :error, T.nilable(::OpenApiSDK::Shared::Error)
22
22
 
23
23
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::SpeakeasyClientSDK::Shared::Error)).void }
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::OpenApiSDK::Shared::Error)).void }
25
25
  def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
26
26
  @content_type = content_type
27
27
  @raw_response = raw_response
@@ -4,11 +4,11 @@
4
4
  # frozen_string_literal: true
5
5
 
6
6
 
7
- module SpeakeasyClientSDK
7
+ module OpenApiSDK
8
8
  module Operations
9
9
 
10
10
 
11
- class DeleteApiRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
11
+ class DeleteApiRequest < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
14
  # The ID of the Api to delete.
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module OpenApiSDK
8
+ module Operations
9
+
10
+
11
+ class DeleteApiResponse < ::OpenApiSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # Default error response
21
+ field :error, T.nilable(::OpenApiSDK::Shared::Error)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::OpenApiSDK::Shared::Error)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @error = error
30
+ end
31
+ end
32
+ end
33
+ end
@@ -4,11 +4,11 @@
4
4
  # frozen_string_literal: true
5
5
 
6
6
 
7
- module SpeakeasyClientSDK
7
+ module OpenApiSDK
8
8
  module Operations
9
9
 
10
10
 
11
- class DeleteApiEndpointRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
11
+ class DeleteApiEndpointRequest < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
14
  # The ID of the ApiEndpoint to delete.
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module OpenApiSDK
8
+ module Operations
9
+
10
+
11
+ class DeleteApiEndpointResponse < ::OpenApiSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # Default error response
21
+ field :error, T.nilable(::OpenApiSDK::Shared::Error)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::OpenApiSDK::Shared::Error)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @error = error
30
+ end
31
+ end
32
+ end
33
+ end
@@ -4,11 +4,11 @@
4
4
  # frozen_string_literal: true
5
5
 
6
6
 
7
- module SpeakeasyClientSDK
7
+ module OpenApiSDK
8
8
  module Operations
9
9
 
10
10
 
11
- class DeleteSchemaRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
11
+ class DeleteSchemaRequest < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
14
  # The ID of the Api to delete schemas for.
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module OpenApiSDK
8
+ module Operations
9
+
10
+
11
+ class DeleteSchemaResponse < ::OpenApiSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # Default error response
21
+ field :error, T.nilable(::OpenApiSDK::Shared::Error)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::OpenApiSDK::Shared::Error)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @error = error
30
+ end
31
+ end
32
+ end
33
+ end
@@ -4,11 +4,11 @@
4
4
  # frozen_string_literal: true
5
5
 
6
6
 
7
- module SpeakeasyClientSDK
7
+ module OpenApiSDK
8
8
  module Operations
9
9
 
10
10
 
11
- class DeleteVersionMetadataRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
11
+ class DeleteVersionMetadataRequest < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
14
  # The ID of the Api to delete metadata for.
@@ -4,11 +4,11 @@
4
4
  # frozen_string_literal: true
5
5
 
6
6
 
7
- module SpeakeasyClientSDK
7
+ module OpenApiSDK
8
8
  module Operations
9
9
 
10
10
 
11
- class TriggerActionResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
11
+ class DeleteVersionMetadataResponse < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
14
  # HTTP response content type for this operation
@@ -18,10 +18,10 @@ module SpeakeasyClientSDK
18
18
  # HTTP response status code for this operation
19
19
  field :status_code, ::Integer
20
20
  # Default error response
21
- field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
21
+ field :error, T.nilable(::OpenApiSDK::Shared::Error)
22
22
 
23
23
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::SpeakeasyClientSDK::Shared::Error)).void }
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::OpenApiSDK::Shared::Error)).void }
25
25
  def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
26
26
  @content_type = content_type
27
27
  @raw_response = raw_response