dub 0.0.5 → 0.0.7
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/open_api_sdk/domains.rb +7 -7
- data/lib/open_api_sdk/models/operations/{adddomain_request.rb → createdomain_request.rb} +3 -3
- data/lib/open_api_sdk/models/operations/{adddomain_requestbody.rb → createdomain_requestbody.rb} +3 -12
- data/lib/open_api_sdk/models/operations/{adddomain_response.rb → createdomain_response.rb} +2 -2
- data/lib/open_api_sdk/models/operations/createlink_requestbody.rb +5 -2
- data/lib/open_api_sdk/models/operations/getlinks_request.rb +2 -2
- data/lib/open_api_sdk/models/operations/requestbody.rb +5 -2
- data/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb +2 -11
- data/lib/open_api_sdk/models/operations/updatelink_requestbody.rb +5 -2
- data/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb +5 -2
- data/lib/open_api_sdk/models/operations.rb +3 -8
- data/lib/open_api_sdk/models/shared/domainschema.rb +8 -14
- data/lib/open_api_sdk/models/shared/linkschema.rb +5 -2
- data/lib/open_api_sdk/models/shared.rb +0 -1
- data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
- data/lib/open_api_sdk/workspaces.rb +0 -161
- metadata +5 -11
- data/lib/open_api_sdk/models/operations/createworkspace_requestbody.rb +0 -30
- data/lib/open_api_sdk/models/operations/createworkspace_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/getworkspaces_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/type.rb +0 -19
- data/lib/open_api_sdk/models/operations/updatedomain_type.rb +0 -19
- data/lib/open_api_sdk/models/shared/type.rb +0 -19
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: cb6d3caf194a59f8bb1aea45fa7f277bc6f0c58e09bc460e93242664701f24e5
         | 
| 4 | 
            +
              data.tar.gz: ae8ca727626f882d55afabe129e029837d02177db1438283a71b730f232ab22c
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: cdcf0e5e9472bed8098b87b8abd15bac41a16dc3f2ef9e62bed86f22f0180d358b836c681e48b42c3b0d2692e27a748764ba077a04317e79dd3caa142ac964c2
         | 
| 7 | 
            +
              data.tar.gz: e383b7307d56b64427c6fde85f0a648c24548fa811e40e3eaaef1bdd2923aa11ed6ed7112a63b92fec790fe4d50760181de3dbcbc52a16876dae7975917d3855
         | 
    
        data/lib/open_api_sdk/domains.rb
    CHANGED
    
    | @@ -102,11 +102,11 @@ module OpenApiSDK | |
| 102 102 | 
             
                end
         | 
| 103 103 |  | 
| 104 104 |  | 
| 105 | 
            -
                sig { params(workspace_id: T.nilable(::String), project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations:: | 
| 106 | 
            -
                def  | 
| 107 | 
            -
                  #  | 
| 108 | 
            -
                  #  | 
| 109 | 
            -
                  request = ::OpenApiSDK::Operations:: | 
| 105 | 
            +
                sig { params(workspace_id: T.nilable(::String), project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::CreateDomainRequestBody)).returns(::OpenApiSDK::Operations::CreateDomainResponse) }
         | 
| 106 | 
            +
                def create(workspace_id = nil, project_slug = nil, request_body = nil)
         | 
| 107 | 
            +
                  # create - Create a domain
         | 
| 108 | 
            +
                  # Create a domain for the authenticated workspace.
         | 
| 109 | 
            +
                  request = ::OpenApiSDK::Operations::CreateDomainRequest.new(
         | 
| 110 110 |  | 
| 111 111 | 
             
                    workspace_id: workspace_id,
         | 
| 112 112 | 
             
                    project_slug: project_slug,
         | 
| @@ -118,7 +118,7 @@ module OpenApiSDK | |
| 118 118 | 
             
                  headers = {}
         | 
| 119 119 | 
             
                  req_content_type, data, form = Utils.serialize_request_body(request, :request_body, :json)
         | 
| 120 120 | 
             
                  headers['content-type'] = req_content_type
         | 
| 121 | 
            -
                  query_params = Utils.get_query_params(::OpenApiSDK::Operations:: | 
| 121 | 
            +
                  query_params = Utils.get_query_params(::OpenApiSDK::Operations::CreateDomainRequest, request, @sdk_configuration.globals)
         | 
| 122 122 | 
             
                  headers['Accept'] = 'application/json'
         | 
| 123 123 | 
             
                  headers['user-agent'] = @sdk_configuration.user_agent
         | 
| 124 124 |  | 
| @@ -137,7 +137,7 @@ module OpenApiSDK | |
| 137 137 |  | 
| 138 138 | 
             
                  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
         | 
| 139 139 |  | 
| 140 | 
            -
                  res = ::OpenApiSDK::Operations:: | 
| 140 | 
            +
                  res = ::OpenApiSDK::Operations::CreateDomainResponse.new(
         | 
| 141 141 | 
             
                    status_code: r.status, content_type: content_type, raw_response: r
         | 
| 142 142 | 
             
                  )
         | 
| 143 143 | 
             
                  if r.status == 201
         | 
| @@ -8,18 +8,18 @@ module OpenApiSDK | |
| 8 8 | 
             
              module Operations
         | 
| 9 9 |  | 
| 10 10 |  | 
| 11 | 
            -
                class  | 
| 11 | 
            +
                class CreateDomainRequest < ::OpenApiSDK::Utils::FieldAugmented
         | 
| 12 12 | 
             
                  extend T::Sig
         | 
| 13 13 |  | 
| 14 14 | 
             
                  # The slug of the project. This field is deprecated – use `workspaceId` instead.
         | 
| 15 15 | 
             
                  field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
         | 
| 16 16 |  | 
| 17 | 
            -
                  field :request_body, T.nilable(::OpenApiSDK::Operations:: | 
| 17 | 
            +
                  field :request_body, T.nilable(::OpenApiSDK::Operations::CreateDomainRequestBody), { 'request': { 'media_type': 'application/json' } }
         | 
| 18 18 | 
             
                  # The ID of the workspace.
         | 
| 19 19 | 
             
                  field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
         | 
| 20 20 |  | 
| 21 21 |  | 
| 22 | 
            -
                  sig { params(project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations:: | 
| 22 | 
            +
                  sig { params(project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::CreateDomainRequestBody), workspace_id: T.nilable(::String)).void }
         | 
| 23 23 | 
             
                  def initialize(project_slug: nil, request_body: nil, workspace_id: nil)
         | 
| 24 24 | 
             
                    @project_slug = project_slug
         | 
| 25 25 | 
             
                    @request_body = request_body
         | 
    
        data/lib/open_api_sdk/models/operations/{adddomain_requestbody.rb → createdomain_requestbody.rb}
    RENAMED
    
    | @@ -8,7 +8,7 @@ module OpenApiSDK | |
| 8 8 | 
             
              module Operations
         | 
| 9 9 |  | 
| 10 10 |  | 
| 11 | 
            -
                class  | 
| 11 | 
            +
                class CreateDomainRequestBody < ::OpenApiSDK::Utils::FieldAugmented
         | 
| 12 12 | 
             
                  extend T::Sig
         | 
| 13 13 |  | 
| 14 14 | 
             
                  # Name of the domain.
         | 
| @@ -17,25 +17,16 @@ module OpenApiSDK | |
| 17 17 | 
             
                  field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } }
         | 
| 18 18 | 
             
                  # Redirect users to a specific URL when any link under this domain has expired.
         | 
| 19 19 | 
             
                  field :expired_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } }
         | 
| 20 | 
            -
                  # Prevent search engines from indexing the domain. Defaults to `false`.
         | 
| 21 | 
            -
                  field :noindex, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('noindex') } }
         | 
| 22 20 | 
             
                  # Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.
         | 
| 23 21 | 
             
                  field :placeholder, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('placeholder') } }
         | 
| 24 | 
            -
                  # The page your users will get redirected to when they visit your domain.
         | 
