From 902f04d1207714a96ed245a86d229b31313508c7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 11 Dec 2024 00:14:10 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.453.10 --- .speakeasy/gen.lock | 20 +++++++++---------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 ++++++------- RELEASES.md | 12 ++++++++++- docs/models/components/data.md | 1 - .../models/components/leadcreatedeventlink.md | 1 - docs/models/components/leadeventlink.md | 1 - docs/models/components/link.md | 1 - .../models/components/linkclickedeventlink.md | 1 - docs/models/components/linkschema.md | 1 - .../models/components/salecreatedeventlink.md | 1 - docs/models/components/saleeventlink.md | 1 - .../operations/createlinkrequestbody.md | 1 - docs/models/operations/requestbody.md | 1 - .../operations/updatelinkrequestbody.md | 1 - .../operations/upsertlinkrequestbody.md | 1 - dub.go | 6 +++--- models/components/clickevent.go | 9 --------- models/components/leadcreatedevent.go | 9 --------- models/components/leadevent.go | 9 --------- models/components/linkclickedevent.go | 9 --------- models/components/linkschema.go | 9 --------- models/components/linkwebhookevent.go | 9 --------- models/components/salecreatedevent.go | 9 --------- models/components/saleevent.go | 9 --------- models/operations/bulkcreatelinks.go | 9 --------- models/operations/createlink.go | 9 --------- models/operations/updatelink.go | 9 --------- models/operations/upsertlink.go | 9 --------- 29 files changed, 32 insertions(+), 142 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index cb33295..6ac85bb 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 1773e9c7-1931-4663-8ac8-4deaf8db76f5 management: - docChecksum: 1de3a03409e745a2e8bebe20674c1eeb + docChecksum: 696b11ac8aea0ac84de6ac987269993a docVersion: 0.0.1 - speakeasyVersion: 1.453.1 - generationVersion: 2.474.4 - releaseVersion: 0.12.4 - configChecksum: e6fa82a8ed4d4669687a98563463f008 + speakeasyVersion: 1.453.10 + generationVersion: 2.474.15 + releaseVersion: 0.12.5 + configChecksum: fa95747b5e007ad2c86b7bf002967e92 repoURL: https://github.com/dubinc/dub-go.git installationURL: https://github.com/dubinc/dub-go features: go: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.6 - core: 3.5.17 + core: 3.5.18 defaultEnabledRetries: 0.2.0 deprecations: 2.81.1 envVarSecurityUsage: 0.3.2 @@ -388,7 +388,7 @@ examples: application/json: {"url": "https://google.com", "externalId": "123456", "tagIds": ["clux0rgak00011..."]} responses: "200": - application/json: {"id": "", "domain": "lighthearted-kilogram.name", "key": "", "url": "https://impartial-dump.com", "externalId": "", "identifier": "", "expiresAt": "", "expiredUrl": "https://big-young.net", "password": "DuL1dlrnUXohO_B", "title": "", "description": "Ameliorated demand-driven superstructure", "image": "https://loremflickr.com/640/480", "video": "", "ios": "", "android": "", "tagId": "", "tags": [], "webhookIds": [""], "comments": "", "shortLink": "http://massive-cup.biz", "qrCode": "http://safe-bankruptcy.net", "utm_source": "", "utm_medium": "", "utm_campaign": "", "utm_term": "", "utm_content": "", "userId": "", "workspaceId": "", "lastClicked": "", "createdAt": "", "updatedAt": "", "projectId": "", "programId": ""} + application/json: {"id": "", "domain": "lighthearted-kilogram.name", "key": "", "url": "https://impartial-dump.com", "externalId": "", "expiresAt": "", "expiredUrl": "https://big-young.net", "password": "DuL1dlrnUXohO_B", "title": "", "description": "Ameliorated demand-driven superstructure", "image": "https://loremflickr.com/640/480", "video": "", "ios": "", "android": "", "tagId": "", "tags": [], "webhookIds": [""], "comments": "", "shortLink": "http://massive-cup.biz", "qrCode": "http://safe-bankruptcy.net", "utm_source": "", "utm_medium": "", "utm_campaign": "", "utm_term": "", "utm_content": "", "userId": "", "workspaceId": "", "lastClicked": "", "createdAt": "", "updatedAt": "", "projectId": "", "programId": ""} "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": @@ -438,7 +438,7 @@ examples: externalId: "123456" responses: "200": - application/json: {"id": "", "domain": "ringed-blow.name", "key": "", "url": "https://monumental-spaghetti.name", "externalId": "", "identifier": "", "expiresAt": "", "expiredUrl": "http://wiggly-substitution.info", "password": "fKH9v5zJBmg5IWA", "title": "", "description": "Optional reciprocal projection", "image": "https://loremflickr.com/640/480", "video": "", "ios": "", "android": "", "tagId": "", "tags": [], "webhookIds": ["", ""], "comments": "", "shortLink": "https://hefty-festival.net", "qrCode": "https://pale-civilisation.name", "utm_source": "", "utm_medium": "", "utm_campaign": "", "utm_term": "", "utm_content": "", "userId": "", "workspaceId": "", "lastClicked": "", "createdAt": "", "updatedAt": "", "projectId": "", "programId": ""} + application/json: {"id": "", "domain": "ringed-blow.name", "key": "", "url": "https://monumental-spaghetti.name", "externalId": "", "expiresAt": "", "expiredUrl": "http://wiggly-substitution.info", "password": "fKH9v5zJBmg5IWA", "title": "", "description": "Optional reciprocal projection", "image": "https://loremflickr.com/640/480", "video": "", "ios": "", "android": "", "tagId": "", "tags": [], "webhookIds": ["", ""], "comments": "", "shortLink": "https://hefty-festival.net", "qrCode": "https://pale-civilisation.name", "utm_source": "", "utm_medium": "", "utm_campaign": "", "utm_term": "", "utm_content": "", "userId": "", "workspaceId": "", "lastClicked": "", "createdAt": "", "updatedAt": "", "projectId": "", "programId": ""} "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": @@ -492,7 +492,7 @@ examples: application/json: {"url": "https://google.com", "externalId": "123456", "tagIds": ["clux0rgak00011..."]} responses: "200": - application/json: {"id": "", "domain": "tidy-amazon.name", "key": "", "url": "http://grand-pupa.org", "externalId": "", "identifier": "", "expiresAt": "", "expiredUrl": "http://plastic-powder.info", "password": "KvPKDk8CkuAMJjb", "title": "", "description": "User-friendly foreground interface", "image": "https://loremflickr.com/640/480", "video": "", "ios": "", "android": "", "tagId": "", "tags": [], "webhookIds": ["", "", ""], "comments": "", "shortLink": "http://glossy-roller.info", "qrCode": "https://poor-howard.com", "utm_source": "", "utm_medium": "", "utm_campaign": "", "utm_term": "", "utm_content": "", "userId": "", "workspaceId": "", "lastClicked": "", "createdAt": "", "updatedAt": "", "projectId": "", "programId": ""} + application/json: {"id": "", "domain": "tidy-amazon.name", "key": "", "url": "http://grand-pupa.org", "externalId": "", "expiresAt": "", "expiredUrl": "http://plastic-powder.info", "password": "KvPKDk8CkuAMJjb", "title": "", "description": "User-friendly foreground interface", "image": "https://loremflickr.com/640/480", "video": "", "ios": "", "android": "", "tagId": "", "tags": [], "webhookIds": ["", "", ""], "comments": "", "shortLink": "http://glossy-roller.info", "qrCode": "https://poor-howard.com", "utm_source": "", "utm_medium": "", "utm_campaign": "", "utm_term": "", "utm_content": "", "userId": "", "workspaceId": "", "lastClicked": "", "createdAt": "", "updatedAt": "", "projectId": "", "programId": ""} "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": @@ -593,7 +593,7 @@ examples: application/json: {"url": "https://google.com", "externalId": "123456", "tagIds": ["clux0rgak00011..."]} responses: "200": - application/json: {"id": "", "domain": "monthly-hometown.info", "key": "", "url": "https://honored-equality.info", "externalId": "", "identifier": "", "expiresAt": "", "expiredUrl": "https://eminent-acknowledgment.net", "password": "wZDcrQrPcHBWicB", "title": "", "description": "Re-engineered 24 hour structure", "image": "https://loremflickr.com/640/480", "video": "", "ios": "", "android": "", "tagId": "", "tags": [], "webhookIds": ["", ""], "comments": "", "shortLink": "http://nocturnal-spirituality.com", "qrCode": "https://potable-app.org", "utm_source": "", "utm_medium": "", "utm_campaign": "", "utm_term": "", "utm_content": "", "userId": "", "workspaceId": "", "lastClicked": "", "createdAt": "", "updatedAt": "", "projectId": "", "programId": ""} + application/json: {"id": "", "domain": "monthly-hometown.info", "key": "", "url": "https://honored-equality.info", "externalId": "", "expiresAt": "", "expiredUrl": "https://eminent-acknowledgment.net", "password": "wZDcrQrPcHBWicB", "title": "", "description": "Re-engineered 24 hour structure", "image": "https://loremflickr.com/640/480", "video": "", "ios": "", "android": "", "tagId": "", "tags": [], "webhookIds": ["", ""], "comments": "", "shortLink": "http://nocturnal-spirituality.com", "qrCode": "https://potable-app.org", "utm_source": "", "utm_medium": "", "utm_campaign": "", "utm_term": "", "utm_content": "", "userId": "", "workspaceId": "", "lastClicked": "", "createdAt": "", "updatedAt": "", "projectId": "", "programId": ""} "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": diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index d1da704..749d792 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -13,7 +13,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false go: - version: 0.12.4 + version: 0.12.5 additionalDependencies: {} allowUnknownFieldsInWeakUnions: false clientServerStatusCodesAsErrors: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 211cbb3..be6be4e 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.453.1 +speakeasyVersion: 1.453.10 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:6d1c8ad9f32a198c3d7c22010dc8f03ef88e83c63d11b1def914795bbf956e59 - sourceBlobDigest: sha256:f6e6d4ce8b927fb6b730f8b1c3836e9d28e68077ed46be1c30edd19532956a53 + sourceRevisionDigest: sha256:b643bd4d583a81d6507907f23fe68624ccd7a82451c5eefdbd3c0bf5dfd5071b + sourceBlobDigest: sha256:4fb9afd3f82041cb034a365f95133390b69b22cbb6bd915dea4c7ce235cc144b tags: - latest - - speakeasy-sdk-regen-1733530385 + - speakeasy-sdk-regen-1733875993 - 0.0.1 targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:6d1c8ad9f32a198c3d7c22010dc8f03ef88e83c63d11b1def914795bbf956e59 - sourceBlobDigest: sha256:f6e6d4ce8b927fb6b730f8b1c3836e9d28e68077ed46be1c30edd19532956a53 + sourceRevisionDigest: sha256:b643bd4d583a81d6507907f23fe68624ccd7a82451c5eefdbd3c0bf5dfd5071b + sourceBlobDigest: sha256:4fb9afd3f82041cb034a365f95133390b69b22cbb6bd915dea4c7ce235cc144b codeSamplesNamespace: code-samples-go-my-first-target - codeSamplesRevisionDigest: sha256:624f7f50049feeb31255e2429e5c52aa3c6846a1a4c7963e8f71e16142cc8a85 + codeSamplesRevisionDigest: sha256:c43f67096866bb45bf0b95055289ce7e2e2670652f3cd5a1435cf43bc437ee3d workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 57734a2..402b659 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -618,4 +618,14 @@ Based on: ### Generated - [go v0.12.4] . ### Releases -- [Go v0.12.4] https://github.com/dubinc/dub-go/releases/tag/v0.12.4 - . \ No newline at end of file +- [Go v0.12.4] https://github.com/dubinc/dub-go/releases/tag/v0.12.4 - . + +## 2024-12-11 00:13:10 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.453.10 (2.474.15) https://github.com/speakeasy-api/speakeasy +### Generated +- [go v0.12.5] . +### Releases +- [Go v0.12.5] https://github.com/dubinc/dub-go/releases/tag/v0.12.5 - . \ No newline at end of file diff --git a/docs/models/components/data.md b/docs/models/components/data.md index 92812ab..9145665 100644 --- a/docs/models/components/data.md +++ b/docs/models/components/data.md @@ -11,7 +11,6 @@ | `URL` | *string* | :heavy_check_mark: | N/A | | `TrackConversion` | **bool* | :heavy_minus_sign: | N/A | | `ExternalID` | *string* | :heavy_check_mark: | This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. | -| `Identifier` | *string* | :heavy_check_mark: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | `Archived` | **bool* | :heavy_minus_sign: | N/A | | `ExpiresAt` | *string* | :heavy_check_mark: | N/A | | `ExpiredURL` | *string* | :heavy_check_mark: | N/A | diff --git a/docs/models/components/leadcreatedeventlink.md b/docs/models/components/leadcreatedeventlink.md index c72275f..3992bfb 100644 --- a/docs/models/components/leadcreatedeventlink.md +++ b/docs/models/components/leadcreatedeventlink.md @@ -11,7 +11,6 @@ | `URL` | *string* | :heavy_check_mark: | N/A | | `TrackConversion` | **bool* | :heavy_minus_sign: | N/A | | `ExternalID` | *string* | :heavy_check_mark: | This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. | -| `Identifier` | *string* | :heavy_check_mark: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | `Archived` | **bool* | :heavy_minus_sign: | N/A | | `ExpiresAt` | *string* | :heavy_check_mark: | N/A | | `ExpiredURL` | *string* | :heavy_check_mark: | N/A | diff --git a/docs/models/components/leadeventlink.md b/docs/models/components/leadeventlink.md index ab66104..0d527e0 100644 --- a/docs/models/components/leadeventlink.md +++ b/docs/models/components/leadeventlink.md @@ -11,7 +11,6 @@ | `URL` | *string* | :heavy_check_mark: | N/A | | `TrackConversion` | **bool* | :heavy_minus_sign: | N/A | | `ExternalID` | *string* | :heavy_check_mark: | This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. | -| `Identifier` | *string* | :heavy_check_mark: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | `Archived` | **bool* | :heavy_minus_sign: | N/A | | `ExpiresAt` | *string* | :heavy_check_mark: | N/A | | `ExpiredURL` | *string* | :heavy_check_mark: | N/A | diff --git a/docs/models/components/link.md b/docs/models/components/link.md index 317539c..2df2b69 100644 --- a/docs/models/components/link.md +++ b/docs/models/components/link.md @@ -11,7 +11,6 @@ | `URL` | *string* | :heavy_check_mark: | N/A | | `TrackConversion` | **bool* | :heavy_minus_sign: | N/A | | `ExternalID` | *string* | :heavy_check_mark: | This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. | -| `Identifier` | *string* | :heavy_check_mark: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | `Archived` | **bool* | :heavy_minus_sign: | N/A | | `ExpiresAt` | *string* | :heavy_check_mark: | N/A | | `ExpiredURL` | *string* | :heavy_check_mark: | N/A | diff --git a/docs/models/components/linkclickedeventlink.md b/docs/models/components/linkclickedeventlink.md index 75a8053..d724509 100644 --- a/docs/models/components/linkclickedeventlink.md +++ b/docs/models/components/linkclickedeventlink.md @@ -11,7 +11,6 @@ | `URL` | *string* | :heavy_check_mark: | N/A | | `TrackConversion` | **bool* | :heavy_minus_sign: | N/A | | `ExternalID` | *string* | :heavy_check_mark: | This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. | -| `Identifier` | *string* | :heavy_check_mark: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | `Archived` | **bool* | :heavy_minus_sign: | N/A | | `ExpiresAt` | *string* | :heavy_check_mark: | N/A | | `ExpiredURL` | *string* | :heavy_check_mark: | N/A | diff --git a/docs/models/components/linkschema.md b/docs/models/components/linkschema.md index b927589..6317b0b 100644 --- a/docs/models/components/linkschema.md +++ b/docs/models/components/linkschema.md @@ -11,7 +11,6 @@ | `URL` | *string* | :heavy_check_mark: | The destination URL of the short link. | | `TrackConversion` | **bool* | :heavy_minus_sign: | [BETA] Whether to track conversions for the short link. | | `ExternalID` | *string* | :heavy_check_mark: | This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. | -| `Identifier` | *string* | :heavy_check_mark: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | `Archived` | **bool* | :heavy_minus_sign: | Whether the short link is archived. | | `ExpiresAt` | *string* | :heavy_check_mark: | The date and time when the short link will expire in ISO-8601 format. | | `ExpiredURL` | *string* | :heavy_check_mark: | The URL to redirect to when the short link has expired. | diff --git a/docs/models/components/salecreatedeventlink.md b/docs/models/components/salecreatedeventlink.md index d628a68..7e17995 100644 --- a/docs/models/components/salecreatedeventlink.md +++ b/docs/models/components/salecreatedeventlink.md @@ -11,7 +11,6 @@ | `URL` | *string* | :heavy_check_mark: | N/A | | `TrackConversion` | **bool* | :heavy_minus_sign: | N/A | | `ExternalID` | *string* | :heavy_check_mark: | This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. | -| `Identifier` | *string* | :heavy_check_mark: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | `Archived` | **bool* | :heavy_minus_sign: | N/A | | `ExpiresAt` | *string* | :heavy_check_mark: | N/A | | `ExpiredURL` | *string* | :heavy_check_mark: | N/A | diff --git a/docs/models/components/saleeventlink.md b/docs/models/components/saleeventlink.md index 7c43bf3..5141aeb 100644 --- a/docs/models/components/saleeventlink.md +++ b/docs/models/components/saleeventlink.md @@ -11,7 +11,6 @@ | `URL` | *string* | :heavy_check_mark: | N/A | | `TrackConversion` | **bool* | :heavy_minus_sign: | N/A | | `ExternalID` | *string* | :heavy_check_mark: | This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. | -| `Identifier` | *string* | :heavy_check_mark: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | `Archived` | **bool* | :heavy_minus_sign: | N/A | | `ExpiresAt` | *string* | :heavy_check_mark: | N/A | | `ExpiredURL` | *string* | :heavy_check_mark: | N/A | diff --git a/docs/models/operations/createlinkrequestbody.md b/docs/models/operations/createlinkrequestbody.md index 2bcb411..0bce3c3 100644 --- a/docs/models/operations/createlinkrequestbody.md +++ b/docs/models/operations/createlinkrequestbody.md @@ -11,7 +11,6 @@ | `ExternalID` | **string* | :heavy_minus_sign: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter. | 123456 | | `Prefix` | **string* | :heavy_minus_sign: | The prefix of the short link slug for randomly-generated keys (e.g. if prefix is `/c/`, generated keys will be in the `/c/:key` format). Will be ignored if `key` is provided. | | | `TrackConversion` | **bool* | :heavy_minus_sign: | Whether to track conversions for the short link. | | -| `Identifier` | **string* | :heavy_minus_sign: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | | `Archived` | **bool* | :heavy_minus_sign: | Whether the short link is archived. | | | ~~`PublicStats`~~ | **bool* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. | | | ~~`TagID`~~ | **string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | diff --git a/docs/models/operations/requestbody.md b/docs/models/operations/requestbody.md index 3b7d020..ae657e9 100644 --- a/docs/models/operations/requestbody.md +++ b/docs/models/operations/requestbody.md @@ -11,7 +11,6 @@ | `ExternalID` | **string* | :heavy_minus_sign: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter. | 123456 | | `Prefix` | **string* | :heavy_minus_sign: | The prefix of the short link slug for randomly-generated keys (e.g. if prefix is `/c/`, generated keys will be in the `/c/:key` format). Will be ignored if `key` is provided. | | | `TrackConversion` | **bool* | :heavy_minus_sign: | Whether to track conversions for the short link. | | -| `Identifier` | **string* | :heavy_minus_sign: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | | `Archived` | **bool* | :heavy_minus_sign: | Whether the short link is archived. | | | ~~`PublicStats`~~ | **bool* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. | | | ~~`TagID`~~ | **string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | diff --git a/docs/models/operations/updatelinkrequestbody.md b/docs/models/operations/updatelinkrequestbody.md index 2540525..3d6af5e 100644 --- a/docs/models/operations/updatelinkrequestbody.md +++ b/docs/models/operations/updatelinkrequestbody.md @@ -11,7 +11,6 @@ | `ExternalID` | **string* | :heavy_minus_sign: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter. | 123456 | | `Prefix` | **string* | :heavy_minus_sign: | The prefix of the short link slug for randomly-generated keys (e.g. if prefix is `/c/`, generated keys will be in the `/c/:key` format). Will be ignored if `key` is provided. | | | `TrackConversion` | **bool* | :heavy_minus_sign: | Whether to track conversions for the short link. | | -| `Identifier` | **string* | :heavy_minus_sign: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | | `Archived` | **bool* | :heavy_minus_sign: | Whether the short link is archived. | | | ~~`PublicStats`~~ | **bool* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. | | | ~~`TagID`~~ | **string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | diff --git a/docs/models/operations/upsertlinkrequestbody.md b/docs/models/operations/upsertlinkrequestbody.md index 3a9f6c6..27900f7 100644 --- a/docs/models/operations/upsertlinkrequestbody.md +++ b/docs/models/operations/upsertlinkrequestbody.md @@ -11,7 +11,6 @@ | `ExternalID` | **string* | :heavy_minus_sign: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter. | 123456 | | `Prefix` | **string* | :heavy_minus_sign: | The prefix of the short link slug for randomly-generated keys (e.g. if prefix is `/c/`, generated keys will be in the `/c/:key` format). Will be ignored if `key` is provided. | | | `TrackConversion` | **bool* | :heavy_minus_sign: | Whether to track conversions for the short link. | | -| `Identifier` | **string* | :heavy_minus_sign: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | | `Archived` | **bool* | :heavy_minus_sign: | Whether the short link is archived. | | | ~~`PublicStats`~~ | **bool* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. | | | ~~`TagID`~~ | **string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | diff --git a/dub.go b/dub.go index 002501c..d19ae40 100644 --- a/dub.go +++ b/dub.go @@ -159,9 +159,9 @@ func New(opts ...SDKOption) *Dub { sdkConfiguration: sdkConfiguration{ Language: "go", OpenAPIDocVersion: "0.0.1", - SDKVersion: "0.12.4", - GenVersion: "2.474.4", - UserAgent: "speakeasy-sdk/go 0.12.4 2.474.4 0.0.1 github.com/dubinc/dub-go", + SDKVersion: "0.12.5", + GenVersion: "2.474.15", + UserAgent: "speakeasy-sdk/go 0.12.5 2.474.15 0.0.1 github.com/dubinc/dub-go", Hooks: hooks.New(), }, } diff --git a/models/components/clickevent.go b/models/components/clickevent.go index 193281c..51d0ad1 100644 --- a/models/components/clickevent.go +++ b/models/components/clickevent.go @@ -2153,8 +2153,6 @@ type Link struct { TrackConversion *bool `json:"trackConversion,omitempty"` // This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. ExternalID *string `json:"externalId"` - // The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. - Identifier *string `json:"identifier"` Archived *bool `json:"archived,omitempty"` ExpiresAt string `json:"expiresAt"` ExpiredURL *string `json:"expiredUrl"` @@ -2277,13 +2275,6 @@ func (o *Link) GetExternalID() *string { return o.ExternalID } -func (o *Link) GetIdentifier() *string { - if o == nil { - return nil - } - return o.Identifier -} - func (o *Link) GetArchived() *bool { if o == nil { return nil diff --git a/models/components/leadcreatedevent.go b/models/components/leadcreatedevent.go index a643635..11cc732 100644 --- a/models/components/leadcreatedevent.go +++ b/models/components/leadcreatedevent.go @@ -2210,8 +2210,6 @@ type LeadCreatedEventLink struct { TrackConversion *bool `json:"trackConversion,omitempty"` // This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. ExternalID *string `json:"externalId"` - // The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. - Identifier *string `json:"identifier"` Archived *bool `json:"archived,omitempty"` ExpiresAt string `json:"expiresAt"` ExpiredURL *string `json:"expiredUrl"` @@ -2334,13 +2332,6 @@ func (o *LeadCreatedEventLink) GetExternalID() *string { return o.ExternalID } -func (o *LeadCreatedEventLink) GetIdentifier() *string { - if o == nil { - return nil - } - return o.Identifier -} - func (o *LeadCreatedEventLink) GetArchived() *bool { if o == nil { return nil diff --git a/models/components/leadevent.go b/models/components/leadevent.go index 457c6eb..ead3d90 100644 --- a/models/components/leadevent.go +++ b/models/components/leadevent.go @@ -2153,8 +2153,6 @@ type LeadEventLink struct { TrackConversion *bool `json:"trackConversion,omitempty"` // This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. ExternalID *string `json:"externalId"` - // The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. - Identifier *string `json:"identifier"` Archived *bool `json:"archived,omitempty"` ExpiresAt string `json:"expiresAt"` ExpiredURL *string `json:"expiredUrl"` @@ -2277,13 +2275,6 @@ func (o *LeadEventLink) GetExternalID() *string { return o.ExternalID } -func (o *LeadEventLink) GetIdentifier() *string { - if o == nil { - return nil - } - return o.Identifier -} - func (o *LeadEventLink) GetArchived() *bool { if o == nil { return nil diff --git a/models/components/linkclickedevent.go b/models/components/linkclickedevent.go index 8d17ff5..0bd6f11 100644 --- a/models/components/linkclickedevent.go +++ b/models/components/linkclickedevent.go @@ -2153,8 +2153,6 @@ type LinkClickedEventLink struct { TrackConversion *bool `json:"trackConversion,omitempty"` // This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. ExternalID *string `json:"externalId"` - // The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. - Identifier *string `json:"identifier"` Archived *bool `json:"archived,omitempty"` ExpiresAt string `json:"expiresAt"` ExpiredURL *string `json:"expiredUrl"` @@ -2277,13 +2275,6 @@ func (o *LinkClickedEventLink) GetExternalID() *string { return o.ExternalID } -func (o *LinkClickedEventLink) GetIdentifier() *string { - if o == nil { - return nil - } - return o.Identifier -} - func (o *LinkClickedEventLink) GetArchived() *bool { if o == nil { return nil diff --git a/models/components/linkschema.go b/models/components/linkschema.go index ce1356f..8fc4670 100644 --- a/models/components/linkschema.go +++ b/models/components/linkschema.go @@ -2023,8 +2023,6 @@ type LinkSchema struct { TrackConversion *bool `default:"false" json:"trackConversion"` // This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. ExternalID *string `json:"externalId"` - // The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. - Identifier *string `json:"identifier"` // Whether the short link is archived. Archived *bool `default:"false" json:"archived"` // The date and time when the short link will expire in ISO-8601 format. @@ -2158,13 +2156,6 @@ func (o *LinkSchema) GetExternalID() *string { return o.ExternalID } -func (o *LinkSchema) GetIdentifier() *string { - if o == nil { - return nil - } - return o.Identifier -} - func (o *LinkSchema) GetArchived() *bool { if o == nil { return nil diff --git a/models/components/linkwebhookevent.go b/models/components/linkwebhookevent.go index 76242d1..7b36d04 100644 --- a/models/components/linkwebhookevent.go +++ b/models/components/linkwebhookevent.go @@ -2178,8 +2178,6 @@ type Data struct { TrackConversion *bool `json:"trackConversion,omitempty"` // This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. ExternalID *string `json:"externalId"` - // The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. - Identifier *string `json:"identifier"` Archived *bool `json:"archived,omitempty"` ExpiresAt string `json:"expiresAt"` ExpiredURL *string `json:"expiredUrl"` @@ -2302,13 +2300,6 @@ func (o *Data) GetExternalID() *string { return o.ExternalID } -func (o *Data) GetIdentifier() *string { - if o == nil { - return nil - } - return o.Identifier -} - func (o *Data) GetArchived() *bool { if o == nil { return nil diff --git a/models/components/salecreatedevent.go b/models/components/salecreatedevent.go index 66fe117..0219db3 100644 --- a/models/components/salecreatedevent.go +++ b/models/components/salecreatedevent.go @@ -2210,8 +2210,6 @@ type SaleCreatedEventLink struct { TrackConversion *bool `json:"trackConversion,omitempty"` // This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. ExternalID *string `json:"externalId"` - // The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. - Identifier *string `json:"identifier"` Archived *bool `json:"archived,omitempty"` ExpiresAt string `json:"expiresAt"` ExpiredURL *string `json:"expiredUrl"` @@ -2334,13 +2332,6 @@ func (o *SaleCreatedEventLink) GetExternalID() *string { return o.ExternalID } -func (o *SaleCreatedEventLink) GetIdentifier() *string { - if o == nil { - return nil - } - return o.Identifier -} - func (o *SaleCreatedEventLink) GetArchived() *bool { if o == nil { return nil diff --git a/models/components/saleevent.go b/models/components/saleevent.go index 0582530..6544e75 100644 --- a/models/components/saleevent.go +++ b/models/components/saleevent.go @@ -2046,8 +2046,6 @@ type SaleEventLink struct { TrackConversion *bool `json:"trackConversion,omitempty"` // This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter. ExternalID *string `json:"externalId"` - // The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. - Identifier *string `json:"identifier"` Archived *bool `json:"archived,omitempty"` ExpiresAt string `json:"expiresAt"` ExpiredURL *string `json:"expiredUrl"` @@ -2170,13 +2168,6 @@ func (o *SaleEventLink) GetExternalID() *string { return o.ExternalID } -func (o *SaleEventLink) GetIdentifier() *string { - if o == nil { - return nil - } - return o.Identifier -} - func (o *SaleEventLink) GetArchived() *bool { if o == nil { return nil diff --git a/models/operations/bulkcreatelinks.go b/models/operations/bulkcreatelinks.go index c36cf95..f13c351 100644 --- a/models/operations/bulkcreatelinks.go +++ b/models/operations/bulkcreatelinks.go @@ -150,8 +150,6 @@ type RequestBody struct { Prefix *string `json:"prefix,omitempty"` // Whether to track conversions for the short link. TrackConversion *bool `default:"false" json:"trackConversion"` - // The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. - Identifier *string `json:"identifier,omitempty"` // Whether the short link is archived. Archived *bool `default:"false" json:"archived"` // Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. @@ -265,13 +263,6 @@ func (o *RequestBody) GetTrackConversion() *bool { return o.TrackConversion } -func (o *RequestBody) GetIdentifier() *string { - if o == nil { - return nil - } - return o.Identifier -} - func (o *RequestBody) GetArchived() *bool { if o == nil { return nil diff --git a/models/operations/createlink.go b/models/operations/createlink.go index 8a64009..975307f 100644 --- a/models/operations/createlink.go +++ b/models/operations/createlink.go @@ -150,8 +150,6 @@ type CreateLinkRequestBody struct { Prefix *string `json:"prefix,omitempty"` // Whether to track conversions for the short link. TrackConversion *bool `default:"false" json:"trackConversion"` - // The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. - Identifier *string `json:"identifier,omitempty"` // Whether the short link is archived. Archived *bool `default:"false" json:"archived"` // Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. @@ -265,13 +263,6 @@ func (o *CreateLinkRequestBody) GetTrackConversion() *bool { return o.TrackConversion } -func (o *CreateLinkRequestBody) GetIdentifier() *string { - if o == nil { - return nil - } - return o.Identifier -} - func (o *CreateLinkRequestBody) GetArchived() *bool { if o == nil { return nil diff --git a/models/operations/updatelink.go b/models/operations/updatelink.go index 5fdeddc..0446bf5 100644 --- a/models/operations/updatelink.go +++ b/models/operations/updatelink.go @@ -150,8 +150,6 @@ type UpdateLinkRequestBody struct { Prefix *string `json:"prefix,omitempty"` // Whether to track conversions for the short link. TrackConversion *bool `default:"false" json:"trackConversion"` - // The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. - Identifier *string `json:"identifier,omitempty"` // Whether the short link is archived. Archived *bool `default:"false" json:"archived"` // Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. @@ -265,13 +263,6 @@ func (o *UpdateLinkRequestBody) GetTrackConversion() *bool { return o.TrackConversion } -func (o *UpdateLinkRequestBody) GetIdentifier() *string { - if o == nil { - return nil - } - return o.Identifier -} - func (o *UpdateLinkRequestBody) GetArchived() *bool { if o == nil { return nil diff --git a/models/operations/upsertlink.go b/models/operations/upsertlink.go index 85d851d..9127abd 100644 --- a/models/operations/upsertlink.go +++ b/models/operations/upsertlink.go @@ -150,8 +150,6 @@ type UpsertLinkRequestBody struct { Prefix *string `json:"prefix,omitempty"` // Whether to track conversions for the short link. TrackConversion *bool `default:"false" json:"trackConversion"` - // The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. - Identifier *string `json:"identifier,omitempty"` // Whether the short link is archived. Archived *bool `default:"false" json:"archived"` // Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. @@ -265,13 +263,6 @@ func (o *UpsertLinkRequestBody) GetTrackConversion() *bool { return o.TrackConversion } -func (o *UpsertLinkRequestBody) GetIdentifier() *string { - if o == nil { - return nil - } - return o.Identifier -} - func (o *UpsertLinkRequestBody) GetArchived() *bool { if o == nil { return nil