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
@@ -4,27 +4,27 @@
|
|
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 OrganizationUsage < ::
|
11
|
+
class OrganizationUsage < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# Indicates if the features are accessible
|
15
|
-
field :accessible, T::Boolean, { 'format_json': { 'letter_case': ::
|
15
|
+
field :accessible, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('accessible') } }
|
16
16
|
# Features that are accessible
|
17
|
-
field :accessible_features, T::Array[::String], { 'format_json': { 'letter_case': ::
|
17
|
+
field :accessible_features, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('accessible_features') } }
|
18
18
|
# List of generation lock IDs
|
19
|
-
field :gen_lock_ids, T::Array[::String], { 'format_json': { 'letter_case': ::
|
19
|
+
field :gen_lock_ids, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('gen_lock_ids') } }
|
20
20
|
# The programming language used
|
21
|
-
field :language, ::String, { 'format_json': { 'letter_case': ::
|
21
|
+
field :language, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('language') } }
|
22
22
|
# Number of operations performed
|
23
|
-
field :number_of_operations, ::Integer, { 'format_json': { 'letter_case': ::
|
23
|
+
field :number_of_operations, ::Integer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('number_of_operations') } }
|
24
24
|
# Features that have been used
|
25
|
-
field :used_features, T::Array[::String], { 'format_json': { 'letter_case': ::
|
25
|
+
field :used_features, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('used_features') } }
|
26
26
|
# List of workspace IDs
|
27
|
-
field :workspaces, T::Array[::String], { 'format_json': { 'letter_case': ::
|
27
|
+
field :workspaces, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspaces') } }
|
28
28
|
|
29
29
|
|
30
30
|
sig { params(accessible: T::Boolean, accessible_features: T::Array[::String], gen_lock_ids: T::Array[::String], language: ::String, number_of_operations: ::Integer, used_features: T::Array[::String], workspaces: T::Array[::String]).void }
|
@@ -4,24 +4,24 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# A billing summary of organization usage
|
11
|
-
class OrganizationUsageResponse < ::
|
11
|
+
class OrganizationUsageResponse < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# List of allowed languages
|
15
|
-
field :allowed_languages, T::Array[::String], { 'format_json': { 'letter_case': ::
|
15
|
+
field :allowed_languages, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('allowed_languages') } }
|
16
16
|
# Total number of allowed languages, -1 if unlimited
|
17
|
-
field :total_allowed_languages, ::Integer, { 'format_json': { 'letter_case': ::
|
17
|
+
field :total_allowed_languages, ::Integer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('total_allowed_languages') } }
|
18
18
|
|
19
|
-
field :usage, T::Array[::
|
19
|
+
field :usage, T::Array[::OpenApiSDK::Shared::OrganizationUsage], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('usage') } }
|
20
20
|
# Expiry date of the free trial, will be null if no trial
|
21
|
-
field :free_trial_expiry, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::
|
21
|
+
field :free_trial_expiry, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('free_trial_expiry'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(allowed_languages: T::Array[::String], total_allowed_languages: ::Integer, usage: T::Array[::
|
24
|
+
sig { params(allowed_languages: T::Array[::String], total_allowed_languages: ::Integer, usage: T::Array[::OpenApiSDK::Shared::OrganizationUsage], free_trial_expiry: T.nilable(::DateTime)).void }
|
25
25
|
def initialize(allowed_languages: nil, total_allowed_languages: nil, usage: nil, free_trial_expiry: nil)
|
26
26
|
@allowed_languages = allowed_languages
|
27
27
|
@total_allowed_languages = total_allowed_languages
|
@@ -4,15 +4,15 @@
|
|
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 PreflightRequest < ::
|
11
|
+
class PreflightRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :namespace_name, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :namespace_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('namespace_name') } }
|
16
16
|
|
17
17
|
|
18
18
|
sig { params(namespace_name: ::String).void }
|
@@ -4,15 +4,15 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# A PreflightToken is a token that allows access to the OCI distribution endpoints.
|
11
|
-
class PreflightToken < ::
|
11
|
+
class PreflightToken < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :auth_token, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
15
|
+
field :auth_token, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('auth_token') } }
|
16
16
|
|
17
17
|
|
18
18
|
sig { params(auth_token: T.nilable(::String)).void }
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module OpenApiSDK
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class Relationship < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :user_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('user_id') } }
|
16
|
+
|
17
|
+
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspace_id') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(user_id: ::String, workspace_id: ::String).void }
|
21
|
+
def initialize(user_id: nil, workspace_id: nil)
|
22
|
+
@user_id = user_id
|
23
|
+
@workspace_id = workspace_id
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,24 @@
|
|
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
|
+
|
11
|
+
class Report < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :type, T.nilable(::OpenApiSDK::Shared::Type), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::Type, true) } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(type: T.nilable(::OpenApiSDK::Shared::Type)).void }
|
19
|
+
def initialize(type: nil)
|
20
|
+
@type = type
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -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
|
# Key-Value pairs associated with a request
|
11
|
-
class RequestMetadata < ::
|
11
|
+
class RequestMetadata < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :key, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
15
|
+
field :key, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('key') } }
|
16
16
|
|
17
|
-
field :value, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
17
|
+
field :value, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('value') } }
|
18
18
|
|
19
19
|
|
20
20
|
sig { params(key: T.nilable(::String), value: T.nilable(::String)).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
|
|
11
|
-
class Revision < ::
|
11
|
+
class Revision < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::
|
15
|
+
field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
16
16
|
|
17
|
-
field :digest, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :digest, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('digest') } }
|
18
18
|
# Format {namespace_id}/{revision_digest}
|
19
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
20
20
|
|
21
|
-
field :namespace_name, ::String, { 'format_json': { 'letter_case': ::
|
21
|
+
field :namespace_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('namespace_name') } }
|
22
22
|
|
23
|
-
field :tags, T::Array[::String], { 'format_json': { 'letter_case': ::
|
23
|
+
field :tags, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tags') } }
|
24
24
|
|
25
|
-
field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::
|
25
|
+
field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
26
26
|
|
27
27
|
|
28
28
|
sig { params(created_at: ::DateTime, digest: ::String, id: ::String, namespace_name: ::String, tags: T::Array[::String], updated_at: ::DateTime).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
|
# A Schema represents an API schema for a particular Api and Version.
|
11
|
-
class Schema < ::
|
11
|
+
class Schema < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The ID of the Api this Schema belongs to.
|
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 Schema.
|
19
|
-
field :description, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :description, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
|
20
20
|
# An ID referencing this particular revision of the Schema.
|
21
|
-
field :revision_id, ::String, { 'format_json': { 'letter_case': ::
|
21
|
+
field :revision_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('revision_id') } }
|
22
22
|
# The version ID of the Api this Schema belongs to.
|
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 Schema 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
|
|
27
27
|
|
28
28
|
sig { params(api_id: ::String, created_at: ::DateTime, description: ::String, revision_id: ::String, version_id: ::String, workspace_id: ::String).void }
|
@@ -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
|
# A SchemaDiff represents a diff of two Schemas.
|
11
|
-
class SchemaDiff < ::
|
11
|
+
class SchemaDiff < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# Holds every addition change in the diff.
|
15
|
-
field :additions, T::Array[::String], { 'format_json': { 'letter_case': ::
|
15
|
+
field :additions, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('additions') } }
|
16
16
|
# Holds every deletion change in the diff.
|
17
|
-
field :deletions, T::Array[::String], { 'format_json': { 'letter_case': ::
|
17
|
+
field :deletions, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('deletions') } }
|
18
18
|
# Holds every modification change in the diff.
|
19
|
-
field :modifications, T::Hash[Symbol, ::
|
19
|
+
field :modifications, T::Hash[Symbol, ::OpenApiSDK::Shared::ValueChange], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('modifications') } }
|
20
20
|
|
21
21
|
|
22
|
-
sig { params(additions: T::Array[::String], deletions: T::Array[::String], modifications: T::Hash[Symbol, ::
|
22
|
+
sig { params(additions: T::Array[::String], deletions: T::Array[::String], modifications: T::Hash[Symbol, ::OpenApiSDK::Shared::ValueChange]).void }
|
23
23
|
def initialize(additions: nil, deletions: nil, modifications: nil)
|
24
24
|
@additions = additions
|
25
25
|
@deletions = deletions
|
@@ -4,11 +4,11 @@
|
|
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 Security < ::
|
11
|
+
class Security < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
@@ -16,11 +16,14 @@ module SpeakeasyClientSDK
|
|
16
16
|
|
17
17
|
field :bearer, T.nilable(::String), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' } }
|
18
18
|
|
19
|
+
field :workspace_identifier, T.nilable(::String), { 'security': { 'scheme': true, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'x-workspace-identifier' } }
|
19
20
|
|
20
|
-
|
21
|
-
|
21
|
+
|
22
|
+
sig { params(api_key: T.nilable(::String), bearer: T.nilable(::String), workspace_identifier: T.nilable(::String)).void }
|
23
|
+
def initialize(api_key: nil, bearer: nil, workspace_identifier: nil)
|
22
24
|
@api_key = api_key
|
23
25
|
@bearer = bearer
|
26
|
+
@workspace_identifier = workspace_identifier
|
24
27
|
end
|
25
28
|
end
|
26
29
|
end
|
@@ -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 ShortURL < ::
|
11
|
+
class ShortURL < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :full_url, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :full_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('full_url') } }
|
16
16
|
|
17
|
-
field :short_url, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :short_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('short_url') } }
|
18
18
|
|
19
19
|
|
20
20
|
sig { params(full_url: ::String, short_url: ::String).void }
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module OpenApiSDK
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# SSO metadata for a workspace
|
11
|
+
class SSOMetadata < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :sso_activated, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('sso_activated') } }
|
16
|
+
|
17
|
+
field :sso_domains, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('sso_domains') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(sso_activated: T::Boolean, sso_domains: T::Array[::String]).void }
|
21
|
+
def initialize(sso_activated: nil, sso_domains: nil)
|
22
|
+
@sso_activated = sso_activated
|
23
|
+
@sso_domains = sso_domains
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module OpenApiSDK
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class SuggestOptsOld < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :suggestion_type, ::OpenApiSDK::Shared::SuggestionType, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('suggestion_type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::SuggestionType, false) } }
|
16
|
+
|
17
|
+
field :diagnostics, T.nilable(T::Array[::OpenApiSDK::Shared::Diagnostic]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('diagnostics') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(suggestion_type: ::OpenApiSDK::Shared::SuggestionType, diagnostics: T.nilable(T::Array[::OpenApiSDK::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
|
@@ -0,0 +1,30 @@
|
|
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
|
+
|
11
|
+
class SuggestRequestBody < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :diagnostics, T::Array[::OpenApiSDK::Shared::Diagnostic], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('diagnostics') } }
|
16
|
+
|
17
|
+
field :oas_summary, ::OpenApiSDK::Shared::OASSummary, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('oas_summary') } }
|
18
|
+
|
19
|
+
field :suggestion_type, ::OpenApiSDK::Shared::SuggestRequestBodySuggestionType, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('suggestion_type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::SuggestRequestBodySuggestionType, false) } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(diagnostics: T::Array[::OpenApiSDK::Shared::Diagnostic], oas_summary: ::OpenApiSDK::Shared::OASSummary, suggestion_type: ::OpenApiSDK::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
|
@@ -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
|
|
11
|
-
class Tag < ::
|
11
|
+
class Tag < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# Format {namespace_id}/{tag}
|
15
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
16
16
|
# Human readable tag name
|
17
|
-
field :name, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
|
18
18
|
|
19
|
-
field :namespace_name, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :namespace_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('namespace_name') } }
|
20
20
|
|
21
|
-
field :revision_digest, ::String, { 'format_json': { 'letter_case': ::
|
21
|
+
field :revision_digest, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('revision_digest') } }
|
22
22
|
|
23
23
|
|
24
24
|
sig { params(id: ::String, name: ::String, namespace_name: ::String, revision_digest: ::String).void }
|