speakeasy_client_sdk_ruby 4.1.7 → 4.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/speakeasy_client_sdk/events.rb +50 -7
- data/lib/speakeasy_client_sdk/models/operations/{getworkspaceevents_request.rb → getworkspaceeventsbytarget_request.rb} +6 -6
- data/lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/searchworkspaceevents_request.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/{getworkspaceevents_response.rb → searchworkspaceevents_response.rb} +1 -1
- data/lib/speakeasy_client_sdk/models/operations.rb +4 -2
- data/lib/speakeasy_client_sdk/models/shared/annotations.rb +13 -19
- data/lib/speakeasy_client_sdk/models/shared/apikeydetails.rb +8 -2
- data/lib/speakeasy_client_sdk/sdkconfiguration.rb +4 -4
- metadata +6 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 2915c4bff8de9d12a182ded018de31e6d37562c8d12c127f069d2f76104bd097
         | 
| 4 | 
            +
              data.tar.gz: 22e40aec4436083056e9081e1733ecffa6fed6339a328c8caddb97af6be2cfb0
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 8db8fb8bc68c7c096d1ce9a819cb6c56b6d3356909ec07af3f9de0ef06d18568ca1623074e59940e18af1a36b2e910198f06462748c738ec5fff89bddbebd7d6
         | 
| 7 | 
            +
              data.tar.gz: 6967b11369f7c175fd1e1b7914412f3d4f5ce519eb16d5669eacbac3ebd6e182df859af825debad2bed0f7888125caefa097e10e4a0bb62f5c64b0d962916c4a
         | 
| @@ -19,20 +19,20 @@ module SpeakeasyClientSDK | |
| 19 19 | 
             
                end
         | 
| 20 20 |  | 
| 21 21 |  | 
| 22 | 
            -
                sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations:: | 
| 23 | 
            -
                def  | 
| 24 | 
            -
                  #  | 
| 22 | 
            +
                sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::GetWorkspaceEventsByTargetRequest)).returns(::SpeakeasyClientSDK::Operations::GetWorkspaceEventsByTargetResponse) }
         | 
| 23 | 
            +
                def get_workspace_events_by_target(request)
         | 
| 24 | 
            +
                  # get_workspace_events_by_target - Load recent events for a particular workspace
         | 
| 25 25 | 
             
                  url, params = @sdk_configuration.get_server_details
         | 
| 26 26 | 
             
                  base_url = Utils.template_url(url, params)
         | 
| 27 27 | 
             
                  url = Utils.generate_url(
         | 
| 28 | 
            -
                    ::SpeakeasyClientSDK::Operations:: | 
| 28 | 
            +
                    ::SpeakeasyClientSDK::Operations::GetWorkspaceEventsByTargetRequest,
         | 
| 29 29 | 
             
                    base_url,
         | 
| 30 | 
            -
                    '/v1/workspace/{workspaceID}/events',
         | 
| 30 | 
            +
                    '/v1/workspace/{workspaceID}/events/targets/{targetID}/events',
         | 
| 31 31 | 
             
                    request,
         | 
| 32 32 | 
             
                    @sdk_configuration.globals
         | 
| 33 33 | 
             
                  )
         | 
| 34 34 | 
             
                  headers = {}
         | 
| 35 | 
            -
                  query_params = Utils.get_query_params(::SpeakeasyClientSDK::Operations:: | 
| 35 | 
            +
                  query_params = Utils.get_query_params(::SpeakeasyClientSDK::Operations::GetWorkspaceEventsByTargetRequest, request, @sdk_configuration.globals)
         | 
| 36 36 | 
             
                  headers['Accept'] = 'application/json'
         | 
| 37 37 | 
             
                  headers['user-agent'] = @sdk_configuration.user_agent
         | 
| 38 38 |  | 
| @@ -44,7 +44,7 @@ module SpeakeasyClientSDK | |
| 44 44 |  | 
| 45 45 | 
             
                  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
         | 
| 46 46 |  | 
| 47 | 
            -
                  res = ::SpeakeasyClientSDK::Operations:: | 
| 47 | 
            +
                  res = ::SpeakeasyClientSDK::Operations::GetWorkspaceEventsByTargetResponse.new(
         | 
| 48 48 | 
             
                    status_code: r.status, content_type: content_type, raw_response: r
         | 
| 49 49 | 
             
                  )
         | 
| 50 50 | 
             
                  if r.status == 200
         | 
| @@ -151,5 +151,48 @@ module SpeakeasyClientSDK | |
| 151 151 | 
             
                  end
         | 
| 152 152 | 
             
                  res
         | 
| 153 153 | 
             
                end
         | 
| 154 | 
            +
             | 
| 155 | 
            +
             | 
| 156 | 
            +
                sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::SearchWorkspaceEventsRequest)).returns(::SpeakeasyClientSDK::Operations::SearchWorkspaceEventsResponse) }
         | 
