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,89 +4,97 @@
|
|
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 TargetSDK < ::
|
11
|
+
class TargetSDK < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# gen.lock ID (expected to be a uuid). The same as `id`. A unique identifier for the target.
|
15
|
-
field :generate_gen_lock_id, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :generate_gen_lock_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_gen_lock_id') } }
|
16
16
|
# eg `typescript`, `terraform`, `python`
|
17
|
-
field :generate_target, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :generate_target, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_target') } }
|
18
18
|
# Unique identifier of the target the same as `generate_gen_lock_id`
|
19
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
20
20
|
# Timestamp when the event was created in the database.
|
21
|
-
field :last_event_created_at, ::DateTime, { 'format_json': { 'letter_case': ::
|
21
|
+
field :last_event_created_at, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('last_event_created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
22
22
|
# Unique identifier of the last event for the target
|
23
|
-
field :last_event_id, ::String, { 'format_json': { 'letter_case': ::
|
23
|
+
field :last_event_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('last_event_id') } }
|
24
24
|
# Type of interaction.
|
25
|
-
field :last_event_interaction_type, ::
|
25
|
+
field :last_event_interaction_type, ::OpenApiSDK::Shared::InteractionType, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('last_event_interaction_type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::InteractionType, false) } }
|
26
26
|
# Remote commit ID.
|
27
|
-
field :commit_head, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
27
|
+
field :commit_head, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('commit_head') } }
|
28
28
|
# Name of the CI environment.
|
29
|
-
field :continuous_integration_environment, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
29
|
+
field :continuous_integration_environment, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('continuous_integration_environment') } }
|
30
30
|
# Error message if the last event was not successful.
|
31
|
-
field :error, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
31
|
+
field :error, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('error') } }
|
32
32
|
# Version of the generated target (post generation)
|
33
|
-
field :generate_config_post_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
33
|
+
field :generate_config_post_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_config_post_version') } }
|
34
34
|
# Eligible feature set during generation
|
35
|
-
field :generate_eligible_features, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
35
|
+
field :generate_eligible_features, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_eligible_features') } }
|
36
36
|
# Features prior to generation
|
37
|
-
field :generate_gen_lock_pre_features, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
37
|
+
field :generate_gen_lock_pre_features, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_gen_lock_pre_features') } }
|
38
38
|
# Artifact version for the Previous Generation
|
39
|
-
field :generate_gen_lock_pre_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
39
|
+
field :generate_gen_lock_pre_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_gen_lock_pre_version') } }
|
40
40
|
# The number of operations ignored in generation.
|
41
|
-
field :generate_number_of_operations_ignored, T.nilable(::Integer), { 'format_json': { 'letter_case': ::
|
41
|
+
field :generate_number_of_operations_ignored, T.nilable(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_number_of_operations_ignored') } }
|
42
42
|
# The number of operations used in generation.
|
43
|
-
field :generate_number_of_operations_used, T.nilable(::Integer), { 'format_json': { 'letter_case': ::
|
43
|
+
field :generate_number_of_operations_used, T.nilable(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_number_of_operations_used') } }
|
44
44
|
# Indicates whether the target was considered published.
|
45
|
-
field :generate_published, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::
|
45
|
+
field :generate_published, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_published') } }
|
46
46
|
# The workflow name of the target.
|
47
|
-
field :generate_target_name, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
47
|
+
field :generate_target_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_target_name') } }
|
48
48
|
# The version of the Speakeasy generator for this target eg v2 of the typescript generator.
|
49
|
-
field :generate_target_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
49
|
+
field :generate_target_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('generate_target_version') } }
|
50
50
|
# GitHub organization of the action.
|
51
|
-
field :gh_action_organization, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
51
|
+
field :gh_action_organization, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('gh_action_organization') } }
|
52
52
|
# GitHub Action ref value.
|
53
|
-
field :gh_action_ref, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
53
|
+
field :gh_action_ref, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('gh_action_ref') } }
|
54
54
|
# GitHub repository of the action.
|
55
|
-
field :gh_action_repository, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
55
|
+
field :gh_action_repository, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('gh_action_repository') } }
|
56
56
|
# Link to the GitHub action run.
|
57
|
-
field :gh_action_run_link, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
57
|
+
field :gh_action_run_link, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('gh_action_run_link') } }
|
58
58
|
# Version of the GitHub action.
|
59
|
-
field :gh_action_version, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
59
|
+
field :gh_action_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('gh_action_version') } }
|
60
60
|
# Current working directory relative to the git root.
|
61
|
-
field :git_relative_cwd, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
61
|
+
field :git_relative_cwd, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('git_relative_cwd') } }
|
62
62
|
# Default owner for git remote.
|
63
|
-
field :git_remote_default_owner, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
63
|
+
field :git_remote_default_owner, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('git_remote_default_owner') } }
|
64
64
|
# Default repository name for git remote.
|
65
|
-
field :git_remote_default_repo, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
65
|
+
field :git_remote_default_repo, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('git_remote_default_repo') } }
|
66
66
|
# User email from git configuration.
|
67
|
-
field :git_user_email, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
67
|
+
field :git_user_email, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('git_user_email') } }
|
68
68
|
# User's name from git configuration. (not GitHub username)
|
69
|
-
field :git_user_name, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
69
|
+
field :git_user_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('git_user_name') } }
|
70
70
|
# Remote hostname.
|
71
|
-
field :hostname, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
71
|
+
field :hostname, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('hostname') } }
|
72
|
+
# Name of the published package.
|
73
|
+
field :publish_package_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publish_package_name') } }
|
74
|
+
# Name of the registry where the package was published.
|
75
|
+
field :publish_package_registry_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publish_package_registry_name') } }
|
76
|
+
# URL of the published package.
|
77
|
+
field :publish_package_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publish_package_url') } }
|
78
|
+
# Version of the published package.
|
79
|
+
field :publish_package_version, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publish_package_version') } }
|
72
80
|
# Label of the git repository.
|
73
|
-
field :repo_label, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
81
|
+
field :repo_label, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('repo_label') } }
|
74
82
|
# The blob digest of the source.
|
75
|
-
field :source_blob_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
83
|
+
field :source_blob_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('source_blob_digest') } }
|
76
84
|
# The namespace name of the source.
|
77
|
-
field :source_namespace_name, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
85
|
+
field :source_namespace_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('source_namespace_name') } }
|
78
86
|
# The revision digest of the source.
|
79
|
-
field :source_revision_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
87
|
+
field :source_revision_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('source_revision_digest') } }
|
80
88
|
# Indicates whether the event was successful.
|
81
|
-
field :success, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::
|
89
|
+
field :success, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('success') } }
|
82
90
|
# Workflow file (post execution)
|
83
|
-
field :workflow_post_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
91
|
+
field :workflow_post_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workflow_post_raw') } }
|
84
92
|
# Workflow file (prior to execution)
|
85
|
-
field :workflow_pre_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
93
|
+
field :workflow_pre_raw, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workflow_pre_raw') } }
|
86
94
|
|
87
95
|
|
88
|
-
sig { params(generate_gen_lock_id: ::String, generate_target: ::String, id: ::String, last_event_created_at: ::DateTime, last_event_id: ::String, last_event_interaction_type: ::
|
89
|
-
def initialize(generate_gen_lock_id: nil, generate_target: nil, id: nil, last_event_created_at: nil, last_event_id: nil, last_event_interaction_type: nil, commit_head: nil, continuous_integration_environment: nil, error: nil, generate_config_post_version: nil, generate_eligible_features: nil, generate_gen_lock_pre_features: nil, generate_gen_lock_pre_version: nil, generate_number_of_operations_ignored: nil, generate_number_of_operations_used: nil, generate_published: nil, generate_target_name: nil, generate_target_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, repo_label: nil, source_blob_digest: nil, source_namespace_name: nil, source_revision_digest: nil, success: nil, workflow_post_raw: nil, workflow_pre_raw: nil)
|
96
|
+
sig { params(generate_gen_lock_id: ::String, generate_target: ::String, id: ::String, last_event_created_at: ::DateTime, last_event_id: ::String, last_event_interaction_type: ::OpenApiSDK::Shared::InteractionType, commit_head: T.nilable(::String), continuous_integration_environment: T.nilable(::String), error: T.nilable(::String), generate_config_post_version: T.nilable(::String), generate_eligible_features: T.nilable(::String), generate_gen_lock_pre_features: 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_published: T.nilable(T::Boolean), generate_target_name: T.nilable(::String), generate_target_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), 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), repo_label: T.nilable(::String), source_blob_digest: T.nilable(::String), source_namespace_name: T.nilable(::String), source_revision_digest: T.nilable(::String), success: T.nilable(T::Boolean), workflow_post_raw: T.nilable(::String), workflow_pre_raw: T.nilable(::String)).void }
|
97
|
+
def initialize(generate_gen_lock_id: nil, generate_target: nil, id: nil, last_event_created_at: nil, last_event_id: nil, last_event_interaction_type: nil, commit_head: nil, continuous_integration_environment: nil, error: nil, generate_config_post_version: nil, generate_eligible_features: nil, generate_gen_lock_pre_features: nil, generate_gen_lock_pre_version: nil, generate_number_of_operations_ignored: nil, generate_number_of_operations_used: nil, generate_published: nil, generate_target_name: nil, generate_target_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, publish_package_name: nil, publish_package_registry_name: nil, publish_package_url: nil, publish_package_version: nil, repo_label: nil, source_blob_digest: nil, source_namespace_name: nil, source_revision_digest: nil, success: nil, workflow_post_raw: nil, workflow_pre_raw: nil)
|
90
98
|
@generate_gen_lock_id = generate_gen_lock_id
|
91
99
|
@generate_target = generate_target
|
92
100
|
@id = id
|
@@ -116,6 +124,10 @@ module SpeakeasyClientSDK
|
|
116
124
|
@git_user_email = git_user_email
|
117
125
|
@git_user_name = git_user_name
|
118
126
|
@hostname = hostname
|
127
|
+
@publish_package_name = publish_package_name
|
128
|
+
@publish_package_registry_name = publish_package_registry_name
|
129
|
+
@publish_package_url = publish_package_url
|
130
|
+
@publish_package_version = publish_package_version
|
119
131
|
@repo_label = repo_label
|
120
132
|
@source_blob_digest = source_blob_digest
|
121
133
|
@source_namespace_name = source_namespace_name
|
@@ -4,23 +4,23 @@
|
|
4
4
|
# frozen_string_literal: true
|
5
5
|
|
6
6
|
|
7
|
-
module
|
7
|
+
module OpenApiSDK
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# An UnboundedRequest represents the HAR content capture by Speakeasy when logging a request.
|
11
|
-
class UnboundedRequest < ::
|
11
|
+
class UnboundedRequest < ::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 HAR content of the request.
|
17
|
-
field :har, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :har, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('har') } }
|
18
18
|
# The size of the HAR content in bytes.
|
19
|
-
field :har_size_bytes, ::Integer, { 'format_json': { 'letter_case': ::
|
19
|
+
field :har_size_bytes, ::Integer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('har_size_bytes') } }
|
20
20
|
# The ID of this request.
|
21
|
-
field :request_id, ::String, { 'format_json': { 'letter_case': ::
|
21
|
+
field :request_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('request_id') } }
|
22
22
|
# The workspace ID this request was made to.
|
23
|
-
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::
|
23
|
+
field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspace_id') } }
|
24
24
|
|
25
25
|
|
26
26
|
sig { params(created_at: ::DateTime, har: ::String, har_size_bytes: ::Integer, request_id: ::String, workspace_id: ::String).void }
|
@@ -4,43 +4,43 @@
|
|
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 User < ::
|
11
|
+
class User < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# Indicates whether the user is an admin.
|
15
|
-
field :admin, T::Boolean, { 'format_json': { 'letter_case': ::
|
15
|
+
field :admin, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('admin') } }
|
16
16
|
# Indicates whether the user has been confirmed.
|
17
|
-
field :confirmed, T::Boolean, { 'format_json': { 'letter_case': ::
|
17
|
+
field :confirmed, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('confirmed') } }
|
18
18
|
# Timestamp of the user's creation.
|
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
|
# Display name of the user.
|
21
|
-
field :display_name, ::String, { 'format_json': { 'letter_case': ::
|
21
|
+
field :display_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('display_name') } }
|
22
22
|
# Email address of the user.
|
23
|
-
field :email, ::String, { 'format_json': { 'letter_case': ::
|
23
|
+
field :email, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
|
24
24
|
# Indicates whether the email address has been verified.
|
25
|
-
field :email_verified, T::Boolean, { 'format_json': { 'letter_case': ::
|
25
|
+
field :email_verified, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email_verified') } }
|
26
26
|
# Unique identifier for the user.
|
27
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::
|
28
|
-
# Timestamp of the last login.
|
29
|
-
field :last_login_at, ::DateTime, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('last_login_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
27
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
30
28
|
# Timestamp of the user's last update.
|
31
|
-
field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::
|
29
|
+
field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
32
30
|
# Indicates whether the user has been whitelisted.
|
33
|
-
field :whitelisted, T::Boolean, { 'format_json': { 'letter_case': ::
|
31
|
+
field :whitelisted, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('whitelisted') } }
|
34
32
|
# Identifier of the default workspace.
|
35
|
-
field :default_workspace_id, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
33
|
+
field :default_workspace_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('default_workspace_id') } }
|
36
34
|
# GitHub handle of the user.
|
37
|
-
field :github_handle, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
35
|
+
field :github_handle, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('github_handle') } }
|
36
|
+
# Timestamp of the last login.
|
37
|
+
field :last_login_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('last_login_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
38
38
|
# URL of the user's photo.
|
39
|
-
field :photo_url, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
39
|
+
field :photo_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('photo_url') } }
|
40
40
|
|
41
41
|
|
42
|
-
sig { params(admin: T::Boolean, confirmed: T::Boolean, created_at: ::DateTime, display_name: ::String, email: ::String, email_verified: T::Boolean, id: ::String,
|
43
|
-
def initialize(admin: nil, confirmed: nil, created_at: nil, display_name: nil, email: nil, email_verified: nil, id: nil,
|
42
|
+
sig { params(admin: T::Boolean, confirmed: T::Boolean, created_at: ::DateTime, display_name: ::String, email: ::String, email_verified: T::Boolean, id: ::String, updated_at: ::DateTime, whitelisted: T::Boolean, default_workspace_id: T.nilable(::String), github_handle: T.nilable(::String), last_login_at: T.nilable(::DateTime), photo_url: T.nilable(::String)).void }
|
43
|
+
def initialize(admin: nil, confirmed: nil, created_at: nil, display_name: nil, email: nil, email_verified: nil, id: nil, updated_at: nil, whitelisted: nil, default_workspace_id: nil, github_handle: nil, last_login_at: nil, photo_url: nil)
|
44
44
|
@admin = admin
|
45
45
|
@confirmed = confirmed
|
46
46
|
@created_at = created_at
|
@@ -48,11 +48,11 @@ module SpeakeasyClientSDK
|
|
48
48
|
@email = email
|
49
49
|
@email_verified = email_verified
|
50
50
|
@id = id
|
51
|
-
@last_login_at = last_login_at
|
52
51
|
@updated_at = updated_at
|
53
52
|
@whitelisted = whitelisted
|
54
53
|
@default_workspace_id = default_workspace_id
|
55
54
|
@github_handle = github_handle
|
55
|
+
@last_login_at = last_login_at
|
56
56
|
@photo_url = photo_url
|
57
57
|
end
|
58
58
|
end
|
@@ -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
|
# V2 descriptor
|
11
|
-
class V2Descriptor < ::
|
11
|
+
class V2Descriptor < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# Annotations
|
15
|
-
field :annotations, T.nilable(::
|
15
|
+
field :annotations, T.nilable(::OpenApiSDK::Shared::Annotations), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('annotations') } }
|
16
16
|
# Digest
|
17
|
-
field :digest, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
17
|
+
field :digest, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('digest') } }
|
18
18
|
# Media type
|
19
|
-
field :media_type, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
19
|
+
field :media_type, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('mediaType') } }
|
20
20
|
# Size
|
21
|
-
field :size, T.nilable(::Integer), { 'format_json': { 'letter_case': ::
|
21
|
+
field :size, T.nilable(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('size') } }
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(annotations: T.nilable(::
|
24
|
+
sig { params(annotations: T.nilable(::OpenApiSDK::Shared::Annotations), digest: T.nilable(::String), media_type: T.nilable(::String), size: T.nilable(::Integer)).void }
|
25
25
|
def initialize(annotations: nil, digest: nil, media_type: nil, size: nil)
|
26
26
|
@annotations = annotations
|
27
27
|
@digest = digest
|
@@ -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 ValueChange < ::
|
11
|
+
class ValueChange < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# Represents the previous value of the element.
|
15
|
-
field :from, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :from, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('From') } }
|
16
16
|
# Represents the current value of the element.
|
17
|
-
field :to, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :to, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('To') } }
|
18
18
|
|
19
19
|
|
20
20
|
sig { params(from: ::String, to: ::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
|
# A set of keys and associated values, attached to a particular version of an Api.
|
11
|
-
class VersionMetadata < ::
|
11
|
+
class VersionMetadata < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The ID of the Api this Metadata 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
|
# The key for this metadata.
|
19
|
-
field :meta_key, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :meta_key, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('meta_key') } }
|
20
20
|
# One of the values for this metadata.
|
21
|
-
field :meta_value, ::String, { 'format_json': { 'letter_case': ::
|
21
|
+
field :meta_value, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('meta_value') } }
|
22
22
|
# The version ID of the Api this Metadata 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 Metadata 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, meta_key: ::String, meta_value: ::String, version_id: ::String, workspace_id: ::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
|
# A set of keys and associated values, attached to a particular version of an Api.
|
11
|
-
class VersionMetadataInput < ::
|
11
|
+
class VersionMetadataInput < ::OpenApiSDK::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The key for this metadata.
|
15
|
-
field :meta_key, ::String, { 'format_json': { 'letter_case': ::
|
15
|
+
field :meta_key, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('meta_key') } }
|
16
16
|
# One of the values for this metadata.
|
17
|
-
field :meta_value, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :meta_value, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('meta_value') } }
|
18
18
|
|
19
19
|
|
20
20
|
sig { params(meta_key: ::String, meta_value: ::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
|
+
# A document referenced by a workflow
|
11
|
+
class WorkflowDocument < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :location, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('location') } }
|
16
|
+
|
17
|
+
field :auth, T.nilable(::OpenApiSDK::Shared::Auth), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('auth') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(location: ::String, auth: T.nilable(::OpenApiSDK::Shared::Auth)).void }
|
21
|
+
def initialize(location: nil, auth: nil)
|
22
|
+
@location = location
|
23
|
+
@auth = auth
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -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 speakeasy workspace
|
11
|
-
class Workspace < ::
|
11
|
+
class Workspace < ::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 :id, ::String, { 'format_json': { 'letter_case': ::
|
17
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
18
18
|
|
19
|
-
field :name, ::String, { 'format_json': { 'letter_case': ::
|
19
|
+
field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
|
20
20
|
|
21
|
-
field :organization_id, ::String, { 'format_json': { 'letter_case': ::
|
21
|
+
field :organization_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('organization_id') } }
|
22
22
|
|
23
|
-
field :slug, ::String, { 'format_json': { 'letter_case': ::
|
23
|
+
field :slug, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } }
|
24
24
|
|
25
|
-
field :telemetry_disabled, T::Boolean, { 'format_json': { 'letter_case': ::
|
25
|
+
field :telemetry_disabled, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('telemetry_disabled') } }
|
26
26
|
|
27
|
-
field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::
|
27
|
+
field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
28
28
|
|
29
|
-
field :verified, T::Boolean, { 'format_json': { 'letter_case': ::
|
29
|
+
field :verified, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('verified') } }
|
30
30
|
|
31
|
-
field :oci_repo, T.nilable(::String), { 'format_json': { 'letter_case': ::
|
31
|
+
field :oci_repo, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('oci_repo') } }
|
32
32
|
|
33
|
-
field :oci_repo_created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::
|
33
|
+
field :oci_repo_created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('oci_repo_created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
34
34
|
|
35
35
|
|
36
36
|
sig { params(created_at: ::DateTime, id: ::String, name: ::String, organization_id: ::String, slug: ::String, telemetry_disabled: T::Boolean, updated_at: ::DateTime, verified: T::Boolean, oci_repo: T.nilable(::String), oci_repo_created_at: T.nilable(::DateTime)).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
|
+
# A workspace and organization
|
11
|
+
class WorkspaceAndOrganization < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# A speakeasy organization
|
15
|
+
field :organization, ::OpenApiSDK::Shared::Organization, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('organization') } }
|
16
|
+
# A speakeasy workspace
|
17
|
+
field :workspace, ::OpenApiSDK::Shared::Workspace, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspace') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(organization: ::OpenApiSDK::Shared::Organization, workspace: ::OpenApiSDK::Shared::Workspace).void }
|
21
|
+
def initialize(organization: nil, workspace: nil)
|
22
|
+
@organization = organization
|
23
|
+
@workspace = workspace
|
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
|
+
# Workspace feature flag response
|
11
|
+
class WorkspaceFeatureFlagResponse < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :feature_flags, T.nilable(T::Array[::OpenApiSDK::Shared::FeatureFlag]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('feature_flags') } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(feature_flags: T.nilable(T::Array[::OpenApiSDK::Shared::FeatureFlag])).void }
|
19
|
+
def initialize(feature_flags: nil)
|
20
|
+
@feature_flags = feature_flags
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
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
|
+
# A response for workspace user invite
|
11
|
+
class WorkspaceInviteResponse < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :relationship, ::OpenApiSDK::Shared::Relationship, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('relationship') } }
|
16
|
+
|
17
|
+
field :invite_link, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('invite_link') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(relationship: ::OpenApiSDK::Shared::Relationship, invite_link: T.nilable(::String)).void }
|
21
|
+
def initialize(relationship: nil, invite_link: nil)
|
22
|
+
@relationship = relationship
|
23
|
+
@invite_link = invite_link
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module OpenApiSDK
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class Workspaces < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :account_type, T.nilable(::OpenApiSDK::Shared::AccountType), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('account_type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::AccountType, true) } }
|
16
|
+
|
17
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
18
|
+
|
19
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
|
20
|
+
|
21
|
+
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(account_type: T.nilable(::OpenApiSDK::Shared::AccountType), id: T.nilable(::String), name: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
25
|
+
def initialize(account_type: nil, id: nil, name: nil, updated_at: nil)
|
26
|
+
@account_type = account_type
|
27
|
+
@id = id
|
28
|
+
@name = name
|
29
|
+
@updated_at = updated_at
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|