Skip to content

Commit

Permalink
Merge pull request #61 from dubinc/speakeasy-sdk-regen-1732926448
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.2.2-alpha.42
  • Loading branch information
devkiran authored Nov 30, 2024
2 parents 232caea + 97f428b commit c2c883a
Show file tree
Hide file tree
Showing 15 changed files with 54 additions and 28 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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": "<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": "<value>", "updatedAt": "<value>", "registeredDomain": {"id": "<id>", "createdAt": "<value>", "expiresAt": "<value>"}}
application/json: {"id": "<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": "<value>", "createdAt": "<value>", "updatedAt": "<value>", "registeredDomain": {"id": "<id>", "createdAt": "<value>", "expiresAt": "<value>"}}
"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":
Expand Down Expand Up @@ -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": "<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": "<value>", "updatedAt": "<value>", "registeredDomain": {"id": "<id>", "createdAt": "<value>", "expiresAt": "<value>"}}
application/json: {"id": "<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": "<value>", "createdAt": "<value>", "updatedAt": "<value>", "registeredDomain": {"id": "<id>", "createdAt": "<value>", "expiresAt": "<value>"}}
"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":
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 - .
- [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 - .
3 changes: 2 additions & 1 deletion docs/models/operations/createdomainrequestbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| `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. | |
3 changes: 2 additions & 1 deletion docs/models/operations/updatedomainrequestbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| `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. | |
3 changes: 2 additions & 1 deletion docs/models/operations/updateworkspacerequestbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| `slug` | *T.nilable(::String)* | :heavy_minus_sign: | N/A |
| `logo` | *T.nilable(::String)* | :heavy_minus_sign: | N/A |
1 change: 1 addition & 0 deletions docs/models/shared/domainschema.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. | |
2 changes: 1 addition & 1 deletion dub.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit c2c883a

Please sign in to comment.