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.
- checksums.yaml +4 -4
- data/lib/open_api_sdk/apiendpoints.rb +66 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/apis.rb +134 -109
- data/lib/{speakeasy_client_sdk → open_api_sdk}/artifacts.rb +129 -150
- data/lib/{speakeasy_client_sdk → open_api_sdk}/auth.rb +53 -46
- data/lib/{speakeasy_client_sdk → open_api_sdk}/embeds.rb +36 -29
- data/lib/{speakeasy_client_sdk → open_api_sdk}/events.rb +111 -54
- data/lib/{speakeasy_client_sdk → open_api_sdk}/github.rb +139 -127
- data/lib/{speakeasy_client_sdk → open_api_sdk}/metadata.rb +63 -48
- data/lib/{speakeasy_client_sdk/models/operations/checkaccess_request.rb → open_api_sdk/models/operations/checkgithubaccess_request.rb} +2 -2
- data/lib/{speakeasy_client_sdk/models/operations/deleteapi_response.rb → open_api_sdk/models/operations/checkgithubaccess_response.rb} +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/create_requestbody.rb +3 -3
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/create_response.rb +4 -4
- data/lib/open_api_sdk/models/operations/createfreetrial_response.rb +33 -0
- data/lib/open_api_sdk/models/operations/createorganization_response.rb +36 -0
- data/lib/open_api_sdk/models/operations/createworkspace_response.rb +36 -0
- data/lib/open_api_sdk/models/operations/createworkspacetoken_request.rb +27 -0
- data/lib/{speakeasy_client_sdk/models/operations/deleteschema_response.rb → open_api_sdk/models/operations/createworkspacetoken_response.rb} +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/deleteapi_request.rb +2 -2
- data/lib/open_api_sdk/models/operations/deleteapi_response.rb +33 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/deleteapiendpoint_request.rb +2 -2
- data/lib/open_api_sdk/models/operations/deleteapiendpoint_response.rb +33 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/deleteschema_request.rb +2 -2
- data/lib/open_api_sdk/models/operations/deleteschema_response.rb +33 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/deleteversionmetadata_request.rb +2 -2
- data/lib/{speakeasy_client_sdk/models/operations/triggeraction_response.rb → open_api_sdk/models/operations/deleteversionmetadata_response.rb} +4 -4
- data/lib/open_api_sdk/models/operations/deleteworkspacetoken_request.rb +27 -0
- data/lib/open_api_sdk/models/operations/deleteworkspacetoken_response.rb +33 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/downloadschema_request.rb +2 -2
- data/lib/open_api_sdk/models/operations/downloadschema_response.rb +39 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/downloadschemarevision_request.rb +2 -2
- data/lib/open_api_sdk/models/operations/downloadschemarevision_response.rb +39 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/file.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/findapiendpoint_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/findapiendpoint_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generateopenapispec_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generateopenapispec_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generateopenapispecforapiendpoint_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generateopenapispecforapiendpoint_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generatepostmancollection_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generatepostmancollection_response.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generatepostmancollectionforapiendpoint_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generatepostmancollectionforapiendpoint_response.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generaterequestpostmancollection_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/generaterequestpostmancollection_response.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getaccesstoken_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getaccesstoken_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getallapiendpoints_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getallapiendpoints_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getallapiversions_request.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getallapiversions_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getallforversionapiendpoints_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getallforversionapiendpoints_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getapiendpoint_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getapiendpoint_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getapis_request.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getapis_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getblob_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getblob_response.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getchangesreportsignedurl_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getchangesreportsignedurl_response.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getchangesreportsignedurl_signedaccess.rb +3 -3
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getembedaccesstoken_request.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getembedaccesstoken_response.rb +5 -5
- data/lib/{speakeasy_client_sdk/models/operations/getaction_request.rb → open_api_sdk/models/operations/getgithubaction_request.rb} +2 -2
- data/lib/{speakeasy_client_sdk/models/operations/getaction_response.rb → open_api_sdk/models/operations/getgithubaction_response.rb} +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getlintingreportsignedurl_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getlintingreportsignedurl_response.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getlintingreportsignedurl_signedaccess.rb +3 -3
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getmanifest_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getmanifest_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getnamespaces_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getorganization_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getorganization_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getorganizations_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getorganizationusage_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getrequestfromeventlog_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getrequestfromeventlog_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getrevisions_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getrevisions_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getschema_request.rb +2 -2
- data/lib/{speakeasy_client_sdk/models/operations/getschemarevision_response.rb → open_api_sdk/models/operations/getschema_response.rb} +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getschemadiff_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getschemadiff_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getschemarevision_request.rb +2 -2
- data/lib/{speakeasy_client_sdk/models/operations/getschema_response.rb → open_api_sdk/models/operations/getschemarevision_response.rb} +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getschemas_request.rb +2 -2
- data/lib/open_api_sdk/models/operations/getschemas_response.rb +36 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/gettags_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/gettags_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getuser_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getvalidembedaccesstokens_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getversionmetadata_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getversionmetadata_response.rb +5 -5
- data/lib/open_api_sdk/models/operations/getworkspace_request.rb +24 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspace_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspaceaccess_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspaceaccess_response.rb +4 -4
- data/lib/{speakeasy_client_sdk/models/operations/getoassummary_response.rb → open_api_sdk/models/operations/getworkspacebycontext_response.rb} +7 -7
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspaceeventsbytarget_request.rb +8 -8
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspaceeventsbytarget_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspacefeatureflags_request.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspacefeatureflags_response.rb +5 -5
- data/lib/open_api_sdk/models/operations/getworkspaces_response.rb +36 -0
- data/lib/{speakeasy_client_sdk/models/operations/getworkspace_request.rb → open_api_sdk/models/operations/getworkspacesettings_request.rb} +4 -4
- data/lib/open_api_sdk/models/operations/getworkspacesettings_response.rb +36 -0
- data/lib/open_api_sdk/models/operations/getworkspacetargets_request.rb +24 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/getworkspacetargets_response.rb +5 -5
- data/lib/{speakeasy_client_sdk/models/operations/getworkspacetargets_request.rb → open_api_sdk/models/operations/getworkspacetargetsdeprecated_request.rb} +7 -7
- data/lib/{speakeasy_client_sdk/models/operations/deleteversionmetadata_response.rb → open_api_sdk/models/operations/getworkspacetargetsdeprecated_response.rb} +9 -6
- data/lib/open_api_sdk/models/operations/getworkspaceteam_request.rb +24 -0
- data/lib/open_api_sdk/models/operations/getworkspaceteam_response.rb +36 -0
- data/lib/open_api_sdk/models/operations/getworkspacetokens_request.rb +24 -0
- data/lib/{speakeasy_client_sdk/models/operations/getschemas_response.rb → open_api_sdk/models/operations/getworkspacetokens_response.rb} +8 -8
- data/lib/{speakeasy_client_sdk/models/operations/fetchpublishingprs_request.rb → open_api_sdk/models/operations/githubcheckpublishingprs_request.rb} +2 -2
- data/lib/{speakeasy_client_sdk/models/operations/fetchpublishingprs_response.rb → open_api_sdk/models/operations/githubcheckpublishingprs_response.rb} +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/githubcheckpublishingsecrets_request.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/githubcheckpublishingsecrets_response.rb +5 -5
- data/lib/{speakeasy_client_sdk/models/operations/configurecodesamples_response.rb → open_api_sdk/models/operations/githubconfigurecodesamples_response.rb} +5 -5
- data/lib/open_api_sdk/models/operations/githubconfiguremintlifyrepo_response.rb +33 -0
- data/lib/open_api_sdk/models/operations/githubconfiguretarget_response.rb +33 -0
- data/lib/open_api_sdk/models/operations/githubstorepublishingsecrets_response.rb +33 -0
- data/lib/{speakeasy_client_sdk/models/operations/checkaccess_response.rb → open_api_sdk/models/operations/githubtriggeraction_response.rb} +4 -4
- data/lib/open_api_sdk/models/operations/grantuseraccesstoworkspace_request.rb +27 -0
- data/lib/{speakeasy_client_sdk/models/operations/configuremintlifyrepo_response.rb → open_api_sdk/models/operations/grantuseraccesstoworkspace_response.rb} +8 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/insertversionmetadata_request.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/insertversionmetadata_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/op.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/posttags_request.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/posttags_response.rb +4 -4
- data/lib/open_api_sdk/models/operations/postworkspaceevents_request.rb +27 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/postworkspaceevents_response.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/preflight_response.rb +5 -5
- data/lib/open_api_sdk/models/operations/queryeventlog_request.rb +24 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/queryeventlog_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/queryparam_op.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/registerschema_request.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/registerschema_requestbody.rb +4 -4
- data/lib/open_api_sdk/models/operations/registerschema_response.rb +33 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/revokeembedaccesstoken_request.rb +2 -2
- data/lib/{speakeasy_client_sdk/models/operations/registerschema_response.rb → open_api_sdk/models/operations/revokeembedaccesstoken_response.rb} +4 -4
- data/lib/open_api_sdk/models/operations/revokeuseraccesstoworkspace_request.rb +27 -0
- data/lib/open_api_sdk/models/operations/revokeuseraccesstoworkspace_response.rb +33 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/schema.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/searchworkspaceevents_request.rb +8 -8
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/searchworkspaceevents_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/suggest_request.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/suggest_response.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/suggestopenapi_request.rb +4 -4
- data/lib/open_api_sdk/models/operations/suggestopenapi_requestbody.rb +27 -0
- data/lib/{speakeasy_client_sdk/models/operations/suggestopenapiregistry_response.rb → open_api_sdk/models/operations/suggestopenapi_response.rb} +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/suggestopenapiregistry_request.rb +4 -4
- data/lib/{speakeasy_client_sdk/models/operations/suggestopenapi_response.rb → open_api_sdk/models/operations/suggestopenapiregistry_response.rb} +2 -2
- data/lib/open_api_sdk/models/operations/updateworkspacedetails_request.rb +27 -0
- data/lib/open_api_sdk/models/operations/updateworkspacedetails_response.rb +33 -0
- data/lib/open_api_sdk/models/operations/updateworkspacesettings_request.rb +27 -0
- data/lib/{speakeasy_client_sdk/models/operations/configuretarget_response.rb → open_api_sdk/models/operations/updateworkspacesettings_response.rb} +4 -4
- data/lib/{speakeasy_client_sdk/models/operations/registerschema_file.rb → open_api_sdk/models/operations/uploadreport_file.rb} +2 -2
- data/lib/open_api_sdk/models/operations/uploadreport_requestbody.rb +27 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/uploadreport_response.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/uploadreport_uploadedreport.rb +3 -3
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/upsertapi_request.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/upsertapi_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/upsertapiendpoint_request.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/upsertapiendpoint_response.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/operations/validateapikey_response.rb +5 -5
- data/lib/open_api_sdk/models/operations.rb +166 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/accessdetails.rb +6 -6
- data/lib/open_api_sdk/models/shared/accesstoken.rb +36 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/accesstoken_user.rb +8 -8
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/accounttype.rb +1 -1
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/addtags.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/annotations.rb +14 -14
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/api.rb +10 -10
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/api_input.rb +6 -6
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/apiendpoint.rb +13 -13
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/apiendpoint_input.rb +8 -8
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/apikeydetails.rb +11 -11
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/auth.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/boundedrequest.rb +17 -17
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/claims.rb +2 -2
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/clievent.rb +81 -81
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/diagnostic.rb +6 -6
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/embedaccesstokenresponse.rb +3 -3
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/embedtoken.rb +12 -12
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/error.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/featureflag.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/filter.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/filters.rb +7 -7
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/generate_bump_type.rb +1 -1
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/generateopenapispecdiff.rb +4 -4
- data/lib/open_api_sdk/models/shared/getnamespacesresponse.rb +24 -0
- data/lib/open_api_sdk/models/shared/getrevisionsresponse.rb +27 -0
- data/lib/open_api_sdk/models/shared/gettagsresponse.rb +24 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubconfigurecodesamplesrequest.rb +5 -5
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubconfigurecodesamplesresponse.rb +6 -6
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubconfiguremintlifyreporequest.rb +7 -7
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubconfiguretargetrequest.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubgetactionresponse.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubmissingpublishingsecretsresponse.rb +3 -3
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubpublishingprresponse.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubstorepublishingsecretsrequest.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/githubtriggeractionrequest.rb +8 -8
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/interactiontype.rb +1 -1
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/level.rb +1 -1
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/license.rb +3 -3
- data/lib/open_api_sdk/models/shared/manifest.rb +36 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/namespace.rb +6 -6
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/oasinfo.rb +8 -8
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/oasoperation.rb +9 -9
- data/lib/open_api_sdk/models/shared/oassummary.rb +27 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/openapi_diff_bump_type.rb +1 -1
- data/lib/open_api_sdk/models/shared/organization.rb +45 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/organizationusage.rb +9 -9
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/organizationusageresponse.rb +7 -7
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/preflightrequest.rb +3 -3
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/preflighttoken.rb +3 -3
- data/lib/open_api_sdk/models/shared/relationship.rb +27 -0
- data/lib/open_api_sdk/models/shared/report.rb +24 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/requestmetadata.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/revision.rb +8 -8
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/schema.rb +8 -8
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/schemadiff.rb +6 -6
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/security.rb +7 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/shorturl.rb +4 -4
- data/lib/open_api_sdk/models/shared/ssometadata.rb +27 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/suggestion_type.rb +1 -1
- data/lib/open_api_sdk/models/shared/suggestoptsold.rb +27 -0
- data/lib/open_api_sdk/models/shared/suggestrequestbody.rb +30 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/suggestrequestbody_suggestion_type.rb +1 -1
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/tag.rb +6 -6
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/targetsdk.rb +52 -40
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/type.rb +1 -1
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/unboundedrequest.rb +7 -7
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/user.rb +19 -19
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/v2descriptor.rb +7 -7
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/valuechange.rb +4 -4
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/versionmetadata.rb +8 -8
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/versionmetadata_input.rb +4 -4
- data/lib/open_api_sdk/models/shared/workflowdocument.rb +27 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/models/shared/workspace.rb +12 -12
- data/lib/open_api_sdk/models/shared/workspaceandorganization.rb +27 -0
- data/lib/open_api_sdk/models/shared/workspacefeatureflagresponse.rb +24 -0
- data/lib/open_api_sdk/models/shared/workspaceinviteresponse.rb +27 -0
- data/lib/open_api_sdk/models/shared/workspaces.rb +33 -0
- data/lib/open_api_sdk/models/shared/workspacesettings.rb +27 -0
- data/lib/open_api_sdk/models/shared/workspaceteamresponse.rb +27 -0
- data/lib/open_api_sdk/models/shared/workspacetoken.rb +48 -0
- data/lib/open_api_sdk/models/shared.rb +90 -0
- data/lib/{speakeasy_client_sdk → open_api_sdk}/organizations.rb +94 -48
- data/lib/{speakeasy_client_sdk → open_api_sdk}/reports.rb +50 -42
- data/lib/{speakeasy_client_sdk → open_api_sdk}/requests.rb +58 -49
- data/lib/{speakeasy_client_sdk → open_api_sdk}/schemas.rb +157 -119
- data/lib/{speakeasy_client_sdk → open_api_sdk}/sdkconfiguration.rb +7 -7
- data/lib/{speakeasy_client_sdk → open_api_sdk}/shorturls.rb +5 -5
- data/lib/{speakeasy_client_sdk/sdk.rb → open_api_sdk/speakeasyclientsdk.rb} +10 -9
- data/lib/{speakeasy_client_sdk/apiendpoints.rb → open_api_sdk/speakeasyclientsdk_apiendpoints.rb} +138 -145
- data/lib/{speakeasy_client_sdk → open_api_sdk}/suggest.rb +38 -21
- data/lib/{speakeasy_client_sdk → open_api_sdk}/utils/metadata_fields.rb +1 -1
- data/lib/{speakeasy_client_sdk → open_api_sdk}/utils/utils.rb +1 -1
- data/lib/open_api_sdk/workspaces.rb +654 -0
- data/lib/speakeasy_client_sdk_ruby.rb +24 -23
- metadata +263 -233
- data/lib/speakeasy_client_sdk/models/operations/createfreetrial_response.rb +0 -33
- data/lib/speakeasy_client_sdk/models/operations/deleteapiendpoint_response.rb +0 -33
- data/lib/speakeasy_client_sdk/models/operations/downloadschema_response.rb +0 -39
- data/lib/speakeasy_client_sdk/models/operations/downloadschemarevision_response.rb +0 -39
- data/lib/speakeasy_client_sdk/models/operations/getoassummary_request.rb +0 -27
- data/lib/speakeasy_client_sdk/models/operations/githubstorepublishingsecrets_response.rb +0 -33
- data/lib/speakeasy_client_sdk/models/operations/postworkspaceevents_request.rb +0 -27
- data/lib/speakeasy_client_sdk/models/operations/queryeventlog_request.rb +0 -24
- data/lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb +0 -33
- data/lib/speakeasy_client_sdk/models/operations/suggestopenapi_requestbody.rb +0 -27
- data/lib/speakeasy_client_sdk/models/operations/uploadreport_requestbody.rb +0 -27
- data/lib/speakeasy_client_sdk/models/operations.rb +0 -144
- data/lib/speakeasy_client_sdk/models/shared/accesstoken.rb +0 -36
- data/lib/speakeasy_client_sdk/models/shared/getnamespacesresponse.rb +0 -24
- data/lib/speakeasy_client_sdk/models/shared/getrevisionsresponse.rb +0 -27
- data/lib/speakeasy_client_sdk/models/shared/gettagsresponse.rb +0 -24
- data/lib/speakeasy_client_sdk/models/shared/manifest.rb +0 -36
- data/lib/speakeasy_client_sdk/models/shared/oassummary.rb +0 -27
- data/lib/speakeasy_client_sdk/models/shared/organization.rb +0 -45
- data/lib/speakeasy_client_sdk/models/shared/report.rb +0 -24
- data/lib/speakeasy_client_sdk/models/shared/suggestoptsold.rb +0 -27
- data/lib/speakeasy_client_sdk/models/shared/suggestrequestbody.rb +0 -30
- data/lib/speakeasy_client_sdk/models/shared/workflowdocument.rb +0 -27
- data/lib/speakeasy_client_sdk/models/shared/workspacefeatureflagresponse.rb +0 -24
- data/lib/speakeasy_client_sdk/models/shared/workspaces.rb +0 -33
- data/lib/speakeasy_client_sdk/models/shared.rb +0 -83
- data/lib/speakeasy_client_sdk/workspaces.rb +0 -105
- /data/lib/{speakeasy_client_sdk → open_api_sdk}/utils/t.rb +0 -0
@@ -1,36 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module SpeakeasyClientSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
# Returns the requested manifest file
|
11
|
-
class Manifest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
# Annotations
|
15
|
-
field :annotations, T.nilable(::SpeakeasyClientSDK::Shared::Annotations), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('annotations') } }
|
16
|
-
# Type of artifact
|
17
|
-
field :artifact_type, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('artifactType') } }
|
18
|
-
# List of V2 image layer information
|
19
|
-
field :layers, T.nilable(T::Array[::SpeakeasyClientSDK::Shared::V2Descriptor]), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('layers') } }
|
20
|
-
# Media type usually application/vnd.docker.distribution.manifest.v2+json if this is in the accept header
|
21
|
-
field :media_type, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('mediaType') } }
|
22
|
-
# Schema version
|
23
|
-
field :schema_version, T.nilable(::Integer), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('schemaVersion') } }
|
24
|
-
|
25
|
-
|
26
|
-
sig { params(annotations: T.nilable(::SpeakeasyClientSDK::Shared::Annotations), artifact_type: T.nilable(::String), layers: T.nilable(T::Array[::SpeakeasyClientSDK::Shared::V2Descriptor]), media_type: T.nilable(::String), schema_version: T.nilable(::Integer)).void }
|
27
|
-
def initialize(annotations: nil, artifact_type: nil, layers: nil, media_type: nil, schema_version: nil)
|
28
|
-
@annotations = annotations
|
29
|
-
@artifact_type = artifact_type
|
30
|
-
@layers = layers
|
31
|
-
@media_type = media_type
|
32
|
-
@schema_version = schema_version
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module SpeakeasyClientSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class OASSummary < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :info, ::SpeakeasyClientSDK::Shared::OASInfo, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('info') } }
|
16
|
-
|
17
|
-
field :operations, T::Array[::SpeakeasyClientSDK::Shared::OASOperation], { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('operations') } }
|
18
|
-
|
19
|
-
|
20
|
-
sig { params(info: ::SpeakeasyClientSDK::Shared::OASInfo, operations: T::Array[::SpeakeasyClientSDK::Shared::OASOperation]).void }
|
21
|
-
def initialize(info: nil, operations: nil)
|
22
|
-
@info = info
|
23
|
-
@operations = operations
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
@@ -1,45 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module SpeakeasyClientSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
# A speakeasy organization
|
11
|
-
class Organization < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :account_type, ::SpeakeasyClientSDK::Shared::AccountType, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('account_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::AccountType, false) } }
|
16
|
-
|
17
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('id') } }
|
18
|
-
|
19
|
-
field :name, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('name') } }
|
20
|
-
|
21
|
-
field :telemetry_disabled, T::Boolean, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('telemetry_disabled') } }
|
22
|
-
|
23
|
-
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
24
|
-
|
25
|
-
field :free_trial_expiry, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('free_trial_expiry'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
|
-
|
27
|
-
field :slug, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('slug') } }
|
28
|
-
|
29
|
-
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
30
|
-
|
31
|
-
|
32
|
-
sig { params(account_type: ::SpeakeasyClientSDK::Shared::AccountType, id: ::String, name: ::String, telemetry_disabled: T::Boolean, created_at: T.nilable(::DateTime), free_trial_expiry: T.nilable(::DateTime), slug: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
33
|
-
def initialize(account_type: nil, id: nil, name: nil, telemetry_disabled: nil, created_at: nil, free_trial_expiry: nil, slug: nil, updated_at: nil)
|
34
|
-
@account_type = account_type
|
35
|
-
@id = id
|
36
|
-
@name = name
|
37
|
-
@telemetry_disabled = telemetry_disabled
|
38
|
-
@created_at = created_at
|
39
|
-
@free_trial_expiry = free_trial_expiry
|
40
|
-
@slug = slug
|
41
|
-
@updated_at = updated_at
|
42
|
-
end
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module SpeakeasyClientSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class Report < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :type, T.nilable(::SpeakeasyClientSDK::Shared::Type), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::Type, true) } }
|
16
|
-
|
17
|
-
|
18
|
-
sig { params(type: T.nilable(::SpeakeasyClientSDK::Shared::Type)).void }
|
19
|
-
def initialize(type: nil)
|
20
|
-
@type = type
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module SpeakeasyClientSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class SuggestOptsOld < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :suggestion_type, ::SpeakeasyClientSDK::Shared::SuggestionType, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('suggestion_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::SuggestionType, false) } }
|
16
|
-
|
17
|
-
field :diagnostics, T.nilable(T::Array[::SpeakeasyClientSDK::Shared::Diagnostic]), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('diagnostics') } }
|
18
|
-
|
19
|
-
|
20
|
-
sig { params(suggestion_type: ::SpeakeasyClientSDK::Shared::SuggestionType, diagnostics: T.nilable(T::Array[::SpeakeasyClientSDK::Shared::Diagnostic])).void }
|
21
|
-
def initialize(suggestion_type: nil, diagnostics: nil)
|
22
|
-
@suggestion_type = suggestion_type
|
23
|
-
@diagnostics = diagnostics
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module SpeakeasyClientSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class SuggestRequestBody < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :diagnostics, T::Array[::SpeakeasyClientSDK::Shared::Diagnostic], { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('diagnostics') } }
|
16
|
-
|
17
|
-
field :oas_summary, ::SpeakeasyClientSDK::Shared::OASSummary, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('oas_summary') } }
|
18
|
-
|
19
|
-
field :suggestion_type, ::SpeakeasyClientSDK::Shared::SuggestRequestBodySuggestionType, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('suggestion_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::SuggestRequestBodySuggestionType, false) } }
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(diagnostics: T::Array[::SpeakeasyClientSDK::Shared::Diagnostic], oas_summary: ::SpeakeasyClientSDK::Shared::OASSummary, suggestion_type: ::SpeakeasyClientSDK::Shared::SuggestRequestBodySuggestionType).void }
|
23
|
-
def initialize(diagnostics: nil, oas_summary: nil, suggestion_type: nil)
|
24
|
-
@diagnostics = diagnostics
|
25
|
-
@oas_summary = oas_summary
|
26
|
-
@suggestion_type = suggestion_type
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module SpeakeasyClientSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
# A document referenced by a workflow
|
11
|
-
class WorkflowDocument < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :location, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('location') } }
|
16
|
-
|
17
|
-
field :auth, T.nilable(::SpeakeasyClientSDK::Shared::Auth), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('auth') } }
|
18
|
-
|
19
|
-
|
20
|
-
sig { params(location: ::String, auth: T.nilable(::SpeakeasyClientSDK::Shared::Auth)).void }
|
21
|
-
def initialize(location: nil, auth: nil)
|
22
|
-
@location = location
|
23
|
-
@auth = auth
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module SpeakeasyClientSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
# Workspace feature flag response
|
11
|
-
class WorkspaceFeatureFlagResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :feature_flags, T.nilable(T::Array[::SpeakeasyClientSDK::Shared::FeatureFlag]), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('feature_flags') } }
|
16
|
-
|
17
|
-
|
18
|
-
sig { params(feature_flags: T.nilable(T::Array[::SpeakeasyClientSDK::Shared::FeatureFlag])).void }
|
19
|
-
def initialize(feature_flags: nil)
|
20
|
-
@feature_flags = feature_flags
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
@@ -1,33 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module SpeakeasyClientSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class Workspaces < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :account_type, T.nilable(::SpeakeasyClientSDK::Shared::AccountType), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('account_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::AccountType, true) } }
|
16
|
-
|
17
|
-
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('id') } }
|
18
|
-
|
19
|
-
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('name') } }
|
20
|
-
|
21
|
-
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
|
-
|
23
|
-
|
24
|
-
sig { params(account_type: T.nilable(::SpeakeasyClientSDK::Shared::AccountType), id: T.nilable(::String), name: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
25
|
-
def initialize(account_type: nil, id: nil, name: nil, updated_at: nil)
|
26
|
-
@account_type = account_type
|
27
|
-
@id = id
|
28
|
-
@name = name
|
29
|
-
@updated_at = updated_at
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
@@ -1,83 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
module SpeakeasyClientSDK
|
7
|
-
module Shared
|
8
|
-
autoload :Error, 'speakeasy_client_sdk/models/shared/error.rb'
|
9
|
-
autoload :GenerateOpenApiSpecDiff, 'speakeasy_client_sdk/models/shared/generateopenapispecdiff.rb'
|
10
|
-
autoload :Api, 'speakeasy_client_sdk/models/shared/api.rb'
|
11
|
-
autoload :ApiInput, 'speakeasy_client_sdk/models/shared/api_input.rb'
|
12
|
-
autoload :ApiEndpoint, 'speakeasy_client_sdk/models/shared/apiendpoint.rb'
|
13
|
-
autoload :ApiEndpointInput, 'speakeasy_client_sdk/models/shared/apiendpoint_input.rb'
|
14
|
-
autoload :VersionMetadata, 'speakeasy_client_sdk/models/shared/versionmetadata.rb'
|
15
|
-
autoload :VersionMetadataInput, 'speakeasy_client_sdk/models/shared/versionmetadata_input.rb'
|
16
|
-
autoload :Schema, 'speakeasy_client_sdk/models/shared/schema.rb'
|
17
|
-
autoload :ValueChange, 'speakeasy_client_sdk/models/shared/valuechange.rb'
|
18
|
-
autoload :SchemaDiff, 'speakeasy_client_sdk/models/shared/schemadiff.rb'
|
19
|
-
autoload :Manifest, 'speakeasy_client_sdk/models/shared/manifest.rb'
|
20
|
-
autoload :V2Descriptor, 'speakeasy_client_sdk/models/shared/v2descriptor.rb'
|
21
|
-
autoload :Annotations, 'speakeasy_client_sdk/models/shared/annotations.rb'
|
22
|
-
autoload :GetNamespacesResponse, 'speakeasy_client_sdk/models/shared/getnamespacesresponse.rb'
|
23
|
-
autoload :Namespace, 'speakeasy_client_sdk/models/shared/namespace.rb'
|
24
|
-
autoload :OASSummary, 'speakeasy_client_sdk/models/shared/oassummary.rb'
|
25
|
-
autoload :OASOperation, 'speakeasy_client_sdk/models/shared/oasoperation.rb'
|
26
|
-
autoload :License, 'speakeasy_client_sdk/models/shared/license.rb'
|
27
|
-
autoload :OASInfo, 'speakeasy_client_sdk/models/shared/oasinfo.rb'
|
28
|
-
autoload :GetRevisionsResponse, 'speakeasy_client_sdk/models/shared/getrevisionsresponse.rb'
|
29
|
-
autoload :Revision, 'speakeasy_client_sdk/models/shared/revision.rb'
|
30
|
-
autoload :GetTagsResponse, 'speakeasy_client_sdk/models/shared/gettagsresponse.rb'
|
31
|
-
autoload :Tag, 'speakeasy_client_sdk/models/shared/tag.rb'
|
32
|
-
autoload :AddTags, 'speakeasy_client_sdk/models/shared/addtags.rb'
|
33
|
-
autoload :PreflightToken, 'speakeasy_client_sdk/models/shared/preflighttoken.rb'
|
34
|
-
autoload :PreflightRequest, 'speakeasy_client_sdk/models/shared/preflightrequest.rb'
|
35
|
-
autoload :Claims, 'speakeasy_client_sdk/models/shared/claims.rb'
|
36
|
-
autoload :AccessTokenUser, 'speakeasy_client_sdk/models/shared/accesstoken_user.rb'
|
37
|
-
autoload :Workspaces, 'speakeasy_client_sdk/models/shared/workspaces.rb'
|
38
|
-
autoload :AccessToken, 'speakeasy_client_sdk/models/shared/accesstoken.rb'
|
39
|
-
autoload :AccountType, 'speakeasy_client_sdk/models/shared/accounttype.rb'
|
40
|
-
autoload :FeatureFlag, 'speakeasy_client_sdk/models/shared/featureflag.rb'
|
41
|
-
autoload :User, 'speakeasy_client_sdk/models/shared/user.rb'
|
42
|
-
autoload :Level, 'speakeasy_client_sdk/models/shared/level.rb'
|
43
|
-
autoload :AccessDetails, 'speakeasy_client_sdk/models/shared/accessdetails.rb'
|
44
|
-
autoload :ApiKeyDetails, 'speakeasy_client_sdk/models/shared/apikeydetails.rb'
|
45
|
-
autoload :UnboundedRequest, 'speakeasy_client_sdk/models/shared/unboundedrequest.rb'
|
46
|
-
autoload :BoundedRequest, 'speakeasy_client_sdk/models/shared/boundedrequest.rb'
|
47
|
-
autoload :RequestMetadata, 'speakeasy_client_sdk/models/shared/requestmetadata.rb'
|
48
|
-
autoload :Filters, 'speakeasy_client_sdk/models/shared/filters.rb'
|
49
|
-
autoload :Filter, 'speakeasy_client_sdk/models/shared/filter.rb'
|
50
|
-
autoload :GithubConfigureCodeSamplesResponse, 'speakeasy_client_sdk/models/shared/githubconfigurecodesamplesresponse.rb'
|
51
|
-
autoload :Auth, 'speakeasy_client_sdk/models/shared/auth.rb'
|
52
|
-
autoload :WorkflowDocument, 'speakeasy_client_sdk/models/shared/workflowdocument.rb'
|
53
|
-
autoload :GithubConfigureCodeSamplesRequest, 'speakeasy_client_sdk/models/shared/githubconfigurecodesamplesrequest.rb'
|
54
|
-
autoload :GithubConfigureMintlifyRepoRequest, 'speakeasy_client_sdk/models/shared/githubconfiguremintlifyreporequest.rb'
|
55
|
-
autoload :GithubConfigureTargetRequest, 'speakeasy_client_sdk/models/shared/githubconfiguretargetrequest.rb'
|
56
|
-
autoload :GithubPublishingPRResponse, 'speakeasy_client_sdk/models/shared/githubpublishingprresponse.rb'
|
57
|
-
autoload :GithubGetActionResponse, 'speakeasy_client_sdk/models/shared/githubgetactionresponse.rb'
|
58
|
-
autoload :GithubMissingPublishingSecretsResponse, 'speakeasy_client_sdk/models/shared/githubmissingpublishingsecretsresponse.rb'
|
59
|
-
autoload :GithubStorePublishingSecretsRequest, 'speakeasy_client_sdk/models/shared/githubstorepublishingsecretsrequest.rb'
|
60
|
-
autoload :GithubTriggerActionRequest, 'speakeasy_client_sdk/models/shared/githubtriggeractionrequest.rb'
|
61
|
-
autoload :Organization, 'speakeasy_client_sdk/models/shared/organization.rb'
|
62
|
-
autoload :OrganizationUsageResponse, 'speakeasy_client_sdk/models/shared/organizationusageresponse.rb'
|
63
|
-
autoload :OrganizationUsage, 'speakeasy_client_sdk/models/shared/organizationusage.rb'
|
64
|
-
autoload :Type, 'speakeasy_client_sdk/models/shared/type.rb'
|
65
|
-
autoload :Report, 'speakeasy_client_sdk/models/shared/report.rb'
|
66
|
-
autoload :ShortURL, 'speakeasy_client_sdk/models/shared/shorturl.rb'
|
67
|
-
autoload :SuggestRequestBodySuggestionType, 'speakeasy_client_sdk/models/shared/suggestrequestbody_suggestion_type.rb'
|
68
|
-
autoload :SuggestRequestBody, 'speakeasy_client_sdk/models/shared/suggestrequestbody.rb'
|
69
|
-
autoload :Diagnostic, 'speakeasy_client_sdk/models/shared/diagnostic.rb'
|
70
|
-
autoload :SuggestionType, 'speakeasy_client_sdk/models/shared/suggestion_type.rb'
|
71
|
-
autoload :SuggestOptsOld, 'speakeasy_client_sdk/models/shared/suggestoptsold.rb'
|
72
|
-
autoload :EmbedAccessTokenResponse, 'speakeasy_client_sdk/models/shared/embedaccesstokenresponse.rb'
|
73
|
-
autoload :EmbedToken, 'speakeasy_client_sdk/models/shared/embedtoken.rb'
|
74
|
-
autoload :Workspace, 'speakeasy_client_sdk/models/shared/workspace.rb'
|
75
|
-
autoload :WorkspaceFeatureFlagResponse, 'speakeasy_client_sdk/models/shared/workspacefeatureflagresponse.rb'
|
76
|
-
autoload :GenerateBumpType, 'speakeasy_client_sdk/models/shared/generate_bump_type.rb'
|
77
|
-
autoload :OpenapiDiffBumpType, 'speakeasy_client_sdk/models/shared/openapi_diff_bump_type.rb'
|
78
|
-
autoload :CliEvent, 'speakeasy_client_sdk/models/shared/clievent.rb'
|
79
|
-
autoload :InteractionType, 'speakeasy_client_sdk/models/shared/interactiontype.rb'
|
80
|
-
autoload :TargetSDK, 'speakeasy_client_sdk/models/shared/targetsdk.rb'
|
81
|
-
autoload :Security, 'speakeasy_client_sdk/models/shared/security.rb'
|
82
|
-
end
|
83
|
-
end
|
@@ -1,105 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'faraday'
|
7
|
-
require 'faraday/multipart'
|
8
|
-
require 'sorbet-runtime'
|
9
|
-
|
10
|
-
module SpeakeasyClientSDK
|
11
|
-
extend T::Sig
|
12
|
-
class Workspaces
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
|
16
|
-
sig { params(sdk_config: SDKConfiguration).void }
|
17
|
-
def initialize(sdk_config)
|
18
|
-
@sdk_configuration = sdk_config
|
19
|
-
end
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::GetWorkspaceRequest)).returns(::SpeakeasyClientSDK::Operations::GetWorkspaceResponse) }
|
23
|
-
def get_workspace(request)
|
24
|
-
# get_workspace - Get workspace
|
25
|
-
# Get information about a particular workspace.
|
26
|
-
url, params = @sdk_configuration.get_server_details
|
27
|
-
base_url = Utils.template_url(url, params)
|
28
|
-
url = Utils.generate_url(
|
29
|
-
::SpeakeasyClientSDK::Operations::GetWorkspaceRequest,
|
30
|
-
base_url,
|
31
|
-
'/v1/workspace/{workspaceID}',
|
32
|
-
request,
|
33
|
-
@sdk_configuration.globals
|
34
|
-
)
|
35
|
-
headers = {}
|
36
|
-
headers['Accept'] = 'application/json'
|
37
|
-
headers['user-agent'] = @sdk_configuration.user_agent
|
38
|
-
|
39
|
-
r = @sdk_configuration.client.get(url) do |req|
|
40
|
-
req.headers = headers
|
41
|
-
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
42
|
-
end
|
43
|
-
|
44
|
-
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
45
|
-
|
46
|
-
res = ::SpeakeasyClientSDK::Operations::GetWorkspaceResponse.new(
|
47
|
-
status_code: r.status, content_type: content_type, raw_response: r
|
48
|
-
)
|
49
|
-
if r.status == 200
|
50
|
-
if Utils.match_content_type(content_type, 'application/json')
|
51
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Workspace)
|
52
|
-
res.workspace = out
|
53
|
-
end
|
54
|
-
else
|
55
|
-
|
56
|
-
if Utils.match_content_type(content_type, 'application/json')
|
57
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Error)
|
58
|
-
res.error = out
|
59
|
-
end
|
60
|
-
end
|
61
|
-
res
|
62
|
-
end
|
63
|
-
|
64
|
-
|
65
|
-
sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::GetWorkspaceFeatureFlagsRequest)).returns(::SpeakeasyClientSDK::Operations::GetWorkspaceFeatureFlagsResponse) }
|
66
|
-
def get_workspace_feature_flags(request)
|
67
|
-
# get_workspace_feature_flags - Get workspace feature flags
|
68
|
-
url, params = @sdk_configuration.get_server_details
|
69
|
-
base_url = Utils.template_url(url, params)
|
70
|
-
url = Utils.generate_url(
|
71
|
-
::SpeakeasyClientSDK::Operations::GetWorkspaceFeatureFlagsRequest,
|
72
|
-
base_url,
|
73
|
-
'/v1/workspace/{workspaceID}/feature_flags',
|
74
|
-
request,
|
75
|
-
@sdk_configuration.globals
|
76
|
-
)
|
77
|
-
headers = {}
|
78
|
-
headers['Accept'] = 'application/json'
|
79
|
-
headers['user-agent'] = @sdk_configuration.user_agent
|
80
|
-
|
81
|
-
r = @sdk_configuration.client.get(url) do |req|
|
82
|
-
req.headers = headers
|
83
|
-
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
84
|
-
end
|
85
|
-
|
86
|
-
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
87
|
-
|
88
|
-
res = ::SpeakeasyClientSDK::Operations::GetWorkspaceFeatureFlagsResponse.new(
|
89
|
-
status_code: r.status, content_type: content_type, raw_response: r
|
90
|
-
)
|
91
|
-
if r.status == 200
|
92
|
-
if Utils.match_content_type(content_type, 'application/json')
|
93
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::WorkspaceFeatureFlagResponse)
|
94
|
-
res.workspace_feature_flag_response = out
|
95
|
-
end
|
96
|
-
elsif r.status >= 500 && r.status < 600
|
97
|
-
if Utils.match_content_type(content_type, 'application/json')
|
98
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Error)
|
99
|
-
res.error = out
|
100
|
-
end
|
101
|
-
end
|
102
|
-
res
|
103
|
-
end
|
104
|
-
end
|
105
|
-
end
|
File without changes
|