| 157 | 
            +
                def search_workspace_events(request)
         | 
| 158 | 
            +
                  # search_workspace_events - Search events for a particular workspace by any field
         | 
| 159 | 
            +
                  url, params = @sdk_configuration.get_server_details
         | 
| 160 | 
            +
                  base_url = Utils.template_url(url, params)
         | 
| 161 | 
            +
                  url = Utils.generate_url(
         | 
| 162 | 
            +
                    ::SpeakeasyClientSDK::Operations::SearchWorkspaceEventsRequest,
         | 
| 163 | 
            +
                    base_url,
         | 
| 164 | 
            +
                    '/v1/workspace/{workspaceID}/events',
         | 
| 165 | 
            +
                    request,
         | 
| 166 | 
            +
                    @sdk_configuration.globals
         | 
| 167 | 
            +
                  )
         | 
| 168 | 
            +
                  headers = {}
         | 
| 169 | 
            +
                  query_params = Utils.get_query_params(::SpeakeasyClientSDK::Operations::SearchWorkspaceEventsRequest, request, @sdk_configuration.globals)
         | 
| 170 | 
            +
                  headers['Accept'] = 'application/json'
         | 
| 171 | 
            +
                  headers['user-agent'] = @sdk_configuration.user_agent
         | 
| 172 | 
            +
             | 
| 173 | 
            +
                  r = @sdk_configuration.client.get(url) do |req|
         | 
| 174 | 
            +
                    req.headers = headers
         | 
| 175 | 
            +
                    req.params = query_params
         | 
| 176 | 
            +
                    Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
         | 
| 177 | 
            +
                  end
         | 
| 178 | 
            +
             | 
| 179 | 
            +
                  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
         | 
| 180 | 
            +
             | 
| 181 | 
            +
                  res = ::SpeakeasyClientSDK::Operations::SearchWorkspaceEventsResponse.new(
         | 
| 182 | 
            +
                    status_code: r.status, content_type: content_type, raw_response: r
         | 
| 183 | 
            +
                  )
         | 
| 184 | 
            +
                  if r.status == 200
         | 
| 185 | 
            +
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 186 | 
            +
                      out = Utils.unmarshal_complex(r.env.response_body, T::Array[::SpeakeasyClientSDK::Shared::CliEvent])
         | 
| 187 | 
            +
                      res.cli_event_batch = out
         | 
| 188 | 
            +
                    end
         | 
| 189 | 
            +
                  elsif r.status >= 500 && r.status < 600
         | 
| 190 | 
            +
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 191 | 
            +
                      out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Error)
         | 
| 192 | 
            +
                      res.error = out
         | 
| 193 | 
            +
                    end
         | 
| 194 | 
            +
                  end
         | 
| 195 | 
            +
                  res
         | 
| 196 | 
            +
                end
         | 
| 154 197 | 
             
              end
         | 
| 155 198 | 
             
            end
         | 
| @@ -8,21 +8,21 @@ module SpeakeasyClientSDK | |
| 8 8 | 
             
              module Operations
         | 
| 9 9 |  | 
| 10 10 |  | 
| 11 | 
            -
                class  | 
| 11 | 
            +
                class GetWorkspaceEventsByTargetRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
         | 
| 12 12 | 
             
                  extend T::Sig
         | 
