Skip to content

Commit

Permalink
Merge pull request #7 from dubinc/speakeasy-sdk-regen-1718846278
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate
  • Loading branch information
devkiran authored Jun 28, 2024
2 parents dca733e + 5bdc944 commit f2ca243
Show file tree
Hide file tree
Showing 47 changed files with 155 additions and 320 deletions.
30 changes: 12 additions & 18 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
lockVersion: 2.0.0
id: 5a2dd83e-da98-455b-8ef9-0100a914efdf
management:
docChecksum: ba3e83845a082a6c2321d0eeaaf9c23c
docChecksum: f8b1be2fa34844de98cc6c19757c0e81
docVersion: 0.0.1
speakeasyVersion: 1.300.1
generationVersion: 2.339.1
releaseVersion: 0.0.5
configChecksum: ca47740c1f9091bad7d5a9ba60dd3cc6
speakeasyVersion: 1.322.1
generationVersion: 2.354.2
releaseVersion: 0.0.6
configChecksum: f0b5e2a48515a0f686bd1178e17f08a3
repoURL: https://github.com/dubinc/dub-ruby.git
installationURL: https://github.com/dubinc/dub-ruby
published: true
features:
ruby:
core: 3.2.13
core: 3.2.14
deprecations: 2.81.1
examples: 2.81.3
flattening: 2.81.1
Expand Down Expand Up @@ -122,14 +122,12 @@ generatedFiles:
- lib/open_api_sdk/models/operations/createtag_response.rb
- lib/open_api_sdk/models/operations/listdomains_request.rb
- lib/open_api_sdk/models/operations/listdomains_response.rb
- lib/open_api_sdk/models/operations/type.rb
- lib/open_api_sdk/models/operations/adddomain_requestbody.rb
- lib/open_api_sdk/models/operations/adddomain_request.rb
- lib/open_api_sdk/models/operations/adddomain_response.rb
- lib/open_api_sdk/models/operations/createdomain_requestbody.rb
- lib/open_api_sdk/models/operations/createdomain_request.rb
- lib/open_api_sdk/models/operations/createdomain_response.rb
- lib/open_api_sdk/models/operations/deletedomain_request.rb
- lib/open_api_sdk/models/operations/deletedomain_responsebody.rb
- lib/open_api_sdk/models/operations/deletedomain_response.rb
- lib/open_api_sdk/models/operations/updatedomain_type.rb
- lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
- lib/open_api_sdk/models/operations/updatedomain_request.rb
- lib/open_api_sdk/models/operations/updatedomain_response.rb
Expand Down Expand Up @@ -192,7 +190,6 @@ generatedFiles:
- lib/open_api_sdk/models/shared/users.rb
- lib/open_api_sdk/models/shared/domains.rb
- lib/open_api_sdk/models/shared/workspaceschema.rb
- lib/open_api_sdk/models/shared/type.rb
- lib/open_api_sdk/models/shared/domainschema.rb
- lib/open_api_sdk/models/shared/security.rb
- lib/dub.rb
Expand Down Expand Up @@ -241,14 +238,12 @@ generatedFiles:
- docs/models/operations/createtagresponse.md
- docs/models/operations/listdomainsrequest.md
- docs/models/operations/listdomainsresponse.md
- docs/models/operations/type.md
- docs/models/operations/adddomainrequestbody.md
- docs/models/operations/adddomainrequest.md
- docs/models/operations/adddomainresponse.md
- docs/models/operations/createdomainrequestbody.md
- docs/models/operations/createdomainrequest.md
- docs/models/operations/createdomainresponse.md
- docs/models/operations/deletedomainrequest.md
- docs/models/operations/deletedomainresponsebody.md
- docs/models/operations/deletedomainresponse.md
- docs/models/operations/updatedomaintype.md
- docs/models/operations/updatedomainrequestbody.md
- docs/models/operations/updatedomainrequest.md
- docs/models/operations/updatedomainresponse.md
Expand Down Expand Up @@ -311,7 +306,6 @@ generatedFiles:
- docs/models/shared/users.md
- docs/models/shared/domains.md
- docs/models/shared/workspaceschema.md
- docs/models/shared/type.md
- docs/models/shared/domainschema.md
- docs/models/shared/security.md
- docs/sdks/dub/README.md
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
ruby:
version: 0.0.5
version: 0.0.6
author: Dub
description: Ruby Client SDK Generated by Speakeasy
imports:
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.300.1
speakeasyVersion: 1.322.1
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:d2c24b5ce76ba71f892713722c1df612f12f25490d6e3a9505a4d8d5227c56d6
sourceBlobDigest: sha256:b470fd395e2bcc352f9b48b9f32c4a25fbd23cd88adacbc1b94fc84fe09777c0
sourceRevisionDigest: sha256:d1d39b93c4ba6a173dfce4ce622edb71dca7eb70b709f1a15c7ee8bd5c6c388e
sourceBlobDigest: sha256:747084edfdea35f7caaeb558d59dcd837023bb17387ae790b8354a109ee491c1
tags:
- latest
- main
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:d2c24b5ce76ba71f892713722c1df612f12f25490d6e3a9505a4d8d5227c56d6
sourceBlobDigest: sha256:b470fd395e2bcc352f9b48b9f32c4a25fbd23cd88adacbc1b94fc84fe09777c0
sourceRevisionDigest: sha256:d1d39b93c4ba6a173dfce4ce622edb71dca7eb70b709f1a15c7ee8bd5c6c388e
sourceBlobDigest: sha256:747084edfdea35f7caaeb558d59dcd837023bb17387ae790b8354a109ee491c1
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
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.0.5)
dub (0.0.6)
faraday
faraday-multipart
rack
Expand Down
20 changes: 7 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ gem install dub
require 'dub'