| 25 | 
            -
                  field :target, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('target') } }
         | 
| 26 | 
            -
                  # The type of redirect to use for this domain.
         | 
| 27 | 
            -
                  field :type, T.nilable(::OpenApiSDK::Operations::Type), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::Type, true) } }
         | 
| 28 22 |  | 
| 29 23 |  | 
| 30 | 
            -
                  sig { params(slug: ::String, archived: T.nilable(T::Boolean), expired_url: T.nilable(::String),  | 
| 31 | 
            -
                  def initialize(slug: nil, archived: nil, expired_url: nil,  | 
| 24 | 
            +
                  sig { params(slug: ::String, archived: T.nilable(T::Boolean), expired_url: T.nilable(::String), placeholder: T.nilable(::String)).void }
         | 
| 25 | 
            +
                  def initialize(slug: nil, archived: nil, expired_url: nil, placeholder: nil)
         | 
| 32 26 | 
             
                    @slug = slug
         | 
| 33 27 | 
             
                    @archived = archived
         | 
| 34 28 | 
             
                    @expired_url = expired_url
         | 
| 35 | 
            -
                    @noindex = noindex
         | 
| 36 29 | 
             
                    @placeholder = placeholder
         | 
| 37 | 
            -
                    @target = target
         | 
| 38 | 
            -
                    @type = type
         | 
| 39 30 | 
             
                  end
         | 
| 40 31 | 
             
                end
         | 
| 41 32 | 
             
              end
         | 
| @@ -8,7 +8,7 @@ module OpenApiSDK | |
| 8 8 | 
             
              module Operations
         | 
| 9 9 |  | 
| 10 10 |  | 
| 11 | 
            -
                class  | 
| 11 | 
            +
                class CreateDomainResponse < ::OpenApiSDK::Utils::FieldAugmented
         | 
| 12 12 | 
             
                  extend T::Sig
         | 
| 13 13 |  | 
| 14 14 | 
             
                  # HTTP response content type for this operation
         | 
| @@ -21,7 +21,7 @@ module OpenApiSDK | |
| 21 21 | 
             
                  field :bad_request, T.nilable(::OpenApiSDK::Shared::BadRequest)
         | 
| 22 22 | 
             
                  # This response is sent when a request conflicts with the current state of the server.
         | 
| 23 23 | 
             
                  field :conflict, T.nilable(::OpenApiSDK::Shared::Conflict)
         | 
| 24 | 
            -
                  # The domain was  | 
| 24 | 
            +
                  # The domain was created.
         | 
| 25 25 | 
             
                  field :domain_schema, T.nilable(::OpenApiSDK::Shared::DomainSchema)
         | 
| 26 26 | 
             
                  # The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.
         | 
| 27 27 | 
             
                  field :forbidden, T.nilable(::OpenApiSDK::Shared::Forbidden)
         | 
| @@ -21,6 +21,8 @@ module OpenApiSDK | |
| 21 21 | 
             
                  field :comments, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('comments') } }
         | 
| 22 22 | 
             
                  # The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
         | 
| 23 23 | 
             
                  field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
         | 
| 24 | 
            +
                  # Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex
         | 
| 25 | 
            +
                  field :do_index, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doIndex') } }
         | 
| 24 26 | 
             
                  # The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains).
         | 
| 25 27 | 
             
                  field :domain, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('domain') } }
         | 
| 26 28 | 
             
                  # The URL to redirect to when the short link has expired.
         | 
| @@ -61,13 +63,14 @@ module OpenApiSDK | |
| 61 63 | 
             
                  field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } }
         | 
| 62 64 |  | 
| 63 65 |  | 
| 64 | 
            -
                  sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean)).void }
         | 
| 65 | 
            -
                  def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil)
         | 
| 66 | 
            +
                  sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean)).void }
         | 
| 67 | 
            +
                  def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil)
         | 
| 66 68 | 
             
                    @url = url
         | 
| 67 69 | 
             
                    @android = android
         | 
| 68 70 | 
             
                    @archived = archived
         | 
| 69 71 | 
             
                    @comments = comments
         | 
| 70 72 | 
             
                    @description = description
         | 
| 73 | 
            +
                    @do_index = do_index
         | 
| 71 74 | 
             
                    @domain = domain
         | 
| 72 75 | 
             
                    @expired_url = expired_url
         | 
| 73 76 | 
             
                    @expires_at = expires_at
         | 
| @@ -14,7 +14,7 @@ module OpenApiSDK | |
| 14 14 | 
             
                  # The domain to filter the links by. E.g. `ac.me`. If not provided, all links for the workspace will be returned.
         | 
| 15 15 | 
             
                  field :domain, T.nilable(::String), { 'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': true } }
         | 
| 16 16 | 
             
                  # The page number for pagination (each page contains 100 links).
         | 
| 17 | 
            -
                  field :page, T.nilable(:: | 
| 17 | 
            +
                  field :page, T.nilable(::Integer), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
         | 
| 18 18 | 
             
                  # The slug of the project. This field is deprecated – use `workspaceId` instead.
         | 
| 19 19 | 
             
                  field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }
         | 
| 20 20 | 
             
                  # The search term to filter the links by. The search term will be matched against the short link slug and the destination url.
         | 
| @@ -37,7 +37,7 @@ module OpenApiSDK | |
| 37 37 | 
             
                  field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }
         | 
| 38 38 |  | 
| 39 39 |  | 
| 40 | 
            -
                  sig { params(domain: T.nilable(::String), page: T.nilable(:: | 
| 40 | 
            +
                  sig { params(domain: T.nilable(::String), page: T.nilable(::Integer), project_slug: T.nilable(::String), search: T.nilable(::String), show_archived: T.nilable(T::Boolean), sort: T.nilable(::OpenApiSDK::Operations::Sort), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), user_id: T.nilable(::String), with_tags: T.nilable(T::Boolean), workspace_id: T.nilable(::String)).void }
         | 
| 41 41 | 
             
                  def initialize(domain: nil, page: nil, project_slug: nil, search: nil, show_archived: nil, sort: nil, tag_id: nil, tag_ids: nil, tag_names: nil, user_id: nil, with_tags: nil, workspace_id: nil)
         | 
| 42 42 | 
             
                    @domain = domain
         | 
| 43 43 | 
             
                    @page = page
         | 
| @@ -21,6 +21,8 @@ module OpenApiSDK | |
| 21 21 | 
             
                  field :comments, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('comments') } }
         | 
| 22 22 | 
             
                  # The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
         | 
| 23 23 | 
             
                  field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
         | 
| 24 | 
            +
                  # Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex
         | 
| 25 | 
            +
                  field :do_index, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doIndex') } }
         | 
| 24 26 | 
             
                  # The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains).
         | 
| 25 27 | 
             
                  field :domain, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('domain') } }
         | 
| 26 28 | 
             
                  # The URL to redirect to when the short link has expired.
         | 
| @@ -61,13 +63,14 @@ module OpenApiSDK | |
| 61 63 | 
             
                  field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } }
         | 
| 62 64 |  | 
| 63 65 |  | 
| 64 | 
            -
                  sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean)).void }
         | 
| 65 | 
            -
                  def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil)
         | 
| 66 | 
            +
                  sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean)).void }
         | 
| 67 | 
            +
                  def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil)
         | 
| 66 68 | 
             
                    @url = url
         | 
| 67 69 | 
             
                    @android = android
         | 
| 68 70 | 
             
                    @archived = archived
         | 
| 69 71 | 
             
                    @comments = comments
         | 
| 70 72 | 
             
                    @description = description
         | 
| 73 | 
            +
                    @do_index = do_index
         | 
| 71 74 | 
             
                    @domain = domain
         | 
| 72 75 | 
             
                    @expired_url = expired_url
         | 
| 73 76 | 
             
                    @expires_at = expires_at
         | 