| 13 13 |  | 
| 14 | 
            +
                  # Filter to only return events corresponding to a particular gen_lock_id (gen_lock_id uniquely identifies a target)
         | 
| 15 | 
            +
                  field :target_id, ::String, { 'path_param': { 'field_name': 'targetID', 'style': 'simple', 'explode': false } }
         | 
| 14 16 | 
             
                  # Filter to only return events created after this timestamp
         | 
| 15 17 | 
             
                  field :after_created_at, T.nilable(::DateTime), { 'query_param': { 'field_name': 'after_created_at', 'style': 'form', 'explode': true } }
         | 
| 16 | 
            -
                  # Filter to only return events corresponding to a particular gen_lock_id (gen_lock_id uniquely identifies a target)
         | 
| 17 | 
            -
                  field :generate_gen_lock_id, T.nilable(::String), { 'query_param': { 'field_name': 'generate_gen_lock_id', 'style': 'form', 'explode': true } }
         | 
| 18 18 | 
             
                  # Unique identifier of the workspace.
         | 
| 19 19 | 
             
                  field :workspace_id, T.nilable(::String), { 'path_param': { 'field_name': 'workspaceID', 'style': 'simple', 'explode': false } }
         | 
| 20 20 |  | 
| 21 21 |  | 
| 22 | 
            -
                  sig { params( | 
| 23 | 
            -
                  def initialize( | 
| 22 | 
            +
                  sig { params(target_id: ::String, after_created_at: T.nilable(::DateTime), workspace_id: T.nilable(::String)).void }
         | 
| 23 | 
            +
                  def initialize(target_id: nil, after_created_at: nil, workspace_id: nil)
         | 
| 24 | 
            +
                    @target_id = target_id
         | 
| 24 25 | 
             
                    @after_created_at = after_created_at
         | 
| 25 | 
            -
                    @generate_gen_lock_id = generate_gen_lock_id
         | 
| 26 26 | 
             
                    @workspace_id = workspace_id
         | 
| 27 27 | 
             
                  end
         | 
| 28 28 | 
             
                end
         | 
| @@ -0,0 +1,36 @@ | |
| 1 | 
            +
            # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # typed: true
         | 
| 4 | 
            +
            # frozen_string_literal: true
         | 
| 5 | 
            +
             | 
| 6 | 
            +
             | 
| 7 | 
            +
            module SpeakeasyClientSDK
         | 
| 8 | 
            +
              module Operations
         | 
| 9 | 
            +
              
         | 
| 10 | 
            +
             | 
| 11 | 
            +
                class GetWorkspaceEventsByTargetResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
         | 
| 12 | 
            +
                  extend T::Sig
         | 
| 13 | 
            +
             | 
| 14 | 
            +
                  # HTTP response content type for this operation
         | 
| 15 | 
            +
                  field :content_type, ::String
         | 
| 16 | 
            +
                  # Raw HTTP response; suitable for custom response parsing
         | 
| 17 | 
            +
                  field :raw_response, ::Faraday::Response
         | 
| 18 | 
            +
                  # HTTP response status code for this operation
         | 
| 19 | 
            +
                  field :status_code, ::Integer
         | 
| 20 | 
            +
                  # Success
         | 
| 21 | 
            +
                  field :cli_event_batch, T.nilable(T::Array[::SpeakeasyClientSDK::Shared::CliEvent])
         | 
| 22 | 
            +
                  # Error
         | 
| 23 | 
            +
                  field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
         | 
| 24 | 
            +
             | 
| 25 | 
            +
             | 
| 26 | 
            +
                  sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, cli_event_batch: T.nilable(T::Array[::SpeakeasyClientSDK::Shared::CliEvent]), error: T.nilable(::SpeakeasyClientSDK::Shared::Error)).void }
         | 
| 27 | 
            +
                  def initialize(content_type: nil, raw_response: nil, status_code: nil, cli_event_batch: nil, error: nil)
         | 
| 28 | 
            +
                    @content_type = content_type
         | 
| 29 | 
            +
                    @raw_response = raw_response
         | 
| 30 | 
            +
                    @status_code = status_code
         | 
| 31 | 
            +
                    @cli_event_batch = cli_event_batch
         | 
| 32 | 
            +
                    @error = error
         | 
| 33 | 
            +
                  end
         | 
| 34 | 
            +
                end
         | 
| 35 | 
            +
              end
         | 
| 36 | 
            +
            end
         | 
| @@ -0,0 +1,33 @@ | |
| 1 | 
            +
            # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # typed: true
         | 
| 4 | 
            +
            # frozen_string_literal: true
         | 
| 5 | 
            +
             | 
| 6 | 
            +
             | 
| 7 | 
            +
            module SpeakeasyClientSDK
         | 
| 8 | 
            +
              module Operations
         | 
| 9 | 
            +
              
         | 
| 10 | 
            +
             | 
| 11 | 
            +
                class SearchWorkspaceEventsRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
         | 
| 12 | 
            +
                  extend T::Sig
         | 
| 13 | 
            +
             | 
| 14 | 
            +
                  # Unique identifier of the lint report digest.
         | 
| 15 | 
            +
                  field :lint_report_digest, T.nilable(::String), { 'query_param': { 'field_name': 'lint_report_digest', 'style': 'form', 'explode': true } }
         | 
| 16 | 
            +
                  # Unique identifier of the openapi diff report digest.
         | 
| 17 | 
            +
                  field :openapi_diff_report_digest, T.nilable(::String), { 'query_param': { 'field_name': 'openapi_diff_report_digest', 'style': 'form', 'explode': true } }
         | 
| 18 | 
            +
                  # Unique identifier of the source revision digest.
         | 
| 19 | 
            +
                  field :source_revision_digest, T.nilable(::String), { 'query_param': { 'field_name': 'source_revision_digest', 'style': 'form', 'explode': true } }
         | 
| 20 | 
            +
                  # Unique identifier of the workspace.
         | 
| 21 | 
            +
                  field :workspace_id, T.nilable(::String), { 'path_param': { 'field_name': 'workspaceID', 'style': 'simple', 'explode': false } }
         | 
| 22 | 
            +
             | 
| 23 | 
            +
             | 
| 24 | 
            +
                  sig { params(lint_report_digest: T.nilable(::String), openapi_diff_report_digest: T.nilable(::String), source_revision_digest: T.nilable(::String), workspace_id: T.nilable(::String)).void }
         | 
| 25 | 
            +
                  def initialize(lint_report_digest: nil, openapi_diff_report_digest: nil, source_revision_digest: nil, workspace_id: nil)
         | 
| 26 | 
            +
                    @lint_report_digest = lint_report_digest
         | 
| 27 | 
            +
                    @openapi_diff_report_digest = openapi_diff_report_digest
         | 
| 28 | 
            +
                    @source_revision_digest = source_revision_digest
         | 
| 29 | 
            +
                    @workspace_id = workspace_id
         | 
| 30 | 
            +
                  end
         | 
| 31 | 
            +
                end
         | 
| 32 | 
            +
              end
         | 
| 33 | 
            +
            end
         | 
| @@ -8,7 +8,7 @@ module SpeakeasyClientSDK | |
| 8 8 | 
             
              module Operations
         | 
| 9 9 |  | 
| 10 10 |  | 
| 11 | 
            -
                class  | 
| 11 | 
            +
                class SearchWorkspaceEventsResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
         | 
| 12 12 | 
             
                  extend T::Sig
         | 
| 13 13 |  | 
| 14 14 | 
             
                  # HTTP response content type for this operation
         | 
| @@ -97,11 +97,13 @@ module SpeakeasyClientSDK | |
| 97 97 | 
             
                autoload :GetValidEmbedAccessTokensResponse, 'speakeasy_client_sdk/models/operations/getvalidembedaccesstokens_response.rb'
         | 
| 98 98 | 
             
                autoload :RevokeEmbedAccessTokenRequest, 'speakeasy_client_sdk/models/operations/revokeembedaccesstoken_request.rb'
         | 
| 99 99 | 
             
                autoload :RevokeEmbedAccessTokenResponse, 'speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb'
         | 
| 100 | 
            -
                autoload : | 
| 101 | 
            -
                autoload : | 
| 100 | 
            +
                autoload :GetWorkspaceEventsByTargetRequest, 'speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_request.rb'
         | 
| 101 | 
            +
                autoload :GetWorkspaceEventsByTargetResponse, 'speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_response.rb'
         | 
| 102 102 | 
             
                autoload :GetWorkspaceTargetsRequest, 'speakeasy_client_sdk/models/operations/getworkspacetargets_request.rb'
         | 
| 103 103 | 
             
                autoload :GetWorkspaceTargetsResponse, 'speakeasy_client_sdk/models/operations/getworkspacetargets_response.rb'
         | 
| 104 104 | 
             
                autoload :PostWorkspaceEventsRequest, 'speakeasy_client_sdk/models/operations/postworkspaceevents_request.rb'
         | 
| 105 105 | 
             
                autoload :PostWorkspaceEventsResponse, 'speakeasy_client_sdk/models/operations/postworkspaceevents_response.rb'
         | 
| 106 | 
            +
                autoload :SearchWorkspaceEventsRequest, 'speakeasy_client_sdk/models/operations/searchworkspaceevents_request.rb'
         | 
| 107 | 
            +
                autoload :SearchWorkspaceEventsResponse, 'speakeasy_client_sdk/models/operations/searchworkspaceevents_response.rb'
         | 
| 106 108 | 
             
              end
         | 
| 107 109 | 
             
            end
         | 
| @@ -11,41 +11,35 @@ module SpeakeasyClientSDK | |
| 11 11 | 
             
                class Annotations < ::SpeakeasyClientSDK::Utils::FieldAugmented
         | 
| 12 12 | 
             
                  extend T::Sig
         | 
| 13 13 |  | 
| 14 | 
            -
             | 
| 14 | 
            +
                  # The authors of the image
         | 
| 15 15 | 
             
                  field :org_opencontainers_image_authors, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.authors') } }
         | 
| 16 | 
            -
             | 
| 17 | 
            -
                  field :org_opencontainers_image_base_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.base.digest') } }
         | 
| 18 | 
            -
             | 
| 19 | 
            -
                  field :org_opencontainers_image_base_name, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.base.name') } }
         | 
| 20 | 
            -
             | 
| 16 | 
            +
                  # The time the image was created
         | 
| 21 17 | 
             
                  field :org_opencontainers_image_created, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.created') } }
         | 
| 22 | 
            -
             | 
| 18 | 
            +
                  # Human-readable description of the software packaged in the image
         | 
| 23 19 | 
             
                  field :org_opencontainers_image_description, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.description') } }
         | 
| 24 | 
            -
             | 
| 20 | 
            +
                  # The documentation URL of the image
         | 
| 25 21 | 
             
                  field :org_opencontainers_image_documentation, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.documentation') } }
         | 
| 26 22 |  | 
| 27 23 | 
             
                  field :org_opencontainers_image_licenses, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.licenses') } }
         | 
| 28 | 
            -
             | 
| 24 | 
            +
                  # Name of the reference for a target
         | 
| 29 25 | 
             
                  field :org_opencontainers_image_ref_name, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.ref.name') } }
         | 
| 30 | 
            -
             | 
| 26 | 
            +
                  # Source control revision identifier
         | 
| 31 27 | 
             
                  field :org_opencontainers_image_revision, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.revision') } }
         | 
| 32 | 
            -
             | 
| 28 | 
            +
                  # The URL to get source code for building the image
         | 
| 33 29 | 
             
                  field :org_opencontainers_image_source, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.source') } }
         | 
| 34 | 
            -
             | 
| 30 | 
            +
                  # Human-readable title of the image
         | 
| 35 31 | 
             
                  field :org_opencontainers_image_title, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.title') } }
         | 
| 36 | 
            -
             | 
| 32 | 
            +
                  # The URL of the image
         | 
| 37 33 | 
             
                  field :org_opencontainers_image_url, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.url') } }
         | 
| 38 | 
            -
             | 
| 34 | 
            +
                  # Name of the distributing entity, organization or individual.
         | 
| 39 35 | 
             
                  field :org_opencontainers_image_vendor, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.vendor') } }
         | 
| 40 | 
            -
             | 
| 36 | 
            +
                  # The version of the packaged software
         | 
| 41 37 | 
             
                  field :org_opencontainers_image_version, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org.opencontainers.image.version') } }
         | 
| 42 38 |  | 
| 43 39 |  | 
| 44 | 
            -
                  sig { params(org_opencontainers_image_authors: T.nilable(::String),  | 
| 45 | 
            -
                  def initialize(org_opencontainers_image_authors: nil,  | 
| 40 | 
            +
                  sig { params(org_opencontainers_image_authors: T.nilable(::String), org_opencontainers_image_created: T.nilable(::String), org_opencontainers_image_description: T.nilable(::String), org_opencontainers_image_documentation: T.nilable(::String), org_opencontainers_image_licenses: T.nilable(::String), org_opencontainers_image_ref_name: T.nilable(::String), org_opencontainers_image_revision: T.nilable(::String), org_opencontainers_image_source: T.nilable(::String), org_opencontainers_image_title: T.nilable(::String), org_opencontainers_image_url: T.nilable(::String), org_opencontainers_image_vendor: T.nilable(::String), org_opencontainers_image_version: T.nilable(::String)).void }
         | 
| 41 | 
            +
                  def initialize(org_opencontainers_image_authors: nil, org_opencontainers_image_created: nil, org_opencontainers_image_description: nil, org_opencontainers_image_documentation: nil, org_opencontainers_image_licenses: nil, org_opencontainers_image_ref_name: nil, org_opencontainers_image_revision: nil, org_opencontainers_image_source: nil, org_opencontainers_image_title: nil, org_opencontainers_image_url: nil, org_opencontainers_image_vendor: nil, org_opencontainers_image_version: nil)
         | 
| 46 42 | 
             
                    @org_opencontainers_image_authors = org_opencontainers_image_authors
         | 
| 47 | 
            -
                    @org_opencontainers_image_base_digest = org_opencontainers_image_base_digest
         | 
| 48 | 
            -
                    @org_opencontainers_image_base_name = org_opencontainers_image_base_name
         | 
| 49 43 | 
             
                    @org_opencontainers_image_created = org_opencontainers_image_created
         | 
| 50 44 | 
             
                    @org_opencontainers_image_description = org_opencontainers_image_description
         | 
| 51 45 | 
             
                    @org_opencontainers_image_documentation = org_opencontainers_image_documentation
         | 
| @@ -16,16 +16,22 @@ module SpeakeasyClientSDK | |
| 16 16 |  | 
| 17 17 | 
             
                  field :feature_flags, T::Array[::SpeakeasyClientSDK::Shared::FeatureFlags], { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('feature_flags') } }
         | 
| 18 18 |  | 
| 19 | 
            +
                  field :org_slug, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('org_slug') } }
         | 
| 20 | 
            +
             | 
| 19 21 | 
             
                  field :workspace_id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('workspace_id') } }
         | 
