Skip to content

Commit

Permalink
Merge pull request #81 from dubinc/speakeasy-sdk-regen-1738888006
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.2.2-alpha.62
  • Loading branch information
devkiran authored Feb 7, 2025
2 parents 682ac8b + 31837a4 commit 4d9c242
Show file tree
Hide file tree
Showing 37 changed files with 550 additions and 97 deletions.
41 changes: 36 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: 74d0358382bb4e56092e3d6743506d52
docChecksum: a7b1bff0696d0e354d1e5a6b91b8ae7f
docVersion: 0.0.1
speakeasyVersion: 1.484.1
generationVersion: 2.503.2
releaseVersion: 0.2.2-alpha.61
configChecksum: e3646bb66df4284ef4e195c57cb6778d
speakeasyVersion: 1.487.0
generationVersion: 2.506.0
releaseVersion: 0.2.2-alpha.62
configChecksum: 9121977e32728c1d037c1adadbef2dfa
repoURL: https://github.com/dubinc/dub-ruby.git
installationURL: https://github.com/dubinc/dub-ruby
published: true
Expand Down Expand Up @@ -166,6 +166,9 @@ generatedFiles:
- docs/models/operations/updateworkspaceresponse.md
- docs/models/operations/upsertlinkrequestbody.md
- docs/models/operations/upsertlinkresponse.md
- docs/models/operations/upsertpartnerlinklinkprops.md
- docs/models/operations/upsertpartnerlinkrequestbody.md
- docs/models/operations/upsertpartnerlinkresponse.md
- docs/models/shared/badrequest.md
- docs/models/shared/click.md
- docs/models/shared/clickevent.md
Expand Down Expand Up @@ -376,6 +379,9 @@ generatedFiles:
- lib/open_api_sdk/models/operations/updateworkspace_response.rb
- lib/open_api_sdk/models/operations/upsertlink_requestbody.rb
- lib/open_api_sdk/models/operations/upsertlink_response.rb
- lib/open_api_sdk/models/operations/upsertpartnerlink_linkprops.rb
- lib/open_api_sdk/models/operations/upsertpartnerlink_requestbody.rb
- lib/open_api_sdk/models/operations/upsertpartnerlink_response.rb
- lib/open_api_sdk/models/shared.rb
- lib/open_api_sdk/models/shared/badrequest.rb
- lib/open_api_sdk/models/shared/click.rb
Expand Down Expand Up @@ -1338,5 +1344,30 @@ 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"}}
upsertPartnerLink:
speakeasy-default-upsert-partner-link:
requestBody:
application/json: {"programId": "<id>", "url": "https://unsteady-lobster.com/", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."]}}
responses:
"200":
application/json: {"id": "<id>", "domain": "snoopy-exasperation.name", "key": "<key>", "url": "https://defenseless-suitcase.org/", "trackConversion": false, "externalId": "<id>", "tenantId": "<id>", "programId": "<id>", "partnerId": "<id>", "archived": false, "expiresAt": "1758310011121", "expiredUrl": "https://serene-pants.com", "password": "Fj89Olng6LL82os", "proxy": false, "title": "<value>", "description": "flashy petticoat than discontinue blink remand", "image": "https://picsum.photos/seed/v1k3M4GxN/2021/480", "video": "https://picsum.videos/seed/LiWqM7t/1298/1639", "rewrite": true, "doIndex": true, "ios": "<value>", "android": "<id>", "geo": {}, "publicStats": true, "tagId": "<id>", "tags": [{"id": "<id>", "name": "<value>", "color": "green"}], "webhookIds": ["<value>", "<value>"], "comments": "doubtfully brr up behind above slake maroon upside-down repeatedly source while obstruct oof questionably familiar hidden into", "shortLink": "https://waterlogged-valentine.name", "qrCode": "https://quintessential-bowler.net", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<id>", "workspaceId": "<id>", "clicks": 5717.16, "lastClicked": "<value>", "leads": 6527.5, "sales": 7465.08, "saleAmount": 8176.49, "createdAt": "1722447375210", "updatedAt": "1738812840712", "projectId": "<id>"}
"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"}}
examplesVersion: 1.0.0
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.61
version: 0.2.2-alpha.62
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.484.1
speakeasyVersion: 1.487.0
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:cfb9bcc2cc70be03b705a5db7b86cd977466f1235414a5b212a57ab7345e514e
sourceBlobDigest: sha256:69653130c0b9c888c7d5862e01c34def8bd58d82dd1f30e17dd975305122b5dc
sourceRevisionDigest: sha256:371140ed311988935048aad28f29cf2934b0ceee28b12a09114080c4083d5acb
sourceBlobDigest: sha256:302af5af57801c13e8eae76439ce161f3027ad63927e360e1152ba4f786f7d91
tags:
- latest
- speakeasy-sdk-regen-1738801618
- speakeasy-sdk-regen-1738888006
- 0.0.1
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:cfb9bcc2cc70be03b705a5db7b86cd977466f1235414a5b212a57ab7345e514e
sourceBlobDigest: sha256:69653130c0b9c888c7d5862e01c34def8bd58d82dd1f30e17dd975305122b5dc
sourceRevisionDigest: sha256:371140ed311988935048aad28f29cf2934b0ceee28b12a09114080c4083d5acb
sourceBlobDigest: sha256:302af5af57801c13e8eae76439ce161f3027ad63927e360e1152ba4f786f7d91
codeSamplesNamespace: code-samples-ruby-my-first-target
codeSamplesRevisionDigest: sha256:e6cbd5b633f7b5199d174ea3230b174015a43d667fe96f87b77a249212ea5635
codeSamplesRevisionDigest: sha256:08b1e0e9763b6355dce8368f90a844a0821f6b6048c44a41ffb22d1968125e26
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.61)
dub (0.2.2.pre.alpha.62)
faraday
faraday-multipart
rack
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ end

