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
|
/**
|
|
@@ -10,6 +9,11 @@ import * as z from "zod";
|
|
|
10
9
|
*/
|
|
11
10
|
export type TagIds = string | Array<string>;
|
|
12
11
|
|
|
12
|
+
/**
|
|
13
|
+
* The unique name of the tags assigned to the short link (case insensitive).
|
|
14
|
+
*/
|
|
15
|
+
export type TagNames = 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 CreateLinkRequestBody = {
|
|
|
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
|
*/
|
|
@@ -351,18 +359,6 @@ export type CreateLinkRequestBody = {
|
|
|
351
359
|
geo?: Geo | null | undefined;
|
|
352
360
|
};
|
|
353
361
|
|
|
354
|
-
export type CreateLinkResponse =
|
|
355
|
-
| components.BadRequest
|
|
356
|
-
| components.Unauthorized
|
|
357
|
-
| components.Forbidden
|
|
358
|
-
| components.NotFound
|
|
359
|
-
| components.Conflict
|
|
360
|
-
| components.InviteExpired
|
|
361
|
-
| components.UnprocessableEntity
|
|
362
|
-
| components.RateLimitExceeded
|
|
363
|
-
| components.InternalServerError
|
|
364
|
-
| components.LinkSchema;
|
|
365
|
-
|
|
366
362
|
/** @internal */
|
|
367
363
|
export namespace TagIds$ {
|
|
368
364
|
export type Inbound = string | Array<string>;
|
|
@@ -378,6 +374,21 @@ export namespace TagIds$ {
|
|
|
378
374
|
]);
|
|
379
375
|
}
|
|
380
376
|
|
|
377
|
+
/** @internal */
|
|
378
|
+
export namespace TagNames$ {
|
|
379
|
+
export type Inbound = string | Array<string>;
|
|
380
|
+
|
|
381
|
+
export type Outbound = string | Array<string>;
|
|
382
|
+
export const inboundSchema: z.ZodType<TagNames, z.ZodTypeDef, Inbound> = z.union([
|
|
383
|
+
z.string(),
|
|
384
|
+
z.array(z.string()),
|
|
385
|
+
]);
|
|
386
|
+
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, TagNames> = z.union([
|
|
387
|
+
z.string(),
|
|
388
|
+
z.array(z.string()),
|
|
389
|
+
]);
|
|
390
|
+
}
|
|
391
|
+
|
|
381
392
|
/** @internal */
|
|
382
393
|
export namespace Geo$ {
|
|
383
394
|
export type Inbound = {
|
|
@@ -1914,6 +1925,7 @@ export namespace CreateLinkRequestBody$ {
|
|
|
1914
1925
|
publicStats?: boolean | undefined;
|
|
1915
1926
|
tagId?: string | null | undefined;
|
|
1916
1927
|
tagIds?: string | Array<string> | undefined;
|
|
1928
|
+
tagNames?: string | Array<string> | undefined;
|
|
1917
1929
|
comments?: string | null | undefined;
|
|
1918
1930
|
expiresAt?: string | null | undefined;
|
|
1919
1931
|
expiredUrl?: string | null | undefined;
|
|
@@ -1938,6 +1950,7 @@ export namespace CreateLinkRequestBody$ {
|
|
|
1938
1950
|
publicStats: z.boolean().default(false),
|
|
1939
1951
|
tagId: z.nullable(z.string()).optional(),
|
|
1940
1952
|
tagIds: z.union([z.string(), z.array(z.string())]).optional(),
|
|
1953
|
+
tagNames: z.union([z.string(), z.array(z.string())]).optional(),
|
|
1941
1954
|
comments: z.nullable(z.string()).optional(),
|
|
1942
1955
|
expiresAt: z.nullable(z.string()).optional(),
|
|
1943
1956
|
expiredUrl: z.nullable(z.string()).optional(),
|
|
@@ -1961,6 +1974,7 @@ export namespace CreateLinkRequestBody$ {
|
|
|
1961
1974
|
publicStats: v.publicStats,
|
|
1962
1975
|
...(v.tagId === undefined ? null : { tagId: v.tagId }),
|
|
1963
1976
|
...(v.tagIds === undefined ? null : { tagIds: v.tagIds }),
|
|
1977
|
+
...(v.tagNames === undefined ? null : { tagNames: v.tagNames }),
|
|
1964
1978
|
...(v.comments === undefined ? null : { comments: v.comments }),
|
|
1965
1979
|
...(v.expiresAt === undefined ? null : { expiresAt: v.expiresAt }),
|
|
1966
1980
|
...(v.expiredUrl === undefined ? null : { expiredUrl: v.expiredUrl }),
|
|
@@ -1985,6 +1999,7 @@ export namespace CreateLinkRequestBody$ {
|
|
|
1985
1999
|
publicStats: boolean;
|
|
1986
2000
|
tagId?: string | null | undefined;
|
|
1987
2001
|
tagIds?: string | Array<string> | undefined;
|
|
2002
|
+
tagNames?: string | Array<string> | undefined;
|
|
1988
2003
|
comments?: string | null | undefined;
|
|
1989
2004
|
expiresAt?: string | null | undefined;
|
|
1990
2005
|
expiredUrl?: string | null | undefined;
|
|
@@ -2009,6 +2024,7 @@ export namespace CreateLinkRequestBody$ {
|
|
|
2009
2024
|
publicStats: z.boolean().default(false),
|
|
2010
2025
|
tagId: z.nullable(z.string()).optional(),
|
|
2011
2026
|
tagIds: z.union([z.string(), z.array(z.string())]).optional(),
|
|
2027
|
+
tagNames: z.union([z.string(), z.array(z.string())]).optional(),
|
|
2012
2028
|
comments: z.nullable(z.string()).optional(),
|
|
2013
2029
|
expiresAt: z.nullable(z.string()).optional(),
|
|
2014
2030
|
expiredUrl: z.nullable(z.string()).optional(),
|
|
@@ -2032,6 +2048,7 @@ export namespace CreateLinkRequestBody$ {
|
|
|
2032
2048
|
publicStats: v.publicStats,
|
|
2033
2049
|
...(v.tagId === undefined ? null : { tagId: v.tagId }),
|
|
2034
2050
|
...(v.tagIds === undefined ? null : { tagIds: v.tagIds }),
|
|
2051
|
+
...(v.tagNames === undefined ? null : { tagNames: v.tagNames }),
|
|
2035
2052
|
...(v.comments === undefined ? null : { comments: v.comments }),
|
|
2036
2053
|
...(v.expiresAt === undefined ? null : { expiresAt: v.expiresAt }),
|
|
2037
2054
|
...(v.expiredUrl === undefined ? null : { expiredUrl: v.expiredUrl }),
|
|
@@ -2047,54 +2064,3 @@ export namespace CreateLinkRequestBody$ {
|
|
|
2047
2064
|
};
|
|
2048
2065
|
});
|
|
2049
2066
|
}
|
|
2050
|
-
|
|
2051
|
-
/** @internal */
|
|
2052
|
-
export namespace CreateLinkResponse$ {
|
|
2053
|
-
export type Inbound =
|
|
2054
|
-
| components.BadRequest$.Inbound
|
|
2055
|
-
| components.Unauthorized$.Inbound
|
|
2056
|
-
| components.Forbidden$.Inbound
|
|
2057
|
-
| components.NotFound$.Inbound
|
|
2058
|
-
| components.Conflict$.Inbound
|
|
2059
|
-
| components.InviteExpired$.Inbound
|
|
2060
|
-
| components.UnprocessableEntity$.Inbound
|
|
2061
|
-
| components.RateLimitExceeded$.Inbound
|
|
2062
|
-
| components.InternalServerError$.Inbound
|
|
2063
|
-
| components.LinkSchema$.Inbound;
|
|
2064
|
-
|
|
2065
|
-
export type Outbound =
|
|
2066
|
-
| components.BadRequest$.Outbound
|
|
2067
|
-
| components.Unauthorized$.Outbound
|
|
2068
|
-
| components.Forbidden$.Outbound
|
|
2069
|
-
| components.NotFound$.Outbound
|
|
2070
|
-
| components.Conflict$.Outbound
|
|
2071
|
-
| components.InviteExpired$.Outbound
|
|
2072
|
-
| components.UnprocessableEntity$.Outbound
|
|
2073
|
-
| components.RateLimitExceeded$.Outbound
|
|
2074
|
-
| components.InternalServerError$.Outbound
|
|
2075
|
-
| components.LinkSchema$.Outbound;
|
|
2076
|
-
export const inboundSchema: z.ZodType<CreateLinkResponse, z.ZodTypeDef, Inbound> = z.union([
|
|
2077
|
-
components.BadRequest$.inboundSchema,
|
|
2078
|
-
components.Unauthorized$.inboundSchema,
|
|
2079
|
-
components.Forbidden$.inboundSchema,
|
|
2080
|
-
components.NotFound$.inboundSchema,
|
|
2081
|
-
components.Conflict$.inboundSchema,
|
|
2082
|
-
components.InviteExpired$.inboundSchema,
|
|
2083
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
2084
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
2085
|
-
components.InternalServerError$.inboundSchema,
|
|
2086
|
-
components.LinkSchema$.inboundSchema,
|
|
2087
|
-
]);
|
|
2088
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, CreateLinkResponse> = z.union([
|
|
2089
|
-
components.BadRequest$.outboundSchema,
|
|
2090
|
-
components.Unauthorized$.outboundSchema,
|
|
2091
|
-
components.Forbidden$.outboundSchema,
|
|
2092
|
-
components.NotFound$.outboundSchema,
|
|
2093
|
-
components.Conflict$.outboundSchema,
|
|
2094
|
-
components.InviteExpired$.outboundSchema,
|
|
2095
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
2096
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
2097
|
-
components.InternalServerError$.outboundSchema,
|
|
2098
|
-
components.LinkSchema$.outboundSchema,
|
|
2099
|
-
]);
|
|
2100
|
-
}
|
|
@@ -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
|
/**
|
|
@@ -33,18 +32,6 @@ export type CreateTagRequestBody = {
|
|
|
33
32
|
color?: Color | undefined;
|
|
34
33
|
};
|
|
35
34
|
|
|
36
|
-
export type CreateTagResponse =
|
|
37
|
-
| components.BadRequest
|
|
38
|
-
| components.Unauthorized
|
|
39
|
-
| components.Forbidden
|
|
40
|
-
| components.NotFound
|
|
41
|
-
| components.Conflict
|
|
42
|
-
| components.InviteExpired
|
|
43
|
-
| components.UnprocessableEntity
|
|
44
|
-
| components.RateLimitExceeded
|
|
45
|
-
| components.InternalServerError
|
|
46
|
-
| components.TagSchema;
|
|
47
|
-
|
|
48
35
|
/** @internal */
|
|
49
36
|
export const Color$: z.ZodNativeEnum<typeof Color> = z.nativeEnum(Color);
|
|
50
37
|
|
|
@@ -84,54 +71,3 @@ export namespace CreateTagRequestBody$ {
|
|
|
84
71
|
};
|
|
85
72
|
});
|
|
86
73
|
}
|
|
87
|
-
|
|
88
|
-
/** @internal */
|
|
89
|
-
export namespace CreateTagResponse$ {
|
|
90
|
-
export type Inbound =
|
|
91
|
-
| components.BadRequest$.Inbound
|
|
92
|
-
| components.Unauthorized$.Inbound
|
|
93
|
-
| components.Forbidden$.Inbound
|
|
94
|
-
| components.NotFound$.Inbound
|
|
95
|
-
| components.Conflict$.Inbound
|
|
96
|
-
| components.InviteExpired$.Inbound
|
|
97
|
-
| components.UnprocessableEntity$.Inbound
|
|
98
|
-
| components.RateLimitExceeded$.Inbound
|
|
99
|
-
| components.InternalServerError$.Inbound
|
|
100
|
-
| components.TagSchema$.Inbound;
|
|
101
|
-
|
|
102
|
-
export type Outbound =
|
|
103
|
-
| components.BadRequest$.Outbound
|
|
104
|
-
| components.Unauthorized$.Outbound
|
|
105
|
-
| components.Forbidden$.Outbound
|
|
106
|
-
| components.NotFound$.Outbound
|
|
107
|
-
| components.Conflict$.Outbound
|
|
108
|
-
| components.InviteExpired$.Outbound
|
|
109
|
-
| components.UnprocessableEntity$.Outbound
|
|
110
|
-
| components.RateLimitExceeded$.Outbound
|
|
111
|
-
| components.InternalServerError$.Outbound
|
|
112
|
-
| components.TagSchema$.Outbound;
|
|
113
|
-
export const inboundSchema: z.ZodType<CreateTagResponse, z.ZodTypeDef, Inbound> = z.union([
|
|
114
|
-
components.BadRequest$.inboundSchema,
|
|
115
|
-
components.Unauthorized$.inboundSchema,
|
|
116
|
-
components.Forbidden$.inboundSchema,
|
|
117
|
-
components.NotFound$.inboundSchema,
|
|
118
|
-
components.Conflict$.inboundSchema,
|
|
119
|
-
components.InviteExpired$.inboundSchema,
|
|
120
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
121
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
122
|
-
components.InternalServerError$.inboundSchema,
|
|
123
|
-
components.TagSchema$.inboundSchema,
|
|
124
|
-
]);
|
|
125
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, CreateTagResponse> = z.union([
|
|
126
|
-
components.BadRequest$.outboundSchema,
|
|
127
|
-
components.Unauthorized$.outboundSchema,
|
|
128
|
-
components.Forbidden$.outboundSchema,
|
|
129
|
-
components.NotFound$.outboundSchema,
|
|
130
|
-
components.Conflict$.outboundSchema,
|
|
131
|
-
components.InviteExpired$.outboundSchema,
|
|
132
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
133
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
134
|
-
components.InternalServerError$.outboundSchema,
|
|
135
|
-
components.TagSchema$.outboundSchema,
|
|
136
|
-
]);
|
|
137
|
-
}
|
|
@@ -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
|
export type CreateWorkspaceRequestBody = {
|
|
@@ -11,18 +10,6 @@ export type CreateWorkspaceRequestBody = {
|
|
|
11
10
|
domain?: string | undefined;
|
|
12
11
|
};
|
|
13
12
|
|
|
14
|
-
export type CreateWorkspaceResponse =
|
|
15
|
-
| components.BadRequest
|
|
16
|
-
| components.Unauthorized
|
|
17
|
-
| components.Forbidden
|
|
18
|
-
| components.NotFound
|
|
19
|
-
| components.Conflict
|
|
20
|
-
| components.InviteExpired
|
|
21
|
-
| components.UnprocessableEntity
|
|
22
|
-
| components.RateLimitExceeded
|
|
23
|
-
| components.InternalServerError
|
|
24
|
-
| components.WorkspaceSchema;
|
|
25
|
-
|
|
26
13
|
/** @internal */
|
|
27
14
|
export namespace CreateWorkspaceRequestBody$ {
|
|
28
15
|
export type Inbound = {
|
|
@@ -65,57 +52,3 @@ export namespace CreateWorkspaceRequestBody$ {
|
|
|
65
52
|
};
|
|
66
53
|
});
|
|
67
54
|
}
|
|
68
|
-
|
|
69
|
-
/** @internal */
|
|
70
|
-
export namespace CreateWorkspaceResponse$ {
|
|
71
|
-
export type Inbound =
|
|
72
|
-
| components.BadRequest$.Inbound
|
|
73
|
-
| components.Unauthorized$.Inbound
|
|
74
|
-
| components.Forbidden$.Inbound
|
|
75
|
-
| components.NotFound$.Inbound
|
|
76
|
-
| components.Conflict$.Inbound
|
|
77
|
-
| components.InviteExpired$.Inbound
|
|
78
|
-
| components.UnprocessableEntity$.Inbound
|
|
79
|
-
| components.RateLimitExceeded$.Inbound
|
|
80
|
-
| components.InternalServerError$.Inbound
|
|
81
|
-
| components.WorkspaceSchema$.Inbound;
|
|
82
|
-
|
|
83
|
-
export type Outbound =
|
|
84
|
-
| components.BadRequest$.Outbound
|
|
85
|
-
| components.Unauthorized$.Outbound
|
|
86
|
-
| components.Forbidden$.Outbound
|
|
87
|
-
| components.NotFound$.Outbound
|
|
88
|
-
| components.Conflict$.Outbound
|
|
89
|
-
| components.InviteExpired$.Outbound
|
|
90
|
-
| components.UnprocessableEntity$.Outbound
|
|
91
|
-
| components.RateLimitExceeded$.Outbound
|
|
92
|
-
| components.InternalServerError$.Outbound
|
|
93
|
-
| components.WorkspaceSchema$.Outbound;
|
|
94
|
-
export const inboundSchema: z.ZodType<CreateWorkspaceResponse, z.ZodTypeDef, Inbound> = z.union(
|
|
95
|
-
[
|
|
96
|
-
components.BadRequest$.inboundSchema,
|
|
97
|
-
components.Unauthorized$.inboundSchema,
|
|
98
|
-
components.Forbidden$.inboundSchema,
|
|
99
|
-
components.NotFound$.inboundSchema,
|
|
100
|
-
components.Conflict$.inboundSchema,
|
|
101
|
-
components.InviteExpired$.inboundSchema,
|
|
102
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
103
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
104
|
-
components.InternalServerError$.inboundSchema,
|
|
105
|
-
components.WorkspaceSchema$.inboundSchema,
|
|
106
|
-
]
|
|
107
|
-
);
|
|
108
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, CreateWorkspaceResponse> =
|
|
109
|
-
z.union([
|
|
110
|
-
components.BadRequest$.outboundSchema,
|
|
111
|
-
components.Unauthorized$.outboundSchema,
|
|
112
|
-
components.Forbidden$.outboundSchema,
|
|
113
|
-
components.NotFound$.outboundSchema,
|
|
114
|
-
components.Conflict$.outboundSchema,
|
|
115
|
-
components.InviteExpired$.outboundSchema,
|
|
116
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
117
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
118
|
-
components.InternalServerError$.outboundSchema,
|
|
119
|
-
components.WorkspaceSchema$.outboundSchema,
|
|
120
|
-
]);
|
|
121
|
-
}
|
|
@@ -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
|
export type DeleteDomainRequest = {
|
|
@@ -22,18 +21,6 @@ export type DeleteDomainResponseBody = {
|
|
|
22
21
|
slug: string;
|
|
23
22
|
};
|
|
24
23
|
|
|
25
|
-
export type DeleteDomainResponse =
|
|
26
|
-
| DeleteDomainResponseBody
|
|
27
|
-
| components.BadRequest
|
|
28
|
-
| components.Unauthorized
|
|
29
|
-
| components.Forbidden
|
|
30
|
-
| components.NotFound
|
|
31
|
-
| components.Conflict
|
|
32
|
-
| components.InviteExpired
|
|
33
|
-
| components.UnprocessableEntity
|
|
34
|
-
| components.RateLimitExceeded
|
|
35
|
-
| components.InternalServerError;
|
|
36
|
-
|
|
37
24
|
/** @internal */
|
|
38
25
|
export namespace DeleteDomainRequest$ {
|
|
39
26
|
export type Inbound = {
|
|
@@ -95,54 +82,3 @@ export namespace DeleteDomainResponseBody$ {
|
|
|
95
82
|
};
|
|
96
83
|
});
|
|
97
84
|
}
|
|
98
|
-
|
|
99
|
-
/** @internal */
|
|
100
|
-
export namespace DeleteDomainResponse$ {
|
|
101
|
-
export type Inbound =
|
|
102
|
-
| DeleteDomainResponseBody$.Inbound
|
|
103
|
-
| components.BadRequest$.Inbound
|
|
104
|
-
| components.Unauthorized$.Inbound
|
|
105
|
-
| components.Forbidden$.Inbound
|
|
106
|
-
| components.NotFound$.Inbound
|
|
107
|
-
| components.Conflict$.Inbound
|
|
108
|
-
| components.InviteExpired$.Inbound
|
|
109
|
-
| components.UnprocessableEntity$.Inbound
|
|
110
|
-
| components.RateLimitExceeded$.Inbound
|
|
111
|
-
| components.InternalServerError$.Inbound;
|
|
112
|
-
|
|
113
|
-
export type Outbound =
|
|
114
|
-
| DeleteDomainResponseBody$.Outbound
|
|
115
|
-
| components.BadRequest$.Outbound
|
|
116
|
-
| components.Unauthorized$.Outbound
|
|
117
|
-
| components.Forbidden$.Outbound
|
|
118
|
-
| components.NotFound$.Outbound
|
|
119
|
-
| components.Conflict$.Outbound
|
|
120
|
-
| components.InviteExpired$.Outbound
|
|
121
|
-
| components.UnprocessableEntity$.Outbound
|
|
122
|
-
| components.RateLimitExceeded$.Outbound
|
|
123
|
-
| components.InternalServerError$.Outbound;
|
|
124
|
-
export const inboundSchema: z.ZodType<DeleteDomainResponse, z.ZodTypeDef, Inbound> = z.union([
|
|
125
|
-
z.lazy(() => DeleteDomainResponseBody$.inboundSchema),
|
|
126
|
-
components.BadRequest$.inboundSchema,
|
|
127
|
-
components.Unauthorized$.inboundSchema,
|
|
128
|
-
components.Forbidden$.inboundSchema,
|
|
129
|
-
components.NotFound$.inboundSchema,
|
|
130
|
-
components.Conflict$.inboundSchema,
|
|
131
|
-
components.InviteExpired$.inboundSchema,
|
|
132
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
133
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
134
|
-
components.InternalServerError$.inboundSchema,
|
|
135
|
-
]);
|
|
136
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, DeleteDomainResponse> = z.union([
|
|
137
|
-
z.lazy(() => DeleteDomainResponseBody$.outboundSchema),
|
|
138
|
-
components.BadRequest$.outboundSchema,
|
|
139
|
-
components.Unauthorized$.outboundSchema,
|
|
140
|
-
components.Forbidden$.outboundSchema,
|
|
141
|
-
components.NotFound$.outboundSchema,
|
|
142
|
-
components.Conflict$.outboundSchema,
|
|
143
|
-
components.InviteExpired$.outboundSchema,
|
|
144
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
145
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
146
|
-
components.InternalServerError$.outboundSchema,
|
|
147
|
-
]);
|
|
148
|
-
}
|
|
@@ -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
|
export type DeleteLinkRequest = {
|
|
@@ -22,18 +21,6 @@ export type DeleteLinkResponseBody = {
|
|
|
22
21
|
id: string;
|
|
23
22
|
};
|
|
24
23
|
|
|
25
|
-
export type DeleteLinkResponse =
|
|
26
|
-
| DeleteLinkResponseBody
|
|
27
|
-
| components.BadRequest
|
|
28
|
-
| components.Unauthorized
|
|
29
|
-
| components.Forbidden
|
|
30
|
-
| components.NotFound
|
|
31
|
-
| components.Conflict
|
|
32
|
-
| components.InviteExpired
|
|
33
|
-
| components.UnprocessableEntity
|
|
34
|
-
| components.RateLimitExceeded
|
|
35
|
-
| components.InternalServerError;
|
|
36
|
-
|
|
37
24
|
/** @internal */
|
|
38
25
|
export namespace DeleteLinkRequest$ {
|
|
39
26
|
export type Inbound = {
|
|
@@ -95,54 +82,3 @@ export namespace DeleteLinkResponseBody$ {
|
|
|
95
82
|
};
|
|
96
83
|
});
|
|
97
84
|
}
|
|
98
|
-
|
|
99
|
-
/** @internal */
|
|
100
|
-
export namespace DeleteLinkResponse$ {
|
|
101
|
-
export type Inbound =
|
|
102
|
-
| DeleteLinkResponseBody$.Inbound
|
|
103
|
-
| components.BadRequest$.Inbound
|
|
104
|
-
| components.Unauthorized$.Inbound
|
|
105
|
-
| components.Forbidden$.Inbound
|
|
106
|
-
| components.NotFound$.Inbound
|
|
107
|
-
| components.Conflict$.Inbound
|
|
108
|
-
| components.InviteExpired$.Inbound
|
|
109
|
-
| components.UnprocessableEntity$.Inbound
|
|
110
|
-
| components.RateLimitExceeded$.Inbound
|
|
111
|
-
| components.InternalServerError$.Inbound;
|
|
112
|
-
|
|
113
|
-
export type Outbound =
|
|
114
|
-
| DeleteLinkResponseBody$.Outbound
|
|
115
|
-
| components.BadRequest$.Outbound
|
|
116
|
-
| components.Unauthorized$.Outbound
|
|
117
|
-
| components.Forbidden$.Outbound
|
|
118
|
-
| components.NotFound$.Outbound
|
|
119
|
-
| components.Conflict$.Outbound
|
|
120
|
-
| components.InviteExpired$.Outbound
|
|
121
|
-
| components.UnprocessableEntity$.Outbound
|
|
122
|
-
| components.RateLimitExceeded$.Outbound
|
|
123
|
-
| components.InternalServerError$.Outbound;
|
|
124
|
-
export const inboundSchema: z.ZodType<DeleteLinkResponse, z.ZodTypeDef, Inbound> = z.union([
|
|
125
|
-
z.lazy(() => DeleteLinkResponseBody$.inboundSchema),
|
|
126
|
-
components.BadRequest$.inboundSchema,
|
|
127
|
-
components.Unauthorized$.inboundSchema,
|
|
128
|
-
components.Forbidden$.inboundSchema,
|
|
129
|
-
components.NotFound$.inboundSchema,
|
|
130
|
-
components.Conflict$.inboundSchema,
|
|
131
|
-
components.InviteExpired$.inboundSchema,
|
|
132
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
133
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
134
|
-
components.InternalServerError$.inboundSchema,
|
|
135
|
-
]);
|
|
136
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, DeleteLinkResponse> = z.union([
|
|
137
|
-
z.lazy(() => DeleteLinkResponseBody$.outboundSchema),
|
|
138
|
-
components.BadRequest$.outboundSchema,
|
|
139
|
-
components.Unauthorized$.outboundSchema,
|
|
140
|
-
components.Forbidden$.outboundSchema,
|
|
141
|
-
components.NotFound$.outboundSchema,
|
|
142
|
-
components.Conflict$.outboundSchema,
|
|
143
|
-
components.InviteExpired$.outboundSchema,
|
|
144
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
145
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
146
|
-
components.InternalServerError$.outboundSchema,
|
|
147
|
-
]);
|
|
148
|
-
}
|