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,44 +4,44 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# A BoundedRequest is a request that has been logged by the Speakeasy without the contents of the request.
|
11
|
-
class BoundedRequest < ::
|
11
|
+
class BoundedRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The ID of the ApiEndpoint this request was made to.
|
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 request was made 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
|
# The ID of the customer that made this request.
|
21
|
-
field :customer_id, ::String, { 'format_json': { 'letter_case': ::
|
21
|
+
field :customer_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('customer_id') } }
|
22
22
|
# The latency of the request.
|
23
|
-
field :latency, ::Integer, { 'format_json': { 'letter_case': ::
|
23
|
+
field :latency, ::Integer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('latency') } }
|
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
|
# The path of the request.
|
27
|
-
field :path, ::String, { 'format_json': { 'letter_case': ::
|
27
|
+
field :path, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('path') } }
|
28
28
|
# The time the request finished.
|
29
|
-
field :request_finish_time, ::DateTime, { 'format_json': { 'letter_case': ::
|
29
|
+
field :request_finish_time, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('request_finish_time'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
30
30
|
# The ID of this request.
|
31
|
-
field :request_id, ::String, { 'format_json': { 'letter_case': ::
|
31
|
+
field :request_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('request_id') } }
|
32
32
|
# The time the request was made.
|
33
|
-
field :request_start_time, ::DateTime, { 'format_json': { 'letter_case': ::
|
33
|
+
field :request_start_time, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('request_start_time'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
34
34
|
# The status code of the request.
|
35
|
-
field :status, ::Integer, { 'format_json': { 'letter_case': ::
|
35
|
+
field :status, ::Integer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('status') } }
|
36
36
|
# The version ID of the Api this request was made to.
|
37
|
-
field :version_id, ::String, { 'format_json': { 'letter_case': ::
|
37
|
+
field :version_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('version_id') } }
|
38
38
|
# The workspace ID this request was made to.
|
39
|
-
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::
|
39
|
+
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspace_id') } }
|
40
40
|
# Metadata associated with this request
|
41
|
-
field :metadata, T.nilable(T::Array[::
|
41
|
+
field :metadata, T.nilable(T::Array[::OpenApiSDK::Shared::RequestMetadata]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('metadata') } }
|
42
42
|
|
43
43
|
|
44
|
-
sig { params(api_endpoint_id: ::String, api_id: ::String, created_at: ::DateTime, customer_id: ::String, latency: ::Integer, method: ::String, path: ::String, request_finish_time: ::DateTime, request_id: ::String, request_start_time: ::DateTime, status: ::Integer, version_id: ::String, workspace_id: ::String, metadata: T.nilable(T::Array[::
|
44
|
+
sig { params(api_endpoint_id: ::String, api_id: ::String, created_at: ::DateTime, customer_id: ::String, latency: ::Integer, method: ::String, path: ::String, request_finish_time: ::DateTime, request_id: ::String, request_start_time: ::DateTime, status: ::Integer, version_id: ::String, workspace_id: ::String, metadata: T.nilable(T::Array[::OpenApiSDK::Shared::RequestMetadata])).void }
|
45
45
|
def initialize(api_endpoint_id: nil, api_id: nil, created_at: nil, customer_id: nil, latency: nil, method: nil, path: nil, request_finish_time: nil, request_id: nil, request_start_time: nil, status: nil, version_id: nil, workspace_id: nil, metadata: nil)
|
46
46
|
@api_endpoint_id = api_endpoint_id
|
47
47
|
@api_id = api_id
|
@@ -4,172 +4,172 @@
|
|
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 CliEvent < ::
|
11
|
+
class CliEvent < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# Timestamp when the event was created in the database.
|
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
|
# Unique identifier for each execution of the CLI.
|
17
|
-
field :execution_id, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :execution_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('execution_id') } }
|
18
18
|
# Unique identifier for each event.
|
19
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
20
20
|
# Type of interaction.
|
21
|
-
field :interaction_type, ::
|
21
|
+
field :interaction_type, ::OpenApiSDK::Shared::InteractionType, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('interaction_type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::InteractionType, false) } }
|
22
22
|
# Timestamp when the event started, in local time.
|
23
|
-
field :local_started_at, ::DateTime, { 'format_json': { 'letter_case': ::
|
23
|
+
field :local_started_at, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('local_started_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
24
24
|
# Identifier of the Speakeasy API key.
|
25
|
-
field :speakeasy_api_key_name, ::String, { 'format_json': { 'letter_case': ::
|
25
|
+
field :speakeasy_api_key_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('speakeasy_api_key_name') } }
|
26
26
|
# Version of the Speakeasy CLI.
|
27
|
-
field :speakeasy_version, ::String, { 'format_json': { 'letter_case': ::
|
27
|
+
field :speakeasy_version, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('speakeasy_version') } }
|
28
28
|
# Indicates whether the event was successful.
|
29
|
-
field :success, T::Boolean, { 'format_json': { 'letter_case': ::
|
29
|
+
field :success, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('success') } }
|
30
30
|
# Identifier of the workspace.
|
31
|
-
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::
|
31
|
+
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspace_id') } }
|
32
32
|
# Remote commit ID.
|
33
|
-
field :commit_head, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
33
|
+
field :commit_head, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('commit_head') } }
|
34
34
|
# Name of the CI environment.
|
35
|
-
field :continuous_integration_environment, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
35
|
+
field :continuous_integration_environment, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('continuous_integration_environment') } }
|
36
36
|
# Duration of the event in milliseconds.
|
37
|
-
field :duration_ms, T.nilable(::Integer), { 'format_json': { 'letter_case': ::
|
37
|
+
field :duration_ms, T.nilable(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('duration_ms') } }
|
38
38
|
# Error message if the event was not successful.
|
39
|
-
field :error, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
39
|
+
field :error, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('error') } }
|
40
40
|
# Bump type of the lock file (calculated semver delta, custom change (manual release), or prerelease/graduate)
|
41
|
-
field :generate_bump_type, T.nilable(::
|
41
|
+
field :generate_bump_type, T.nilable(::OpenApiSDK::Shared::GenerateBumpType), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_bump_type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::GenerateBumpType, true) } }
|
42
42
|
# Checksum of the configuration file (post generation)
|
43
|
-
field :generate_config_post_checksum, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
43
|
+
field :generate_config_post_checksum, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_config_post_checksum') } }
|
44
44
|
# Rendered configuration file (post generation)
|
45
|
-
field :generate_config_post_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
45
|
+
field :generate_config_post_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_config_post_raw') } }
|
46
46
|
# The version of the customer's SDK that we just generated
|
47
|
-
field :generate_config_post_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
47
|
+
field :generate_config_post_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_config_post_version') } }
|
48
48
|
# Checksum of the configuration file (prior to generation)
|
49
|
-
field :generate_config_pre_checksum, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
49
|
+
field :generate_config_pre_checksum, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_config_pre_checksum') } }
|
50
50
|
# Rendered configuration file (prior to generation)
|
51
|
-
field :generate_config_pre_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
51
|
+
field :generate_config_pre_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_config_pre_raw') } }
|
52
52
|
# The version of the customer's SDK before we generated
|
53
|
-
field :generate_config_pre_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
53
|
+
field :generate_config_pre_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_config_pre_version') } }
|
54
54
|
# Eligible feature set during generation
|
55
|
-
field :generate_eligible_features, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
55
|
+
field :generate_eligible_features, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_eligible_features') } }
|
56
56
|
# gen.lock ID (expected to be a uuid).
|
57
|
-
field :generate_gen_lock_id, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
57
|
+
field :generate_gen_lock_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_gen_lock_id') } }
|
58
58
|
# Features post generation
|
59
|
-
field :generate_gen_lock_post_features, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
59
|
+
field :generate_gen_lock_post_features, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_gen_lock_post_features') } }
|
60
60
|
# Blob digest of the Previous Generation
|
61
|
-
field :generate_gen_lock_pre_blob_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
61
|
+
field :generate_gen_lock_pre_blob_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_gen_lock_pre_blob_digest') } }
|
62
62
|
# Checksum of the Previous Rendered OpenAPI document (prior to generation, via gen lock)
|
63
|
-
field :generate_gen_lock_pre_doc_checksum, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
63
|
+
field :generate_gen_lock_pre_doc_checksum, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_gen_lock_pre_doc_checksum') } }
|
64
64
|
# info.Version of the Previous Rendered OpenAPI document (prior to generation, via gen lock)
|
65
|
-
field :generate_gen_lock_pre_doc_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
65
|
+
field :generate_gen_lock_pre_doc_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_gen_lock_pre_doc_version') } }
|
66
66
|
# Features prior to generation
|
67
|
-
field :generate_gen_lock_pre_features, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
67
|
+
field :generate_gen_lock_pre_features, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_gen_lock_pre_features') } }
|
68
68
|
# Namespace name of the Previous Generation
|
69
|
-
field :generate_gen_lock_pre_namespace_name, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
69
|
+
field :generate_gen_lock_pre_namespace_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_gen_lock_pre_namespace_name') } }
|
70
70
|
# Revision digest of the Previous Generation
|
71
|
-
field :generate_gen_lock_pre_revision_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
71
|
+
field :generate_gen_lock_pre_revision_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_gen_lock_pre_revision_digest') } }
|
72
72
|
# Artifact version for the Previous Generation
|
73
|
-
field :generate_gen_lock_pre_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
73
|
+
field :generate_gen_lock_pre_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_gen_lock_pre_version') } }
|
74
74
|
# The number of operations ignored in generation.
|
75
|
-
field :generate_number_of_operations_ignored, T.nilable(::Integer), { 'format_json': { 'letter_case': ::
|
75
|
+
field :generate_number_of_operations_ignored, T.nilable(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_number_of_operations_ignored') } }
|
76
76
|
# The number of operations used in generation.
|
77
|
-
field :generate_number_of_operations_used, T.nilable(::Integer), { 'format_json': { 'letter_case': ::
|
77
|
+
field :generate_number_of_operations_used, T.nilable(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_number_of_operations_used') } }
|
78
78
|
# Indicates whether tests were output.
|
79
|
-
field :generate_output_tests, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::
|
79
|
+
field :generate_output_tests, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_output_tests') } }
|
80
80
|
# Indicates whether the target was considered published.
|
81
|
-
field :generate_published, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::
|
81
|
+
field :generate_published, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_published') } }
|
82
82
|
# Expected Repo URL, for use in documentation generation.
|
83
|
-
field :generate_repo_url, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
83
|
+
field :generate_repo_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_repo_url') } }
|
84
84
|
# The target of the event.
|
85
|
-
field :generate_target, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
85
|
+
field :generate_target, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_target') } }
|
86
86
|
# The workflow name of the target.
|
87
|
-
field :generate_target_name, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
87
|
+
field :generate_target_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_target_name') } }
|
88
88
|
# The version of the target.
|
89
|
-
field :generate_target_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
89
|
+
field :generate_target_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_target_version') } }
|
90
90
|
# Version of the generation logic used.
|
91
|
-
field :generate_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
91
|
+
field :generate_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_version') } }
|
92
92
|
# GitHub organization of the action.
|
93
|
-
field :gh_action_organization, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
93
|
+
field :gh_action_organization, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('gh_action_organization') } }
|
94
94
|
# GitHub Action ref value.
|
95
|
-
field :gh_action_ref, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
95
|
+
field :gh_action_ref, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('gh_action_ref') } }
|
96
96
|
# GitHub repository of the action.
|
97
|
-
field :gh_action_repository, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
97
|
+
field :gh_action_repository, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('gh_action_repository') } }
|
98
98
|
# Link to the GitHub action run.
|
99
|
-
field :gh_action_run_link, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
99
|
+
field :gh_action_run_link, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('gh_action_run_link') } }
|
100
100
|
# Version of the GitHub action.
|
101
|
-
field :gh_action_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
101
|
+
field :gh_action_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('gh_action_version') } }
|
102
102
|
# Current working directory relative to the git root.
|
103
|
-
field :git_relative_cwd, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
103
|
+
field :git_relative_cwd, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('git_relative_cwd') } }
|
104
104
|
# Default owner for git remote.
|
105
|
-
field :git_remote_default_owner, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
105
|
+
field :git_remote_default_owner, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('git_remote_default_owner') } }
|
106
106
|
# Default repository name for git remote.
|
107
|
-
field :git_remote_default_repo, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
107
|
+
field :git_remote_default_repo, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('git_remote_default_repo') } }
|
108
108
|
# User email from git configuration.
|
109
|
-
field :git_user_email, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
109
|
+
field :git_user_email, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('git_user_email') } }
|
110
110
|
# User's name from git configuration. (not GitHub username)
|
111
|
-
field :git_user_name, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
111
|
+
field :git_user_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('git_user_name') } }
|
112
112
|
# Remote hostname.
|
113
|
-
field :hostname, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
113
|
+
field :hostname, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('hostname') } }
|
114
114
|
# The last step of the event.
|
115
|
-
field :last_step, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
115
|
+
field :last_step, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('last_step') } }
|
116
116
|
# The checksum of the lint report.
|
117
|
-
field :lint_report_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
117
|
+
field :lint_report_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('lint_report_digest') } }
|
118
118
|
# The number of errors in the lint report.
|
119
|
-
field :lint_report_error_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::
|
119
|
+
field :lint_report_error_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('lint_report_error_count') } }
|
120
120
|
# The number of info messages in the lint report.
|
121
|
-
field :lint_report_info_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::
|
121
|
+
field :lint_report_info_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('lint_report_info_count') } }
|
122
122
|
# The number of warnings in the lint report.
|
123
|
-
field :lint_report_warning_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::
|
123
|
+
field :lint_report_warning_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('lint_report_warning_count') } }
|
124
124
|
# Timestamp when the event completed, in local time.
|
125
|
-
field :local_completed_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::
|
125
|
+
field :local_completed_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('local_completed_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
126
126
|
# Checksum of the currently Rendered OpenAPI document.
|
127
|
-
field :management_doc_checksum, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
127
|
+
field :management_doc_checksum, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('management_doc_checksum') } }
|
128
128
|
# Version taken from info.version field of the Rendered OpenAPI document.
|
129
|
-
field :management_doc_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
129
|
+
field :management_doc_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('management_doc_version') } }
|
130
130
|
# Mermaid diagram
|
131
|
-
field :mermaid_diagram, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
131
|
+
field :mermaid_diagram, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('mermaid_diagram') } }
|
132
132
|
# The blob digest of the base source.
|
133
|
-
field :openapi_diff_base_source_blob_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
133
|
+
field :openapi_diff_base_source_blob_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('openapi_diff_base_source_blob_digest') } }
|
134
134
|
# The namespace name of the base source.
|
135
|
-
field :openapi_diff_base_source_namespace_name, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
135
|
+
field :openapi_diff_base_source_namespace_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('openapi_diff_base_source_namespace_name') } }
|
136
136
|
# The revision digest of the base source.
|
137
|
-
field :openapi_diff_base_source_revision_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
137
|
+
field :openapi_diff_base_source_revision_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('openapi_diff_base_source_revision_digest') } }
|
138
138
|
# The number of breaking changes in the openapi diff report.
|
139
|
-
field :openapi_diff_breaking_changes_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::
|
139
|
+
field :openapi_diff_breaking_changes_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('openapi_diff_breaking_changes_count') } }
|
140
140
|
# Bump type of the lock file (calculated semver delta, or a custom change (manual release))
|
141
|
-
field :openapi_diff_bump_type, T.nilable(::
|
141
|
+
field :openapi_diff_bump_type, T.nilable(::OpenApiSDK::Shared::OpenapiDiffBumpType), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('openapi_diff_bump_type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::OpenapiDiffBumpType, true) } }
|
142
142
|
# The checksum of the openapi diff report.
|
143
|
-
field :openapi_diff_report_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
143
|
+
field :openapi_diff_report_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('openapi_diff_report_digest') } }
|
144
144
|
# Name of the published package.
|
145
|
-
field :publish_package_name, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
145
|
+
field :publish_package_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publish_package_name') } }
|
146
146
|
# Name of the registry where the package was published.
|
147
|
-
field :publish_package_registry_name, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
147
|
+
field :publish_package_registry_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publish_package_registry_name') } }
|
148
148
|
# URL of the published package.
|
149
|
-
field :publish_package_url, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
149
|
+
field :publish_package_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publish_package_url') } }
|
150
150
|
# Version of the published package.
|
151
|
-
field :publish_package_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
151
|
+
field :publish_package_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publish_package_version') } }
|
152
152
|
# Full CLI command.
|
153
|
-
field :raw_command, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
153
|
+
field :raw_command, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('raw_command') } }
|
154
154
|
# Label of the git repository.
|
155
|
-
field :repo_label, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
155
|
+
field :repo_label, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('repo_label') } }
|
156
156
|
# The blob digest of the source.
|
157
|
-
field :source_blob_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
157
|
+
field :source_blob_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('source_blob_digest') } }
|
158
158
|
# The namespace name of the source.
|
159
|
-
field :source_namespace_name, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
159
|
+
field :source_namespace_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('source_namespace_name') } }
|
160
160
|
# The revision digest of the source.
|
161
|
-
field :source_revision_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
161
|
+
field :source_revision_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('source_revision_digest') } }
|
162
162
|
# Workflow lock file (post execution)
|
163
|
-
field :workflow_lock_post_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
163
|
+
field :workflow_lock_post_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workflow_lock_post_raw') } }
|
164
164
|
# Workflow lock file (prior to execution)
|
165
|
-
field :workflow_lock_pre_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
165
|
+
field :workflow_lock_pre_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workflow_lock_pre_raw') } }
|
166
166
|
# Workflow file (post execution)
|
167
|
-
field :workflow_post_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
167
|
+
field :workflow_post_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workflow_post_raw') } }
|
168
168
|
# Workflow file (prior to execution)
|
169
|
-
field :workflow_pre_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
169
|
+
field :workflow_pre_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workflow_pre_raw') } }
|
170
170
|
|
171
171
|
|
172
|
-
sig { params(created_at: ::DateTime, execution_id: ::String, id: ::String, interaction_type: ::
|
172
|
+
sig { params(created_at: ::DateTime, execution_id: ::String, id: ::String, interaction_type: ::OpenApiSDK::Shared::InteractionType, local_started_at: ::DateTime, speakeasy_api_key_name: ::String, speakeasy_version: ::String, success: T::Boolean, workspace_id: ::String, commit_head: T.nilable(::String), continuous_integration_environment: T.nilable(::String), duration_ms: T.nilable(::Integer), error: T.nilable(::String), generate_bump_type: T.nilable(::OpenApiSDK::Shared::GenerateBumpType), generate_config_post_checksum: T.nilable(::String), generate_config_post_raw: T.nilable(::String), generate_config_post_version: T.nilable(::String), generate_config_pre_checksum: T.nilable(::String), generate_config_pre_raw: T.nilable(::String), generate_config_pre_version: T.nilable(::String), generate_eligible_features: T.nilable(::String), generate_gen_lock_id: T.nilable(::String), generate_gen_lock_post_features: T.nilable(::String), generate_gen_lock_pre_blob_digest: T.nilable(::String), generate_gen_lock_pre_doc_checksum: T.nilable(::String), generate_gen_lock_pre_doc_version: T.nilable(::String), generate_gen_lock_pre_features: T.nilable(::String), generate_gen_lock_pre_namespace_name: T.nilable(::String), generate_gen_lock_pre_revision_digest: T.nilable(::String), generate_gen_lock_pre_version: T.nilable(::String), generate_number_of_operations_ignored: T.nilable(::Integer), generate_number_of_operations_used: T.nilable(::Integer), generate_output_tests: T.nilable(T::Boolean), generate_published: T.nilable(T::Boolean), generate_repo_url: T.nilable(::String), generate_target: T.nilable(::String), generate_target_name: T.nilable(::String), generate_target_version: T.nilable(::String), generate_version: T.nilable(::String), gh_action_organization: T.nilable(::String), gh_action_ref: T.nilable(::String), gh_action_repository: T.nilable(::String), gh_action_run_link: T.nilable(::String), gh_action_version: T.nilable(::String), git_relative_cwd: T.nilable(::String), git_remote_default_owner: T.nilable(::String), git_remote_default_repo: T.nilable(::String), git_user_email: T.nilable(::String), git_user_name: T.nilable(::String), hostname: T.nilable(::String), last_step: T.nilable(::String), lint_report_digest: T.nilable(::String), lint_report_error_count: T.nilable(::Integer), lint_report_info_count: T.nilable(::Integer), lint_report_warning_count: T.nilable(::Integer), local_completed_at: T.nilable(::DateTime), management_doc_checksum: T.nilable(::String), management_doc_version: T.nilable(::String), mermaid_diagram: T.nilable(::String), openapi_diff_base_source_blob_digest: T.nilable(::String), openapi_diff_base_source_namespace_name: T.nilable(::String), openapi_diff_base_source_revision_digest: T.nilable(::String), openapi_diff_breaking_changes_count: T.nilable(::Integer), openapi_diff_bump_type: T.nilable(::OpenApiSDK::Shared::OpenapiDiffBumpType), openapi_diff_report_digest: T.nilable(::String), publish_package_name: T.nilable(::String), publish_package_registry_name: T.nilable(::String), publish_package_url: T.nilable(::String), publish_package_version: T.nilable(::String), raw_command: T.nilable(::String), repo_label: T.nilable(::String), source_blob_digest: T.nilable(::String), source_namespace_name: T.nilable(::String), source_revision_digest: T.nilable(::String), workflow_lock_post_raw: T.nilable(::String), workflow_lock_pre_raw: T.nilable(::String), workflow_post_raw: T.nilable(::String), workflow_pre_raw: T.nilable(::String)).void }
|
173
173
|
def initialize(created_at: nil, execution_id: nil, id: nil, interaction_type: nil, local_started_at: nil, speakeasy_api_key_name: nil, speakeasy_version: nil, success: nil, workspace_id: nil, commit_head: nil, continuous_integration_environment: nil, duration_ms: nil, error: nil, generate_bump_type: nil, generate_config_post_checksum: nil, generate_config_post_raw: nil, generate_config_post_version: nil, generate_config_pre_checksum: nil, generate_config_pre_raw: nil, generate_config_pre_version: nil, generate_eligible_features: nil, generate_gen_lock_id: nil, generate_gen_lock_post_features: nil, generate_gen_lock_pre_blob_digest: nil, generate_gen_lock_pre_doc_checksum: nil, generate_gen_lock_pre_doc_version: nil, generate_gen_lock_pre_features: nil, generate_gen_lock_pre_namespace_name: nil, generate_gen_lock_pre_revision_digest: nil, generate_gen_lock_pre_version: nil, generate_number_of_operations_ignored: nil, generate_number_of_operations_used: nil, generate_output_tests: nil, generate_published: nil, generate_repo_url: nil, generate_target: nil, generate_target_name: nil, generate_target_version: nil, generate_version: nil, gh_action_organization: nil, gh_action_ref: nil, gh_action_repository: nil, gh_action_run_link: nil, gh_action_version: nil, git_relative_cwd: nil, git_remote_default_owner: nil, git_remote_default_repo: nil, git_user_email: nil, git_user_name: nil, hostname: nil, last_step: nil, lint_report_digest: nil, lint_report_error_count: nil, lint_report_info_count: nil, lint_report_warning_count: nil, local_completed_at: nil, management_doc_checksum: nil, management_doc_version: nil, mermaid_diagram: nil, openapi_diff_base_source_blob_digest: nil, openapi_diff_base_source_namespace_name: nil, openapi_diff_base_source_revision_digest: nil, openapi_diff_breaking_changes_count: nil, openapi_diff_bump_type: nil, openapi_diff_report_digest: nil, publish_package_name: nil, publish_package_registry_name: nil, publish_package_url: nil, publish_package_version: nil, raw_command: nil, repo_label: nil, source_blob_digest: nil, source_namespace_name: nil, source_revision_digest: nil, workflow_lock_post_raw: nil, workflow_lock_pre_raw: nil, workflow_post_raw: nil, workflow_pre_raw: nil)
|
174
174
|
@created_at = created_at
|
175
175
|
@execution_id = execution_id
|
@@ -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 Diagnostic < ::
|
11
|
+
class Diagnostic < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# Message describing the issue
|
15
|
-
field :message, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :message, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('message') } }
|
16
16
|
# Schema path to the issue
|
17
|
-
field :path, T::Array[::String], { 'format_json': { 'letter_case': ::
|
17
|
+
field :path, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('path') } }
|
18
18
|
# Issue type
|
19
|
-
field :type, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :type, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type') } }
|
20
20
|
# Help message for how to fix the issue
|
21
|
-
field :help_message, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
21
|
+
field :help_message, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('helpMessage') } }
|
22
22
|
|
23
23
|
|
24
24
|
sig { params(message: ::String, path: T::Array[::String], type: ::String, help_message: T.nilable(::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
|
# An EmbedAccessTokenResponse contains a token that can be used to embed a Speakeasy dashboard.
|
11
|
-
class EmbedAccessTokenResponse < ::
|
11
|
+
class EmbedAccessTokenResponse < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :access_token, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :access_token, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('access_token') } }
|
16
16
|
|
17
17
|
|
18
18
|
sig { params(access_token: ::String).void }
|
@@ -4,33 +4,33 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# A representation of an embed token granted for working with Speakeasy components.
|
11
|
-
class EmbedToken < ::
|
11
|
+
class EmbedToken < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# Creation timestamp.
|
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
|
# The ID of the user that created this token.
|
17
|
-
field :created_by, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :created_by, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('created_by') } }
|
18
18
|
# A detailed description of the EmbedToken.
|
19
|
-
field :description, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :description, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
|
20
20
|
# The time this token expires.
|
21
|
-
field :expires_at, ::DateTime, { 'format_json': { 'letter_case': ::
|
21
|
+
field :expires_at, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expires_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
22
22
|
# The filters applied to this token.
|
23
|
-
field :filters, ::String, { 'format_json': { 'letter_case': ::
|
23
|
+
field :filters, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('filters') } }
|
24
24
|
# The ID of this EmbedToken.
|
25
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::
|
25
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
26
26
|
# The workspace ID this token belongs to.
|
27
|
-
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::
|
27
|
+
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspace_id') } }
|
28
28
|
# The last time this token was used.
|
29
|
-
field :last_used, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::
|
29
|
+
field :last_used, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('last_used'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
30
30
|
# The time this token was revoked.
|
31
|
-
field :revoked_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::
|
31
|
+
field :revoked_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('revoked_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
32
32
|
# The ID of the user that revoked this token.
|
33
|
-
field :revoked_by, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
33
|
+
field :revoked_by, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('revoked_by') } }
|
34
34
|
|
35
35
|
|
36
36
|
sig { params(created_at: ::DateTime, created_by: ::String, description: ::String, expires_at: ::DateTime, filters: ::String, id: ::String, workspace_id: ::String, last_used: T.nilable(::DateTime), revoked_at: T.nilable(::DateTime), revoked_by: 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
|
# The `Status` type defines a logical error model
|
11
|
-
class Error < ::
|
11
|
+
class Error < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# A developer-facing error message.
|
15
|
-
field :message, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :message, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('message') } }
|
16
16
|
# The HTTP status code
|
17
|
-
field :status_code, ::Integer, { 'format_json': { 'letter_case': ::
|
17
|
+
field :status_code, ::Integer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('status_code') } }
|
18
18
|
|
19
19
|
|
20
20
|
sig { params(message: ::String, status_code: ::Integer).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
|
# A feature flag is a key-value pair that can be used to enable or disable features.
|
11
|
-
class FeatureFlag < ::
|
11
|
+
class FeatureFlag < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :feature_flag, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :feature_flag, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('feature_flag') } }
|
16
16
|
|
17
|
-
field :trial_ends_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::
|
17
|
+
field :trial_ends_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trial_ends_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
18
18
|
|
19
19
|
|
20
20
|
sig { params(feature_flag: ::String, trial_ends_at: T.nilable(::DateTime)).void }
|
@@ -4,19 +4,19 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# A filter is a key-value pair that can be used to filter a list of requests.
|
11
|
-
class Filter < ::
|
11
|
+
class Filter < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The key of the filter.
|
15
|
-
field :key, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :key, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('key') } }
|
16
16
|
# The operator of the filter.
|
17
|
-
field :operator, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :operator, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('operator') } }
|
18
18
|
# The value of the filter.
|
19
|
-
field :value, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :value, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('value') } }
|
20
20
|
|
21
21
|
|
22
22
|
sig { params(key: ::String, operator: ::String, value: ::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
|
# Filters are used to query requests.
|
11
|
-
class Filters < ::
|
11
|
+
class Filters < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# A list of filters to apply to the query.
|
15
|
-
field :filters, T::Array[::
|
15
|
+
field :filters, T::Array[::OpenApiSDK::Shared::Filter], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('filters') } }
|
16
16
|
# The maximum number of results to return.
|
17
|
-
field :limit, ::Integer, { 'format_json': { 'letter_case': ::
|
17
|
+
field :limit, ::Integer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('limit') } }
|
18
18
|
# The offset to start the query from.
|
19
|
-
field :offset, ::Integer, { 'format_json': { 'letter_case': ::
|
19
|
+
field :offset, ::Integer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('offset') } }
|
20
20
|
# The operator to use when combining filters.
|
21
|
-
field :operator, ::String, { 'format_json': { 'letter_case': ::
|
21
|
+
field :operator, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('operator') } }
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(filters: T::Array[::
|
24
|
+
sig { params(filters: T::Array[::OpenApiSDK::Shared::Filter], limit: ::Integer, offset: ::Integer, operator: ::String).void }
|
25
25
|
def initialize(filters: nil, limit: nil, offset: nil, operator: nil)
|
26
26
|
@filters = filters
|
27
27
|
@limit = limit
|