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
@@ -0,0 +1,166 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
module OpenApiSDK
|
7
|
+
module Operations
|
8
|
+
autoload :Op, 'open_api_sdk/models/operations/op.rb'
|
9
|
+
autoload :GetApisRequest, 'open_api_sdk/models/operations/getapis_request.rb'
|
10
|
+
autoload :GetApisResponse, 'open_api_sdk/models/operations/getapis_response.rb'
|
11
|
+
autoload :QueryParamOp, 'open_api_sdk/models/operations/queryparam_op.rb'
|
12
|
+
autoload :GetAllApiVersionsRequest, 'open_api_sdk/models/operations/getallapiversions_request.rb'
|
13
|
+
autoload :GetAllApiVersionsResponse, 'open_api_sdk/models/operations/getallapiversions_response.rb'
|
14
|
+
autoload :UpsertApiRequest, 'open_api_sdk/models/operations/upsertapi_request.rb'
|
15
|
+
autoload :UpsertApiResponse, 'open_api_sdk/models/operations/upsertapi_response.rb'
|
16
|
+
autoload :DeleteApiRequest, 'open_api_sdk/models/operations/deleteapi_request.rb'
|
17
|
+
autoload :DeleteApiResponse, 'open_api_sdk/models/operations/deleteapi_response.rb'
|
18
|
+
autoload :GenerateOpenApiSpecRequest, 'open_api_sdk/models/operations/generateopenapispec_request.rb'
|
19
|
+
autoload :GenerateOpenApiSpecResponse, 'open_api_sdk/models/operations/generateopenapispec_response.rb'
|
20
|
+
autoload :GeneratePostmanCollectionRequest, 'open_api_sdk/models/operations/generatepostmancollection_request.rb'
|
21
|
+
autoload :GeneratePostmanCollectionResponse, 'open_api_sdk/models/operations/generatepostmancollection_response.rb'
|
22
|
+
autoload :GetAllApiEndpointsRequest, 'open_api_sdk/models/operations/getallapiendpoints_request.rb'
|
23
|
+
autoload :GetAllApiEndpointsResponse, 'open_api_sdk/models/operations/getallapiendpoints_response.rb'
|
24
|
+
autoload :GetAllForVersionApiEndpointsRequest, 'open_api_sdk/models/operations/getallforversionapiendpoints_request.rb'
|
25
|
+
autoload :GetAllForVersionApiEndpointsResponse, 'open_api_sdk/models/operations/getallforversionapiendpoints_response.rb'
|
26
|
+
autoload :FindApiEndpointRequest, 'open_api_sdk/models/operations/findapiendpoint_request.rb'
|
27
|
+
autoload :FindApiEndpointResponse, 'open_api_sdk/models/operations/findapiendpoint_response.rb'
|
28
|
+
autoload :DeleteApiEndpointRequest, 'open_api_sdk/models/operations/deleteapiendpoint_request.rb'
|
29
|
+
autoload :DeleteApiEndpointResponse, 'open_api_sdk/models/operations/deleteapiendpoint_response.rb'
|
30
|
+
autoload :GetApiEndpointRequest, 'open_api_sdk/models/operations/getapiendpoint_request.rb'
|
31
|
+
autoload :GetApiEndpointResponse, 'open_api_sdk/models/operations/getapiendpoint_response.rb'
|
32
|
+
autoload :UpsertApiEndpointRequest, 'open_api_sdk/models/operations/upsertapiendpoint_request.rb'
|
33
|
+
autoload :UpsertApiEndpointResponse, 'open_api_sdk/models/operations/upsertapiendpoint_response.rb'
|
34
|
+
autoload :GenerateOpenApiSpecForApiEndpointRequest, 'open_api_sdk/models/operations/generateopenapispecforapiendpoint_request.rb'
|
35
|
+
autoload :GenerateOpenApiSpecForApiEndpointResponse, 'open_api_sdk/models/operations/generateopenapispecforapiendpoint_response.rb'
|
36
|
+
autoload :GeneratePostmanCollectionForApiEndpointRequest, 'open_api_sdk/models/operations/generatepostmancollectionforapiendpoint_request.rb'
|
37
|
+
autoload :GeneratePostmanCollectionForApiEndpointResponse, 'open_api_sdk/models/operations/generatepostmancollectionforapiendpoint_response.rb'
|
38
|
+
autoload :GetVersionMetadataRequest, 'open_api_sdk/models/operations/getversionmetadata_request.rb'
|
39
|
+
autoload :GetVersionMetadataResponse, 'open_api_sdk/models/operations/getversionmetadata_response.rb'
|
40
|
+
autoload :InsertVersionMetadataRequest, 'open_api_sdk/models/operations/insertversionmetadata_request.rb'
|
41
|
+
autoload :InsertVersionMetadataResponse, 'open_api_sdk/models/operations/insertversionmetadata_response.rb'
|
42
|
+
autoload :DeleteVersionMetadataRequest, 'open_api_sdk/models/operations/deleteversionmetadata_request.rb'
|
43
|
+
autoload :DeleteVersionMetadataResponse, 'open_api_sdk/models/operations/deleteversionmetadata_response.rb'
|
44
|
+
autoload :GetSchemaRequest, 'open_api_sdk/models/operations/getschema_request.rb'
|
45
|
+
autoload :GetSchemaResponse, 'open_api_sdk/models/operations/getschema_response.rb'
|
46
|
+
autoload :File, 'open_api_sdk/models/operations/file.rb'
|
47
|
+
autoload :RegisterSchemaRequestBody, 'open_api_sdk/models/operations/registerschema_requestbody.rb'
|
48
|
+
autoload :RegisterSchemaRequest, 'open_api_sdk/models/operations/registerschema_request.rb'
|
49
|
+
autoload :RegisterSchemaResponse, 'open_api_sdk/models/operations/registerschema_response.rb'
|
50
|
+
autoload :DownloadSchemaRequest, 'open_api_sdk/models/operations/downloadschema_request.rb'
|
51
|
+
autoload :DownloadSchemaResponse, 'open_api_sdk/models/operations/downloadschema_response.rb'
|
52
|
+
autoload :GetSchemaDiffRequest, 'open_api_sdk/models/operations/getschemadiff_request.rb'
|
53
|
+
autoload :GetSchemaDiffResponse, 'open_api_sdk/models/operations/getschemadiff_response.rb'
|
54
|
+
autoload :DeleteSchemaRequest, 'open_api_sdk/models/operations/deleteschema_request.rb'
|
55
|
+
autoload :DeleteSchemaResponse, 'open_api_sdk/models/operations/deleteschema_response.rb'
|
56
|
+
autoload :GetSchemaRevisionRequest, 'open_api_sdk/models/operations/getschemarevision_request.rb'
|
57
|
+
autoload :GetSchemaRevisionResponse, 'open_api_sdk/models/operations/getschemarevision_response.rb'
|
58
|
+
autoload :DownloadSchemaRevisionRequest, 'open_api_sdk/models/operations/downloadschemarevision_request.rb'
|
59
|
+
autoload :DownloadSchemaRevisionResponse, 'open_api_sdk/models/operations/downloadschemarevision_response.rb'
|
60
|
+
autoload :GetSchemasRequest, 'open_api_sdk/models/operations/getschemas_request.rb'
|
61
|
+
autoload :GetSchemasResponse, 'open_api_sdk/models/operations/getschemas_response.rb'
|
62
|
+
autoload :ValidateApiKeyResponse, 'open_api_sdk/models/operations/validateapikey_response.rb'
|
63
|
+
autoload :GetUserResponse, 'open_api_sdk/models/operations/getuser_response.rb'
|
64
|
+
autoload :GetAccessTokenRequest, 'open_api_sdk/models/operations/getaccesstoken_request.rb'
|
65
|
+
autoload :GetAccessTokenResponse, 'open_api_sdk/models/operations/getaccesstoken_response.rb'
|
66
|
+
autoload :GetWorkspaceAccessRequest, 'open_api_sdk/models/operations/getworkspaceaccess_request.rb'
|
67
|
+
autoload :GetWorkspaceAccessResponse, 'open_api_sdk/models/operations/getworkspaceaccess_response.rb'
|
68
|
+
autoload :QueryEventLogRequest, 'open_api_sdk/models/operations/queryeventlog_request.rb'
|
69
|
+
autoload :QueryEventLogResponse, 'open_api_sdk/models/operations/queryeventlog_response.rb'
|
70
|
+
autoload :GetRequestFromEventLogRequest, 'open_api_sdk/models/operations/getrequestfromeventlog_request.rb'
|
71
|
+
autoload :GetRequestFromEventLogResponse, 'open_api_sdk/models/operations/getrequestfromeventlog_response.rb'
|
72
|
+
autoload :GenerateRequestPostmanCollectionRequest, 'open_api_sdk/models/operations/generaterequestpostmancollection_request.rb'
|
73
|
+
autoload :GenerateRequestPostmanCollectionResponse, 'open_api_sdk/models/operations/generaterequestpostmancollection_response.rb'
|
74
|
+
autoload :CheckGithubAccessRequest, 'open_api_sdk/models/operations/checkgithubaccess_request.rb'
|
75
|
+
autoload :CheckGithubAccessResponse, 'open_api_sdk/models/operations/checkgithubaccess_response.rb'
|
76
|
+
autoload :GithubCheckPublishingPRsRequest, 'open_api_sdk/models/operations/githubcheckpublishingprs_request.rb'
|
77
|
+
autoload :GithubCheckPublishingPRsResponse, 'open_api_sdk/models/operations/githubcheckpublishingprs_response.rb'
|
78
|
+
autoload :GithubCheckPublishingSecretsRequest, 'open_api_sdk/models/operations/githubcheckpublishingsecrets_request.rb'
|
79
|
+
autoload :GithubCheckPublishingSecretsResponse, 'open_api_sdk/models/operations/githubcheckpublishingsecrets_response.rb'
|
80
|
+
autoload :GithubStorePublishingSecretsResponse, 'open_api_sdk/models/operations/githubstorepublishingsecrets_response.rb'
|
81
|
+
autoload :GithubConfigureCodeSamplesResponse, 'open_api_sdk/models/operations/githubconfigurecodesamples_response.rb'
|
82
|
+
autoload :GithubConfigureMintlifyRepoResponse, 'open_api_sdk/models/operations/githubconfiguremintlifyrepo_response.rb'
|
83
|
+
autoload :GithubConfigureTargetResponse, 'open_api_sdk/models/operations/githubconfiguretarget_response.rb'
|
84
|
+
autoload :GithubTriggerActionResponse, 'open_api_sdk/models/operations/githubtriggeraction_response.rb'
|
85
|
+
autoload :GetGitHubActionRequest, 'open_api_sdk/models/operations/getgithubaction_request.rb'
|
86
|
+
autoload :GetGitHubActionResponse, 'open_api_sdk/models/operations/getgithubaction_response.rb'
|
87
|
+
autoload :GetOrganizationsResponse, 'open_api_sdk/models/operations/getorganizations_response.rb'
|
88
|
+
autoload :CreateOrganizationResponse, 'open_api_sdk/models/operations/createorganization_response.rb'
|
89
|
+
autoload :GetOrganizationRequest, 'open_api_sdk/models/operations/getorganization_request.rb'
|
90
|
+
autoload :GetOrganizationResponse, 'open_api_sdk/models/operations/getorganization_response.rb'
|
91
|
+
autoload :CreateFreeTrialResponse, 'open_api_sdk/models/operations/createfreetrial_response.rb'
|
92
|
+
autoload :GetOrganizationUsageResponse, 'open_api_sdk/models/operations/getorganizationusage_response.rb'
|
93
|
+
autoload :GetEmbedAccessTokenRequest, 'open_api_sdk/models/operations/getembedaccesstoken_request.rb'
|
94
|
+
autoload :GetEmbedAccessTokenResponse, 'open_api_sdk/models/operations/getembedaccesstoken_response.rb'
|
95
|
+
autoload :GetValidEmbedAccessTokensResponse, 'open_api_sdk/models/operations/getvalidembedaccesstokens_response.rb'
|
96
|
+
autoload :RevokeEmbedAccessTokenRequest, 'open_api_sdk/models/operations/revokeembedaccesstoken_request.rb'
|
97
|
+
autoload :RevokeEmbedAccessTokenResponse, 'open_api_sdk/models/operations/revokeembedaccesstoken_response.rb'
|
98
|
+
autoload :GetWorkspacesResponse, 'open_api_sdk/models/operations/getworkspaces_response.rb'
|
99
|
+
autoload :GetWorkspaceByContextResponse, 'open_api_sdk/models/operations/getworkspacebycontext_response.rb'
|
100
|
+
autoload :CreateWorkspaceResponse, 'open_api_sdk/models/operations/createworkspace_response.rb'
|
101
|
+
autoload :GetWorkspaceRequest, 'open_api_sdk/models/operations/getworkspace_request.rb'
|
102
|
+
autoload :GetWorkspaceResponse, 'open_api_sdk/models/operations/getworkspace_response.rb'
|
103
|
+
autoload :UpdateWorkspaceDetailsRequest, 'open_api_sdk/models/operations/updateworkspacedetails_request.rb'
|
104
|
+
autoload :UpdateWorkspaceDetailsResponse, 'open_api_sdk/models/operations/updateworkspacedetails_response.rb'
|
105
|
+
autoload :GetWorkspaceSettingsRequest, 'open_api_sdk/models/operations/getworkspacesettings_request.rb'
|
106
|
+
autoload :GetWorkspaceSettingsResponse, 'open_api_sdk/models/operations/getworkspacesettings_response.rb'
|
107
|
+
autoload :UpdateWorkspaceSettingsRequest, 'open_api_sdk/models/operations/updateworkspacesettings_request.rb'
|
108
|
+
autoload :UpdateWorkspaceSettingsResponse, 'open_api_sdk/models/operations/updateworkspacesettings_response.rb'
|
109
|
+
autoload :GetWorkspaceTeamRequest, 'open_api_sdk/models/operations/getworkspaceteam_request.rb'
|
110
|
+
autoload :GetWorkspaceTeamResponse, 'open_api_sdk/models/operations/getworkspaceteam_response.rb'
|
111
|
+
autoload :GrantUserAccessToWorkspaceRequest, 'open_api_sdk/models/operations/grantuseraccesstoworkspace_request.rb'
|
112
|
+
autoload :GrantUserAccessToWorkspaceResponse, 'open_api_sdk/models/operations/grantuseraccesstoworkspace_response.rb'
|
113
|
+
autoload :RevokeUserAccessToWorkspaceRequest, 'open_api_sdk/models/operations/revokeuseraccesstoworkspace_request.rb'
|
114
|
+
autoload :RevokeUserAccessToWorkspaceResponse, 'open_api_sdk/models/operations/revokeuseraccesstoworkspace_response.rb'
|
115
|
+
autoload :GetWorkspaceTokensRequest, 'open_api_sdk/models/operations/getworkspacetokens_request.rb'
|
116
|
+
autoload :GetWorkspaceTokensResponse, 'open_api_sdk/models/operations/getworkspacetokens_response.rb'
|
117
|
+
autoload :CreateWorkspaceTokenRequest, 'open_api_sdk/models/operations/createworkspacetoken_request.rb'
|
118
|
+
autoload :CreateWorkspaceTokenResponse, 'open_api_sdk/models/operations/createworkspacetoken_response.rb'
|
119
|
+
autoload :DeleteWorkspaceTokenRequest, 'open_api_sdk/models/operations/deleteworkspacetoken_request.rb'
|
120
|
+
autoload :DeleteWorkspaceTokenResponse, 'open_api_sdk/models/operations/deleteworkspacetoken_response.rb'
|
121
|
+
autoload :GetWorkspaceFeatureFlagsRequest, 'open_api_sdk/models/operations/getworkspacefeatureflags_request.rb'
|
122
|
+
autoload :GetWorkspaceFeatureFlagsResponse, 'open_api_sdk/models/operations/getworkspacefeatureflags_response.rb'
|
123
|
+
autoload :SearchWorkspaceEventsRequest, 'open_api_sdk/models/operations/searchworkspaceevents_request.rb'
|
124
|
+
autoload :SearchWorkspaceEventsResponse, 'open_api_sdk/models/operations/searchworkspaceevents_response.rb'
|
125
|
+
autoload :PostWorkspaceEventsRequest, 'open_api_sdk/models/operations/postworkspaceevents_request.rb'
|
126
|
+
autoload :PostWorkspaceEventsResponse, 'open_api_sdk/models/operations/postworkspaceevents_response.rb'
|
127
|
+
autoload :GetWorkspaceEventsByTargetRequest, 'open_api_sdk/models/operations/getworkspaceeventsbytarget_request.rb'
|
128
|
+
autoload :GetWorkspaceEventsByTargetResponse, 'open_api_sdk/models/operations/getworkspaceeventsbytarget_response.rb'
|
129
|
+
autoload :GetWorkspaceTargetsRequest, 'open_api_sdk/models/operations/getworkspacetargets_request.rb'
|
130
|
+
autoload :GetWorkspaceTargetsResponse, 'open_api_sdk/models/operations/getworkspacetargets_response.rb'
|
131
|
+
autoload :GetWorkspaceTargetsDeprecatedRequest, 'open_api_sdk/models/operations/getworkspacetargetsdeprecated_request.rb'
|
132
|
+
autoload :GetWorkspaceTargetsDeprecatedResponse, 'open_api_sdk/models/operations/getworkspacetargetsdeprecated_response.rb'
|
133
|
+
autoload :PreflightResponse, 'open_api_sdk/models/operations/preflight_response.rb'
|
134
|
+
autoload :GetNamespacesResponse, 'open_api_sdk/models/operations/getnamespaces_response.rb'
|
135
|
+
autoload :GetRevisionsRequest, 'open_api_sdk/models/operations/getrevisions_request.rb'
|
136
|
+
autoload :GetRevisionsResponse, 'open_api_sdk/models/operations/getrevisions_response.rb'
|
137
|
+
autoload :GetTagsRequest, 'open_api_sdk/models/operations/gettags_request.rb'
|
138
|
+
autoload :GetTagsResponse, 'open_api_sdk/models/operations/gettags_response.rb'
|
139
|
+
autoload :PostTagsRequest, 'open_api_sdk/models/operations/posttags_request.rb'
|
140
|
+
autoload :PostTagsResponse, 'open_api_sdk/models/operations/posttags_response.rb'
|
141
|
+
autoload :GetManifestRequest, 'open_api_sdk/models/operations/getmanifest_request.rb'
|
142
|
+
autoload :GetManifestResponse, 'open_api_sdk/models/operations/getmanifest_response.rb'
|
143
|
+
autoload :GetBlobRequest, 'open_api_sdk/models/operations/getblob_request.rb'
|
144
|
+
autoload :GetBlobResponse, 'open_api_sdk/models/operations/getblob_response.rb'
|
145
|
+
autoload :UploadReportFile, 'open_api_sdk/models/operations/uploadreport_file.rb'
|
146
|
+
autoload :UploadReportRequestBody, 'open_api_sdk/models/operations/uploadreport_requestbody.rb'
|
147
|
+
autoload :UploadReportUploadedReport, 'open_api_sdk/models/operations/uploadreport_uploadedreport.rb'
|
148
|
+
autoload :UploadReportResponse, 'open_api_sdk/models/operations/uploadreport_response.rb'
|
149
|
+
autoload :GetLintingReportSignedUrlRequest, 'open_api_sdk/models/operations/getlintingreportsignedurl_request.rb'
|
150
|
+
autoload :GetLintingReportSignedUrlSignedAccess, 'open_api_sdk/models/operations/getlintingreportsignedurl_signedaccess.rb'
|
151
|
+
autoload :GetLintingReportSignedUrlResponse, 'open_api_sdk/models/operations/getlintingreportsignedurl_response.rb'
|
152
|
+
autoload :GetChangesReportSignedUrlRequest, 'open_api_sdk/models/operations/getchangesreportsignedurl_request.rb'
|
153
|
+
autoload :GetChangesReportSignedUrlSignedAccess, 'open_api_sdk/models/operations/getchangesreportsignedurl_signedaccess.rb'
|
154
|
+
autoload :GetChangesReportSignedUrlResponse, 'open_api_sdk/models/operations/getchangesreportsignedurl_response.rb'
|
155
|
+
autoload :Schema, 'open_api_sdk/models/operations/schema.rb'
|
156
|
+
autoload :SuggestOpenAPIRequestBody, 'open_api_sdk/models/operations/suggestopenapi_requestbody.rb'
|
157
|
+
autoload :SuggestOpenAPIRequest, 'open_api_sdk/models/operations/suggestopenapi_request.rb'
|
158
|
+
autoload :SuggestOpenAPIResponse, 'open_api_sdk/models/operations/suggestopenapi_response.rb'
|
159
|
+
autoload :SuggestRequest, 'open_api_sdk/models/operations/suggest_request.rb'
|
160
|
+
autoload :SuggestResponse, 'open_api_sdk/models/operations/suggest_response.rb'
|
161
|
+
autoload :SuggestOpenAPIRegistryRequest, 'open_api_sdk/models/operations/suggestopenapiregistry_request.rb'
|
162
|
+
autoload :SuggestOpenAPIRegistryResponse, 'open_api_sdk/models/operations/suggestopenapiregistry_response.rb'
|
163
|
+
autoload :CreateRequestBody, 'open_api_sdk/models/operations/create_requestbody.rb'
|
164
|
+
autoload :CreateResponse, 'open_api_sdk/models/operations/create_response.rb'
|
165
|
+
end
|
166
|
+
end
|
@@ -4,22 +4,22 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
|
11
|
-
class AccessDetails < ::
|
11
|
+
class AccessDetails < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :generation_allowed, T::Boolean, { 'format_json': { 'letter_case': ::
|
15
|
+
field :generation_allowed, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generation_allowed') } }
|
16
16
|
|
17
|
-
field :message, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :message, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('message') } }
|
18
18
|
|
19
|
-
field :level, T.nilable(::
|
19
|
+
field :level, T.nilable(::OpenApiSDK::Shared::Level), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('level'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::Level, true) } }
|
20
20
|
|
21
21
|
|
22
|
-
sig { params(generation_allowed: T::Boolean, message: ::String, level: T.nilable(::
|
22
|
+
sig { params(generation_allowed: T::Boolean, message: ::String, level: T.nilable(::OpenApiSDK::Shared::Level)).void }
|
23
23
|
def initialize(generation_allowed: nil, message: nil, level: nil)
|
24
24
|
@generation_allowed = generation_allowed
|
25
25
|
@message = message
|
@@ -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 Shared
|
9
|
+
|
10
|
+
# An AccessToken is a token that can be used to authenticate with the Speakeasy API.
|
11
|
+
class AccessToken < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :access_token, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('access_token') } }
|
16
|
+
|
17
|
+
field :claims, ::OpenApiSDK::Shared::Claims, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('claims') } }
|
18
|
+
|
19
|
+
field :user, ::OpenApiSDK::Shared::AccessTokenUser, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('user') } }
|
20
|
+
|
21
|
+
field :feature_flags, T.nilable(T::Array[::OpenApiSDK::Shared::FeatureFlag]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('feature_flags') } }
|
22
|
+
|
23
|
+
field :workspaces, T.nilable(T::Array[::OpenApiSDK::Shared::Workspaces]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspaces') } }
|
24
|
+
|
25
|
+
|
26
|
+
sig { params(access_token: ::String, claims: ::OpenApiSDK::Shared::Claims, user: ::OpenApiSDK::Shared::AccessTokenUser, feature_flags: T.nilable(T::Array[::OpenApiSDK::Shared::FeatureFlag]), workspaces: T.nilable(T::Array[::OpenApiSDK::Shared::Workspaces])).void }
|
27
|
+
def initialize(access_token: nil, claims: nil, user: nil, feature_flags: nil, workspaces: nil)
|
28
|
+
@access_token = access_token
|
29
|
+
@claims = claims
|
30
|
+
@user = user
|
31
|
+
@feature_flags = feature_flags
|
32
|
+
@workspaces = workspaces
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -4,25 +4,25 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
|
11
|
-
class AccessTokenUser < ::
|
11
|
+
class AccessTokenUser < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :admin, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::
|
15
|
+
field :admin, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('admin') } }
|
16
16
|
|
17
|
-
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::
|
17
|
+
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
18
18
|
|
19
|
-
field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
19
|
+
field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('display_name') } }
|
20
20
|
|
21
|
-
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
21
|
+
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
|
22
22
|
|
23
|
-
field :email_verified, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::
|
23
|
+
field :email_verified, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email_verified') } }
|
24
24
|
|
25
|
-
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
25
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
26
26
|
|
27
27
|
|
28
28
|
sig { params(admin: T.nilable(T::Boolean), created_at: T.nilable(::DateTime), display_name: T.nilable(::String), email: T.nilable(::String), email_verified: T.nilable(T::Boolean), id: T.nilable(::String)).void }
|
@@ -4,17 +4,17 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# Request body of tags to add to a revision
|
11
|
-
class AddTags < ::
|
11
|
+
class AddTags < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# revision digest to add tags too sha256:...
|
15
|
-
field :revision_digest, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :revision_digest, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('revision_digest') } }
|
16
16
|
# string tags to add to the revision
|
17
|
-
field :tags, T::Array[::String], { 'format_json': { 'letter_case': ::
|
17
|
+
field :tags, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tags') } }
|
18
18
|
|
19
19
|
|
20
20
|
sig { params(revision_digest: ::String, tags: T::Array[::String]).void }
|
@@ -4,37 +4,37 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# Annotations
|
11
|
-
class Annotations < ::
|
11
|
+
class Annotations < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The authors of the image
|
15
|
-
field :org_opencontainers_image_authors, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
15
|
+
field :org_opencontainers_image_authors, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org.opencontainers.image.authors') } }
|
16
16
|
# The time the image was created
|
17
|
-
field :org_opencontainers_image_created, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
17
|
+
field :org_opencontainers_image_created, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org.opencontainers.image.created') } }
|
18
18
|
# Human-readable description of the software packaged in the image
|
19
|
-
field :org_opencontainers_image_description, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
19
|
+
field :org_opencontainers_image_description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org.opencontainers.image.description') } }
|
20
20
|
# The documentation URL of the image
|
21
|
-
field :org_opencontainers_image_documentation, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
21
|
+
field :org_opencontainers_image_documentation, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org.opencontainers.image.documentation') } }
|
22
22
|
|
23
|
-
field :org_opencontainers_image_licenses, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
23
|
+
field :org_opencontainers_image_licenses, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org.opencontainers.image.licenses') } }
|
24
24
|
# Name of the reference for a target
|
25
|
-
field :org_opencontainers_image_ref_name, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
25
|
+
field :org_opencontainers_image_ref_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org.opencontainers.image.ref.name') } }
|
26
26
|
# Source control revision identifier
|
27
|
-
field :org_opencontainers_image_revision, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
27
|
+
field :org_opencontainers_image_revision, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org.opencontainers.image.revision') } }
|
28
28
|
# The URL to get source code for building the image
|
29
|
-
field :org_opencontainers_image_source, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
29
|
+
field :org_opencontainers_image_source, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org.opencontainers.image.source') } }
|
30
30
|
# Human-readable title of the image
|
31
|
-
field :org_opencontainers_image_title, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
31
|
+
field :org_opencontainers_image_title, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org.opencontainers.image.title') } }
|
32
32
|
# The URL of the image
|
33
|
-
field :org_opencontainers_image_url, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
33
|
+
field :org_opencontainers_image_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org.opencontainers.image.url') } }
|
34
34
|
# Name of the distributing entity, organization or individual.
|
35
|
-
field :org_opencontainers_image_vendor, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
35
|
+
field :org_opencontainers_image_vendor, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org.opencontainers.image.vendor') } }
|
36
36
|
# The version of the packaged software
|
37
|
-
field :org_opencontainers_image_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
37
|
+
field :org_opencontainers_image_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org.opencontainers.image.version') } }
|
38
38
|
|
39
39
|
|
40
40
|
sig { params(org_opencontainers_image_authors: T.nilable(::String), org_opencontainers_image_created: T.nilable(::String), org_opencontainers_image_description: T.nilable(::String), org_opencontainers_image_documentation: T.nilable(::String), org_opencontainers_image_licenses: T.nilable(::String), org_opencontainers_image_ref_name: T.nilable(::String), org_opencontainers_image_revision: T.nilable(::String), org_opencontainers_image_source: T.nilable(::String), org_opencontainers_image_title: T.nilable(::String), org_opencontainers_image_url: T.nilable(::String), org_opencontainers_image_vendor: T.nilable(::String), org_opencontainers_image_version: T.nilable(::String)).void }
|
@@ -4,29 +4,29 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# An Api is representation of a API (a collection of API Endpoints) within the Speakeasy Platform.
|
11
|
-
class Api < ::
|
11
|
+
class Api < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The ID of this Api. This is a human-readable name (subject to change).
|
15
|
-
field :api_id, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :api_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('api_id') } }
|
16
16
|
# Creation timestamp.
|
17
|
-
field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::
|
17
|
+
field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
18
18
|
# A detailed description of the Api.
|
19
|
-
field :description, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :description, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
|
20
20
|
# Last update timestamp.
|
21
|
-
field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::
|
21
|
+
field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
22
22
|
# The version ID of this Api. This is semantic version identifier.
|
23
|
-
field :version_id, ::String, { 'format_json': { 'letter_case': ::
|
23
|
+
field :version_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('version_id') } }
|
24
24
|
# The workspace ID this Api belongs to.
|
25
|
-
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::
|
25
|
+
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspace_id') } }
|
26
26
|
# Determines if all the endpoints within the Api are found in the OpenAPI spec associated with the Api.
|
27
|
-
field :matched, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::
|
27
|
+
field :matched, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('matched') } }
|
28
28
|
# A set of values associated with a meta_data key. This field is only set on get requests.
|
29
|
-
field :meta_data, T.nilable(T::Hash[Symbol, T::Array[::String]]), { 'format_json': { 'letter_case': ::
|
29
|
+
field :meta_data, T.nilable(T::Hash[Symbol, T::Array[::String]]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('meta_data') } }
|
30
30
|
|
31
31
|
|
32
32
|
sig { params(api_id: ::String, created_at: ::DateTime, description: ::String, updated_at: ::DateTime, version_id: ::String, workspace_id: ::String, matched: T.nilable(T::Boolean), meta_data: T.nilable(T::Hash[Symbol, T::Array[::String]])).void }
|
@@ -4,21 +4,21 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# An Api is representation of a API (a collection of API Endpoints) within the Speakeasy Platform.
|
11
|
-
class ApiInput < ::
|
11
|
+
class ApiInput < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The ID of this Api. This is a human-readable name (subject to change).
|
15
|
-
field :api_id, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :api_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('api_id') } }
|
16
16
|
# A detailed description of the Api.
|
17
|
-
field :description, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :description, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
|
18
18
|
# The version ID of this Api. This is semantic version identifier.
|
19
|
-
field :version_id, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :version_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('version_id') } }
|
20
20
|
# A set of values associated with a meta_data key. This field is only set on get requests.
|
21
|
-
field :meta_data, T.nilable(T::Hash[Symbol, T::Array[::String]]), { 'format_json': { 'letter_case': ::
|
21
|
+
field :meta_data, T.nilable(T::Hash[Symbol, T::Array[::String]]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('meta_data') } }
|
22
22
|
|
23
23
|
|
24
24
|
sig { params(api_id: ::String, description: ::String, version_id: ::String, meta_data: T.nilable(T::Hash[Symbol, T::Array[::String]])).void }
|
@@ -4,35 +4,35 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# An ApiEndpoint is a description of an Endpoint for an API.
|
11
|
-
class ApiEndpoint < ::
|
11
|
+
class ApiEndpoint < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The ID of this ApiEndpoint. This is a hash of the method and path.
|
15
|
-
field :api_endpoint_id, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :api_endpoint_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('api_endpoint_id') } }
|
16
16
|
# The ID of the Api this ApiEndpoint belongs to.
|
17
|
-
field :api_id, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :api_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('api_id') } }
|
18
18
|
# Creation timestamp.
|
19
|
-
field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::
|
19
|
+
field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
20
20
|
# A detailed description of the ApiEndpoint.
|
21
|
-
field :description, ::String, { 'format_json': { 'letter_case': ::
|
21
|
+
field :description, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
|
22
22
|
# A human-readable name for the ApiEndpoint.
|
23
|
-
field :display_name, ::String, { 'format_json': { 'letter_case': ::
|
23
|
+
field :display_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('display_name') } }
|
24
24
|
# HTTP verb.
|
25
|
-
field :method, ::String, { 'format_json': { 'letter_case': ::
|
25
|
+
field :method, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('method') } }
|
26
26
|
# Path that handles this Api.
|
27
|
-
field :path, ::String, { 'format_json': { 'letter_case': ::
|
27
|
+
field :path, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('path') } }
|
28
28
|
# Last update timestamp.
|
29
|
-
field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::
|
29
|
+
field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
30
30
|
# The version ID of the Api this ApiEndpoint belongs to.
|
31
|
-
field :version_id, ::String, { 'format_json': { 'letter_case': ::
|
31
|
+
field :version_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('version_id') } }
|
32
32
|
# The workspace ID this ApiEndpoint belongs to.
|
33
|
-
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::
|
33
|
+
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspace_id') } }
|
34
34
|
# Determines if the endpoint was found in the OpenAPI spec associated with the parent Api.
|
35
|
-
field :matched, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::
|
35
|
+
field :matched, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('matched') } }
|
36
36
|
|
37
37
|
|
38
38
|
sig { params(api_endpoint_id: ::String, api_id: ::String, created_at: ::DateTime, description: ::String, display_name: ::String, method: ::String, path: ::String, updated_at: ::DateTime, version_id: ::String, workspace_id: ::String, matched: T.nilable(T::Boolean)).void }
|
@@ -4,25 +4,25 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# An ApiEndpoint is a description of an Endpoint for an API.
|
11
|
-
class ApiEndpointInput < ::
|
11
|
+
class ApiEndpointInput < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The ID of this ApiEndpoint. This is a hash of the method and path.
|
15
|
-
field :api_endpoint_id, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :api_endpoint_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('api_endpoint_id') } }
|
16
16
|
# A detailed description of the ApiEndpoint.
|
17
|
-
field :description, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :description, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
|
18
18
|
# A human-readable name for the ApiEndpoint.
|
19
|
-
field :display_name, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :display_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('display_name') } }
|
20
20
|
# HTTP verb.
|
21
|
-
field :method, ::String, { 'format_json': { 'letter_case': ::
|
21
|
+
field :method, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('method') } }
|
22
22
|
# Path that handles this Api.
|
23
|
-
field :path, ::String, { 'format_json': { 'letter_case': ::
|
23
|
+
field :path, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('path') } }
|
24
24
|
# The version ID of the Api this ApiEndpoint belongs to.
|
25
|
-
field :version_id, ::String, { 'format_json': { 'letter_case': ::
|
25
|
+
field :version_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('version_id') } }
|
26
26
|
|
27
27
|
|
28
28
|
sig { params(api_endpoint_id: ::String, description: ::String, display_name: ::String, method: ::String, path: ::String, version_id: ::String).void }
|
@@ -4,32 +4,32 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
|
11
|
-
class ApiKeyDetails < ::
|
11
|
+
class ApiKeyDetails < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :account_type_v2, ::
|
15
|
+
field :account_type_v2, ::OpenApiSDK::Shared::AccountType, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('account_type_v2'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::AccountType, false) } }
|
16
16
|
|
17
|
-
field :enabled_features, T::Array[::String], { 'format_json': { 'letter_case': ::
|
17
|
+
field :enabled_features, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('enabled_features') } }
|
18
18
|
|
19
|
-
field :org_slug, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :org_slug, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('org_slug') } }
|
20
20
|
|
21
|
-
field :telemetry_disabled, T::Boolean, { 'format_json': { 'letter_case': ::
|
21
|
+
field :telemetry_disabled, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('telemetry_disabled') } }
|
22
22
|
|
23
|
-
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::
|
23
|
+
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspace_id') } }
|
24
24
|
|
25
|
-
field :workspace_slug, ::String, { 'format_json': { 'letter_case': ::
|
25
|
+
field :workspace_slug, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspace_slug') } }
|
26
26
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
27
|
-
field :feature_flags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::
|
27
|
+
field :feature_flags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('feature_flags') } }
|
28
28
|
|
29
|
-
field :generation_access_unlimited, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::
|
29
|
+
field :generation_access_unlimited, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generation_access_unlimited') } }
|
30
30
|
|
31
31
|
|
32
|
-
sig { params(account_type_v2: ::
|
32
|
+
sig { params(account_type_v2: ::OpenApiSDK::Shared::AccountType, enabled_features: T::Array[::String], org_slug: ::String, telemetry_disabled: T::Boolean, workspace_id: ::String, workspace_slug: ::String, feature_flags: T.nilable(T::Array[::String]), generation_access_unlimited: T.nilable(T::Boolean)).void }
|
33
33
|
def initialize(account_type_v2: nil, enabled_features: nil, org_slug: nil, telemetry_disabled: nil, workspace_id: nil, workspace_slug: nil, feature_flags: nil, generation_access_unlimited: nil)
|
34
34
|
@account_type_v2 = account_type_v2
|
35
35
|
@enabled_features = enabled_features
|
@@ -4,17 +4,17 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
|
11
|
-
class Auth < ::
|
11
|
+
class Auth < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :header, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :header, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('header') } }
|
16
16
|
|
17
|
-
field :secret, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :secret, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('secret') } }
|
18
18
|
|
19
19
|
|
20
20
|
sig { params(header: ::String, secret: ::String).void }
|