s = ::OpenApiSDK::Dub.new(
workspace_id: "<value>",
)
s = ::OpenApiSDK::Dub.new
s.config_security(
::OpenApiSDK::Shared::Security.new(
token: "DUB_API_KEY",
Expand Down Expand Up @@ -58,9 +56,7 @@ end
require 'dub'


s = ::OpenApiSDK::Dub.new(
workspace_id: "<value>",
)
s = ::OpenApiSDK::Dub.new
s.config_security(
::OpenApiSDK::Shared::Security.new(
token: "DUB_API_KEY",
Expand Down Expand Up @@ -119,7 +115,7 @@ end
### [Domains](docs/sdks/domains/README.md)

* [list](docs/sdks/domains/README.md#list) - Retrieve a list of domains
* [add](docs/sdks/domains/README.md#add) - Add a domain
* [create](docs/sdks/domains/README.md#create) - Create a domain
* [delete](docs/sdks/domains/README.md#delete) - Delete a domain
* [update](docs/sdks/domains/README.md#update) - Update a domain
* [set_primary](docs/sdks/domains/README.md#set_primary) - Set a domain as primary
Expand All @@ -139,18 +135,18 @@ end
<!-- Start Global Parameters [global-parameters] -->
## Global Parameters

Certain parameters are configured globally. These parameters must be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, These global values will be used as defaults on the operations that use them. When such operations are called, there is a place in each to override the global value, if needed.
Certain parameters are configured globally. These parameters may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, These global values will be used as defaults on the operations that use them. When such operations are called, there is a place in each to override the global value, if needed.

For example, you can set `workspaceId` to `"<value>"` at SDK initialization and then you do not have to pass the same value on calls to operations like `list`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.


### Available Globals

The following global parameters are available. The required parameters must be set when you initialize the SDK client.
The following global parameters are available.

| Name | Type | Required | Description |
| ---- | ---- |:--------:| ----------- |
| workspace_id | ::String | βœ”οΈ | The workspace_id parameter. |
| workspace_id | ::String | | The workspace_id parameter. |
| project_slug | ::String | | The project_slug parameter. |


Expand All @@ -160,9 +156,7 @@ The following global parameters are available. The required parameters must be s
require 'dub'


s = ::OpenApiSDK::Dub.new(
workspace_id: "<value>",
)
s = ::OpenApiSDK::Dub.new
s.config_security(
::OpenApiSDK::Shared::Security.new(
token: "DUB_API_KEY",
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,14 @@ Based on:
### Generated
- [ruby v0.0.5] .
### Releases
- [Ruby Gems v0.0.5] https://rubygems.org/gems/dub/versions/0.0.5 - .
- [Ruby Gems v0.0.5] https://rubygems.org/gems/dub/versions/0.0.5 - .

## 2024-06-28 01:19:35
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.322.1 (2.354.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [ruby v0.0.6] .
### Releases
- [Ruby Gems v0.0.6] https://rubygems.org/gems/dub/versions/0.0.6 - .
8 changes: 2 additions & 6 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
require 'dub'


s = ::OpenApiSDK::Dub.new(
workspace_id: "<value>",
)
s = ::OpenApiSDK::Dub.new
s.config_security(
::OpenApiSDK::Shared::Security.new(
token: "DUB_API_KEY",
Expand All @@ -31,9 +29,7 @@ end
require 'dub'


s = ::OpenApiSDK::Dub.new(
workspace_id: "<value>",
)
s = ::OpenApiSDK::Dub.new
s.config_security(
::OpenApiSDK::Shared::Security.new(
token: "DUB_API_KEY",
Expand Down
10 changes: 0 additions & 10 deletions docs/models/operations/adddomainrequest.md

This file was deleted.

10 changes: 10 additions & 0 deletions docs/models/operations/createdomainrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# CreateDomainRequest


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| `workspace_id` | *T.nilable(::String)* | :heavy_minus_sign: | The ID of the workspace. |
| `project_slug` | *T.nilable(::String)* | :heavy_minus_sign: | The slug of the project. This field is deprecated – use `workspaceId` instead. |
| `request_body` | [T.nilable(::OpenApiSDK::Operations::CreateDomainRequestBody)](../../models/operations/createdomainrequestbody.md) | :heavy_minus_sign: | N/A |
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# AddDomainRequestBody
# CreateDomainRequestBody


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| `slug` | *::String* | :heavy_check_mark: | Name of the domain. | acme.com |
| `type` | [T.nilable(::OpenApiSDK::Operations::Type)](../../models/operations/type.md) | :heavy_minus_sign: | The type of redirect to use for this domain. | redirect |
| `target` | *T.nilable(::String)* | :heavy_minus_sign: | The page your users will get redirected to when they visit your domain. | https://acme.com/landing |
| `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 |
| `archived` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to archive this domain. `false` will unarchive a previously archived domain. | false |
| `noindex` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Prevent search engines from indexing the domain. Defaults to `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 |
Loading

0 comments on commit f2ca243

Please sign in to comment.