* [create](docs/sdks/partners/README.md#create) - Create a new partner
* [create_link](docs/sdks/partners/README.md#create_link) - Create a link for a partner
* [upsert_link](docs/sdks/partners/README.md#upsert_link) - Upsert a link for a partner

### [qr_codes](docs/sdks/qrcodes/README.md)

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -758,4 +758,14 @@ Based on:
### Generated
- [ruby v0.2.2-alpha.61] .
### Releases
- [Ruby Gems v0.2.2-alpha.61] https://rubygems.org/gems/dub/versions/0.2.2-alpha.61 - .
- [Ruby Gems v0.2.2-alpha.61] https://rubygems.org/gems/dub/versions/0.2.2-alpha.61 - .

## 2025-02-07 00:26:32
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.487.0 (2.506.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [ruby v0.2.2-alpha.62] .
### Releases
- [Ruby Gems v0.2.2-alpha.62] https://rubygems.org/gems/dub/versions/0.2.2-alpha.62 - .
6 changes: 6 additions & 0 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ actions:
- "lang": "ruby"
"label": "createPartnerLink"
"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::CreatePartnerLinkRequestBody.new(\n program_id: \"<id>\",\n url: \"https://necessary-brief.name\",\n link_props: ::OpenApiSDK::Operations::CreatePartnerLinkLinkProps.new(\n external_id: \"123456\",\n tag_ids: [\n \"clux0rgak00011...\",\n ],\n ),\n)\n \nres = s.partners.create_link(req)\n\nif ! res.link_schema.nil?\n # handle response\nend"
- target: $["paths"]["/partners/links/upsert"]["put"]
update:
"x-codeSamples":
- "lang": "ruby"
"label": "upsertPartnerLink"
"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::UpsertPartnerLinkRequestBody.new(\n program_id: \"<id>\",\n url: \"https://unsteady-lobster.com/\",\n link_props: ::OpenApiSDK::Operations::UpsertPartnerLinkLinkProps.new(\n external_id: \"123456\",\n tag_ids: [\n \"clux0rgak00011...\",\n ],\n ),\n)\n \nres = s.partners.upsert_link(req)\n\nif ! res.link_schema.nil?\n # handle response\nend"
- target: $["paths"]["/qr"]["get"]
update:
"x-codeSamples":
Expand Down
Loading

0 comments on commit 4d9c242

Please sign in to comment.