| 20 22 |  | 
| 23 | 
            +
                  field :workspace_slug, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('workspace_slug') } }
         | 
| 24 | 
            +
             | 
| 21 25 | 
             
                  field :generation_access_unlimited, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generation_access_unlimited') } }
         | 
| 22 26 |  | 
| 23 27 |  | 
| 24 | 
            -
                  sig { params(account_type: ::SpeakeasyClientSDK::Shared::AccountType, feature_flags: T::Array[::SpeakeasyClientSDK::Shared::FeatureFlags], workspace_id: ::String, generation_access_unlimited: T.nilable(T::Boolean)).void }
         | 
| 25 | 
            -
                  def initialize(account_type: nil, feature_flags: nil, workspace_id: nil, generation_access_unlimited: nil)
         | 
| 28 | 
            +
                  sig { params(account_type: ::SpeakeasyClientSDK::Shared::AccountType, feature_flags: T::Array[::SpeakeasyClientSDK::Shared::FeatureFlags], org_slug: ::String, workspace_id: ::String, workspace_slug: ::String, generation_access_unlimited: T.nilable(T::Boolean)).void }
         | 
| 29 | 
            +
                  def initialize(account_type: nil, feature_flags: nil, org_slug: nil, workspace_id: nil, workspace_slug: nil, generation_access_unlimited: nil)
         | 
