dub 0.24.0 → 0.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -10
- package/docs/sdks/analytics/README.md +130 -40
- package/docs/sdks/domains/README.md +114 -44
- package/docs/sdks/links/README.md +100 -28
- package/docs/sdks/qrcodes/README.md +13 -4
- package/docs/sdks/tags/README.md +26 -8
- package/docs/sdks/workspaces/README.md +39 -12
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/domainschema.d.ts +80 -0
- package/models/components/domainschema.d.ts.map +1 -0
- package/models/components/domainschema.js +94 -0
- package/models/components/domainschema.js.map +1 -0
- package/models/components/index.d.ts +1 -9
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -9
- package/models/components/index.js.map +1 -1
- package/models/{components → errors}/badrequest.d.ts +13 -1
- package/models/errors/badrequest.d.ts.map +1 -0
- package/models/{components → errors}/badrequest.js +23 -4
- package/models/errors/badrequest.js.map +1 -0
- package/models/{components → errors}/conflict.d.ts +13 -1
- package/models/errors/conflict.d.ts.map +1 -0
- package/models/{components → errors}/conflict.js +23 -4
- package/models/errors/conflict.js.map +1 -0
- package/models/{components → errors}/forbidden.d.ts +13 -1
- package/models/errors/forbidden.d.ts.map +1 -0
- package/models/{components → errors}/forbidden.js +23 -4
- package/models/errors/forbidden.js.map +1 -0
- package/models/errors/index.d.ts +9 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +9 -0
- package/models/errors/index.js.map +1 -1
- package/models/{components → errors}/internalservererror.d.ts +13 -1
- package/models/errors/internalservererror.d.ts.map +1 -0
- package/models/{components → errors}/internalservererror.js +23 -4
- package/models/errors/internalservererror.js.map +1 -0
- package/models/{components → errors}/inviteexpired.d.ts +13 -1
- package/models/errors/inviteexpired.d.ts.map +1 -0
- package/models/{components → errors}/inviteexpired.js +23 -4
- package/models/errors/inviteexpired.js.map +1 -0
- package/models/{components → errors}/notfound.d.ts +13 -1
- package/models/errors/notfound.d.ts.map +1 -0
- package/models/{components → errors}/notfound.js +23 -4
- package/models/errors/notfound.js.map +1 -0
- package/models/{components → errors}/ratelimitexceeded.d.ts +13 -1
- package/models/errors/ratelimitexceeded.d.ts.map +1 -0
- package/models/{components → errors}/ratelimitexceeded.js +23 -4
- package/models/errors/ratelimitexceeded.js.map +1 -0
- package/models/{components → errors}/unauthorized.d.ts +13 -1
- package/models/errors/unauthorized.d.ts.map +1 -0
- package/models/{components → errors}/unauthorized.js +23 -4
- package/models/errors/unauthorized.js.map +1 -0
- package/models/{components → errors}/unprocessableentity.d.ts +13 -1
- package/models/errors/unprocessableentity.d.ts.map +1 -0
- package/models/{components → errors}/unprocessableentity.js +23 -4
- package/models/errors/unprocessableentity.js.map +1 -0
- package/models/operations/adddomain.d.ts +0 -90
- package/models/operations/adddomain.d.ts.map +1 -1
- package/models/operations/adddomain.js +1 -93
- package/models/operations/adddomain.js.map +1 -1
- package/models/operations/bulkcreatelinks.d.ts +17 -9
- package/models/operations/bulkcreatelinks.d.ts.map +1 -1
- package/models/operations/bulkcreatelinks.js +11 -30
- package/models/operations/bulkcreatelinks.js.map +1 -1
- package/models/operations/createlink.d.ts +17 -9
- package/models/operations/createlink.d.ts.map +1 -1
- package/models/operations/createlink.js +17 -30
- package/models/operations/createlink.js.map +1 -1
- package/models/operations/createtag.d.ts +0 -9
- package/models/operations/createtag.d.ts.map +1 -1
- package/models/operations/createtag.js +1 -30
- package/models/operations/createtag.js.map +1 -1
- package/models/operations/createworkspace.d.ts +0 -9
- package/models/operations/createworkspace.d.ts.map +1 -1
- package/models/operations/createworkspace.js +1 -30
- package/models/operations/createworkspace.js.map +1 -1
- package/models/operations/deletedomain.d.ts +0 -9
- package/models/operations/deletedomain.d.ts.map +1 -1
- package/models/operations/deletedomain.js +1 -30
- package/models/operations/deletedomain.js.map +1 -1
- package/models/operations/deletelink.d.ts +0 -9
- package/models/operations/deletelink.d.ts.map +1 -1
- package/models/operations/deletelink.js +1 -30
- package/models/operations/deletelink.js.map +1 -1
- package/models/operations/editdomain.d.ts +0 -90
- package/models/operations/editdomain.d.ts.map +1 -1
- package/models/operations/editdomain.js +1 -93
- package/models/operations/editdomain.js.map +1 -1
- package/models/operations/editlink.d.ts +17 -9
- package/models/operations/editlink.d.ts.map +1 -1
- package/models/operations/editlink.js +17 -30
- package/models/operations/editlink.js.map +1 -1
- package/models/operations/getbrowseranalytics.d.ts +0 -9
- package/models/operations/getbrowseranalytics.d.ts.map +1 -1
- package/models/operations/getbrowseranalytics.js +1 -30
- package/models/operations/getbrowseranalytics.js.map +1 -1
- package/models/operations/getcityanalytics.d.ts +0 -9
- package/models/operations/getcityanalytics.d.ts.map +1 -1
- package/models/operations/getcityanalytics.js +1 -30
- package/models/operations/getcityanalytics.js.map +1 -1
- package/models/operations/getclicksanalytics.d.ts +0 -9
- package/models/operations/getclicksanalytics.d.ts.map +1 -1
- package/models/operations/getclicksanalytics.js +1 -30
- package/models/operations/getclicksanalytics.js.map +1 -1
- package/models/operations/getcountryanalytics.d.ts +0 -9
- package/models/operations/getcountryanalytics.d.ts.map +1 -1
- package/models/operations/getcountryanalytics.js +1 -30
- package/models/operations/getcountryanalytics.js.map +1 -1
- package/models/operations/getdeviceanalytics.d.ts +0 -9
- package/models/operations/getdeviceanalytics.d.ts.map +1 -1
- package/models/operations/getdeviceanalytics.js +1 -30
- package/models/operations/getdeviceanalytics.js.map +1 -1
- package/models/operations/getlinkinfo.d.ts +0 -9
- package/models/operations/getlinkinfo.d.ts.map +1 -1
- package/models/operations/getlinkinfo.js +1 -30
- package/models/operations/getlinkinfo.js.map +1 -1
- package/models/operations/getlinks.d.ts +17 -9
- package/models/operations/getlinks.d.ts.map +1 -1
- package/models/operations/getlinks.js +17 -30
- package/models/operations/getlinks.js.map +1 -1
- package/models/operations/getlinkscount.d.ts +17 -9
- package/models/operations/getlinkscount.d.ts.map +1 -1
- package/models/operations/getlinkscount.js +11 -30
- package/models/operations/getlinkscount.js.map +1 -1
- package/models/operations/getosanalytics.d.ts +0 -9
- package/models/operations/getosanalytics.d.ts.map +1 -1
- package/models/operations/getosanalytics.js +1 -30
- package/models/operations/getosanalytics.js.map +1 -1
- package/models/operations/getqrcode.d.ts +0 -9
- package/models/operations/getqrcode.d.ts.map +1 -1
- package/models/operations/getqrcode.js +1 -30
- package/models/operations/getqrcode.js.map +1 -1
- package/models/operations/getrefereranalytics.d.ts +0 -9
- package/models/operations/getrefereranalytics.d.ts.map +1 -1
- package/models/operations/getrefereranalytics.js +1 -30
- package/models/operations/getrefereranalytics.js.map +1 -1
- package/models/operations/gettags.d.ts +0 -9
- package/models/operations/gettags.d.ts.map +1 -1
- package/models/operations/gettags.js +1 -30
- package/models/operations/gettags.js.map +1 -1
- package/models/operations/gettimeseriesanalytics.d.ts +0 -9
- package/models/operations/gettimeseriesanalytics.d.ts.map +1 -1
- package/models/operations/gettimeseriesanalytics.js +1 -30
- package/models/operations/gettimeseriesanalytics.js.map +1 -1
- package/models/operations/gettoplinks.d.ts +0 -9
- package/models/operations/gettoplinks.d.ts.map +1 -1
- package/models/operations/gettoplinks.js +1 -30
- package/models/operations/gettoplinks.js.map +1 -1
- package/models/operations/gettopurls.d.ts +0 -9
- package/models/operations/gettopurls.d.ts.map +1 -1
- package/models/operations/gettopurls.js +1 -30
- package/models/operations/gettopurls.js.map +1 -1
- package/models/operations/getworkspace.d.ts +0 -9
- package/models/operations/getworkspace.d.ts.map +1 -1
- package/models/operations/getworkspace.js +1 -30
- package/models/operations/getworkspace.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdomains.d.ts +0 -87
- package/models/operations/listdomains.d.ts.map +1 -1
- package/models/operations/listdomains.js +1 -93
- package/models/operations/listdomains.js.map +1 -1
- package/models/operations/setprimarydomain.d.ts +0 -90
- package/models/operations/setprimarydomain.d.ts.map +1 -1
- package/models/operations/setprimarydomain.js +1 -93
- package/models/operations/setprimarydomain.js.map +1 -1
- package/models/operations/transferdomain.d.ts +0 -90
- package/models/operations/transferdomain.d.ts.map +1 -1
- package/models/operations/transferdomain.js +1 -93
- package/models/operations/transferdomain.js.map +1 -1
- package/package.json +1 -1
- package/sdk/analytics.d.ts +10 -10
- package/sdk/analytics.d.ts.map +1 -1
- package/sdk/analytics.js +693 -200
- package/sdk/analytics.js.map +1 -1
- package/sdk/domains.d.ts +7 -6
- package/sdk/domains.d.ts.map +1 -1
- package/sdk/domains.js +422 -124
- package/sdk/domains.js.map +1 -1
- package/sdk/links.d.ts +8 -7
- package/sdk/links.d.ts.map +1 -1
- package/sdk/links.js +485 -140
- package/sdk/links.js.map +1 -1
- package/sdk/metatags.js +1 -1
- package/sdk/metatags.js.map +1 -1
- package/sdk/qrcodes.d.ts +1 -1
- package/sdk/qrcodes.d.ts.map +1 -1
- package/sdk/qrcodes.js +69 -20
- package/sdk/qrcodes.js.map +1 -1
- package/sdk/tags.d.ts +3 -2
- package/sdk/tags.d.ts.map +1 -1
- package/sdk/tags.js +138 -40
- package/sdk/tags.js.map +1 -1
- package/sdk/workspaces.d.ts +4 -3
- package/sdk/workspaces.d.ts.map +1 -1
- package/sdk/workspaces.js +206 -60
- package/sdk/workspaces.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/domainschema.ts +138 -0
- package/src/models/components/index.ts +1 -9
- package/src/models/{components → errors}/badrequest.ts +43 -11
- package/src/models/{components → errors}/conflict.ts +43 -11
- package/src/models/{components → errors}/forbidden.ts +43 -11
- package/src/models/errors/index.ts +9 -0
- package/src/models/{components → errors}/internalservererror.ts +43 -11
- package/src/models/{components → errors}/inviteexpired.ts +43 -11
- package/src/models/{components → errors}/notfound.ts +43 -11
- package/src/models/{components → errors}/ratelimitexceeded.ts +43 -11
- package/src/models/{components → errors}/unauthorized.ts +43 -11
- package/src/models/{components → errors}/unprocessableentity.ts +43 -11
- package/src/models/operations/adddomain.ts +0 -200
- package/src/models/operations/bulkcreatelinks.ts +27 -67
- package/src/models/operations/createlink.ts +30 -64
- package/src/models/operations/createtag.ts +0 -64
- package/src/models/operations/createworkspace.ts +0 -67
- package/src/models/operations/deletedomain.ts +0 -64
- package/src/models/operations/deletelink.ts +0 -64
- package/src/models/operations/editdomain.ts +0 -202
- package/src/models/operations/editlink.ts +30 -64
- package/src/models/operations/getbrowseranalytics.ts +0 -66
- package/src/models/operations/getcityanalytics.ts +0 -66
- package/src/models/operations/getclicksanalytics.ts +0 -66
- package/src/models/operations/getcountryanalytics.ts +0 -66
- package/src/models/operations/getdeviceanalytics.ts +0 -66
- package/src/models/operations/getlinkinfo.ts +0 -64
- package/src/models/operations/getlinks.ts +30 -64
- package/src/models/operations/getlinkscount.ts +29 -66
- package/src/models/operations/getosanalytics.ts +0 -65
- package/src/models/operations/getqrcode.ts +0 -64
- package/src/models/operations/getrefereranalytics.ts +0 -66
- package/src/models/operations/gettags.ts +0 -64
- package/src/models/operations/gettimeseriesanalytics.ts +0 -66
- package/src/models/operations/gettoplinks.ts +0 -64
- package/src/models/operations/gettopurls.ts +0 -64
- package/src/models/operations/getworkspace.ts +0 -64
- package/src/models/operations/index.ts +0 -1
- package/src/models/operations/listdomains.ts +0 -198
- package/src/models/operations/setprimarydomain.ts +0 -203
- package/src/models/operations/transferdomain.ts +0 -202
- package/src/sdk/analytics.ts +713 -210
- package/src/sdk/domains.ts +436 -130
- package/src/sdk/links.ts +502 -150
- package/src/sdk/metatags.ts +1 -1
- package/src/sdk/qrcodes.ts +71 -21
- package/src/sdk/tags.ts +142 -42
- package/src/sdk/workspaces.ts +212 -63
- package/models/components/badrequest.d.ts.map +0 -1
- package/models/components/badrequest.js.map +0 -1
- package/models/components/conflict.d.ts.map +0 -1
- package/models/components/conflict.js.map +0 -1
- package/models/components/forbidden.d.ts.map +0 -1
- package/models/components/forbidden.js.map +0 -1
- package/models/components/internalservererror.d.ts.map +0 -1
- package/models/components/internalservererror.js.map +0 -1
- package/models/components/inviteexpired.d.ts.map +0 -1
- package/models/components/inviteexpired.js.map +0 -1
- package/models/components/notfound.d.ts.map +0 -1
- package/models/components/notfound.js.map +0 -1
- package/models/components/ratelimitexceeded.d.ts.map +0 -1
- package/models/components/ratelimitexceeded.js.map +0 -1
- package/models/components/unauthorized.d.ts.map +0 -1
- package/models/components/unauthorized.js.map +0 -1
- package/models/components/unprocessableentity.d.ts.map +0 -1
- package/models/components/unprocessableentity.js.map +0 -1
- package/models/operations/getworkspaces.d.ts +0 -11
- package/models/operations/getworkspaces.d.ts.map +0 -1
- package/models/operations/getworkspaces.js +0 -60
- package/models/operations/getworkspaces.js.map +0 -1
- package/src/models/operations/getworkspaces.ts +0 -71
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import * as components from "../components";
|
|
6
5
|
import * as z from "zod";
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -52,73 +51,6 @@ export type EditDomainRequest = {
|
|
|
52
51
|
requestBody?: EditDomainRequestBody | undefined;
|
|
53
52
|
};
|
|
54
53
|
|
|
55
|
-
/**
|
|
56
|
-
* The type of redirect to use for this domain.
|
|
57
|
-
*/
|
|
58
|
-
export const EditDomainDomainsType = {
|
|
59
|
-
Redirect: "redirect",
|
|
60
|
-
Rewrite: "rewrite",
|
|
61
|
-
} as const;
|
|
62
|
-
/**
|
|
63
|
-
* The type of redirect to use for this domain.
|
|
64
|
-
*/
|
|
65
|
-
export type EditDomainDomainsType =
|
|
66
|
-
(typeof EditDomainDomainsType)[keyof typeof EditDomainDomainsType];
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* The domain was updated.
|
|
70
|
-
*/
|
|
71
|
-
export type EditDomainResponseBody = {
|
|
72
|
-
/**
|
|
73
|
-
* The domain name.
|
|
74
|
-
*/
|
|
75
|
-
slug: string;
|
|
76
|
-
/**
|
|
77
|
-
* Whether the domain is verified.
|
|
78
|
-
*/
|
|
79
|
-
verified?: boolean | undefined;
|
|
80
|
-
/**
|
|
81
|
-
* Whether the domain is the primary domain for the workspace.
|
|
82
|
-
*/
|
|
83
|
-
primary?: boolean | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* Whether the domain is archived.
|
|
86
|
-
*/
|
|
87
|
-
archived?: boolean | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.
|
|
90
|
-
*/
|
|
91
|
-
placeholder?: string | undefined;
|
|
92
|
-
/**
|
|
93
|
-
* The URL to redirect to when a link under this domain has expired.
|
|
94
|
-
*/
|
|
95
|
-
expiredUrl: string | null;
|
|
96
|
-
/**
|
|
97
|
-
* The page your users will get redirected to when they visit your domain.
|
|
98
|
-
*/
|
|
99
|
-
target: string | null;
|
|
100
|
-
/**
|
|
101
|
-
* The type of redirect to use for this domain.
|
|
102
|
-
*/
|
|
103
|
-
type: EditDomainDomainsType;
|
|
104
|
-
/**
|
|
105
|
-
* The number of clicks on the domain.
|
|
106
|
-
*/
|
|
107
|
-
clicks?: number | undefined;
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
export type EditDomainResponse =
|
|
111
|
-
| components.BadRequest
|
|
112
|
-
| components.Unauthorized
|
|
113
|
-
| components.Forbidden
|
|
114
|
-
| components.NotFound
|
|
115
|
-
| components.Conflict
|
|
116
|
-
| components.InviteExpired
|
|
117
|
-
| components.UnprocessableEntity
|
|
118
|
-
| components.RateLimitExceeded
|
|
119
|
-
| components.InternalServerError
|
|
120
|
-
| EditDomainResponseBody;
|
|
121
|
-
|
|
122
54
|
/** @internal */
|
|
123
55
|
export const EditDomainType$: z.ZodNativeEnum<typeof EditDomainType> = z.nativeEnum(EditDomainType);
|
|
124
56
|
|
|
@@ -219,137 +151,3 @@ export namespace EditDomainRequest$ {
|
|
|
219
151
|
};
|
|
220
152
|
});
|
|
221
153
|
}
|
|
222
|
-
|
|
223
|
-
/** @internal */
|
|
224
|
-
export const EditDomainDomainsType$: z.ZodNativeEnum<typeof EditDomainDomainsType> =
|
|
225
|
-
z.nativeEnum(EditDomainDomainsType);
|
|
226
|
-
|
|
227
|
-
/** @internal */
|
|
228
|
-
export namespace EditDomainResponseBody$ {
|
|
229
|
-
export type Inbound = {
|
|
230
|
-
slug: string;
|
|
231
|
-
verified?: boolean | undefined;
|
|
232
|
-
primary?: boolean | undefined;
|
|
233
|
-
archived?: boolean | undefined;
|
|
234
|
-
placeholder?: string | undefined;
|
|
235
|
-
expiredUrl: string | null;
|
|
236
|
-
target: string | null;
|
|
237
|
-
type: EditDomainDomainsType;
|
|
238
|
-
clicks?: number | undefined;
|
|
239
|
-
};
|
|
240
|
-
|
|
241
|
-
export const inboundSchema: z.ZodType<EditDomainResponseBody, z.ZodTypeDef, Inbound> = z
|
|
242
|
-
.object({
|
|
243
|
-
slug: z.string(),
|
|
244
|
-
verified: z.boolean().default(false),
|
|
245
|
-
primary: z.boolean().default(false),
|
|
246
|
-
archived: z.boolean().default(false),
|
|
247
|
-
placeholder: z.string().default("https://dub.co/help/article/what-is-dub"),
|
|
248
|
-
expiredUrl: z.nullable(z.string()),
|
|
249
|
-
target: z.nullable(z.string()),
|
|
250
|
-
type: EditDomainDomainsType$,
|
|
251
|
-
clicks: z.number().default(0),
|
|
252
|
-
})
|
|
253
|
-
.transform((v) => {
|
|
254
|
-
return {
|
|
255
|
-
slug: v.slug,
|
|
256
|
-
verified: v.verified,
|
|
257
|
-
primary: v.primary,
|
|
258
|
-
archived: v.archived,
|
|
259
|
-
placeholder: v.placeholder,
|
|
260
|
-
expiredUrl: v.expiredUrl,
|
|
261
|
-
target: v.target,
|
|
262
|
-
type: v.type,
|
|
263
|
-
clicks: v.clicks,
|
|
264
|
-
};
|
|
265
|
-
});
|
|
266
|
-
|
|
267
|
-
export type Outbound = {
|
|
268
|
-
slug: string;
|
|
269
|
-
verified: boolean;
|
|
270
|
-
primary: boolean;
|
|
271
|
-
archived: boolean;
|
|
272
|
-
placeholder: string;
|
|
273
|
-
expiredUrl: string | null;
|
|
274
|
-
target: string | null;
|
|
275
|
-
type: EditDomainDomainsType;
|
|
276
|
-
clicks: number;
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, EditDomainResponseBody> = z
|
|
280
|
-
.object({
|
|
281
|
-
slug: z.string(),
|
|
282
|
-
verified: z.boolean().default(false),
|
|
283
|
-
primary: z.boolean().default(false),
|
|
284
|
-
archived: z.boolean().default(false),
|
|
285
|
-
placeholder: z.string().default("https://dub.co/help/article/what-is-dub"),
|
|
286
|
-
expiredUrl: z.nullable(z.string()),
|
|
287
|
-
target: z.nullable(z.string()),
|
|
288
|
-
type: EditDomainDomainsType$,
|
|
289
|
-
clicks: z.number().default(0),
|
|
290
|
-
})
|
|
291
|
-
.transform((v) => {
|
|
292
|
-
return {
|
|
293
|
-
slug: v.slug,
|
|
294
|
-
verified: v.verified,
|
|
295
|
-
primary: v.primary,
|
|
296
|
-
archived: v.archived,
|
|
297
|
-
placeholder: v.placeholder,
|
|
298
|
-
expiredUrl: v.expiredUrl,
|
|
299
|
-
target: v.target,
|
|
300
|
-
type: v.type,
|
|
301
|
-
clicks: v.clicks,
|
|
302
|
-
};
|
|
303
|
-
});
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
/** @internal */
|
|
307
|
-
export namespace EditDomainResponse$ {
|
|
308
|
-
export type Inbound =
|
|
309
|
-
| components.BadRequest$.Inbound
|
|
310
|
-
| components.Unauthorized$.Inbound
|
|
311
|
-
| components.Forbidden$.Inbound
|
|
312
|
-
| components.NotFound$.Inbound
|
|
313
|
-
| components.Conflict$.Inbound
|
|
314
|
-
| components.InviteExpired$.Inbound
|
|
315
|
-
| components.UnprocessableEntity$.Inbound
|
|
316
|
-
| components.RateLimitExceeded$.Inbound
|
|
317
|
-
| components.InternalServerError$.Inbound
|
|
318
|
-
| EditDomainResponseBody$.Inbound;
|
|
319
|
-
|
|
320
|
-
export type Outbound =
|
|
321
|
-
| components.BadRequest$.Outbound
|
|
322
|
-
| components.Unauthorized$.Outbound
|
|
323
|
-
| components.Forbidden$.Outbound
|
|
324
|
-
| components.NotFound$.Outbound
|
|
325
|
-
| components.Conflict$.Outbound
|
|
326
|
-
| components.InviteExpired$.Outbound
|
|
327
|
-
| components.UnprocessableEntity$.Outbound
|
|
328
|
-
| components.RateLimitExceeded$.Outbound
|
|
329
|
-
| components.InternalServerError$.Outbound
|
|
330
|
-
| EditDomainResponseBody$.Outbound;
|
|
331
|
-
export const inboundSchema: z.ZodType<EditDomainResponse, z.ZodTypeDef, Inbound> = z.union([
|
|
332
|
-
components.BadRequest$.inboundSchema,
|
|
333
|
-
components.Unauthorized$.inboundSchema,
|
|
334
|
-
components.Forbidden$.inboundSchema,
|
|
335
|
-
components.NotFound$.inboundSchema,
|
|
336
|
-
components.Conflict$.inboundSchema,
|
|
337
|
-
components.InviteExpired$.inboundSchema,
|
|
338
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
339
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
340
|
-
components.InternalServerError$.inboundSchema,
|
|
341
|
-
z.lazy(() => EditDomainResponseBody$.inboundSchema),
|
|
342
|
-
]);
|
|
343
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, EditDomainResponse> = z.union([
|
|
344
|
-
components.BadRequest$.outboundSchema,
|
|
345
|
-
components.Unauthorized$.outboundSchema,
|
|
346
|
-
components.Forbidden$.outboundSchema,
|
|
347
|
-
components.NotFound$.outboundSchema,
|
|
348
|
-
components.Conflict$.outboundSchema,
|
|
349
|
-
components.InviteExpired$.outboundSchema,
|
|
350
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
351
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
352
|
-
components.InternalServerError$.outboundSchema,
|
|
353
|
-
z.lazy(() => EditDomainResponseBody$.outboundSchema),
|
|
354
|
-
]);
|
|
355
|
-
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import * as components from "../components";
|
|
6
5
|
import * as z from "zod";
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -10,6 +9,11 @@ import * as z from "zod";
|
|
|
10
9
|
*/
|
|
11
10
|
export type EditLinkTagIds = string | Array<string>;
|
|
12
11
|
|
|
12
|
+
/**
|
|
13
|
+
* The unique name of the tags assigned to the short link (case insensitive).
|
|
14
|
+
*/
|
|
15
|
+
export type EditLinkTagNames = string | Array<string>;
|
|
16
|
+
|
|
13
17
|
/**
|
|
14
18
|
* Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.
|
|
15
19
|
*/
|
|
@@ -301,6 +305,10 @@ export type EditLinkRequestBody = {
|
|
|
301
305
|
* The unique IDs of the tags assigned to the short link.
|
|
302
306
|
*/
|
|
303
307
|
tagIds?: string | Array<string> | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* The unique name of the tags assigned to the short link (case insensitive).
|
|
310
|
+
*/
|
|
311
|
+
tagNames?: string | Array<string> | undefined;
|
|
304
312
|
/**
|
|
305
313
|
* The comments for the short link.
|
|
306
314
|
*/
|
|
@@ -359,18 +367,6 @@ export type EditLinkRequest = {
|
|
|
359
367
|
requestBody?: EditLinkRequestBody | undefined;
|
|
360
368
|
};
|
|
361
369
|
|
|
362
|
-
export type EditLinkResponse =
|
|
363
|
-
| components.BadRequest
|
|
364
|
-
| components.Unauthorized
|
|
365
|
-
| components.Forbidden
|
|
366
|
-
| components.NotFound
|
|
367
|
-
| components.Conflict
|
|
368
|
-
| components.InviteExpired
|
|
369
|
-
| components.UnprocessableEntity
|
|
370
|
-
| components.RateLimitExceeded
|
|
371
|
-
| components.InternalServerError
|
|
372
|
-
| components.LinkSchema;
|
|
373
|
-
|
|
374
370
|
/** @internal */
|
|
375
371
|
export namespace EditLinkTagIds$ {
|
|
376
372
|
export type Inbound = string | Array<string>;
|
|
@@ -386,6 +382,21 @@ export namespace EditLinkTagIds$ {
|
|
|
386
382
|
]);
|
|
387
383
|
}
|
|
388
384
|
|
|
385
|
+
/** @internal */
|
|
386
|
+
export namespace EditLinkTagNames$ {
|
|
387
|
+
export type Inbound = string | Array<string>;
|
|
388
|
+
|
|
389
|
+
export type Outbound = string | Array<string>;
|
|
390
|
+
export const inboundSchema: z.ZodType<EditLinkTagNames, z.ZodTypeDef, Inbound> = z.union([
|
|
391
|
+
z.string(),
|
|
392
|
+
z.array(z.string()),
|
|
393
|
+
]);
|
|
394
|
+
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, EditLinkTagNames> = z.union([
|
|
395
|
+
z.string(),
|
|
396
|
+
z.array(z.string()),
|
|
397
|
+
]);
|
|
398
|
+
}
|
|
399
|
+
|
|
389
400
|
/** @internal */
|
|
390
401
|
export namespace EditLinkGeo$ {
|
|
391
402
|
export type Inbound = {
|
|
@@ -1922,6 +1933,7 @@ export namespace EditLinkRequestBody$ {
|
|
|
1922
1933
|
publicStats?: boolean | undefined;
|
|
1923
1934
|
tagId?: string | null | undefined;
|
|
1924
1935
|
tagIds?: string | Array<string> | undefined;
|
|
1936
|
+
tagNames?: string | Array<string> | undefined;
|
|
1925
1937
|
comments?: string | null | undefined;
|
|
1926
1938
|
expiresAt?: string | null | undefined;
|
|
1927
1939
|
expiredUrl?: string | null | undefined;
|
|
@@ -1946,6 +1958,7 @@ export namespace EditLinkRequestBody$ {
|
|
|
1946
1958
|
publicStats: z.boolean().default(false),
|
|
1947
1959
|
tagId: z.nullable(z.string()).optional(),
|
|
1948
1960
|
tagIds: z.union([z.string(), z.array(z.string())]).optional(),
|
|
1961
|
+
tagNames: z.union([z.string(), z.array(z.string())]).optional(),
|
|
1949
1962
|
comments: z.nullable(z.string()).optional(),
|
|
1950
1963
|
expiresAt: z.nullable(z.string()).optional(),
|
|
1951
1964
|
expiredUrl: z.nullable(z.string()).optional(),
|
|
@@ -1969,6 +1982,7 @@ export namespace EditLinkRequestBody$ {
|
|
|
1969
1982
|
publicStats: v.publicStats,
|
|
1970
1983
|
...(v.tagId === undefined ? null : { tagId: v.tagId }),
|
|
1971
1984
|
...(v.tagIds === undefined ? null : { tagIds: v.tagIds }),
|
|
1985
|
+
...(v.tagNames === undefined ? null : { tagNames: v.tagNames }),
|
|
1972
1986
|
...(v.comments === undefined ? null : { comments: v.comments }),
|
|
1973
1987
|
...(v.expiresAt === undefined ? null : { expiresAt: v.expiresAt }),
|
|
1974
1988
|
...(v.expiredUrl === undefined ? null : { expiredUrl: v.expiredUrl }),
|
|
@@ -1993,6 +2007,7 @@ export namespace EditLinkRequestBody$ {
|
|
|
1993
2007
|
publicStats: boolean;
|
|
1994
2008
|
tagId?: string | null | undefined;
|
|
1995
2009
|
tagIds?: string | Array<string> | undefined;
|
|
2010
|
+
tagNames?: string | Array<string> | undefined;
|
|
1996
2011
|
comments?: string | null | undefined;
|
|
1997
2012
|
expiresAt?: string | null | undefined;
|
|
1998
2013
|
expiredUrl?: string | null | undefined;
|
|
@@ -2017,6 +2032,7 @@ export namespace EditLinkRequestBody$ {
|
|
|
2017
2032
|
publicStats: z.boolean().default(false),
|
|
2018
2033
|
tagId: z.nullable(z.string()).optional(),
|
|
2019
2034
|
tagIds: z.union([z.string(), z.array(z.string())]).optional(),
|
|
2035
|
+
tagNames: z.union([z.string(), z.array(z.string())]).optional(),
|
|
2020
2036
|
comments: z.nullable(z.string()).optional(),
|
|
2021
2037
|
expiresAt: z.nullable(z.string()).optional(),
|
|
2022
2038
|
expiredUrl: z.nullable(z.string()).optional(),
|
|
@@ -2040,6 +2056,7 @@ export namespace EditLinkRequestBody$ {
|
|
|
2040
2056
|
publicStats: v.publicStats,
|
|
2041
2057
|
...(v.tagId === undefined ? null : { tagId: v.tagId }),
|
|
2042
2058
|
...(v.tagIds === undefined ? null : { tagIds: v.tagIds }),
|
|
2059
|
+
...(v.tagNames === undefined ? null : { tagNames: v.tagNames }),
|
|
2043
2060
|
...(v.comments === undefined ? null : { comments: v.comments }),
|
|
2044
2061
|
...(v.expiresAt === undefined ? null : { expiresAt: v.expiresAt }),
|
|
2045
2062
|
...(v.expiredUrl === undefined ? null : { expiredUrl: v.expiredUrl }),
|
|
@@ -2092,54 +2109,3 @@ export namespace EditLinkRequest$ {
|
|
|
2092
2109
|
};
|
|
2093
2110
|
});
|
|
2094
2111
|
}
|
|
2095
|
-
|
|
2096
|
-
/** @internal */
|
|
2097
|
-
export namespace EditLinkResponse$ {
|
|
2098
|
-
export type Inbound =
|
|
2099
|
-
| components.BadRequest$.Inbound
|
|
2100
|
-
| components.Unauthorized$.Inbound
|
|
2101
|
-
| components.Forbidden$.Inbound
|
|
2102
|
-
| components.NotFound$.Inbound
|
|
2103
|
-
| components.Conflict$.Inbound
|
|
2104
|
-
| components.InviteExpired$.Inbound
|
|
2105
|
-
| components.UnprocessableEntity$.Inbound
|
|
2106
|
-
| components.RateLimitExceeded$.Inbound
|
|
2107
|
-
| components.InternalServerError$.Inbound
|
|
2108
|
-
| components.LinkSchema$.Inbound;
|
|
2109
|
-
|
|
2110
|
-
export type Outbound =
|
|
2111
|
-
| components.BadRequest$.Outbound
|
|
2112
|
-
| components.Unauthorized$.Outbound
|
|
2113
|
-
| components.Forbidden$.Outbound
|
|
2114
|
-
| components.NotFound$.Outbound
|
|
2115
|
-
| components.Conflict$.Outbound
|
|
2116
|
-
| components.InviteExpired$.Outbound
|
|
2117
|
-
| components.UnprocessableEntity$.Outbound
|
|
2118
|
-
| components.RateLimitExceeded$.Outbound
|
|
2119
|
-
| components.InternalServerError$.Outbound
|
|
2120
|
-
| components.LinkSchema$.Outbound;
|
|
2121
|
-
export const inboundSchema: z.ZodType<EditLinkResponse, z.ZodTypeDef, Inbound> = z.union([
|
|
2122
|
-
components.BadRequest$.inboundSchema,
|
|
2123
|
-
components.Unauthorized$.inboundSchema,
|
|
2124
|
-
components.Forbidden$.inboundSchema,
|
|
2125
|
-
components.NotFound$.inboundSchema,
|
|
2126
|
-
components.Conflict$.inboundSchema,
|
|
2127
|
-
components.InviteExpired$.inboundSchema,
|
|
2128
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
2129
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
2130
|
-
components.InternalServerError$.inboundSchema,
|
|
2131
|
-
components.LinkSchema$.inboundSchema,
|
|
2132
|
-
]);
|
|
2133
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, EditLinkResponse> = z.union([
|
|
2134
|
-
components.BadRequest$.outboundSchema,
|
|
2135
|
-
components.Unauthorized$.outboundSchema,
|
|
2136
|
-
components.Forbidden$.outboundSchema,
|
|
2137
|
-
components.NotFound$.outboundSchema,
|
|
2138
|
-
components.Conflict$.outboundSchema,
|
|
2139
|
-
components.InviteExpired$.outboundSchema,
|
|
2140
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
2141
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
2142
|
-
components.InternalServerError$.outboundSchema,
|
|
2143
|
-
components.LinkSchema$.outboundSchema,
|
|
2144
|
-
]);
|
|
2145
|
-
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import * as components from "../components";
|
|
6
5
|
import * as z from "zod";
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -349,18 +348,6 @@ export type GetBrowserAnalyticsResponseBody = {
|
|
|
349
348
|
clicks: number;
|
|
350
349
|
};
|
|
351
350
|
|
|
352
|
-
export type GetBrowserAnalyticsResponse =
|
|
353
|
-
| components.BadRequest
|
|
354
|
-
| components.Unauthorized
|
|
355
|
-
| components.Forbidden
|
|
356
|
-
| components.NotFound
|
|
357
|
-
| components.Conflict
|
|
358
|
-
| components.InviteExpired
|
|
359
|
-
| components.UnprocessableEntity
|
|
360
|
-
| components.RateLimitExceeded
|
|
361
|
-
| components.InternalServerError
|
|
362
|
-
| Array<GetBrowserAnalyticsResponseBody>;
|
|
363
|
-
|
|
364
351
|
/** @internal */
|
|
365
352
|
export const GetBrowserAnalyticsQueryParamInterval$: z.ZodNativeEnum<
|
|
366
353
|
typeof GetBrowserAnalyticsQueryParamInterval
|
|
@@ -515,56 +502,3 @@ export namespace GetBrowserAnalyticsResponseBody$ {
|
|
|
515
502
|
};
|
|
516
503
|
});
|
|
517
504
|
}
|
|
518
|
-
|
|
519
|
-
/** @internal */
|
|
520
|
-
export namespace GetBrowserAnalyticsResponse$ {
|
|
521
|
-
export type Inbound =
|
|
522
|
-
| components.BadRequest$.Inbound
|
|
523
|
-
| components.Unauthorized$.Inbound
|
|
524
|
-
| components.Forbidden$.Inbound
|
|
525
|
-
| components.NotFound$.Inbound
|
|
526
|
-
| components.Conflict$.Inbound
|
|
527
|
-
| components.InviteExpired$.Inbound
|
|
528
|
-
| components.UnprocessableEntity$.Inbound
|
|
529
|
-
| components.RateLimitExceeded$.Inbound
|
|
530
|
-
| components.InternalServerError$.Inbound
|
|
531
|
-
| Array<GetBrowserAnalyticsResponseBody$.Inbound>;
|
|
532
|
-
|
|
533
|
-
export type Outbound =
|
|
534
|
-
| components.BadRequest$.Outbound
|
|
535
|
-
| components.Unauthorized$.Outbound
|
|
536
|
-
| components.Forbidden$.Outbound
|
|
537
|
-
| components.NotFound$.Outbound
|
|
538
|
-
| components.Conflict$.Outbound
|
|
539
|
-
| components.InviteExpired$.Outbound
|
|
540
|
-
| components.UnprocessableEntity$.Outbound
|
|
541
|
-
| components.RateLimitExceeded$.Outbound
|
|
542
|
-
| components.InternalServerError$.Outbound
|
|
543
|
-
| Array<GetBrowserAnalyticsResponseBody$.Outbound>;
|
|
544
|
-
export const inboundSchema: z.ZodType<GetBrowserAnalyticsResponse, z.ZodTypeDef, Inbound> =
|
|
545
|
-
z.union([
|
|
546
|
-
components.BadRequest$.inboundSchema,
|
|
547
|
-
components.Unauthorized$.inboundSchema,
|
|
548
|
-
components.Forbidden$.inboundSchema,
|
|
549
|
-
components.NotFound$.inboundSchema,
|
|
550
|
-
components.Conflict$.inboundSchema,
|
|
551
|
-
components.InviteExpired$.inboundSchema,
|
|
552
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
553
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
554
|
-
components.InternalServerError$.inboundSchema,
|
|
555
|
-
z.array(z.lazy(() => GetBrowserAnalyticsResponseBody$.inboundSchema)),
|
|
556
|
-
]);
|
|
557
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetBrowserAnalyticsResponse> =
|
|
558
|
-
z.union([
|
|
559
|
-
components.BadRequest$.outboundSchema,
|
|
560
|
-
components.Unauthorized$.outboundSchema,
|
|
561
|
-
components.Forbidden$.outboundSchema,
|
|
562
|
-
components.NotFound$.outboundSchema,
|
|
563
|
-
components.Conflict$.outboundSchema,
|
|
564
|
-
components.InviteExpired$.outboundSchema,
|
|
565
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
566
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
567
|
-
components.InternalServerError$.outboundSchema,
|
|
568
|
-
z.array(z.lazy(() => GetBrowserAnalyticsResponseBody$.outboundSchema)),
|
|
569
|
-
]);
|
|
570
|
-
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import * as components from "../components";
|
|
6
5
|
import * as z from "zod";
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -614,18 +613,6 @@ export type GetCityAnalyticsResponseBody = {
|
|
|
614
613
|
clicks: number;
|
|
615
614
|
};
|
|
616
615
|
|
|
617
|
-
export type GetCityAnalyticsResponse =
|
|
618
|
-
| components.BadRequest
|
|
619
|
-
| components.Unauthorized
|
|
620
|
-
| components.Forbidden
|
|
621
|
-
| components.NotFound
|
|
622
|
-
| components.Conflict
|
|
623
|
-
| components.InviteExpired
|
|
624
|
-
| components.UnprocessableEntity
|
|
625
|
-
| components.RateLimitExceeded
|
|
626
|
-
| components.InternalServerError
|
|
627
|
-
| Array<GetCityAnalyticsResponseBody>;
|
|
628
|
-
|
|
629
616
|
/** @internal */
|
|
630
617
|
export const GetCityAnalyticsQueryParamInterval$: z.ZodNativeEnum<
|
|
631
618
|
typeof GetCityAnalyticsQueryParamInterval
|
|
@@ -785,56 +772,3 @@ export namespace GetCityAnalyticsResponseBody$ {
|
|
|
785
772
|
};
|
|
786
773
|
});
|
|
787
774
|
}
|
|
788
|
-
|
|
789
|
-
/** @internal */
|
|
790
|
-
export namespace GetCityAnalyticsResponse$ {
|
|
791
|
-
export type Inbound =
|
|
792
|
-
| components.BadRequest$.Inbound
|
|
793
|
-
| components.Unauthorized$.Inbound
|
|
794
|
-
| components.Forbidden$.Inbound
|
|
795
|
-
| components.NotFound$.Inbound
|
|
796
|
-
| components.Conflict$.Inbound
|
|
797
|
-
| components.InviteExpired$.Inbound
|
|
798
|
-
| components.UnprocessableEntity$.Inbound
|
|
799
|
-
| components.RateLimitExceeded$.Inbound
|
|
800
|
-
| components.InternalServerError$.Inbound
|
|
801
|
-
| Array<GetCityAnalyticsResponseBody$.Inbound>;
|
|
802
|
-
|
|
803
|
-
export type Outbound =
|
|
804
|
-
| components.BadRequest$.Outbound
|
|
805
|
-
| components.Unauthorized$.Outbound
|
|
806
|
-
| components.Forbidden$.Outbound
|
|
807
|
-
| components.NotFound$.Outbound
|
|
808
|
-
| components.Conflict$.Outbound
|
|
809
|
-
| components.InviteExpired$.Outbound
|
|
810
|
-
| components.UnprocessableEntity$.Outbound
|
|
811
|
-
| components.RateLimitExceeded$.Outbound
|
|
812
|
-
| components.InternalServerError$.Outbound
|
|
813
|
-
| Array<GetCityAnalyticsResponseBody$.Outbound>;
|
|
814
|
-
export const inboundSchema: z.ZodType<GetCityAnalyticsResponse, z.ZodTypeDef, Inbound> =
|
|
815
|
-
z.union([
|
|
816
|
-
components.BadRequest$.inboundSchema,
|
|
817
|
-
components.Unauthorized$.inboundSchema,
|
|
818
|
-
components.Forbidden$.inboundSchema,
|
|
819
|
-
components.NotFound$.inboundSchema,
|
|
820
|
-
components.Conflict$.inboundSchema,
|
|
821
|
-
components.InviteExpired$.inboundSchema,
|
|
822
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
823
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
824
|
-
components.InternalServerError$.inboundSchema,
|
|
825
|
-
z.array(z.lazy(() => GetCityAnalyticsResponseBody$.inboundSchema)),
|
|
826
|
-
]);
|
|
827
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetCityAnalyticsResponse> =
|
|
828
|
-
z.union([
|
|
829
|
-
components.BadRequest$.outboundSchema,
|
|
830
|
-
components.Unauthorized$.outboundSchema,
|
|
831
|
-
components.Forbidden$.outboundSchema,
|
|
832
|
-
components.NotFound$.outboundSchema,
|
|
833
|
-
components.Conflict$.outboundSchema,
|
|
834
|
-
components.InviteExpired$.outboundSchema,
|
|
835
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
836
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
837
|
-
components.InternalServerError$.outboundSchema,
|
|
838
|
-
z.array(z.lazy(() => GetCityAnalyticsResponseBody$.outboundSchema)),
|
|
839
|
-
]);
|
|
840
|
-
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import * as components from "../components";
|
|
6
5
|
import * as z from "zod";
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -336,18 +335,6 @@ export type GetClicksAnalyticsRequest = {
|
|
|
336
335
|
root?: boolean | undefined;
|
|
337
336
|
};
|
|
338
337
|
|
|
339
|
-
export type GetClicksAnalyticsResponse =
|
|
340
|
-
| components.BadRequest
|
|
341
|
-
| components.Unauthorized
|
|
342
|
-
| components.Forbidden
|
|
343
|
-
| components.NotFound
|
|
344
|
-
| components.Conflict
|
|
345
|
-
| components.InviteExpired
|
|
346
|
-
| components.UnprocessableEntity
|
|
347
|
-
| components.RateLimitExceeded
|
|
348
|
-
| components.InternalServerError
|
|
349
|
-
| number;
|
|
350
|
-
|
|
351
338
|
/** @internal */
|
|
352
339
|
export const Interval$: z.ZodNativeEnum<typeof Interval> = z.nativeEnum(Interval);
|
|
353
340
|
|
|
@@ -456,56 +443,3 @@ export namespace GetClicksAnalyticsRequest$ {
|
|
|
456
443
|
};
|
|
457
444
|
});
|
|
458
445
|
}
|
|
459
|
-
|
|
460
|
-
/** @internal */
|
|
461
|
-
export namespace GetClicksAnalyticsResponse$ {
|
|
462
|
-
export type Inbound =
|
|
463
|
-
| components.BadRequest$.Inbound
|
|
464
|
-
| components.Unauthorized$.Inbound
|
|
465
|
-
| components.Forbidden$.Inbound
|
|
466
|
-
| components.NotFound$.Inbound
|
|
467
|
-
| components.Conflict$.Inbound
|
|
468
|
-
| components.InviteExpired$.Inbound
|
|
469
|
-
| components.UnprocessableEntity$.Inbound
|
|
470
|
-
| components.RateLimitExceeded$.Inbound
|
|
471
|
-
| components.InternalServerError$.Inbound
|
|
472
|
-
| number;
|
|
473
|
-
|
|
474
|
-
export type Outbound =
|
|
475
|
-
| components.BadRequest$.Outbound
|
|
476
|
-
| components.Unauthorized$.Outbound
|
|
477
|
-
| components.Forbidden$.Outbound
|
|
478
|
-
| components.NotFound$.Outbound
|
|
479
|
-
| components.Conflict$.Outbound
|
|
480
|
-
| components.InviteExpired$.Outbound
|
|
481
|
-
| components.UnprocessableEntity$.Outbound
|
|
482
|
-
| components.RateLimitExceeded$.Outbound
|
|
483
|
-
| components.InternalServerError$.Outbound
|
|
484
|
-
| number;
|
|
485
|
-
export const inboundSchema: z.ZodType<GetClicksAnalyticsResponse, z.ZodTypeDef, Inbound> =
|
|
486
|
-
z.union([
|
|
487
|
-
components.BadRequest$.inboundSchema,
|
|
488
|
-
components.Unauthorized$.inboundSchema,
|
|
489
|
-
components.Forbidden$.inboundSchema,
|
|
490
|
-
components.NotFound$.inboundSchema,
|
|
491
|
-
components.Conflict$.inboundSchema,
|
|
492
|
-
components.InviteExpired$.inboundSchema,
|
|
493
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
494
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
495
|
-
components.InternalServerError$.inboundSchema,
|
|
496
|
-
z.number(),
|
|
497
|
-
]);
|
|
498
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetClicksAnalyticsResponse> =
|
|
499
|
-
z.union([
|
|
500
|
-
components.BadRequest$.outboundSchema,
|
|
501
|
-
components.Unauthorized$.outboundSchema,
|
|
502
|
-
components.Forbidden$.outboundSchema,
|
|
503
|
-
components.NotFound$.outboundSchema,
|
|
504
|
-
components.Conflict$.outboundSchema,
|
|
505
|
-
components.InviteExpired$.outboundSchema,
|
|
506
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
507
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
508
|
-
components.InternalServerError$.outboundSchema,
|
|
509
|
-
z.number(),
|
|
510
|
-
]);
|
|
511
|
-
}
|