| @@ -15,27 +15,18 @@ module OpenApiSDK | |
| 15 15 | 
             
                  field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } }
         | 
| 16 16 | 
             
                  # Redirect users to a specific URL when any link under this domain has expired.
         | 
| 17 17 | 
             
                  field :expired_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } }
         | 
| 18 | 
            -
                  # Prevent search engines from indexing the domain. Defaults to `false`.
         | 
| 19 | 
            -
                  field :noindex, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('noindex') } }
         | 
| 20 18 | 
             
                  # Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.
         | 
| 21 19 | 
             
                  field :placeholder, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('placeholder') } }
         | 
| 22 20 | 
             
                  # Name of the domain.
         | 
| 23 21 | 
             
                  field :slug, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } }
         | 
| 24 | 
            -
                  # The page your users will get redirected to when they visit your domain.
         | 
| 25 | 
            -
                  field :target, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('target') } }
         | 
| 26 | 
            -
                  # The type of redirect to use for this domain.
         | 
| 27 | 
            -
                  field :type, T.nilable(::OpenApiSDK::Operations::UpdateDomainType), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::UpdateDomainType, true) } }
         | 
| 28 22 |  | 
| 29 23 |  | 
| 30 | 
            -
                  sig { params(archived: T.nilable(T::Boolean), expired_url: T.nilable(::String),  | 
| 31 | 
            -
                  def initialize(archived: nil, expired_url: nil,  | 
| 24 | 
            +
                  sig { params(archived: T.nilable(T::Boolean), expired_url: T.nilable(::String), placeholder: T.nilable(::String), slug: T.nilable(::String)).void }
         | 
| 25 | 
            +
                  def initialize(archived: nil, expired_url: nil, placeholder: nil, slug: nil)
         | 
| 32 26 | 
             
                    @archived = archived
         | 
| 33 27 | 
             
                    @expired_url = expired_url
         | 
| 34 | 
            -
                    @noindex = noindex
         | 
| 35 28 | 
             
                    @placeholder = placeholder
         | 
| 36 29 | 
             
                    @slug = slug
         | 
| 37 | 
            -
                    @target = target
         | 
| 38 | 
            -
                    @type = type
         | 
| 39 30 | 
             
                  end
         | 
| 40 31 | 
             
                end
         | 
| 41 32 | 
             
              end
         | 
| @@ -21,6 +21,8 @@ module OpenApiSDK | |
| 21 21 | 
             
                  field :comments, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('comments') } }
         | 
| 22 22 | 
             
                  # The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
         | 
| 23 23 | 
             
                  field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
         | 
| 24 | 
            +
                  # Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex
         | 
| 25 | 
            +
                  field :do_index, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doIndex') } }
         | 
| 24 26 | 
             
                  # The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains).
         | 
| 25 27 | 
             
                  field :domain, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('domain') } }
         | 
| 26 28 | 
             
                  # The URL to redirect to when the short link has expired.
         | 
| @@ -61,13 +63,14 @@ module OpenApiSDK | |
| 61 63 | 
             
                  field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } }
         | 
| 62 64 |  | 
| 63 65 |  | 
| 64 | 
            -
                  sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean)).void }
         | 
| 65 | 
            -
                  def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil)
         | 
| 66 | 
            +
                  sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean)).void }
         | 
| 67 | 
            +
                  def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil)
         | 
| 66 68 | 
             
                    @url = url
         | 
| 67 69 | 
             
                    @android = android
         | 
| 68 70 | 
             
                    @archived = archived
         | 
| 69 71 | 
             
                    @comments = comments
         | 
| 70 72 | 
             
                    @description = description
         | 
| 73 | 
            +
                    @do_index = do_index
         | 
| 71 74 | 
             
                    @domain = domain
         | 
| 72 75 | 
             
                    @expired_url = expired_url
         | 
| 73 76 | 
             
                    @expires_at = expires_at
         | 
| @@ -21,6 +21,8 @@ module OpenApiSDK | |
| 21 21 | 
             
                  field :comments, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('comments') } }
         | 
| 22 22 | 
             
                  # The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
         | 
| 23 23 | 
             
                  field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
         | 
| 24 | 
            +
                  # Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex
         | 
| 25 | 
            +
                  field :do_index, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doIndex') } }
         | 
| 24 26 | 
             
                  # The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains).
         | 
| 25 27 | 
             
                  field :domain, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('domain') } }
         | 
| 26 28 | 
             
                  # The URL to redirect to when the short link has expired.
         | 
| @@ -61,13 +63,14 @@ module OpenApiSDK | |
| 61 63 | 
             
                  field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } }
         | 
| 62 64 |  | 
| 63 65 |  | 
| 64 | 
            -
                  sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean)).void }
         | 
| 65 | 
            -
                  def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil)
         | 
| 66 | 
            +
                  sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean)).void }
         | 
| 67 | 
            +
                  def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil)
         | 
| 66 68 | 
             
                    @url = url
         | 
| 67 69 | 
             
                    @android = android
         | 
| 68 70 | 
             
                    @archived = archived
         | 
| 69 71 | 
             
                    @comments = comments
         | 
| 70 72 | 
             
                    @description = description
         | 
| 73 | 
            +
                    @do_index = do_index
         | 
| 71 74 | 
             
                    @domain = domain
         | 
| 72 75 | 
             
                    @expired_url = expired_url
         | 
| 73 76 | 
             
                    @expires_at = expires_at
         | 
| @@ -35,9 +35,6 @@ module OpenApiSDK | |
| 35 35 | 
             
                autoload :Interval, 'open_api_sdk/models/operations/interval.rb'
         | 
| 36 36 | 
             
                autoload :RetrieveAnalyticsRequest, 'open_api_sdk/models/operations/retrieveanalytics_request.rb'
         | 
| 37 37 | 
             
                autoload :RetrieveAnalyticsResponse, 'open_api_sdk/models/operations/retrieveanalytics_response.rb'
         | 
| 38 | 
            -
                autoload :GetWorkspacesResponse, 'open_api_sdk/models/operations/getworkspaces_response.rb'
         | 
| 39 | 
            -
                autoload :CreateWorkspaceRequestBody, 'open_api_sdk/models/operations/createworkspace_requestbody.rb'
         | 
| 40 | 
            -
                autoload :CreateWorkspaceResponse, 'open_api_sdk/models/operations/createworkspace_response.rb'
         | 
| 41 38 | 
             
                autoload :GetWorkspaceRequest, 'open_api_sdk/models/operations/getworkspace_request.rb'
         | 
| 42 39 | 
             
                autoload :GetWorkspaceResponse, 'open_api_sdk/models/operations/getworkspace_response.rb'
         | 
| 43 40 | 
             
                autoload :GetTagsRequest, 'open_api_sdk/models/operations/gettags_request.rb'
         | 
| @@ -48,14 +45,12 @@ module OpenApiSDK | |
| 48 45 | 
             
                autoload :CreateTagResponse, 'open_api_sdk/models/operations/createtag_response.rb'
         | 
| 49 46 | 
             
                autoload :ListDomainsRequest, 'open_api_sdk/models/operations/listdomains_request.rb'
         | 
| 50 47 | 
             
                autoload :ListDomainsResponse, 'open_api_sdk/models/operations/listdomains_response.rb'
         | 
| 51 | 
            -
                autoload : | 
| 52 | 
            -
                autoload : | 
| 53 | 
            -
                autoload : | 
| 54 | 
            -
                autoload :AddDomainResponse, 'open_api_sdk/models/operations/adddomain_response.rb'
         | 
| 48 | 
            +
                autoload :CreateDomainRequestBody, 'open_api_sdk/models/operations/createdomain_requestbody.rb'
         | 
| 49 | 
            +
                autoload :CreateDomainRequest, 'open_api_sdk/models/operations/createdomain_request.rb'
         | 
| 50 | 
            +
                autoload :CreateDomainResponse, 'open_api_sdk/models/operations/createdomain_response.rb'
         | 