| 26 30 | 
             
                    @account_type = account_type
         | 
| 27 31 | 
             
                    @feature_flags = feature_flags
         | 
| 32 | 
            +
                    @org_slug = org_slug
         | 
| 28 33 | 
             
                    @workspace_id = workspace_id
         | 
| 34 | 
            +
                    @workspace_slug = workspace_slug
         | 
| 29 35 | 
             
                    @generation_access_unlimited = generation_access_unlimited
         | 
| 30 36 | 
             
                  end
         | 
| 31 37 | 
             
                end
         | 
| @@ -40,10 +40,10 @@ module SpeakeasyClientSDK | |
| 40 40 | 
             
                  @security = security
         | 
| 41 41 | 
             
                  @globals = globals.nil? ? {} : globals
         | 
| 42 42 | 
             
                  @language = 'ruby'
         | 
| 43 | 
            -
                  @openapi_doc_version = '0.4.0'
         | 
| 44 | 
            -
                  @sdk_version = '4.1. | 
| 45 | 
            -
                  @gen_version = '2. | 
| 46 | 
            -
                  @user_agent = 'speakeasy-sdk/ruby 4.1. | 
| 43 | 
            +
                  @openapi_doc_version = '0.4.0 .'
         | 
| 44 | 
            +
                  @sdk_version = '4.1.9'
         | 
