mirror of
https://github.com/LukeHagar/dub-node.git
synced 2025-12-10 12:27:49 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.286.0
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
import * as z from "zod";
|
||||
|
||||
/**
|
||||
* The interval to retrieve analytics for.
|
||||
* The interval to retrieve analytics for. Takes precedence over start and end.
|
||||
*/
|
||||
export const GetCityAnalyticsQueryParamInterval = {
|
||||
Oneh: "1h",
|
||||
@@ -13,10 +13,12 @@ export const GetCityAnalyticsQueryParamInterval = {
|
||||
Sevend: "7d",
|
||||
Thirtyd: "30d",
|
||||
Ninetyd: "90d",
|
||||
Ytd: "ytd",
|
||||
Oney: "1y",
|
||||
All: "all",
|
||||
} as const;
|
||||
/**
|
||||
* The interval to retrieve analytics for.
|
||||
* The interval to retrieve analytics for. Takes precedence over start and end.
|
||||
*/
|
||||
export type GetCityAnalyticsQueryParamInterval =
|
||||
(typeof GetCityAnalyticsQueryParamInterval)[keyof typeof GetCityAnalyticsQueryParamInterval];
|
||||
@@ -300,9 +302,17 @@ export type GetCityAnalyticsRequest = {
|
||||
*/
|
||||
externalId?: string | undefined;
|
||||
/**
|
||||
* The interval to retrieve analytics for.
|
||||
* The interval to retrieve analytics for. Takes precedence over start and end.
|
||||
*/
|
||||
interval?: GetCityAnalyticsQueryParamInterval | undefined;
|
||||
/**
|
||||
* The start date and time when to retrieve analytics from.
|
||||
*/
|
||||
start?: string | undefined;
|
||||
/**
|
||||
* The end date and time when to retrieve analytics from. If not provided, defaults to the current date.
|
||||
*/
|
||||
end?: string | undefined;
|
||||
/**
|
||||
* The country to retrieve analytics for.
|
||||
*/
|
||||
@@ -639,6 +649,8 @@ export namespace GetCityAnalyticsRequest$ {
|
||||
linkId?: string | undefined;
|
||||
externalId?: string | undefined;
|
||||
interval?: GetCityAnalyticsQueryParamInterval | undefined;
|
||||
start?: string | undefined;
|
||||
end?: string | undefined;
|
||||
country?: GetCityAnalyticsQueryParamCountry | undefined;
|
||||
city?: string | undefined;
|
||||
device?: string | undefined;
|
||||
@@ -658,6 +670,8 @@ export namespace GetCityAnalyticsRequest$ {
|
||||
linkId: z.string().optional(),
|
||||
externalId: z.string().optional(),
|
||||
interval: GetCityAnalyticsQueryParamInterval$.optional(),
|
||||
start: z.string().optional(),
|
||||
end: z.string().optional(),
|
||||
country: GetCityAnalyticsQueryParamCountry$.optional(),
|
||||
city: z.string().optional(),
|
||||
device: z.string().optional(),
|
||||
@@ -676,6 +690,8 @@ export namespace GetCityAnalyticsRequest$ {
|
||||
...(v.linkId === undefined ? null : { linkId: v.linkId }),
|
||||
...(v.externalId === undefined ? null : { externalId: v.externalId }),
|
||||
...(v.interval === undefined ? null : { interval: v.interval }),
|
||||
...(v.start === undefined ? null : { start: v.start }),
|
||||
...(v.end === undefined ? null : { end: v.end }),
|
||||
...(v.country === undefined ? null : { country: v.country }),
|
||||
...(v.city === undefined ? null : { city: v.city }),
|
||||
...(v.device === undefined ? null : { device: v.device }),
|
||||
@@ -695,6 +711,8 @@ export namespace GetCityAnalyticsRequest$ {
|
||||
linkId?: string | undefined;
|
||||
externalId?: string | undefined;
|
||||
interval?: GetCityAnalyticsQueryParamInterval | undefined;
|
||||
start?: string | undefined;
|
||||
end?: string | undefined;
|
||||
country?: GetCityAnalyticsQueryParamCountry | undefined;
|
||||
city?: string | undefined;
|
||||
device?: string | undefined;
|
||||
@@ -714,6 +732,8 @@ export namespace GetCityAnalyticsRequest$ {
|
||||
linkId: z.string().optional(),
|
||||
externalId: z.string().optional(),
|
||||
interval: GetCityAnalyticsQueryParamInterval$.optional(),
|
||||
start: z.string().optional(),
|
||||
end: z.string().optional(),
|
||||
country: GetCityAnalyticsQueryParamCountry$.optional(),
|
||||
city: z.string().optional(),
|
||||
device: z.string().optional(),
|
||||
@@ -732,6 +752,8 @@ export namespace GetCityAnalyticsRequest$ {
|
||||
...(v.linkId === undefined ? null : { linkId: v.linkId }),
|
||||
...(v.externalId === undefined ? null : { externalId: v.externalId }),
|
||||
...(v.interval === undefined ? null : { interval: v.interval }),
|
||||
...(v.start === undefined ? null : { start: v.start }),
|
||||
...(v.end === undefined ? null : { end: v.end }),
|
||||
...(v.country === undefined ? null : { country: v.country }),
|
||||
...(v.city === undefined ? null : { city: v.city }),
|
||||
...(v.device === undefined ? null : { device: v.device }),
|
||||
|
||||
Reference in New Issue
Block a user