Skip to content

Commit

Permalink
Merge pull request #60 from dubinc/speakeasy-sdk-regen-1732753692
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.2.2-alpha.41
  • Loading branch information
devkiran authored Nov 28, 2024
2 parents fab717d + 8bd6977 commit 232caea
Show file tree
Hide file tree
Showing 30 changed files with 423 additions and 26 deletions.
43 changes: 37 additions & 6 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: eae1ba18bcf69b50e7b53142f6625750
docChecksum: 756dac9e9f7f9954fef9635bbe0c7ca8
docVersion: 0.0.1
speakeasyVersion: 1.448.0
generationVersion: 2.466.0
releaseVersion: 0.2.2-alpha.40
configChecksum: 18973e9636a0a08bf1ffdf9643bcdc83
speakeasyVersion: 1.448.2
generationVersion: 2.467.4
releaseVersion: 0.2.2-alpha.41
configChecksum: 8febf46035f281e35336d2fc3115c94f
repoURL: https://github.com/dubinc/dub-ruby.git
installationURL: https://github.com/dubinc/dub-ruby
published: true
features:
ruby:
core: 3.4.0
core: 3.4.1
deprecations: 2.81.1
examples: 2.81.3
flattening: 2.81.1
Expand Down Expand Up @@ -41,6 +41,9 @@ generatedFiles:
- docs/models/operations/createcustomerresponsebody.md
- docs/models/operations/createdomainrequestbody.md
- docs/models/operations/createdomainresponse.md
- docs/models/operations/createembedtokenrequestbody.md
- docs/models/operations/createembedtokenresponse.md
- docs/models/operations/createembedtokenresponsebody.md
- docs/models/operations/createlinkrequestbody.md
- docs/models/operations/createlinkresponse.md
- docs/models/operations/createtagrequestbody.md
Expand Down Expand Up @@ -178,6 +181,7 @@ generatedFiles:
- docs/sdks/customers/README.md
- docs/sdks/domains/README.md
- docs/sdks/dub/README.md
- docs/sdks/embedtokens/README.md
- docs/sdks/events/README.md
- docs/sdks/links/README.md
- docs/sdks/metatags/README.md
Expand All @@ -191,6 +195,7 @@ generatedFiles:
- lib/open_api_sdk/customers.rb
- lib/open_api_sdk/domains.rb
- lib/open_api_sdk/dub.rb
- lib/open_api_sdk/embed_tokens.rb
- lib/open_api_sdk/events.rb
- lib/open_api_sdk/links.rb
- lib/open_api_sdk/metatags.rb
Expand All @@ -208,6 +213,9 @@ generatedFiles:
- lib/open_api_sdk/models/operations/createcustomer_responsebody.rb
- lib/open_api_sdk/models/operations/createdomain_requestbody.rb
- lib/open_api_sdk/models/operations/createdomain_response.rb
- lib/open_api_sdk/models/operations/createembedtoken_requestbody.rb
- lib/open_api_sdk/models/operations/createembedtoken_response.rb
- lib/open_api_sdk/models/operations/createembedtoken_responsebody.rb
- lib/open_api_sdk/models/operations/createlink_requestbody.rb
- lib/open_api_sdk/models/operations/createlink_response.rb
- lib/open_api_sdk/models/operations/createtag_requestbody.rb
Expand Down Expand Up @@ -1199,4 +1207,27 @@ examples:
application/json: {"error": {"code": "rate_limit_exceeded", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#rate-limit_exceeded"}}
"500":
application/json: {"error": {"code": "internal_server_error", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#internal-server_error"}}
createEmbedToken:
speakeasy-default-create-embed-token:
responses:
"201":
application/json: {"publicToken": "<value>", "expires": "<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":
application/json: {"error": {"code": "unauthorized", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#unauthorized"}}
"403":
application/json: {"error": {"code": "forbidden", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#forbidden"}}
"404":
application/json: {"error": {"code": "not_found", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#not-found"}}
"409":
application/json: {"error": {"code": "conflict", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#conflict"}}
"410":
application/json: {"error": {"code": "invite_expired", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#invite-expired"}}
"422":
application/json: {"error": {"code": "unprocessable_entity", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#unprocessable-entity"}}
"429":
application/json: {"error": {"code": "rate_limit_exceeded", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#rate-limit_exceeded"}}
"500":
application/json: {"error": {"code": "internal_server_error", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#internal-server_error"}}
generatedTests: {}
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.40
version: 0.2.2-alpha.41
author: Dub
description: Ruby Client SDK Generated by Speakeasy
imports:
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.448.0
speakeasyVersion: 1.448.2
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:9c09b6ce035b4a246fb3d43a50db2ecb08170cd03e2a36cb19088ec44c5d5d1e
sourceBlobDigest: sha256:ded098bc753361ce90e62a9e6c8b20e9dd63c36aadafdae666cb20ff2a1c8d02
sourceRevisionDigest: sha256:a303b510bfedc7ab90214b679b4b82a5173c3f0ddd42f5384eb739f5c19ff2b8
sourceBlobDigest: sha256:6d8e8227e33c26bdbfb30855e2034fd298b39c324e01ed923c57f3f9b34a0c02
tags:
- latest
- speakeasy-sdk-regen-1732667295
- speakeasy-sdk-regen-1732753692
- 0.0.1
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:9c09b6ce035b4a246fb3d43a50db2ecb08170cd03e2a36cb19088ec44c5d5d1e
sourceBlobDigest: sha256:ded098bc753361ce90e62a9e6c8b20e9dd63c36aadafdae666cb20ff2a1c8d02
sourceRevisionDigest: sha256:a303b510bfedc7ab90214b679b4b82a5173c3f0ddd42f5384eb739f5c19ff2b8
sourceBlobDigest: sha256:6d8e8227e33c26bdbfb30855e2034fd298b39c324e01ed923c57f3f9b34a0c02
codeSamplesNamespace: code-samples-ruby-my-first-target
codeSamplesRevisionDigest: sha256:dc6607f2689cbefb15a57992d85b9c8ed0e1d745363067b7d162acc36cc4af1f
codeSamplesRevisionDigest: sha256:ee13fa0e19aef7ffd2ceeebb5f98d39a9c9a724ff9d4a838758f60f30e1bd9c3
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
3 changes: 2 additions & 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.40)
dub (0.2.2.pre.alpha.41)
faraday
faraday-multipart
rack
Expand Down Expand Up @@ -90,6 +90,7 @@ GEM

PLATFORMS
aarch64-linux
arm64-darwin-23
arm64-darwin-24
x86_64-linux

Expand Down
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ Dub.co API: Dub is link management infrastructure for companies to create market

<!-- Start Table of Contents [toc] -->
## Table of Contents
<!-- $toc-max-depth=2 -->
* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Available Resources and Operations](#available-resources-and-operations)
* [Server Selection](#server-selection)
* [Development](#development)
* [Contributions](#contributions)

* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Available Resources and Operations](#available-resources-and-operations)
* [Server Selection](#server-selection)
<!-- End Table of Contents [toc] -->

<!-- Start SDK Installation [installation] -->
Expand Down Expand Up @@ -126,6 +129,10 @@ end
* [delete](docs/sdks/domains/README.md#delete) - Delete a domain


### [embed_tokens](docs/sdks/embedtokens/README.md)

* [create](docs/sdks/embedtokens/README.md#create) - Create a new embed token

### [events](docs/sdks/events/README.md)

* [list](docs/sdks/events/README.md#list) - Retrieve a list of events
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,4 +548,14 @@ Based on:
### Generated
- [ruby v0.2.2-alpha.40] .
### Releases
- [Ruby Gems v0.2.2-alpha.40] https://rubygems.org/gems/dub/versions/0.2.2-alpha.40 - .
- [Ruby Gems v0.2.2-alpha.40] https://rubygems.org/gems/dub/versions/0.2.2-alpha.40 - .

## 2024-11-28 00:28:09
### 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.41] .
### Releases
- [Ruby Gems v0.2.2-alpha.41] https://rubygems.org/gems/dub/versions/0.2.2-alpha.41 - .
6 changes: 6 additions & 0 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@ actions:
- "lang": "ruby"
"label": "updateTag"
"source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.tags.update(id=\"<id>\", request_body=::OpenApiSDK::Operations::UpdateTagRequestBody.new())\n\nif ! res.tag_schema.nil?\n # handle response\nend"
- target: $["paths"]["/tokens/embed"]["post"]
update:
"x-codeSamples":
- "lang": "ruby"
"label": "createEmbedToken"
"source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::CreateEmbedTokenRequestBody.new(\n link_id: \"<id>\",\n)\n \nres = s.embed_tokens.create(req)\n\nif ! res.object.nil?\n # handle response\nend"
- target: $["paths"]["/track/lead"]["post"]
update:
"x-codeSamples":
Expand Down
8 changes: 8 additions & 0 deletions docs/models/operations/createembedtokenrequestbody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# CreateEmbedTokenRequestBody


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `link_id` | *::String* | :heavy_check_mark: | N/A |
Loading

0 comments on commit 232caea

Please sign in to comment.