| 45 | 
            +
                  @gen_version = '2.317.0'
         | 
| 46 | 
            +
                  @user_agent = 'speakeasy-sdk/ruby 4.1.9 2.317.0 0.4.0 . speakeasy_client_sdk_ruby'
         | 
| 47 47 | 
             
                end
         | 
| 48 48 |  | 
| 49 49 | 
             
                sig { returns([String, T::Hash[Symbol, String]]) }
         | 
    
        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.1. | 
| 4 | 
            +
              version: 4.1.9
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Speakeasy
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2024-04- | 
| 11 | 
            +
            date: 2024-04-30 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         | 
| @@ -221,8 +221,8 @@ files: | |
| 221 221 | 
             
            - lib/speakeasy_client_sdk/models/operations/getversionmetadata_response.rb
         | 
| 222 222 | 
             
            - lib/speakeasy_client_sdk/models/operations/getworkspaceaccess_request.rb
         | 
| 223 223 | 
             
            - lib/speakeasy_client_sdk/models/operations/getworkspaceaccess_response.rb
         | 
| 224 | 
            -
            - lib/speakeasy_client_sdk/models/operations/ | 
| 225 | 
            -
            - lib/speakeasy_client_sdk/models/operations/ | 
| 224 | 
            +
            - lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_request.rb
         | 
