Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add deprecation notice

Steven Tey62cd793801c7
diff --git a/apps/web/lib/openapi/analytics/browser.ts b/apps/web/lib/openapi/analytics/browser.ts
index b3e9abc45b..b997929143 100644
--- a/apps/web/lib/openapi/analytics/browser.ts
+++ b/apps/web/lib/openapi/analytics/browser.ts
@@ -11,6 +11,7 @@ export const getBrowserAnalytics: ZodOpenApiOperationObject = {
operationId: "getBrowserAnalytics",
"x-speakeasy-name-override": "browsers",
summary: "Retrieve browser analytics",
+ deprecated: true,
description:
"Retrieve the top browsers by number of clicks for a link, a domain, or the authenticated workspace.",
requestParams: {
diff --git a/apps/web/lib/openapi/analytics/city.ts b/apps/web/lib/openapi/analytics/city.ts
index f1697f5dec..bbc5211e2b 100644
--- a/apps/web/lib/openapi/analytics/city.ts
+++ b/apps/web/lib/openapi/analytics/city.ts
@@ -11,6 +11,7 @@ export const getCityAnalytics: ZodOpenApiOperationObject = {
operationId: "getCityAnalytics",
"x-speakeasy-name-override": "cities",
summary: "Retrieve city analytics",
+ deprecated: true,
description:
"Retrieve the top countries by number of clicks for a link, a domain, or the authenticated workspace.",
requestParams: {
diff --git a/apps/web/lib/openapi/analytics/country.ts b/apps/web/lib/openapi/analytics/country.ts
index 20790f66b8..d117a632cb 100644
--- a/apps/web/lib/openapi/analytics/country.ts
+++ b/apps/web/lib/openapi/analytics/country.ts
@@ -11,6 +11,7 @@ export const getCountryAnalytics: ZodOpenApiOperationObject = {
operationId: "getCountryAnalytics",
"x-speakeasy-name-override": "countries",
summary: "Retrieve country analytics",
+ deprecated: true,
description:
"Retrieve the top countries by number of clicks for a link, a domain, or the authenticated workspace.",
requestParams: {
diff --git a/apps/web/lib/openapi/analytics/device.ts b/apps/web/lib/openapi/analytics/device.ts
index 666db076dc..4ce1f96fb5 100644
--- a/apps/web/lib/openapi/analytics/device.ts
+++ b/apps/web/lib/openapi/analytics/device.ts
@@ -11,6 +11,7 @@ export const getDeviceAnalytics: ZodOpenApiOperationObject = {
operationId: "getDeviceAnalytics",
"x-speakeasy-name-override": "devices",
summary: "Retrieve device analytics",
+ deprecated: true,
description:
"Retrieve the top devices by number of clicks for a link, a domain, or the authenticated workspace.",
requestParams: {
diff --git a/apps/web/lib/openapi/analytics/os.ts b/apps/web/lib/openapi/analytics/os.ts
index 4b723acae3..421cd68e6a 100644
--- a/apps/web/lib/openapi/analytics/os.ts
+++ b/apps/web/lib/openapi/analytics/os.ts
@@ -11,6 +11,7 @@ export const getOSAnalytics: ZodOpenApiOperationObject = {
operationId: "getOSAnalytics",
"x-speakeasy-name-override": "os",
summary: "Retrieve OS analytics",
+ deprecated: true,
description:
"Retrieve the top OS by number of clicks for a link, a domain, or the authenticated workspace.",
requestParams: {
diff --git a/apps/web/lib/openapi/analytics/referer.ts b/apps/web/lib/openapi/analytics/referer.ts
index 3773734f40..f7bfaa949d 100644
--- a/apps/web/lib/openapi/analytics/referer.ts
+++ b/apps/web/lib/openapi/analytics/referer.ts
@@ -11,6 +11,7 @@ export const getRefererAnalytics: ZodOpenApiOperationObject = {
operationId: "getRefererAnalytics",
"x-speakeasy-name-override": "referers",
summary: "Retrieve referer analytics",
+ deprecated: true,
description:
"Retrieve the top referers by number of clicks for a link, a domain, or the authenticated workspace.",
requestParams: {
diff --git a/apps/web/lib/openapi/analytics/timeseries.ts b/apps/web/lib/openapi/analytics/timeseries.ts
index bd9071207e..47238c8f2c 100644
--- a/apps/web/lib/openapi/analytics/timeseries.ts
+++ b/apps/web/lib/openapi/analytics/timeseries.ts
@@ -11,6 +11,7 @@ export const getTimeseriesAnalytics: ZodOpenApiOperationObject = {
operationId: "getTimeseriesAnalytics",
"x-speakeasy-name-override": "timeseries",
summary: "Retrieve timeseries analytics",
+ deprecated: true,
description:
"Retrieve the number of clicks for a link, a domain, or the authenticated workspace over a period of time.",
requestParams: {
diff --git a/apps/web/lib/openapi/analytics/top-links.ts b/apps/web/lib/openapi/analytics/top-links.ts
index f929a7dace..42f34bab12 100644
--- a/apps/web/lib/openapi/analytics/top-links.ts
+++ b/apps/web/lib/openapi/analytics/top-links.ts
@@ -11,6 +11,7 @@ export const getTopLinks: ZodOpenApiOperationObject = {
operationId: "getTopLinks",
"x-speakeasy-name-override": "topLinks",
summary: "Retrieve top links",
+ deprecated: true,
description:
"Retrieve the top links by number of clicks for a domain or the authenticated workspace.",
requestParams: {
diff --git a/apps/web/lib/openapi/analytics/top-urls.ts b/apps/web/lib/openapi/analytics/top-urls.ts
index af9e14009b..8455c16ee7 100644
--- a/apps/web/lib/openapi/analytics/top-urls.ts
+++ b/apps/web/lib/openapi/analytics/top-urls.ts
@@ -11,6 +11,7 @@ export const getTopURLs: ZodOpenApiOperationObject = {
operationId: "getTopURLs",
"x-speakeasy-name-override": "topUrls",
summary: "Retrieve top URLs",
+ deprecated: true,
description:
"Retrieve the top URLs by number of clicks for a given short link.",
requestParams: {