| 55 51 | 
             
                autoload :DeleteDomainRequest, 'open_api_sdk/models/operations/deletedomain_request.rb'
         | 
| 56 52 | 
             
                autoload :DeleteDomainResponseBody, 'open_api_sdk/models/operations/deletedomain_responsebody.rb'
         | 
| 57 53 | 
             
                autoload :DeleteDomainResponse, 'open_api_sdk/models/operations/deletedomain_response.rb'
         | 
| 58 | 
            -
                autoload :UpdateDomainType, 'open_api_sdk/models/operations/updatedomain_type.rb'
         | 
| 59 54 | 
             
                autoload :UpdateDomainRequestBody, 'open_api_sdk/models/operations/updatedomain_requestbody.rb'
         | 
| 60 55 | 
             
                autoload :UpdateDomainRequest, 'open_api_sdk/models/operations/updatedomain_request.rb'
         | 
| 61 56 | 
             
                autoload :UpdateDomainResponse, 'open_api_sdk/models/operations/updatedomain_response.rb'
         | 
| @@ -13,40 +13,34 @@ module OpenApiSDK | |
| 13 13 |  | 
| 14 14 | 
             
                  # Whether the domain is archived.
         | 
| 15 15 | 
             
                  field :archived, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } }
         | 
| 16 | 
            -
                  # The  | 
| 17 | 
            -
                  field : | 
| 16 | 
            +
                  # The date the domain was created.
         | 
| 17 | 
            +
                  field :created_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('createdAt') } }
         | 
| 18 18 | 
             
                  # The URL to redirect to when a link under this domain has expired.
         | 
| 19 19 | 
             
                  field :expired_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } }
         | 
| 20 20 | 
             
                  # The unique identifier of the domain.
         | 
| 21 21 | 
             
                  field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
         | 
| 22 | 
            -
                  # Prevent search engines from indexing the domain.
         | 
| 23 | 
            -
                  field :noindex, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('noindex') } }
         | 
| 24 22 | 
             
                  # Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.
         | 
| 25 23 | 
             
                  field :placeholder, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('placeholder') } }
         | 
| 26 24 | 
             
                  # Whether the domain is the primary domain for the workspace.
         | 
| 27 25 | 
             
                  field :primary, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('primary') } }
         | 
| 28 26 | 
             
                  # The domain name.
         | 
| 29 27 | 
             
                  field :slug, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } }
         | 
| 30 | 
            -
                  # The  | 
| 31 | 
            -
                  field : | 
| 32 | 
            -
                  # The type of redirect to use for this domain.
         | 
| 33 | 
            -
                  field :type, ::OpenApiSDK::Shared::Type, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::Type, false) } }
         | 
| 28 | 
            +
                  # The date the domain was last updated.
         | 
| 29 | 
            +
                  field :updated_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('updatedAt') } }
         | 
| 34 30 | 
             
                  # Whether the domain is verified.
         | 
| 35 31 | 
             
                  field :verified, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('verified') } }
         | 
| 36 32 |  | 
| 37 33 |  | 
| 38 | 
            -
                  sig { params(archived: T::Boolean,  | 
| 39 | 
            -
                  def initialize(archived: nil,  | 
| 34 | 
            +
                  sig { params(archived: T::Boolean, created_at: ::String, expired_url: ::String, id: ::String, placeholder: ::String, primary: T::Boolean, slug: ::String, updated_at: ::String, verified: T::Boolean).void }
         | 
| 35 | 
            +
                  def initialize(archived: nil, created_at: nil, expired_url: nil, id: nil, placeholder: nil, primary: nil, slug: nil, updated_at: nil, verified: nil)
         | 
| 40 36 | 
             
                    @archived = archived
         | 
| 41 | 
            -
                    @ | 
| 37 | 
            +
                    @created_at = created_at
         | 
| 42 38 | 
             
                    @expired_url = expired_url
         | 
| 43 39 | 
             
                    @id = id
         | 
| 44 | 
            -
                    @noindex = noindex
         | 
| 45 40 | 
             
                    @placeholder = placeholder
         | 
| 46 41 | 
             
                    @primary = primary
         | 
| 47 42 | 
             
                    @slug = slug
         | 
| 48 | 
            -
                    @ | 
| 49 | 
            -
                    @type = type
         | 
| 43 | 
            +
                    @updated_at = updated_at
         | 
| 50 44 | 
             
                    @verified = verified
         | 
| 51 45 | 
             
                  end
         | 
| 52 46 | 
             
                end
         | 
| @@ -23,6 +23,8 @@ module OpenApiSDK | |
| 23 23 | 
             
                  field :created_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('createdAt') } }
         | 
| 24 24 | 
             
                  # The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
         | 
| 25 25 | 
             
                  field :description, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
         | 
| 26 | 
            +
                  # Whether to allow search engines to index the short link.
         | 
| 27 | 
            +
                  field :do_index, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doIndex') } }
         | 
| 26 28 | 
             
                  # The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains).
         | 
| 27 29 | 
             
                  field :domain, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('domain') } }
         | 
| 28 30 | 
             
                  # The URL to redirect to when the short link has expired.
         | 
| @@ -93,14 +95,15 @@ module OpenApiSDK | |
| 93 95 | 
             
                  field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspaceId') } }
         | 
| 94 96 |  | 
| 95 97 |  | 
| 96 | 
            -
                  sig { params(android: ::String, archived: T::Boolean, clicks: ::Float, comments: ::String, created_at: ::String, description: ::String, domain: ::String, expired_url: ::String, expires_at: ::String, external_id: ::String, geo: ::OpenApiSDK::Shared::Geo, id: ::String, image: ::String, ios: ::String, key: ::String, last_clicked: ::String, leads: ::Float, password: ::String, project_id: ::String, proxy: T::Boolean, public_stats: T::Boolean, qr_code: ::String, rewrite: T::Boolean, sales: ::Float, short_link: ::String, tag_id: ::String, tags: T::Array[::OpenApiSDK::Shared::TagSchema], title: ::String, track_conversion: T::Boolean, updated_at: ::String, url: ::String, user_id: ::String, utm_campaign: ::String, utm_content: ::String, utm_medium: ::String, utm_source: ::String, utm_term: ::String, workspace_id: ::String).void }
         | 
| 97 | 
            -
                  def initialize(android: nil, archived: nil, clicks: nil, comments: nil, created_at: nil, description: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, id: nil, image: nil, ios: nil, key: nil, last_clicked: nil, leads: nil, password: nil, project_id: nil, proxy: nil, public_stats: nil, qr_code: nil, rewrite: nil, sales: nil, short_link: nil, tag_id: nil, tags: nil, title: nil, track_conversion: nil, updated_at: nil, url: nil, user_id: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, workspace_id: nil)
         | 
| 98 | 
            +
                  sig { params(android: ::String, archived: T::Boolean, clicks: ::Float, comments: ::String, created_at: ::String, description: ::String, do_index: T::Boolean, domain: ::String, expired_url: ::String, expires_at: ::String, external_id: ::String, geo: ::OpenApiSDK::Shared::Geo, id: ::String, image: ::String, ios: ::String, key: ::String, last_clicked: ::String, leads: ::Float, password: ::String, project_id: ::String, proxy: T::Boolean, public_stats: T::Boolean, qr_code: ::String, rewrite: T::Boolean, sales: ::Float, short_link: ::String, tag_id: ::String, tags: T::Array[::OpenApiSDK::Shared::TagSchema], title: ::String, track_conversion: T::Boolean, updated_at: ::String, url: ::String, user_id: ::String, utm_campaign: ::String, utm_content: ::String, utm_medium: ::String, utm_source: ::String, utm_term: ::String, workspace_id: ::String).void }
         | 