| 225 | 
            +
            - lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_response.rb
         | 
| 226 226 | 
             
            - lib/speakeasy_client_sdk/models/operations/getworkspacetargets_request.rb
         | 
| 227 227 | 
             
            - lib/speakeasy_client_sdk/models/operations/getworkspacetargets_response.rb
         | 
| 228 228 | 
             
            - lib/speakeasy_client_sdk/models/operations/insertversionmetadata_request.rb
         | 
| @@ -240,6 +240,8 @@ files: | |
| 240 240 | 
             
            - lib/speakeasy_client_sdk/models/operations/registerschema_response.rb
         | 
| 241 241 | 
             
            - lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_request.rb
         | 
| 242 242 | 
             
            - lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb
         | 
| 243 | 
            +
            - lib/speakeasy_client_sdk/models/operations/searchworkspaceevents_request.rb
         | 
| 244 | 
            +
            - lib/speakeasy_client_sdk/models/operations/searchworkspaceevents_response.rb
         | 
| 243 245 | 
             
            - lib/speakeasy_client_sdk/models/operations/uploadreport_requestbody.rb
         | 
| 244 246 | 
             
            - lib/speakeasy_client_sdk/models/operations/uploadreport_response.rb
         | 
| 245 247 | 
             
            - lib/speakeasy_client_sdk/models/operations/uploadreport_uploadedreport.rb
         |