Skip to content

Commit

Permalink
Merge pull request #71 from dubinc/speakeasy-sdk-regen-1736295151
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.13.5
  • Loading branch information
devkiran authored Jan 12, 2025
2 parents d4ece88 + f3ce363 commit 04f2ed1
Show file tree
Hide file tree
Showing 57 changed files with 709 additions and 189 deletions.
30 changes: 18 additions & 12 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 1773e9c7-1931-4663-8ac8-4deaf8db76f5
management:
docChecksum: e904bd8a77ea57b3ba18586e860e5b93
docChecksum: a6a1e65c1a9ddd2d1b445252e12b8157
docVersion: 0.0.1
speakeasyVersion: 1.462.2
generationVersion: 2.486.1
releaseVersion: 0.13.4
configChecksum: 8e14469f54e0e59c899c824d04cdda01
speakeasyVersion: 1.468.2
generationVersion: 2.493.4
releaseVersion: 0.13.5
configChecksum: 9324b1c81d44a4f7ce03aa644877de0d
repoURL: https://github.com/dubinc/dub-go.git
installationURL: https://github.com/dubinc/dub-go
features:
Expand All @@ -18,7 +18,7 @@ features:
deprecations: 2.81.2
envVarSecurityUsage: 0.3.2
errors: 2.83.0
examples: 2.81.3
examples: 2.81.4
flattening: 2.81.1
globalSecurity: 2.82.10
globalSecurityCallbacks: 0.1.0
Expand All @@ -30,7 +30,7 @@ features:
nullables: 0.1.0
pagination: 2.82.2
responseFormat: 0.1.2
retries: 2.83.1
retries: 2.83.2
sdkHooks: 0.1.0
unions: 2.85.10
generatedFiles:
Expand All @@ -55,6 +55,7 @@ generatedFiles:
- /models/components/leadcreatedevent.go
- /models/components/leadevent.go
- /models/components/linkclickedevent.go
- /models/components/linkerrorschema.go
- /models/components/linkgeotargeting.go
- /models/components/linkschema.go
- /models/components/linkwebhookevent.go
Expand Down Expand Up @@ -104,7 +105,6 @@ generatedFiles:
- /models/sdkerrors/ratelimitexceeded.go
- /models/sdkerrors/unauthorized.go
- /models/sdkerrors/unprocessableentity.go
- CONTRIBUTING.md
- USAGE.md
- analytics.go
- customers.go
Expand All @@ -126,6 +126,7 @@ generatedFiles:
- docs/models/components/click.md
- docs/models/components/clickevent.md
- docs/models/components/clickeventgeo.md
- docs/models/components/code.md
- docs/models/components/color.md
- docs/models/components/continent.md
- docs/models/components/continentcode.md
Expand Down Expand Up @@ -164,6 +165,7 @@ generatedFiles:
- docs/models/components/linkclickedeventevent.md
- docs/models/components/linkclickedeventgeo.md
- docs/models/components/linkclickedeventlink.md
- docs/models/components/linkerrorschema.md
- docs/models/components/linkgeotargeting.md
- docs/models/components/linkschema.md
- docs/models/components/linkwebhookevent.md
Expand Down Expand Up @@ -250,6 +252,7 @@ generatedFiles:
- docs/models/operations/getcustomerresponsebody.md
- docs/models/operations/getcustomersinterval.md
- docs/models/operations/getcustomersrequest.md
- docs/models/operations/getcustomersresponsebody.md
- docs/models/operations/getcustomertype.md
- docs/models/operations/getlinkinforequest.md
- docs/models/operations/getlinkscountqueryparamtagids.md
Expand Down Expand Up @@ -278,6 +281,8 @@ generatedFiles:
- docs/models/operations/queryparamevent.md
- docs/models/operations/queryparamgroupby.md
- docs/models/operations/queryparaminterval.md
- docs/models/operations/queryparamsortby.md
- docs/models/operations/queryparamsortorder.md
- docs/models/operations/queryparamtagids.md
- docs/models/operations/queryparamtagnames.md
- docs/models/operations/queryparamtrigger.md
Expand All @@ -289,6 +294,7 @@ generatedFiles:
- docs/models/operations/sale.md
- docs/models/operations/sort.md
- docs/models/operations/sortby.md
- docs/models/operations/sortorder.md
- docs/models/operations/tagids.md
- docs/models/operations/tagnames.md
- docs/models/operations/three.md
Expand Down Expand Up @@ -426,7 +432,7 @@ examples:
application/json: {"url": "https://google.com", "externalId": "123456", "tagIds": ["clux0rgak00011..."]}
responses:
"200":
application/json: {"id": "<id>", "domain": "lighthearted-kilogram.name", "key": "<key>", "url": "https://impartial-dump.com", "externalId": "<value>", "expiresAt": "<value>", "expiredUrl": "https://big-young.net", "password": "DuL1dlrnUXohO_B", "title": "<value>", "description": "Ameliorated demand-driven superstructure", "image": "https://loremflickr.com/640/480", "video": "<value>", "ios": "<value>", "android": "<value>", "tagId": "<value>", "tags": [], "webhookIds": ["<value>"], "comments": "<value>", "shortLink": "http://massive-cup.biz", "qrCode": "http://safe-bankruptcy.net", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<value>", "workspaceId": "<value>", "lastClicked": "<value>", "createdAt": "<value>", "updatedAt": "<value>", "projectId": "<value>", "programId": "<id>"}
application/json: {"id": "<id>", "domain": "lighthearted-kilogram.name", "key": "<key>", "url": "https://impartial-dump.com", "externalId": "<value>", "tenantId": "<id>", "expiresAt": "<value>", "expiredUrl": "https://big-young.net", "password": "DuL1dlrnUXohO_B", "title": "<value>", "description": "Ameliorated demand-driven superstructure", "image": "https://loremflickr.com/640/480", "video": "<value>", "ios": "<value>", "android": "<value>", "tagId": "<value>", "tags": [], "webhookIds": ["<value>"], "comments": "<value>", "shortLink": "http://massive-cup.biz", "qrCode": "http://safe-bankruptcy.net", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<value>", "workspaceId": "<value>", "lastClicked": "<value>", "createdAt": "<value>", "updatedAt": "<value>", "projectId": "<value>", "programId": "<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":
Expand Down Expand Up @@ -476,7 +482,7 @@ examples:
externalId: "123456"
responses:
"200":
application/json: {"id": "<id>", "domain": "ringed-blow.name", "key": "<key>", "url": "https://monumental-spaghetti.name", "externalId": "<value>", "expiresAt": "<value>", "expiredUrl": "http://wiggly-substitution.info", "password": "fKH9v5zJBmg5IWA", "title": "<value>", "description": "Optional reciprocal projection", "image": "https://loremflickr.com/640/480", "video": "<value>", "ios": "<value>", "android": "<value>", "tagId": "<value>", "tags": [], "webhookIds": ["<value>", "<value>"], "comments": "<value>", "shortLink": "https://hefty-festival.net", "qrCode": "https://pale-civilisation.name", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<value>", "workspaceId": "<value>", "lastClicked": "<value>", "createdAt": "<value>", "updatedAt": "<value>", "projectId": "<value>", "programId": "<id>"}
application/json: {"id": "<id>", "domain": "ringed-blow.name", "key": "<key>", "url": "https://monumental-spaghetti.name", "externalId": "<value>", "tenantId": "<id>", "expiresAt": "<value>", "expiredUrl": "http://wiggly-substitution.info", "password": "fKH9v5zJBmg5IWA", "title": "<value>", "description": "Optional reciprocal projection", "image": "https://loremflickr.com/640/480", "video": "<value>", "ios": "<value>", "android": "<value>", "tagId": "<value>", "tags": [], "webhookIds": ["<value>", "<value>"], "comments": "<value>", "shortLink": "https://hefty-festival.net", "qrCode": "https://pale-civilisation.name", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<value>", "workspaceId": "<value>", "lastClicked": "<value>", "createdAt": "<value>", "updatedAt": "<value>", "projectId": "<value>", "programId": "<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":
Expand Down Expand Up @@ -530,7 +536,7 @@ examples:
application/json: {"url": "https://google.com", "externalId": "123456", "tagIds": ["clux0rgak00011..."]}
responses:
"200":
application/json: {"id": "<id>", "domain": "tidy-amazon.name", "key": "<key>", "url": "http://grand-pupa.org", "externalId": "<value>", "expiresAt": "<value>", "expiredUrl": "http://plastic-powder.info", "password": "KvPKDk8CkuAMJjb", "title": "<value>", "description": "User-friendly foreground interface", "image": "https://loremflickr.com/640/480", "video": "<value>", "ios": "<value>", "android": "<value>", "tagId": "<value>", "tags": [], "webhookIds": ["<value>", "<value>", "<value>"], "comments": "<value>", "shortLink": "http://glossy-roller.info", "qrCode": "https://poor-howard.com", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<value>", "workspaceId": "<value>", "lastClicked": "<value>", "createdAt": "<value>", "updatedAt": "<value>", "projectId": "<value>", "programId": "<id>"}
application/json: {"id": "<id>", "domain": "tidy-amazon.name", "key": "<key>", "url": "http://grand-pupa.org", "externalId": "<value>", "tenantId": "<id>", "expiresAt": "<value>", "expiredUrl": "http://plastic-powder.info", "password": "KvPKDk8CkuAMJjb", "title": "<value>", "description": "User-friendly foreground interface", "image": "https://loremflickr.com/640/480", "video": "<value>", "ios": "<value>", "android": "<value>", "tagId": "<value>", "tags": [], "webhookIds": ["<value>", "<value>", "<value>"], "comments": "<value>", "shortLink": "http://glossy-roller.info", "qrCode": "https://poor-howard.com", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<value>", "workspaceId": "<value>", "lastClicked": "<value>", "createdAt": "<value>", "updatedAt": "<value>", "projectId": "<value>", "programId": "<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":
Expand Down Expand Up @@ -631,7 +637,7 @@ examples:
application/json: {"url": "https://google.com", "externalId": "123456", "tagIds": ["clux0rgak00011..."]}
responses:
"200":
application/json: {"id": "<id>", "domain": "monthly-hometown.info", "key": "<key>", "url": "https://honored-equality.info", "externalId": "<value>", "expiresAt": "<value>", "expiredUrl": "https://eminent-acknowledgment.net", "password": "wZDcrQrPcHBWicB", "title": "<value>", "description": "Re-engineered 24 hour structure", "image": "https://loremflickr.com/640/480", "video": "<value>", "ios": "<value>", "android": "<value>", "tagId": "<value>", "tags": [], "webhookIds": ["<value>", "<value>"], "comments": "<value>", "shortLink": "http://nocturnal-spirituality.com", "qrCode": "https://potable-app.org", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<value>", "workspaceId": "<value>", "lastClicked": "<value>", "createdAt": "<value>", "updatedAt": "<value>", "projectId": "<value>", "programId": "<id>"}
application/json: {"id": "<id>", "domain": "monthly-hometown.info", "key": "<key>", "url": "https://honored-equality.info", "externalId": "<value>", "tenantId": "<id>", "expiresAt": "<value>", "expiredUrl": "https://eminent-acknowledgment.net", "password": "wZDcrQrPcHBWicB", "title": "<value>", "description": "Re-engineered 24 hour structure", "image": "https://loremflickr.com/640/480", "video": "<value>", "ios": "<value>", "android": "<value>", "tagId": "<value>", "tags": [], "webhookIds": ["<value>", "<value>"], "comments": "<value>", "shortLink": "http://nocturnal-spirituality.com", "qrCode": "https://potable-app.org", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<value>", "workspaceId": "<value>", "lastClicked": "<value>", "createdAt": "<value>", "updatedAt": "<value>", "projectId": "<value>", "programId": "<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":
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
go:
version: 0.13.4
version: 0.13.5
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
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.462.2
speakeasyVersion: 1.468.2
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:a29305c2227f352d9976fa2065cc2646c76be676f6afd09d6f78a07f9508edc0
sourceBlobDigest: sha256:92f1737af067df0a426e19c6f461d5f97f94768ba5dcf52752994c635240ed36
sourceRevisionDigest: sha256:29464bd4076e17c74f1ff3b212b24f61728efe57a49d9c8e4013d5e2ea56a99c
sourceBlobDigest: sha256:e455cd12338a6074213fe801f891abdf883b45dae8c4f90f6ac421ee4b3c4449
tags:
- latest
- speakeasy-sdk-regen-1735949521
- speakeasy-sdk-regen-1736295151
- 0.0.1
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:a29305c2227f352d9976fa2065cc2646c76be676f6afd09d6f78a07f9508edc0
sourceBlobDigest: sha256:92f1737af067df0a426e19c6f461d5f97f94768ba5dcf52752994c635240ed36
sourceRevisionDigest: sha256:29464bd4076e17c74f1ff3b212b24f61728efe57a49d9c8e4013d5e2ea56a99c
sourceBlobDigest: sha256:e455cd12338a6074213fe801f891abdf883b45dae8c4f90f6ac421ee4b3c4449
codeSamplesNamespace: code-samples-go-my-first-target
codeSamplesRevisionDigest: sha256:428e874286ba7fb7ceff3b9a41d6571690adb71d7067f5c844af7b25d1f702de
codeSamplesRevisionDigest: sha256:56086736e29f011a2e4182090319bb5bfebecbe35d4c41efb311fa02a1f61892
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
26 changes: 0 additions & 26 deletions CONTRIBUTING.md

This file was deleted.

12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -678,4 +678,14 @@ Based on:
### Generated
- [go v0.13.4] .
### Releases
- [Go v0.13.4] https://github.com/dubinc/dub-go/releases/tag/v0.13.4 - .
- [Go v0.13.4] https://github.com/dubinc/dub-go/releases/tag/v0.13.4 - .

## 2025-01-12 00:13:44
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.468.2 (2.493.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.13.5] .
### Releases
- [Go v0.13.5] https://github.com/dubinc/dub-go/releases/tag/v0.13.5 - .
4 changes: 2 additions & 2 deletions customers.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func newCustomers(sdkConfig sdkConfiguration) *Customers {

// List - Retrieve a list of customers
// Retrieve a list of customers for the authenticated workspace.
func (s *Customers) List(ctx context.Context, request operations.GetCustomersRequest, opts ...operations.Option) ([]operations.ResponseBody, error) {
func (s *Customers) List(ctx context.Context, request operations.GetCustomersRequest, opts ...operations.Option) ([]operations.GetCustomersResponseBody, error) {
hookCtx := hooks.HookContext{
Context: ctx,
OperationID: "getCustomers",
Expand Down Expand Up @@ -186,7 +186,7 @@ func (s *Customers) List(ctx context.Context, request operations.GetCustomersReq
return nil, err
}

var out []operations.ResponseBody
var out []operations.GetCustomersResponseBody
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
return nil, err
}
Expand Down
20 changes: 20 additions & 0 deletions docs/models/components/code.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Code

The error code.


## Values

| Name | Value |
| ------------------------- | ------------------------- |
| `CodeBadRequest` | bad_request |
| `CodeNotFound` | not_found |
| `CodeInternalServerError` | internal_server_error |
| `CodeUnauthorized` | unauthorized |
| `CodeForbidden` | forbidden |
| `CodeRateLimitExceeded` | rate_limit_exceeded |
| `CodeInviteExpired` | invite_expired |
| `CodeInvitePending` | invite_pending |
| `CodeExceededLimit` | exceeded_limit |
| `CodeConflict` | conflict |
| `CodeUnprocessableEntity` | unprocessable_entity |
Loading

0 comments on commit 04f2ed1

Please sign in to comment.