speakeasy_client_sdk_ruby 4.2.15 → 4.2.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/speakeasy_client_sdk/apiendpoints.rb +1 -1
- data/lib/speakeasy_client_sdk/apis.rb +1 -1
- data/lib/speakeasy_client_sdk/artifacts.rb +1 -1
- data/lib/speakeasy_client_sdk/auth.rb +1 -1
- data/lib/speakeasy_client_sdk/embeds.rb +1 -1
- data/lib/speakeasy_client_sdk/events.rb +1 -1
- data/lib/speakeasy_client_sdk/github.rb +1 -1
- data/lib/speakeasy_client_sdk/metadata.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/applyoperationids_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/applyoperationids_requestbody.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/applyoperationids_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/checkaccess_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/checkaccess_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/configurecodesamples_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/configuremintlifyrepo_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/configuretarget_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/create_requestbody.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/create_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/createfreetrial_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteapi_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteapi_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteapiendpoint_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteapiendpoint_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteschema_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteschema_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteversionmetadata_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteversionmetadata_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/downloadschema_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/downloadschema_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/downloadschemarevision_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/downloadschemarevision_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/fetchpublishingprs_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/fetchpublishingprs_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/file.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/findapiendpoint_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/findapiendpoint_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispec_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispec_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispecforapiendpoint_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispecforapiendpoint_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollection_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollection_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollectionforapiendpoint_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollectionforapiendpoint_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generaterequestpostmancollection_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generaterequestpostmancollection_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getaccesstoken_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getaccesstoken_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getaction_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getaction_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getallapiendpoints_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getallapiendpoints_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getallapiversions_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getallapiversions_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getallforversionapiendpoints_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getallforversionapiendpoints_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getapiendpoint_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getapiendpoint_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getapis_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getapis_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getblob_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getblob_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_signedaccess.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getlintingreportsignedurl_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getlintingreportsignedurl_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getlintingreportsignedurl_signedaccess.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getmanifest_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getmanifest_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getnamespaces_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getoassummary_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getoassummary_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getorganization_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/getorganization_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getorganizations_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getorganizationusage_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getrequestfromeventlog_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getrequestfromeventlog_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getrevisions_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getrevisions_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschema_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschema_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschemadiff_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschemadiff_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschemarevision_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschemarevision_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschemas_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschemas_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/gettags_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/gettags_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getuser_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getvalidembedaccesstokens_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getversionmetadata_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getversionmetadata_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getworkspace_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/getworkspace_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getworkspaceaccess_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getworkspaceaccess_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getworkspacetargets_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getworkspacetargets_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/githubcheckpublishingsecrets_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/githubcheckpublishingsecrets_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/githubstorepublishingsecrets_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/insertversionmetadata_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/insertversionmetadata_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/op.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/posttags_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/posttags_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/postworkspaceevents_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/postworkspaceevents_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/preflight_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/queryeventlog_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/queryeventlog_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/queryparam_op.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/registerschema_file.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/registerschema_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/registerschema_requestbody.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/registerschema_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/schema.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/searchworkspaceevents_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/searchworkspaceevents_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/suggestoperationids_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/suggestoperationids_requestbody.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/suggestoperationids_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/suggestoperationidsregistry_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/suggestoperationidsregistry_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/triggeraction_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/uploadreport_requestbody.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/uploadreport_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/uploadreport_uploadedreport.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/upsertapi_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/upsertapi_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/upsertapiendpoint_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/upsertapiendpoint_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/validateapikey_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations.rb +5 -1
- data/lib/speakeasy_client_sdk/models/shared/accessdetails.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/accesstoken.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/accesstoken_user.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/{account_type.rb → accounttype.rb} +2 -1
- data/lib/speakeasy_client_sdk/models/shared/addtags.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/annotations.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/api.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/api_input.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/apiendpoint.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/apikeydetails.rb +5 -5
- data/lib/speakeasy_client_sdk/models/shared/auth.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/boundedrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/claims.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/clievent.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/depth_style.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/embedaccesstokenresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/embedtoken.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/error.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/featureflag.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/filter.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/filters.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/generate_bump_type.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/generateopenapispecdiff.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/getnamespacesresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/getrevisionsresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/gettagsresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubconfigurecodesamplesrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubconfigurecodesamplesresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubconfiguremintlifyreporequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubconfiguretargetrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubgetactionresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubmissingpublishingsecretsresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubpublishingprresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubstorepublishingsecretsrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubtriggeractionrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/interactiontype.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/level.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/license.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/manifest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/namespace.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/oasinfo.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/oasoperation.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/oassummary.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/openapi_diff_bump_type.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/organization.rb +7 -4
- data/lib/speakeasy_client_sdk/models/shared/organizationusage.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/organizationusageresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/preflightrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/preflighttoken.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/report.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/requestmetadata.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/revision.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/schema.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/schemadiff.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/security.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/shorturl.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/style.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/suggestedoperationids.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/suggestoperationidsopts.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/tag.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/targetsdk.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/type.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/unboundedrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/user.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/v2descriptor.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/valuechange.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/versionmetadata.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/versionmetadata_input.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/workflowdocument.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/workspace.rb +51 -0
- data/lib/speakeasy_client_sdk/models/shared/workspaces.rb +3 -3
- data/lib/speakeasy_client_sdk/models/shared.rb +4 -5
- data/lib/speakeasy_client_sdk/organizations.rb +44 -1
- data/lib/speakeasy_client_sdk/reports.rb +1 -1
- data/lib/speakeasy_client_sdk/requests.rb +1 -1
- data/lib/speakeasy_client_sdk/schemas.rb +1 -1
- data/lib/speakeasy_client_sdk/sdk.rb +3 -2
- data/lib/speakeasy_client_sdk/sdkconfiguration.rb +4 -4
- data/lib/speakeasy_client_sdk/shorturls.rb +1 -1
- data/lib/speakeasy_client_sdk/suggest.rb +1 -1
- data/lib/speakeasy_client_sdk/utils/metadata_fields.rb +1 -1
- data/lib/speakeasy_client_sdk/utils/t.rb +1 -1
- data/lib/speakeasy_client_sdk/utils/utils.rb +1 -1
- data/lib/speakeasy_client_sdk/workspaces.rb +64 -0
- data/lib/speakeasy_client_sdk_ruby.rb +2 -1
- metadata +9 -5
- data/lib/speakeasy_client_sdk/models/shared/accesstoken_account_type.rb +0 -20
- data/lib/speakeasy_client_sdk/models/shared/organization_account_type.rb +0 -20
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -34,14 +34,13 @@ module SpeakeasyClientSDK
|
|
34
34
|
autoload :PreflightRequest, 'speakeasy_client_sdk/models/shared/preflightrequest.rb'
|
35
35
|
autoload :Claims, 'speakeasy_client_sdk/models/shared/claims.rb'
|
36
36
|
autoload :AccessTokenUser, 'speakeasy_client_sdk/models/shared/accesstoken_user.rb'
|
37
|
-
autoload :AccessTokenAccountType, 'speakeasy_client_sdk/models/shared/accesstoken_account_type.rb'
|
38
37
|
autoload :Workspaces, 'speakeasy_client_sdk/models/shared/workspaces.rb'
|
39
38
|
autoload :AccessToken, 'speakeasy_client_sdk/models/shared/accesstoken.rb'
|
39
|
+
autoload :AccountType, 'speakeasy_client_sdk/models/shared/accounttype.rb'
|
40
40
|
autoload :FeatureFlag, 'speakeasy_client_sdk/models/shared/featureflag.rb'
|
41
41
|
autoload :User, 'speakeasy_client_sdk/models/shared/user.rb'
|
42
42
|
autoload :Level, 'speakeasy_client_sdk/models/shared/level.rb'
|
43
43
|
autoload :AccessDetails, 'speakeasy_client_sdk/models/shared/accessdetails.rb'
|
44
|
-
autoload :AccountType, 'speakeasy_client_sdk/models/shared/account_type.rb'
|
45
44
|
autoload :ApiKeyDetails, 'speakeasy_client_sdk/models/shared/apikeydetails.rb'
|
46
45
|
autoload :UnboundedRequest, 'speakeasy_client_sdk/models/shared/unboundedrequest.rb'
|
47
46
|
autoload :BoundedRequest, 'speakeasy_client_sdk/models/shared/boundedrequest.rb'
|
@@ -59,10 +58,9 @@ module SpeakeasyClientSDK
|
|
59
58
|
autoload :GithubMissingPublishingSecretsResponse, 'speakeasy_client_sdk/models/shared/githubmissingpublishingsecretsresponse.rb'
|
60
59
|
autoload :GithubStorePublishingSecretsRequest, 'speakeasy_client_sdk/models/shared/githubstorepublishingsecretsrequest.rb'
|
61
60
|
autoload :GithubTriggerActionRequest, 'speakeasy_client_sdk/models/shared/githubtriggeractionrequest.rb'
|
61
|
+
autoload :Organization, 'speakeasy_client_sdk/models/shared/organization.rb'
|
62
62
|
autoload :OrganizationUsageResponse, 'speakeasy_client_sdk/models/shared/organizationusageresponse.rb'
|
63
63
|
autoload :OrganizationUsage, 'speakeasy_client_sdk/models/shared/organizationusage.rb'
|
64
|
-
autoload :OrganizationAccountType, 'speakeasy_client_sdk/models/shared/organization_account_type.rb'
|
65
|
-
autoload :Organization, 'speakeasy_client_sdk/models/shared/organization.rb'
|
66
64
|
autoload :Type, 'speakeasy_client_sdk/models/shared/type.rb'
|
67
65
|
autoload :Report, 'speakeasy_client_sdk/models/shared/report.rb'
|
68
66
|
autoload :ShortURL, 'speakeasy_client_sdk/models/shared/shorturl.rb'
|
@@ -72,6 +70,7 @@ module SpeakeasyClientSDK
|
|
72
70
|
autoload :SuggestOperationIDsOpts, 'speakeasy_client_sdk/models/shared/suggestoperationidsopts.rb'
|
73
71
|
autoload :EmbedAccessTokenResponse, 'speakeasy_client_sdk/models/shared/embedaccesstokenresponse.rb'
|
74
72
|
autoload :EmbedToken, 'speakeasy_client_sdk/models/shared/embedtoken.rb'
|
73
|
+
autoload :Workspace, 'speakeasy_client_sdk/models/shared/workspace.rb'
|
75
74
|
autoload :GenerateBumpType, 'speakeasy_client_sdk/models/shared/generate_bump_type.rb'
|
76
75
|
autoload :OpenapiDiffBumpType, 'speakeasy_client_sdk/models/shared/openapi_diff_bump_type.rb'
|
77
76
|
autoload :CliEvent, 'speakeasy_client_sdk/models/shared/clievent.rb'
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -52,6 +52,49 @@ module SpeakeasyClientSDK
|
|
52
52
|
end
|
53
53
|
|
54
54
|
|
55
|
+
sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::GetOrganizationRequest)).returns(::SpeakeasyClientSDK::Operations::GetOrganizationResponse) }
|
56
|
+
def get_organization(request)
|
57
|
+
# get_organization - Get organization
|
58
|
+
# Get information about a particular organization.
|
59
|
+
url, params = @sdk_configuration.get_server_details
|
60
|
+
base_url = Utils.template_url(url, params)
|
61
|
+
url = Utils.generate_url(
|
62
|
+
::SpeakeasyClientSDK::Operations::GetOrganizationRequest,
|
63
|
+
base_url,
|
64
|
+
'/v1/organization/{organizationID}',
|
65
|
+
request,
|
66
|
+
@sdk_configuration.globals
|
67
|
+
)
|
68
|
+
headers = {}
|
69
|
+
headers['Accept'] = 'application/json'
|
70
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
71
|
+
|
72
|
+
r = @sdk_configuration.client.get(url) do |req|
|
73
|
+
req.headers = headers
|
74
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
75
|
+
end
|
76
|
+
|
77
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
78
|
+
|
79
|
+
res = ::SpeakeasyClientSDK::Operations::GetOrganizationResponse.new(
|
80
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
81
|
+
)
|
82
|
+
if r.status == 200
|
83
|
+
if Utils.match_content_type(content_type, 'application/json')
|
84
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Organization)
|
85
|
+
res.organization = out
|
86
|
+
end
|
87
|
+
else
|
88
|
+
|
89
|
+
if Utils.match_content_type(content_type, 'application/json')
|
90
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Error)
|
91
|
+
res.error = out
|
92
|
+
end
|
93
|
+
end
|
94
|
+
res
|
95
|
+
end
|
96
|
+
|
97
|
+
|
55
98
|
sig { returns(::SpeakeasyClientSDK::Operations::GetOrganizationUsageResponse) }
|
56
99
|
def get_organization_usage
|
57
100
|
# get_organization_usage - Get billing usage summary for a particular organization
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -13,7 +13,7 @@ module SpeakeasyClientSDK
|
|
13
13
|
class SDK
|
14
14
|
extend T::Sig
|
15
15
|
|
16
|
-
attr_accessor :apis, :api_endpoints, :metadata, :schemas, :artifacts, :auth, :requests, :github, :organizations, :reports, :short_ur_ls, :suggest, :embeds, :events
|
16
|
+
attr_accessor :apis, :api_endpoints, :metadata, :schemas, :artifacts, :auth, :requests, :github, :organizations, :reports, :short_ur_ls, :suggest, :embeds, :workspaces, :events
|
17
17
|
|
18
18
|
sig do
|
19
19
|
params(client: Faraday::Request,
|
@@ -102,6 +102,7 @@ module SpeakeasyClientSDK
|
|
102
102
|
@short_ur_ls = ShortURLs.new(@sdk_configuration)
|
103
103
|
@suggest = Suggest.new(@sdk_configuration)
|
104
104
|
@embeds = Embeds.new(@sdk_configuration)
|
105
|
+
@workspaces = Workspaces.new(@sdk_configuration)
|
105
106
|
@events = Events.new(@sdk_configuration)
|
106
107
|
end
|
107
108
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -41,9 +41,9 @@ module SpeakeasyClientSDK
|
|
41
41
|
@globals = globals.nil? ? {} : globals
|
42
42
|
@language = 'ruby'
|
43
43
|
@openapi_doc_version = '0.4.0 .'
|
44
|
-
@sdk_version = '4.2.
|
45
|
-
@gen_version = '2.
|
46
|
-
@user_agent = 'speakeasy-sdk/ruby 4.2.
|
44
|
+
@sdk_version = '4.2.17'
|
45
|
+
@gen_version = '2.385.2'
|
46
|
+
@user_agent = 'speakeasy-sdk/ruby 4.2.17 2.385.2 0.4.0 . speakeasy_client_sdk_ruby'
|
47
47
|
end
|
48
48
|
|
49
49
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
@@ -0,0 +1,64 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
require 'faraday'
|
7
|
+
require 'faraday/multipart'
|
8
|
+
require 'sorbet-runtime'
|
9
|
+
|
10
|
+
module SpeakeasyClientSDK
|
11
|
+
extend T::Sig
|
12
|
+
class Workspaces
|
13
|
+
extend T::Sig
|
14
|
+
|
15
|
+
|
16
|
+
sig { params(sdk_config: SDKConfiguration).void }
|
17
|
+
def initialize(sdk_config)
|
18
|
+
@sdk_configuration = sdk_config
|
19
|
+
end
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::GetWorkspaceRequest)).returns(::SpeakeasyClientSDK::Operations::GetWorkspaceResponse) }
|
23
|
+
def get_workspace(request)
|
24
|
+
# get_workspace - Get workspace
|
25
|
+
# Get information about a particular workspace.
|
26
|
+
url, params = @sdk_configuration.get_server_details
|
27
|
+
base_url = Utils.template_url(url, params)
|
28
|
+
url = Utils.generate_url(
|
29
|
+
::SpeakeasyClientSDK::Operations::GetWorkspaceRequest,
|
30
|
+
base_url,
|
31
|
+
'/v1/workspace/{workspaceID}',
|
32
|
+
request,
|
33
|
+
@sdk_configuration.globals
|
34
|
+
)
|
35
|
+
headers = {}
|
36
|
+
headers['Accept'] = 'application/json'
|
37
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
38
|
+
|
39
|
+
r = @sdk_configuration.client.get(url) do |req|
|
40
|
+
req.headers = headers
|
41
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
42
|
+
end
|
43
|
+
|
44
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
45
|
+
|
46
|
+
res = ::SpeakeasyClientSDK::Operations::GetWorkspaceResponse.new(
|
47
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
48
|
+
)
|
49
|
+
if r.status == 200
|
50
|
+
if Utils.match_content_type(content_type, 'application/json')
|
51
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Workspace)
|
52
|
+
res.workspace = out
|
53
|
+
end
|
54
|
+
else
|
55
|
+
|
56
|
+
if Utils.match_content_type(content_type, 'application/json')
|
57
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Error)
|
58
|
+
res.error = out
|
59
|
+
end
|
60
|
+
end
|
61
|
+
res
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -20,6 +20,7 @@ module SpeakeasyClientSDK
|
|
20
20
|
autoload :ShortURLs, 'speakeasy_client_sdk/shorturls'
|
21
21
|
autoload :Suggest, 'speakeasy_client_sdk/suggest'
|
22
22
|
autoload :Embeds, 'speakeasy_client_sdk/embeds'
|
23
|
+
autoload :Workspaces, 'speakeasy_client_sdk/workspaces'
|
23
24
|
autoload :Events, 'speakeasy_client_sdk/events'
|
24
25
|
end
|
25
26
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: speakeasy_client_sdk_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Speakeasy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -218,6 +218,8 @@ files:
|
|
218
218
|
- lib/speakeasy_client_sdk/models/operations/getnamespaces_response.rb
|
219
219
|
- lib/speakeasy_client_sdk/models/operations/getoassummary_request.rb
|
220
220
|
- lib/speakeasy_client_sdk/models/operations/getoassummary_response.rb
|
221
|
+
- lib/speakeasy_client_sdk/models/operations/getorganization_request.rb
|
222
|
+
- lib/speakeasy_client_sdk/models/operations/getorganization_response.rb
|
221
223
|
- lib/speakeasy_client_sdk/models/operations/getorganizations_response.rb
|
222
224
|
- lib/speakeasy_client_sdk/models/operations/getorganizationusage_response.rb
|
223
225
|
- lib/speakeasy_client_sdk/models/operations/getrequestfromeventlog_request.rb
|
@@ -238,6 +240,8 @@ files:
|
|
238
240
|
- lib/speakeasy_client_sdk/models/operations/getvalidembedaccesstokens_response.rb
|
239
241
|
- lib/speakeasy_client_sdk/models/operations/getversionmetadata_request.rb
|
240
242
|
- lib/speakeasy_client_sdk/models/operations/getversionmetadata_response.rb
|
243
|
+
- lib/speakeasy_client_sdk/models/operations/getworkspace_request.rb
|
244
|
+
- lib/speakeasy_client_sdk/models/operations/getworkspace_response.rb
|
241
245
|
- lib/speakeasy_client_sdk/models/operations/getworkspaceaccess_request.rb
|
242
246
|
- lib/speakeasy_client_sdk/models/operations/getworkspaceaccess_response.rb
|
243
247
|
- lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_request.rb
|
@@ -284,9 +288,8 @@ files:
|
|
284
288
|
- lib/speakeasy_client_sdk/models/shared.rb
|
285
289
|
- lib/speakeasy_client_sdk/models/shared/accessdetails.rb
|
286
290
|
- lib/speakeasy_client_sdk/models/shared/accesstoken.rb
|
287
|
-
- lib/speakeasy_client_sdk/models/shared/accesstoken_account_type.rb
|
288
291
|
- lib/speakeasy_client_sdk/models/shared/accesstoken_user.rb
|
289
|
-
- lib/speakeasy_client_sdk/models/shared/
|
292
|
+
- lib/speakeasy_client_sdk/models/shared/accounttype.rb
|
290
293
|
- lib/speakeasy_client_sdk/models/shared/addtags.rb
|
291
294
|
- lib/speakeasy_client_sdk/models/shared/annotations.rb
|
292
295
|
- lib/speakeasy_client_sdk/models/shared/api.rb
|
@@ -329,7 +332,6 @@ files:
|
|
329
332
|
- lib/speakeasy_client_sdk/models/shared/oassummary.rb
|
330
333
|
- lib/speakeasy_client_sdk/models/shared/openapi_diff_bump_type.rb
|
331
334
|
- lib/speakeasy_client_sdk/models/shared/organization.rb
|
332
|
-
- lib/speakeasy_client_sdk/models/shared/organization_account_type.rb
|
333
335
|
- lib/speakeasy_client_sdk/models/shared/organizationusage.rb
|
334
336
|
- lib/speakeasy_client_sdk/models/shared/organizationusageresponse.rb
|
335
337
|
- lib/speakeasy_client_sdk/models/shared/preflightrequest.rb
|
@@ -354,6 +356,7 @@ files:
|
|
354
356
|
- lib/speakeasy_client_sdk/models/shared/versionmetadata.rb
|
355
357
|
- lib/speakeasy_client_sdk/models/shared/versionmetadata_input.rb
|
356
358
|
- lib/speakeasy_client_sdk/models/shared/workflowdocument.rb
|
359
|
+
- lib/speakeasy_client_sdk/models/shared/workspace.rb
|
357
360
|
- lib/speakeasy_client_sdk/models/shared/workspaces.rb
|
358
361
|
- lib/speakeasy_client_sdk/organizations.rb
|
359
362
|
- lib/speakeasy_client_sdk/reports.rb
|
@@ -366,6 +369,7 @@ files:
|
|
366
369
|
- lib/speakeasy_client_sdk/utils/metadata_fields.rb
|
367
370
|
- lib/speakeasy_client_sdk/utils/t.rb
|
368
371
|
- lib/speakeasy_client_sdk/utils/utils.rb
|
372
|
+
- lib/speakeasy_client_sdk/workspaces.rb
|
369
373
|
- lib/speakeasy_client_sdk_ruby.rb
|
370
374
|
homepage: https://github.com/speakeasy-api/speakeasy-client-sdk-ruby.git
|
371
375
|
licenses:
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module SpeakeasyClientSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class AccessTokenAccountType < T::Enum
|
12
|
-
enums do
|
13
|
-
FREE = new('free')
|
14
|
-
SCALE_UP = new('scale-up')
|
15
|
-
ENTERPRISE = new('enterprise')
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
end
|
20
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module SpeakeasyClientSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class OrganizationAccountType < T::Enum
|
12
|
-
enums do
|
13
|
-
FREE = new('free')
|
14
|
-
SCALE_UP = new('scale-up')
|
15
|
-
ENTERPRISE = new('enterprise')
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
end
|
20
|
-
end
|