| 99 | 
            +
                  def initialize(android: nil, archived: nil, clicks: nil, comments: nil, created_at: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, id: nil, image: nil, ios: nil, key: nil, last_clicked: nil, leads: nil, password: nil, project_id: nil, proxy: nil, public_stats: nil, qr_code: nil, rewrite: nil, sales: nil, short_link: nil, tag_id: nil, tags: nil, title: nil, track_conversion: nil, updated_at: nil, url: nil, user_id: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, workspace_id: nil)
         | 
| 98 100 | 
             
                    @android = android
         | 
| 99 101 | 
             
                    @archived = archived
         | 
| 100 102 | 
             
                    @clicks = clicks
         | 
| 101 103 | 
             
                    @comments = comments
         | 
| 102 104 | 
             
                    @created_at = created_at
         | 
| 103 105 | 
             
                    @description = description
         | 
| 106 | 
            +
                    @do_index = do_index
         | 
| 104 107 | 
             
                    @domain = domain
         | 
| 105 108 | 
             
                    @expired_url = expired_url
         | 
| 106 109 | 
             
                    @expires_at = expires_at
         | 
| @@ -43,7 +43,6 @@ module OpenApiSDK | |
| 43 43 | 
             
                autoload :Users, 'open_api_sdk/models/shared/users.rb'
         | 
| 44 44 | 
             
                autoload :Domains, 'open_api_sdk/models/shared/domains.rb'
         | 
| 45 45 | 
             
                autoload :WorkspaceSchema, 'open_api_sdk/models/shared/workspaceschema.rb'
         | 
| 46 | 
            -
                autoload :Type, 'open_api_sdk/models/shared/type.rb'
         | 
| 47 46 | 
             
                autoload :DomainSchema, 'open_api_sdk/models/shared/domainschema.rb'
         | 
| 48 47 | 
             
                autoload :Security, 'open_api_sdk/models/shared/security.rb'
         | 
| 49 48 | 
             
              end
         | 
| @@ -40,9 +40,9 @@ module OpenApiSDK | |
| 40 40 | 
             
                  @globals = globals.nil? ? {} : globals
         | 
| 41 41 | 
             
                  @language = 'ruby'
         | 
| 42 42 | 
             
                  @openapi_doc_version = '0.0.1'
         | 
| 43 | 
            -
                  @sdk_version = '0.0. | 
| 44 | 
            -
                  @gen_version = '2. | 
| 45 | 
            -
                  @user_agent = 'speakeasy-sdk/ruby 0.0. | 
| 43 | 
            +
                  @sdk_version = '0.0.7'
         | 
| 44 | 
            +
                  @gen_version = '2.354.2'
         | 
| 45 | 
            +
                  @user_agent = 'speakeasy-sdk/ruby 0.0.7 2.354.2 0.0.1 dub'
         | 
| 46 46 | 
             
                end
         | 
| 47 47 |  | 
| 48 48 | 
             
                sig { returns([String, T::Hash[Symbol, String]]) }
         | 
| @@ -19,167 +19,6 @@ module OpenApiSDK | |
| 19 19 | 
             
                end
         | 
| 20 20 |  | 
| 21 21 |  | 
| 22 | 
            -
                sig { returns(::OpenApiSDK::Operations::GetWorkspacesResponse) }
         | 
| 23 | 
            -
                def list
         | 
| 24 | 
            -
                  # list - Retrieve a list of workspaces
         | 
| 25 | 
            -
                  # Retrieve a list of workspaces for the authenticated user.
         | 
| 26 | 
            -
                  url, params = @sdk_configuration.get_server_details
         | 
| 27 | 
            -
                  base_url = Utils.template_url(url, params)
         | 
| 28 | 
            -
                  url = "#{base_url}/workspaces"
         | 
| 29 | 
            -
                  headers = {}
         | 
| 30 | 
            -
                  headers['Accept'] = 'application/json'
         | 
| 31 | 
            -
                  headers['user-agent'] = @sdk_configuration.user_agent
         | 
| 32 | 
            -
             | 
| 33 | 
            -
                  r = @sdk_configuration.client.get(url) do |req|
         | 
| 34 | 
            -
                    req.headers = headers
         | 
| 35 | 
            -
                    Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
         | 
| 36 | 
            -
                  end
         | 
| 37 | 
            -
             | 
| 38 | 
            -
                  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
         | 
| 39 | 
            -
             | 
| 40 | 
            -
                  res = ::OpenApiSDK::Operations::GetWorkspacesResponse.new(
         | 
| 41 | 
            -
                    status_code: r.status, content_type: content_type, raw_response: r
         | 
| 42 | 
            -
                  )
         | 
| 43 | 
            -
                  if r.status == 200
         | 
| 44 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 45 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, T::Array[::OpenApiSDK::Shared::WorkspaceSchema])
         | 
| 46 | 
            -
                      res.workspace_schemas = out
         | 
| 47 | 
            -
                    end
         | 
| 48 | 
            -
                  elsif r.status == 400
         | 
| 49 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 50 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::BadRequest)
         | 
| 51 | 
            -
                      res.bad_request = out
         | 
| 52 | 
            -
                    end
         | 
| 53 | 
            -
                  elsif r.status == 401
         | 
| 54 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 55 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Unauthorized)
         | 
| 56 | 
            -
                      res.unauthorized = out
         | 
| 57 | 
            -
                    end
         | 
| 58 | 
            -
                  elsif r.status == 403
         | 
| 59 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 60 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Forbidden)
         | 
| 61 | 
            -
                      res.forbidden = out
         | 
| 62 | 
            -
                    end
         | 
| 63 | 
            -
                  elsif r.status == 404
         | 
| 64 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 65 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::NotFound)
         | 
| 66 | 
            -
                      res.not_found = out
         | 
| 67 | 
            -
                    end
         | 
| 68 | 
            -
                  elsif r.status == 409
         | 
| 69 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 70 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Conflict)
         | 
| 71 | 
            -
                      res.conflict = out
         | 
| 72 | 
            -
                    end
         | 
| 73 | 
            -
                  elsif r.status == 410
         | 
| 74 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 75 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::InviteExpired)
         | 
| 76 | 
            -
                      res.invite_expired = out
         | 
| 77 | 
            -
                    end
         | 
| 78 | 
            -
                  elsif r.status == 422
         | 
| 79 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 80 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::UnprocessableEntity)
         | 
| 81 | 
            -
                      res.unprocessable_entity = out
         | 
| 82 | 
            -
                    end
         | 
| 83 | 
            -
                  elsif r.status == 429
         | 
| 84 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 85 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::RateLimitExceeded)
         | 
| 86 | 
            -
                      res.rate_limit_exceeded = out
         | 
| 87 | 
            -
                    end
         | 
| 88 | 
            -
                  elsif r.status == 500
         | 
| 89 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 90 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::InternalServerError)
         | 
| 91 | 
            -
                      res.internal_server_error = out
         | 
| 92 | 
            -
                    end
         | 
| 93 | 
            -
                  end
         | 
| 94 | 
            -
                  res
         | 
| 95 | 
            -
                end
         | 
| 96 | 
            -
             | 
| 97 | 
            -
             | 
| 98 | 
            -
                sig { params(request: T.nilable(::OpenApiSDK::Operations::CreateWorkspaceRequestBody)).returns(::OpenApiSDK::Operations::CreateWorkspaceResponse) }
         | 
| 99 | 
            -
                def create(request)
         | 
| 100 | 
            -
                  # create - Create a workspace
         | 
| 101 | 
            -
                  # Create a new workspace for the authenticated user.
         | 
| 102 | 
            -
                  url, params = @sdk_configuration.get_server_details
         | 
| 103 | 
            -
                  base_url = Utils.template_url(url, params)
         | 
| 104 | 
            -
                  url = "#{base_url}/workspaces"
         | 
| 105 | 
            -
                  headers = {}
         | 
| 106 | 
            -
                  req_content_type, data, form = Utils.serialize_request_body(request, :request, :json)
         | 
| 107 | 
            -
                  headers['content-type'] = req_content_type
         | 
| 108 | 
            -
                  headers['Accept'] = 'application/json'
         | 
