diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 8390413..6789c6c 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 5a2dd83e-da98-455b-8ef9-0100a914efdf management: - docChecksum: 756dac9e9f7f9954fef9635bbe0c7ca8 + docChecksum: ebeafbab98f36580b94fa4a78ab949c3 docVersion: 0.0.1 speakeasyVersion: 1.448.2 generationVersion: 2.467.4 - releaseVersion: 0.2.2-alpha.41 - configChecksum: 8febf46035f281e35336d2fc3115c94f + releaseVersion: 0.2.2-alpha.42 + configChecksum: 5b24d44af7b49afa27da712ff6d9da6b repoURL: https://github.com/dubinc/dub-ruby.git installationURL: https://github.com/dubinc/dub-ruby published: true @@ -929,7 +929,7 @@ examples: application/json: {"slug": "acme.com", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub"} responses: "201": - application/json: {"id": "", "slug": "acme.com", "verified": true, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "createdAt": "", "updatedAt": "", "registeredDomain": {"id": "", "createdAt": "", "expiresAt": ""}} + application/json: {"id": "", "slug": "acme.com", "verified": true, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "logo": "", "createdAt": "", "updatedAt": "", "registeredDomain": {"id": "", "createdAt": "", "expiresAt": ""}} "400": application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}} "401": @@ -983,7 +983,7 @@ examples: application/json: {"slug": "acme.com", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub"} responses: "200": - application/json: {"id": "", "slug": "acme.com", "verified": false, "primary": true, "archived": true, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "createdAt": "", "updatedAt": "", "registeredDomain": {"id": "", "createdAt": "", "expiresAt": ""}} + application/json: {"id": "", "slug": "acme.com", "verified": false, "primary": true, "archived": true, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "logo": "", "createdAt": "", "updatedAt": "", "registeredDomain": {"id": "", "createdAt": "", "expiresAt": ""}} "400": application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}} "401": diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index b8f7c3d..6747024 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -13,7 +13,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false ruby: - version: 0.2.2-alpha.41 + version: 0.2.2-alpha.42 author: Dub description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 9f2a4f8..1660d2a 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,20 +2,20 @@ speakeasyVersion: 1.448.2 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:a303b510bfedc7ab90214b679b4b82a5173c3f0ddd42f5384eb739f5c19ff2b8 - sourceBlobDigest: sha256:6d8e8227e33c26bdbfb30855e2034fd298b39c324e01ed923c57f3f9b34a0c02 + sourceRevisionDigest: sha256:9fbfecfead980674a37c0e19757aada48a5054ccbfb854ab746e68c5b9fccc0b + sourceBlobDigest: sha256:05e717ca7c8803f62c2536db9ec23d6f5c6ba9c19970b944c6500f280753d820 tags: - latest - - speakeasy-sdk-regen-1732753692 + - speakeasy-sdk-regen-1732926448 - 0.0.1 targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:a303b510bfedc7ab90214b679b4b82a5173c3f0ddd42f5384eb739f5c19ff2b8 - sourceBlobDigest: sha256:6d8e8227e33c26bdbfb30855e2034fd298b39c324e01ed923c57f3f9b34a0c02 + sourceRevisionDigest: sha256:9fbfecfead980674a37c0e19757aada48a5054ccbfb854ab746e68c5b9fccc0b + sourceBlobDigest: sha256:05e717ca7c8803f62c2536db9ec23d6f5c6ba9c19970b944c6500f280753d820 codeSamplesNamespace: code-samples-ruby-my-first-target - codeSamplesRevisionDigest: sha256:ee13fa0e19aef7ffd2ceeebb5f98d39a9c9a724ff9d4a838758f60f30e1bd9c3 + codeSamplesRevisionDigest: sha256:2871d0c1a381636e6ba73a8f5ee1ea09872f4bbca437425420b496aecd64a81d workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/Gemfile.lock b/Gemfile.lock index a707484..cf8b3cd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dub (0.2.2.pre.alpha.41) + dub (0.2.2.pre.alpha.42) faraday faraday-multipart rack diff --git a/RELEASES.md b/RELEASES.md index 5982816..1532f46 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -558,4 +558,14 @@ Based on: ### Generated - [ruby v0.2.2-alpha.41] . ### Releases -- [Ruby Gems v0.2.2-alpha.41] https://rubygems.org/gems/dub/versions/0.2.2-alpha.41 - . \ No newline at end of file +- [Ruby Gems v0.2.2-alpha.41] https://rubygems.org/gems/dub/versions/0.2.2-alpha.41 - . + +## 2024-11-30 00:27:25 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.448.2 (2.467.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.2.2-alpha.42] . +### Releases +- [Ruby Gems v0.2.2-alpha.42] https://rubygems.org/gems/dub/versions/0.2.2-alpha.42 - . \ No newline at end of file diff --git a/docs/models/operations/createdomainrequestbody.md b/docs/models/operations/createdomainrequestbody.md index 863e9b4..471d2a1 100644 --- a/docs/models/operations/createdomainrequestbody.md +++ b/docs/models/operations/createdomainrequestbody.md @@ -9,4 +9,5 @@ | `expired_url` | *T.nilable(::String)* | :heavy_minus_sign: | Redirect users to a specific URL when any link under this domain has expired. | https://acme.com/expired | | `not_found_url` | *T.nilable(::String)* | :heavy_minus_sign: | Redirect users to a specific URL when a link under this domain doesn't exist. | https://acme.com/not-found | | `archived` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to archive this domain. `false` will unarchive a previously archived domain. | false | -| `placeholder` | *T.nilable(::String)* | :heavy_minus_sign: | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub | \ No newline at end of file +| `placeholder` | *T.nilable(::String)* | :heavy_minus_sign: | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub | +| `logo` | *T.nilable(::String)* | :heavy_minus_sign: | The logo of the domain. | | \ No newline at end of file diff --git a/docs/models/operations/updatedomainrequestbody.md b/docs/models/operations/updatedomainrequestbody.md index 9c634f4..111e884 100644 --- a/docs/models/operations/updatedomainrequestbody.md +++ b/docs/models/operations/updatedomainrequestbody.md @@ -9,4 +9,5 @@ | `expired_url` | *T.nilable(::String)* | :heavy_minus_sign: | Redirect users to a specific URL when any link under this domain has expired. | https://acme.com/expired | | `not_found_url` | *T.nilable(::String)* | :heavy_minus_sign: | Redirect users to a specific URL when a link under this domain doesn't exist. | https://acme.com/not-found | | `archived` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to archive this domain. `false` will unarchive a previously archived domain. | false | -| `placeholder` | *T.nilable(::String)* | :heavy_minus_sign: | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub | \ No newline at end of file +| `placeholder` | *T.nilable(::String)* | :heavy_minus_sign: | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub | +| `logo` | *T.nilable(::String)* | :heavy_minus_sign: | The logo of the domain. | | \ No newline at end of file diff --git a/docs/models/operations/updateworkspacerequestbody.md b/docs/models/operations/updateworkspacerequestbody.md index f9dcd4f..d2549ef 100644 --- a/docs/models/operations/updateworkspacerequestbody.md +++ b/docs/models/operations/updateworkspacerequestbody.md @@ -6,4 +6,5 @@ | Field | Type | Required | Description | | --------------------- | --------------------- | --------------------- | --------------------- | | `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | -| `slug` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `slug` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | +| `logo` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/domainschema.md b/docs/models/shared/domainschema.md index e7a5eb6..42ac91a 100644 --- a/docs/models/shared/domainschema.md +++ b/docs/models/shared/domainschema.md @@ -13,6 +13,7 @@ | `placeholder` | *::String* | :heavy_check_mark: | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub | | `expired_url` | *::String* | :heavy_check_mark: | The URL to redirect to when a link under this domain has expired. | https://acme.com/expired | | `not_found_url` | *::String* | :heavy_check_mark: | The URL to redirect to when a link under this domain doesn't exist. | https://acme.com/not-found | +| `logo` | *::String* | :heavy_check_mark: | The logo of the domain. | | | `created_at` | *::String* | :heavy_check_mark: | The date the domain was created. | | | `updated_at` | *::String* | :heavy_check_mark: | The date the domain was last updated. | | | `registered_domain` | [::OpenApiSDK::Shared::RegisteredDomain](../../models/shared/registereddomain.md) | :heavy_check_mark: | The registered domain record. | | \ No newline at end of file diff --git a/dub.gemspec b/dub.gemspec index c16f3bf..e7c7d2f 100644 --- a/dub.gemspec +++ b/dub.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |s| s.name = 'dub' - s.version = '0.2.2-alpha.41' + s.version = '0.2.2-alpha.42' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = '' diff --git a/lib/open_api_sdk/models/operations/createdomain_requestbody.rb b/lib/open_api_sdk/models/operations/createdomain_requestbody.rb index f761ea6..040814e 100644 --- a/lib/open_api_sdk/models/operations/createdomain_requestbody.rb +++ b/lib/open_api_sdk/models/operations/createdomain_requestbody.rb @@ -17,17 +17,20 @@ class CreateDomainRequestBody < ::OpenApiSDK::Utils::FieldAugmented field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } } # Redirect users to a specific URL when any link under this domain has expired. field :expired_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } } + # The logo of the domain. + field :logo, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('logo') } } # Redirect users to a specific URL when a link under this domain doesn't exist. field :not_found_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('notFoundUrl') } } # Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. field :placeholder, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('placeholder') } } - sig { params(slug: ::String, archived: T.nilable(T::Boolean), expired_url: T.nilable(::String), not_found_url: T.nilable(::String), placeholder: T.nilable(::String)).void } - def initialize(slug: nil, archived: nil, expired_url: nil, not_found_url: nil, placeholder: nil) + sig { params(slug: ::String, archived: T.nilable(T::Boolean), expired_url: T.nilable(::String), logo: T.nilable(::String), not_found_url: T.nilable(::String), placeholder: T.nilable(::String)).void } + def initialize(slug: nil, archived: nil, expired_url: nil, logo: nil, not_found_url: nil, placeholder: nil) @slug = slug @archived = archived @expired_url = expired_url + @logo = logo @not_found_url = not_found_url @placeholder = placeholder end diff --git a/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb b/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb index b448e32..6494867 100644 --- a/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb +++ b/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb @@ -15,6 +15,8 @@ class UpdateDomainRequestBody < ::OpenApiSDK::Utils::FieldAugmented field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } } # Redirect users to a specific URL when any link under this domain has expired. field :expired_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } } + # The logo of the domain. + field :logo, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('logo') } } # Redirect users to a specific URL when a link under this domain doesn't exist. field :not_found_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('notFoundUrl') } } # Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. @@ -23,10 +25,11 @@ class UpdateDomainRequestBody < ::OpenApiSDK::Utils::FieldAugmented field :slug, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } } - sig { params(archived: T.nilable(T::Boolean), expired_url: T.nilable(::String), not_found_url: T.nilable(::String), placeholder: T.nilable(::String), slug: T.nilable(::String)).void } - def initialize(archived: nil, expired_url: nil, not_found_url: nil, placeholder: nil, slug: nil) + sig { params(archived: T.nilable(T::Boolean), expired_url: T.nilable(::String), logo: T.nilable(::String), not_found_url: T.nilable(::String), placeholder: T.nilable(::String), slug: T.nilable(::String)).void } + def initialize(archived: nil, expired_url: nil, logo: nil, not_found_url: nil, placeholder: nil, slug: nil) @archived = archived @expired_url = expired_url + @logo = logo @not_found_url = not_found_url @placeholder = placeholder @slug = slug diff --git a/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb b/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb index 8266a95..8c6024f 100644 --- a/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb +++ b/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb @@ -12,13 +12,16 @@ class UpdateWorkspaceRequestBody < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig + field :logo, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('logo') } } + field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } } field :slug, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } } - sig { params(name: T.nilable(::String), slug: T.nilable(::String)).void } - def initialize(name: nil, slug: nil) + sig { params(logo: T.nilable(::String), name: T.nilable(::String), slug: T.nilable(::String)).void } + def initialize(logo: nil, name: nil, slug: nil) + @logo = logo @name = name @slug = slug end diff --git a/lib/open_api_sdk/models/shared/domainschema.rb b/lib/open_api_sdk/models/shared/domainschema.rb index 7a08909..58b4775 100644 --- a/lib/open_api_sdk/models/shared/domainschema.rb +++ b/lib/open_api_sdk/models/shared/domainschema.rb @@ -19,6 +19,8 @@ class DomainSchema < ::OpenApiSDK::Utils::FieldAugmented field :expired_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } } # The unique identifier of the domain. field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } } + # The logo of the domain. + field :logo, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('logo') } } # The URL to redirect to when a link under this domain doesn't exist. field :not_found_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('notFoundUrl') } } # Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. @@ -35,12 +37,13 @@ class DomainSchema < ::OpenApiSDK::Utils::FieldAugmented field :verified, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('verified') } } - sig { params(archived: T::Boolean, created_at: ::String, expired_url: ::String, id: ::String, not_found_url: ::String, placeholder: ::String, primary: T::Boolean, registered_domain: ::OpenApiSDK::Shared::RegisteredDomain, slug: ::String, updated_at: ::String, verified: T::Boolean).void } - def initialize(archived: nil, created_at: nil, expired_url: nil, id: nil, not_found_url: nil, placeholder: nil, primary: nil, registered_domain: nil, slug: nil, updated_at: nil, verified: nil) + sig { params(archived: T::Boolean, created_at: ::String, expired_url: ::String, id: ::String, logo: ::String, not_found_url: ::String, placeholder: ::String, primary: T::Boolean, registered_domain: ::OpenApiSDK::Shared::RegisteredDomain, slug: ::String, updated_at: ::String, verified: T::Boolean).void } + def initialize(archived: nil, created_at: nil, expired_url: nil, id: nil, logo: nil, not_found_url: nil, placeholder: nil, primary: nil, registered_domain: nil, slug: nil, updated_at: nil, verified: nil) @archived = archived @created_at = created_at @expired_url = expired_url @id = id + @logo = logo @not_found_url = not_found_url @placeholder = placeholder @primary = primary diff --git a/lib/open_api_sdk/sdkconfiguration.rb b/lib/open_api_sdk/sdkconfiguration.rb index 84ba38d..c448da6 100644 --- a/lib/open_api_sdk/sdkconfiguration.rb +++ b/lib/open_api_sdk/sdkconfiguration.rb @@ -38,9 +38,9 @@ def initialize(client, security, server_url, server_idx) @security = security @language = 'ruby' @openapi_doc_version = '0.0.1' - @sdk_version = '0.2.2-alpha.41' + @sdk_version = '0.2.2-alpha.42' @gen_version = '2.467.4' - @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.41 2.467.4 0.0.1 dub' + @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.42 2.467.4 0.0.1 dub' end sig { returns([String, T::Hash[Symbol, String]]) }