Skip to content

Commit 828f596

Browse files
authored
Merge pull request #79 from dubinc/speakeasy-sdk-regen-1738628770
chore: 🐝 Update SDK - Generate 0.2.2-alpha.60
2 parents 6ce09cd + 87aaebd commit 828f596

18 files changed

+472
-19
lines changed

.speakeasy/gen.lock

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 5a2dd83e-da98-455b-8ef9-0100a914efdf
33
management:
4-
docChecksum: 35e4c58336f3289dc7d36cd16ac407d9
4+
docChecksum: 3221eb44e26e0b7b6262f2e3cf1c786a
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.481.1
7-
generationVersion: 2.500.5
8-
releaseVersion: 0.2.2-alpha.59
9-
configChecksum: 07f8c5e6cf1fe76e341758cb8b0ba8aa
6+
speakeasyVersion: 1.483.0
7+
generationVersion: 2.502.0
8+
releaseVersion: 0.2.2-alpha.60
9+
configChecksum: 8bca03315bcd90a5ae26d298bc60493f
1010
repoURL: https://github.com/dubinc/dub-ruby.git
1111
installationURL: https://github.com/dubinc/dub-ruby
1212
published: true
@@ -53,6 +53,9 @@ generatedFiles:
5353
- docs/models/operations/createlinkresponse.md
5454
- docs/models/operations/createpartnerdiscount.md
5555
- docs/models/operations/createpartnerinterval.md
56+
- docs/models/operations/createpartnerlinklinkprops.md
57+
- docs/models/operations/createpartnerlinkrequestbody.md
58+
- docs/models/operations/createpartnerlinkresponse.md
5659
- docs/models/operations/createpartnerrequestbody.md
5760
- docs/models/operations/createpartnerresponse.md
5861
- docs/models/operations/createpartnerresponsebody.md
@@ -264,6 +267,9 @@ generatedFiles:
264267
- lib/open_api_sdk/models/operations/createpartner_response.rb
265268
- lib/open_api_sdk/models/operations/createpartner_responsebody.rb
266269
- lib/open_api_sdk/models/operations/createpartner_type.rb
270+
- lib/open_api_sdk/models/operations/createpartnerlink_linkprops.rb
271+
- lib/open_api_sdk/models/operations/createpartnerlink_requestbody.rb
272+
- lib/open_api_sdk/models/operations/createpartnerlink_response.rb
267273
- lib/open_api_sdk/models/operations/createtag_requestbody.rb
268274
- lib/open_api_sdk/models/operations/createtag_response.rb
269275
- lib/open_api_sdk/models/operations/customer.rb
@@ -1307,5 +1313,30 @@ examples:
13071313
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"}}
13081314
"500":
13091315
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"}}
1316+
createPartnerLink:
1317+
speakeasy-default-create-partner-link:
1318+
requestBody:
1319+
application/json: {"programId": "<id>", "url": "https://necessary-brief.name", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."]}}
1320+
responses:
1321+
"201":
1322+
application/json: {"id": "<id>", "domain": "inferior-louse.org", "key": "<key>", "url": "https://lighthearted-subexpression.net", "trackConversion": true, "externalId": "<id>", "tenantId": "<id>", "programId": "<id>", "partnerId": "<id>", "archived": false, "expiresAt": "1754305632811", "expiredUrl": "https://acceptable-solution.com", "password": "CRFmmigZdFo7_Sd", "proxy": true, "title": "<value>", "description": "merrily stay ouch starch glittering repeat", "image": "https://picsum.photos/seed/qQVGzy2/555/2692", "video": "https://picsum.videos/seed/tYFhXY/1788/3108", "rewrite": true, "doIndex": false, "ios": "<value>", "android": "<id>", "geo": {}, "publicStats": false, "tagId": "<id>", "tags": [{"id": "<id>", "name": "<value>", "color": "purple"}], "webhookIds": ["<value>"], "comments": "per blissfully maintainer moist lest unless", "shortLink": "https://equatorial-mouser.biz", "qrCode": "https://wry-baritone.net/", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<id>", "workspaceId": "<id>", "clicks": 2531.62, "lastClicked": "<value>", "leads": 189.59, "sales": 4658.39, "saleAmount": 9705.38, "createdAt": "1719659714941", "updatedAt": "1738625113730", "projectId": "<id>"}
1323+
"400":
1324+
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
1325+
"401":
1326+
application/json: {"error": {"code": "unauthorized", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#unauthorized"}}
1327+
"403":
1328+
application/json: {"error": {"code": "forbidden", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#forbidden"}}
1329+
"404":
1330+
application/json: {"error": {"code": "not_found", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#not-found"}}
1331+
"409":
1332+
application/json: {"error": {"code": "conflict", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#conflict"}}
1333+
"410":
1334+
application/json: {"error": {"code": "invite_expired", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#invite-expired"}}
1335+
"422":
1336+
application/json: {"error": {"code": "unprocessable_entity", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#unprocessable-entity"}}
1337+
"429":
1338+
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"}}
1339+
"500":
1340+
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"}}
13101341
examplesVersion: 1.0.0
13111342
generatedTests: {}

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generation:
1313
oAuth2ClientCredentialsEnabled: true
1414
oAuth2PasswordEnabled: false
1515
ruby:
16-
version: 0.2.2-alpha.59
16+
version: 0.2.2-alpha.60
1717
author: Dub
1818
description: Ruby Client SDK Generated by Speakeasy
1919
imports:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.481.1
1+
speakeasyVersion: 1.483.0
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:35e0d43bc22466f2b3123c89af55fb2795faab7ba45d389e579d3e5a35b5b788
6-
sourceBlobDigest: sha256:451be136201f6f2abfe71e31c9d268f24d14c1a911aad964414e9e62d708dda3
5+
sourceRevisionDigest: sha256:3a88f242a386976ac33526c0985b9764422ced71d5bfd20486c90a013d7e0087
6+
sourceBlobDigest: sha256:07d9325feb01f432d02cf3ae4943fed8a9f9c9fdacf649eb143973253d0348ac
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1738369717
9+
- speakeasy-sdk-regen-1738628770
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:35e0d43bc22466f2b3123c89af55fb2795faab7ba45d389e579d3e5a35b5b788
16-
sourceBlobDigest: sha256:451be136201f6f2abfe71e31c9d268f24d14c1a911aad964414e9e62d708dda3
15+
sourceRevisionDigest: sha256:3a88f242a386976ac33526c0985b9764422ced71d5bfd20486c90a013d7e0087
16+
sourceBlobDigest: sha256:07d9325feb01f432d02cf3ae4943fed8a9f9c9fdacf649eb143973253d0348ac
1717
codeSamplesNamespace: code-samples-ruby-my-first-target
18-
codeSamplesRevisionDigest: sha256:594b3c73bd192d59f28e76933b794bf931fc02131877af3bdba5a5d4cc2dd1e7
18+
codeSamplesRevisionDigest: sha256:96db8b1fcdfb3b696fda1765fdb9606fc139cd5bf8f0fbea5916c135f1f92b1d
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
dub (0.2.2.pre.alpha.59)
4+
dub (0.2.2.pre.alpha.60)
55
faraday
66
faraday-multipart
77
rack

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ end
157157
### [partners](docs/sdks/partners/README.md)
158158

159159
* [create](docs/sdks/partners/README.md#create) - Create a new partner
160+
* [create_link](docs/sdks/partners/README.md#create_link) - Create a link for a partner
160161

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

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,4 +738,14 @@ Based on:
738738
### Generated
739739
- [ruby v0.2.2-alpha.59] .
740740
### Releases
741-
- [Ruby Gems v0.2.2-alpha.59] https://rubygems.org/gems/dub/versions/0.2.2-alpha.59 - .
741+
- [Ruby Gems v0.2.2-alpha.59] https://rubygems.org/gems/dub/versions/0.2.2-alpha.59 - .
742+
743+
## 2025-02-04 00:25:56
744+
### Changes
745+
Based on:
746+
- OpenAPI Doc
747+
- Speakeasy CLI 1.483.0 (2.502.0) https://github.com/speakeasy-api/speakeasy
748+
### Generated
749+
- [ruby v0.2.2-alpha.60] .
750+
### Releases
751+
- [Ruby Gems v0.2.2-alpha.60] https://rubygems.org/gems/dub/versions/0.2.2-alpha.60 - .

codeSamples.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ actions:
135135
- "lang": "ruby"
136136
"label": "createPartner"
137137
"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::CreatePartnerRequestBody.new(\n program_id: \"<id>\",\n name: \"<value>\",\n email: \"Loyal79@yahoo.com\",\n username: \"Aaliyah_Borer\",\n link_props: ::OpenApiSDK::Operations::LinkProps.new(\n external_id: \"123456\",\n tag_ids: [\n \"clux0rgak00011...\",\n ],\n ),\n)\n \nres = s.partners.create(req)\n\nif ! res.object.nil?\n # handle response\nend"
138+
- target: $["paths"]["/partners/links"]["post"]
139+
update:
140+
"x-codeSamples":
141+
- "lang": "ruby"
142+
"label": "createPartnerLink"
143+
"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"
138144
- target: $["paths"]["/qr"]["get"]
139145
update:
140146
"x-codeSamples":

0 commit comments

Comments
 (0)