| 109 | 
            -
                  headers['user-agent'] = @sdk_configuration.user_agent
         | 
| 110 | 
            -
             | 
| 111 | 
            -
                  r = @sdk_configuration.client.post(url) do |req|
         | 
| 112 | 
            -
                    req.headers = headers
         | 
| 113 | 
            -
                    Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
         | 
| 114 | 
            -
                    if form
         | 
| 115 | 
            -
                      req.body = Utils.encode_form(form)
         | 
| 116 | 
            -
                    elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
         | 
| 117 | 
            -
                      req.body = URI.encode_www_form(data)
         | 
| 118 | 
            -
                    else
         | 
| 119 | 
            -
                      req.body = data
         | 
| 120 | 
            -
                    end
         | 
| 121 | 
            -
                  end
         | 
| 122 | 
            -
             | 
| 123 | 
            -
                  content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
         | 
| 124 | 
            -
             | 
| 125 | 
            -
                  res = ::OpenApiSDK::Operations::CreateWorkspaceResponse.new(
         | 
| 126 | 
            -
                    status_code: r.status, content_type: content_type, raw_response: r
         | 
| 127 | 
            -
                  )
         | 
| 128 | 
            -
                  if r.status == 200
         | 
| 129 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 130 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::WorkspaceSchema)
         | 
| 131 | 
            -
                      res.workspace_schema = out
         | 
| 132 | 
            -
                    end
         | 
| 133 | 
            -
                  elsif r.status == 400
         | 
| 134 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 135 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::BadRequest)
         | 
| 136 | 
            -
                      res.bad_request = out
         | 
| 137 | 
            -
                    end
         | 
| 138 | 
            -
                  elsif r.status == 401
         | 
| 139 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 140 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Unauthorized)
         | 
| 141 | 
            -
                      res.unauthorized = out
         | 
| 142 | 
            -
                    end
         | 
| 143 | 
            -
                  elsif r.status == 403
         | 
| 144 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 145 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Forbidden)
         | 
| 146 | 
            -
                      res.forbidden = out
         | 
| 147 | 
            -
                    end
         | 
| 148 | 
            -
                  elsif r.status == 404
         | 
| 149 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 150 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::NotFound)
         | 
| 151 | 
            -
                      res.not_found = out
         | 
| 152 | 
            -
                    end
         | 
| 153 | 
            -
                  elsif r.status == 409
         | 
| 154 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 155 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Conflict)
         | 
| 156 | 
            -
                      res.conflict = out
         | 
| 157 | 
            -
                    end
         | 
| 158 | 
            -
                  elsif r.status == 410
         | 
| 159 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 160 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::InviteExpired)
         | 
| 161 | 
            -
                      res.invite_expired = out
         | 
| 162 | 
            -
                    end
         | 
| 163 | 
            -
                  elsif r.status == 422
         | 
| 164 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 165 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::UnprocessableEntity)
         | 
| 166 | 
            -
                      res.unprocessable_entity = out
         | 
| 167 | 
            -
                    end
         | 
| 168 | 
            -
                  elsif r.status == 429
         | 
| 169 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 170 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::RateLimitExceeded)
         | 
| 171 | 
            -
                      res.rate_limit_exceeded = out
         | 
| 172 | 
            -
                    end
         | 
| 173 | 
            -
                  elsif r.status == 500
         | 
| 174 | 
            -
                    if Utils.match_content_type(content_type, 'application/json')
         | 
| 175 | 
            -
                      out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::InternalServerError)
         | 
| 176 | 
            -
                      res.internal_server_error = out
         | 
| 177 | 
            -
                    end
         | 
| 178 | 
            -
                  end
         | 
| 179 | 
            -
                  res
         | 
| 180 | 
            -
                end
         | 
| 181 | 
            -
             | 
| 182 | 
            -
             | 
| 183 22 | 
             
                sig { params(id_or_slug: ::String).returns(::OpenApiSDK::Operations::GetWorkspaceResponse) }
         | 
| 184 23 | 
             
                def get(id_or_slug)
         | 
| 185 24 | 
             
                  # get - Retrieve a workspace
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: dub
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0. | 
| 4 | 
            +
              version: 0.0.7
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Dub
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2024- | 
| 11 | 
            +
            date: 2024-07-01 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         | 
| @@ -149,20 +149,18 @@ files: | |
| 149 149 | 
             
            - lib/open_api_sdk/links.rb
         | 
| 150 150 | 
             
            - lib/open_api_sdk/metatags.rb
         | 
| 151 151 | 
             
            - lib/open_api_sdk/models/operations.rb
         | 
| 152 | 
            -
            - lib/open_api_sdk/models/operations/adddomain_request.rb
         | 
| 153 | 
            -
            - lib/open_api_sdk/models/operations/adddomain_requestbody.rb
         | 
| 154 | 
            -
            - lib/open_api_sdk/models/operations/adddomain_response.rb
         | 
| 155 152 | 
             
            - lib/open_api_sdk/models/operations/bulkcreatelinks_request.rb
         | 
| 156 153 | 
             
            - lib/open_api_sdk/models/operations/bulkcreatelinks_response.rb
         | 
| 157 154 | 
             
            - lib/open_api_sdk/models/operations/color.rb
         | 
| 155 | 
            +
            - lib/open_api_sdk/models/operations/createdomain_request.rb
         | 
| 156 | 
            +
            - lib/open_api_sdk/models/operations/createdomain_requestbody.rb
         | 
| 157 | 
            +
            - lib/open_api_sdk/models/operations/createdomain_response.rb
         | 
| 158 158 | 
             
            - lib/open_api_sdk/models/operations/createlink_request.rb
         | 
| 159 159 | 
             
            - lib/open_api_sdk/models/operations/createlink_requestbody.rb
         | 
| 160 160 | 
             
            - lib/open_api_sdk/models/operations/createlink_response.rb
         | 
| 161 161 | 
             
            - lib/open_api_sdk/models/operations/createtag_request.rb
         | 
| 162 162 | 
             
            - lib/open_api_sdk/models/operations/createtag_requestbody.rb
         | 
| 163 163 | 
             
            - lib/open_api_sdk/models/operations/createtag_response.rb
         | 
| 164 | 
            -
            - lib/open_api_sdk/models/operations/createworkspace_requestbody.rb
         | 
| 165 | 
            -
            - lib/open_api_sdk/models/operations/createworkspace_response.rb
         | 
| 166 164 | 
             
            - lib/open_api_sdk/models/operations/deletedomain_request.rb
         | 
| 167 165 | 
             
            - lib/open_api_sdk/models/operations/deletedomain_response.rb
         | 
| 168 166 | 
             
            - lib/open_api_sdk/models/operations/deletedomain_responsebody.rb
         | 
| @@ -185,7 +183,6 @@ files: | |
| 185 183 | 
             
            - lib/open_api_sdk/models/operations/gettags_response.rb
         | 
| 186 184 | 
             
            - lib/open_api_sdk/models/operations/getworkspace_request.rb
         | 
| 187 185 | 
             
            - lib/open_api_sdk/models/operations/getworkspace_response.rb
         | 
| 188 | 
            -
            - lib/open_api_sdk/models/operations/getworkspaces_response.rb
         | 
| 189 186 | 
             
            - lib/open_api_sdk/models/operations/groupby.rb
         | 
| 190 187 | 
             
            - lib/open_api_sdk/models/operations/interval.rb
         | 
| 191 188 | 
             
            - lib/open_api_sdk/models/operations/level.rb
         | 
| @@ -213,11 +210,9 @@ files: | |
| 213 210 | 
             
            - lib/open_api_sdk/models/operations/transferdomain_request.rb
         | 
| 214 211 | 
             
            - lib/open_api_sdk/models/operations/transferdomain_requestbody.rb
         | 
| 215 212 | 
             
            - lib/open_api_sdk/models/operations/transferdomain_response.rb
         | 
| 216 | 
            -
            - lib/open_api_sdk/models/operations/type.rb
         | 
| 217 213 | 
             
            - lib/open_api_sdk/models/operations/updatedomain_request.rb
         | 
| 218 214 | 
             
            - lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
         | 
| 219 215 | 
             
            - lib/open_api_sdk/models/operations/updatedomain_response.rb
         | 
| 220 | 
            -
            - lib/open_api_sdk/models/operations/updatedomain_type.rb
         | 
| 221 216 | 
             
            - lib/open_api_sdk/models/operations/updatelink_request.rb
         | 
| 222 217 | 
             
            - lib/open_api_sdk/models/operations/updatelink_requestbody.rb
         | 
| 223 218 | 
             
            - lib/open_api_sdk/models/operations/updatelink_response.rb
         | 
| @@ -257,7 +252,6 @@ files: | |
| 257 252 | 
             
            - lib/open_api_sdk/models/shared/role.rb
         | 
| 258 253 | 
             
            - lib/open_api_sdk/models/shared/security.rb
         | 
| 259 254 | 
             
            - lib/open_api_sdk/models/shared/tagschema.rb
         | 
| 260 | 
            -
            - lib/open_api_sdk/models/shared/type.rb
         | 
| 261 255 | 
             
            - lib/open_api_sdk/models/shared/unauthorized.rb
         | 
| 262 256 | 
             
            - lib/open_api_sdk/models/shared/unauthorized_code.rb
         | 
| 263 257 | 
             
            - lib/open_api_sdk/models/shared/unauthorized_error.rb
         | 
| @@ -1,30 +0,0 @@ | |
| 1 | 
            -
            # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            # typed: true
         | 
| 4 | 
            -
            # frozen_string_literal: true
         | 
| 5 | 
            -
             | 
| 6 | 
            -
             | 
| 7 | 
            -
            module OpenApiSDK
         | 
| 8 | 
            -
              module Operations
         | 
| 9 | 
            -
              
         | 
| 10 | 
            -
             | 
| 11 | 
            -
                class CreateWorkspaceRequestBody < ::OpenApiSDK::Utils::FieldAugmented
         | 
| 12 | 
            -
                  extend T::Sig
         | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
                  field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
         | 
| 16 | 
            -
             | 
| 17 | 
            -
                  field :slug, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } }
         | 
| 18 | 
            -
             | 
| 19 | 
            -
                  field :domain, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('domain') } }
         | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
                  sig { params(name: ::String, slug: ::String, domain: T.nilable(::String)).void }
         | 
| 23 | 
            -
                  def initialize(name: nil, slug: nil, domain: nil)
         | 
| 24 | 
            -
                    @name = name
         | 
| 25 | 
            -
                    @slug = slug
         | 
| 26 | 
            -
                    @domain = domain
         | 
| 27 | 
            -
                  end
         | 
| 28 | 
            -
                end
         | 
| 29 | 
            -
              end
         | 
| 30 | 
            -
            end
         | 
| @@ -1,60 +0,0 @@ | |
| 1 | 
            -
            # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            # typed: true
         | 
| 4 | 
            -
            # frozen_string_literal: true
         | 
| 5 | 
            -
             | 
| 6 | 
            -
             | 
| 7 | 
            -
            module OpenApiSDK
         | 
| 8 | 
            -
              module Operations
         | 
| 9 | 
            -
              
         | 
| 10 | 
            -
             | 
| 11 | 
            -
                class CreateWorkspaceResponse < ::OpenApiSDK::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 | 
            -
                  # The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
         | 
| 21 | 
            -
                  field :bad_request, T.nilable(::OpenApiSDK::Shared::BadRequest)
         | 
| 22 | 
            -
                  # This response is sent when a request conflicts with the current state of the server.
         | 
| 23 | 
            -
                  field :conflict, T.nilable(::OpenApiSDK::Shared::Conflict)
         | 
| 24 | 
            -
                  # The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.
         | 
| 25 | 
            -
                  field :forbidden, T.nilable(::OpenApiSDK::Shared::Forbidden)
         | 
| 26 | 
            -
                  # The server has encountered a situation it does not know how to handle.
         | 
| 27 | 
            -
                  field :internal_server_error, T.nilable(::OpenApiSDK::Shared::InternalServerError)
         | 
| 28 | 
            -
                  # This response is sent when the requested content has been permanently deleted from server, with no forwarding address.
         | 
| 29 | 
            -
                  field :invite_expired, T.nilable(::OpenApiSDK::Shared::InviteExpired)
         | 
| 30 | 
            -
                  # The server cannot find the requested resource.
         | 
| 31 | 
            -
                  field :not_found, T.nilable(::OpenApiSDK::Shared::NotFound)
         | 
| 32 | 
            -
                  # The user has sent too many requests in a given amount of time ("rate limiting")
         | 
| 33 | 
            -
                  field :rate_limit_exceeded, T.nilable(::OpenApiSDK::Shared::RateLimitExceeded)
         | 
| 34 | 
            -
                  # Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
         | 
| 35 | 
            -
                  field :unauthorized, T.nilable(::OpenApiSDK::Shared::Unauthorized)
         | 
| 36 | 
            -
                  # The request was well-formed but was unable to be followed due to semantic errors.
         | 
| 37 | 
            -
                  field :unprocessable_entity, T.nilable(::OpenApiSDK::Shared::UnprocessableEntity)
         | 
| 38 | 
            -
                  # The created workspace
         | 
| 39 | 
            -
                  field :workspace_schema, T.nilable(::OpenApiSDK::Shared::WorkspaceSchema)
         | 
| 40 | 
            -
             | 
| 41 | 
            -
             | 
| 42 | 
            -
                  sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, bad_request: T.nilable(::OpenApiSDK::Shared::BadRequest), conflict: T.nilable(::OpenApiSDK::Shared::Conflict), forbidden: T.nilable(::OpenApiSDK::Shared::Forbidden), internal_server_error: T.nilable(::OpenApiSDK::Shared::InternalServerError), invite_expired: T.nilable(::OpenApiSDK::Shared::InviteExpired), not_found: T.nilable(::OpenApiSDK::Shared::NotFound), rate_limit_exceeded: T.nilable(::OpenApiSDK::Shared::RateLimitExceeded), unauthorized: T.nilable(::OpenApiSDK::Shared::Unauthorized), unprocessable_entity: T.nilable(::OpenApiSDK::Shared::UnprocessableEntity), workspace_schema: T.nilable(::OpenApiSDK::Shared::WorkspaceSchema)).void }
         | 
| 43 | 
            -
                  def initialize(content_type: nil, raw_response: nil, status_code: nil, bad_request: nil, conflict: nil, forbidden: nil, internal_server_error: nil, invite_expired: nil, not_found: nil, rate_limit_exceeded: nil, unauthorized: nil, unprocessable_entity: nil, workspace_schema: nil)
         | 
| 44 | 
            -
                    @content_type = content_type
         | 
| 45 | 
            -
                    @raw_response = raw_response
         | 
| 46 | 
            -
                    @status_code = status_code
         | 
| 47 | 
            -
                    @bad_request = bad_request
         | 
| 48 | 
            -
                    @conflict = conflict
         | 
| 49 | 
            -
                    @forbidden = forbidden
         | 
| 50 | 
            -
                    @internal_server_error = internal_server_error
         | 
| 51 | 
            -
                    @invite_expired = invite_expired
         | 
| 52 | 
            -
                    @not_found = not_found
         | 
| 53 | 
            -
                    @rate_limit_exceeded = rate_limit_exceeded
         | 
| 54 | 
            -
                    @unauthorized = unauthorized
         | 
| 55 | 
            -
                    @unprocessable_entity = unprocessable_entity
         | 
| 56 | 
            -
                    @workspace_schema = workspace_schema
         | 
| 57 | 
            -
                  end
         | 
| 58 | 
            -
                end
         | 
| 59 | 
            -
              end
         | 
| 60 | 
            -
            end
         | 
| @@ -1,60 +0,0 @@ | |
| 1 | 
            -
            # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            # typed: true
         | 
| 4 | 
            -
            # frozen_string_literal: true
         | 
| 5 | 
            -
             | 
| 6 | 
            -
             | 
| 7 | 
            -
            module OpenApiSDK
         | 
| 8 | 
            -
              module Operations
         | 
| 9 | 
            -
              
         | 
| 10 | 
            -
             | 
| 11 | 
            -
                class GetWorkspacesResponse < ::OpenApiSDK::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 | 
            -
                  # The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
         | 
| 21 | 
            -
                  field :bad_request, T.nilable(::OpenApiSDK::Shared::BadRequest)
         | 
| 22 | 
            -
                  # This response is sent when a request conflicts with the current state of the server.
         | 
| 23 | 
            -
                  field :conflict, T.nilable(::OpenApiSDK::Shared::Conflict)
         | 
| 24 | 
            -
                  # The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.
         | 
| 25 | 
            -
                  field :forbidden, T.nilable(::OpenApiSDK::Shared::Forbidden)
         | 
| 26 | 
            -
                  # The server has encountered a situation it does not know how to handle.
         | 
| 27 | 
            -
                  field :internal_server_error, T.nilable(::OpenApiSDK::Shared::InternalServerError)
         | 
| 28 | 
            -
                  # This response is sent when the requested content has been permanently deleted from server, with no forwarding address.
         | 
| 29 | 
            -
                  field :invite_expired, T.nilable(::OpenApiSDK::Shared::InviteExpired)
         | 
| 30 | 
            -
                  # The server cannot find the requested resource.
         | 
| 31 | 
            -
                  field :not_found, T.nilable(::OpenApiSDK::Shared::NotFound)
         | 
| 32 | 
            -
                  # The user has sent too many requests in a given amount of time ("rate limiting")
         | 
| 33 | 
            -
                  field :rate_limit_exceeded, T.nilable(::OpenApiSDK::Shared::RateLimitExceeded)
         | 
| 34 | 
            -
                  # Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
         | 
| 35 | 
            -
                  field :unauthorized, T.nilable(::OpenApiSDK::Shared::Unauthorized)
         | 
| 36 | 
            -
                  # The request was well-formed but was unable to be followed due to semantic errors.
         | 
| 37 | 
            -
                  field :unprocessable_entity, T.nilable(::OpenApiSDK::Shared::UnprocessableEntity)
         | 
| 38 | 
            -
                  # A list of workspaces
         | 
| 39 | 
            -
                  field :workspace_schemas, T.nilable(T::Array[::OpenApiSDK::Shared::WorkspaceSchema])
         | 
| 40 | 
            -
             | 
| 41 | 
            -
             | 
| 42 | 
            -
                  sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, bad_request: T.nilable(::OpenApiSDK::Shared::BadRequest), conflict: T.nilable(::OpenApiSDK::Shared::Conflict), forbidden: T.nilable(::OpenApiSDK::Shared::Forbidden), internal_server_error: T.nilable(::OpenApiSDK::Shared::InternalServerError), invite_expired: T.nilable(::OpenApiSDK::Shared::InviteExpired), not_found: T.nilable(::OpenApiSDK::Shared::NotFound), rate_limit_exceeded: T.nilable(::OpenApiSDK::Shared::RateLimitExceeded), unauthorized: T.nilable(::OpenApiSDK::Shared::Unauthorized), unprocessable_entity: T.nilable(::OpenApiSDK::Shared::UnprocessableEntity), workspace_schemas: T.nilable(T::Array[::OpenApiSDK::Shared::WorkspaceSchema])).void }
         | 
| 43 | 
            -
                  def initialize(content_type: nil, raw_response: nil, status_code: nil, bad_request: nil, conflict: nil, forbidden: nil, internal_server_error: nil, invite_expired: nil, not_found: nil, rate_limit_exceeded: nil, unauthorized: nil, unprocessable_entity: nil, workspace_schemas: nil)
         | 
| 44 | 
            -
                    @content_type = content_type
         | 
| 45 | 
            -
                    @raw_response = raw_response
         | 
| 46 | 
            -
                    @status_code = status_code
         | 
| 47 | 
            -
                    @bad_request = bad_request
         | 
| 48 | 
            -
                    @conflict = conflict
         | 
| 49 | 
            -
                    @forbidden = forbidden
         | 
| 50 | 
            -
                    @internal_server_error = internal_server_error
         | 
| 51 | 
            -
                    @invite_expired = invite_expired
         | 
| 52 | 
            -
                    @not_found = not_found
         | 
| 53 | 
            -
                    @rate_limit_exceeded = rate_limit_exceeded
         | 
| 54 | 
            -
                    @unauthorized = unauthorized
         | 
| 55 | 
            -
                    @unprocessable_entity = unprocessable_entity
         | 
| 56 | 
            -
                    @workspace_schemas = workspace_schemas
         | 
| 57 | 
            -
                  end
         | 
| 58 | 
            -
                end
         | 
| 59 | 
            -
              end
         | 
| 60 | 
            -
            end
         | 
| @@ -1,19 +0,0 @@ | |
| 1 | 
            -
            # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            # typed: true
         | 
| 4 | 
            -
            # frozen_string_literal: true
         | 
| 5 | 
            -
             | 
| 6 | 
            -
             | 
| 7 | 
            -
            module OpenApiSDK
         | 
| 8 | 
            -
              module Operations
         | 
| 9 | 
            -
              
         | 
| 10 | 
            -
                # Type - The type of redirect to use for this domain.
         | 
| 11 | 
            -
                class Type < T::Enum
         | 
| 12 | 
            -
                  enums do
         | 
| 13 | 
            -
                    REDIRECT = new('redirect')
         | 
| 14 | 
            -
                    REWRITE = new('rewrite')
         | 
| 15 | 
            -
                  end
         | 
| 16 | 
            -
                end
         | 
| 17 | 
            -
             | 
| 18 | 
            -
              end
         | 
| 19 | 
            -
            end
         | 
| @@ -1,19 +0,0 @@ | |
| 1 | 
            -
            # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            # typed: true
         | 
| 4 | 
            -
            # frozen_string_literal: true
         | 
| 5 | 
            -
             | 
| 6 | 
            -
             | 
| 7 | 
            -
            module OpenApiSDK
         | 
| 8 | 
            -
              module Operations
         | 
| 9 | 
            -
              
         | 
| 10 | 
            -
                # UpdateDomainType - The type of redirect to use for this domain.
         | 
| 11 | 
            -
                class UpdateDomainType < T::Enum
         | 
| 12 | 
            -
                  enums do
         | 
| 13 | 
            -
                    REDIRECT = new('redirect')
         | 
| 14 | 
            -
                    REWRITE = new('rewrite')
         | 
| 15 | 
            -
                  end
         | 
| 16 | 
            -
                end
         | 
| 17 | 
            -
             | 
| 18 | 
            -
              end
         | 
| 19 | 
            -
            end
         | 
| @@ -1,19 +0,0 @@ | |
| 1 | 
            -
            # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            # typed: true
         | 
| 4 | 
            -
            # frozen_string_literal: true
         | 
| 5 | 
            -
             | 
| 6 | 
            -
             | 
| 7 | 
            -
            module OpenApiSDK
         | 
| 8 | 
            -
              module Shared
         | 
| 9 | 
            -
              
         | 
| 10 | 
            -
                # Type - The type of redirect to use for this domain.
         | 
| 11 | 
            -
                class Type < T::Enum
         | 
| 12 | 
            -
                  enums do
         | 
| 13 | 
            -
                    REDIRECT = new('redirect')
         | 
| 14 | 
            -
                    REWRITE = new('rewrite')
         | 
| 15 | 
            -
                  end
         | 
| 16 | 
            -
                end
         | 
| 17 | 
            -
             | 
| 18 | 
            -
              end
         | 
| 19 | 
            -
            end
         |