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
|
/**
|
|
@@ -610,18 +609,6 @@ export type GetCountryAnalyticsResponseBody = {
|
|
|
610
609
|
clicks: number;
|
|
611
610
|
};
|
|
612
611
|
|
|
613
|
-
export type GetCountryAnalyticsResponse =
|
|
614
|
-
| components.BadRequest
|
|
615
|
-
| components.Unauthorized
|
|
616
|
-
| components.Forbidden
|
|
617
|
-
| components.NotFound
|
|
618
|
-
| components.Conflict
|
|
619
|
-
| components.InviteExpired
|
|
620
|
-
| components.UnprocessableEntity
|
|
621
|
-
| components.RateLimitExceeded
|
|
622
|
-
| components.InternalServerError
|
|
623
|
-
| Array<GetCountryAnalyticsResponseBody>;
|
|
624
|
-
|
|
625
612
|
/** @internal */
|
|
626
613
|
export const GetCountryAnalyticsQueryParamInterval$: z.ZodNativeEnum<
|
|
627
614
|
typeof GetCountryAnalyticsQueryParamInterval
|
|
@@ -780,56 +767,3 @@ export namespace GetCountryAnalyticsResponseBody$ {
|
|
|
780
767
|
};
|
|
781
768
|
});
|
|
782
769
|
}
|
|
783
|
-
|
|
784
|
-
/** @internal */
|
|
785
|
-
export namespace GetCountryAnalyticsResponse$ {
|
|
786
|
-
export type Inbound =
|
|
787
|
-
| components.BadRequest$.Inbound
|
|
788
|
-
| components.Unauthorized$.Inbound
|
|
789
|
-
| components.Forbidden$.Inbound
|
|
790
|
-
| components.NotFound$.Inbound
|
|
791
|
-
| components.Conflict$.Inbound
|
|
792
|
-
| components.InviteExpired$.Inbound
|
|
793
|
-
| components.UnprocessableEntity$.Inbound
|
|
794
|
-
| components.RateLimitExceeded$.Inbound
|
|
795
|
-
| components.InternalServerError$.Inbound
|
|
796
|
-
| Array<GetCountryAnalyticsResponseBody$.Inbound>;
|
|
797
|
-
|
|
798
|
-
export type Outbound =
|
|
799
|
-
| components.BadRequest$.Outbound
|
|
800
|
-
| components.Unauthorized$.Outbound
|
|
801
|
-
| components.Forbidden$.Outbound
|
|
802
|
-
| components.NotFound$.Outbound
|
|
803
|
-
| components.Conflict$.Outbound
|
|
804
|
-
| components.InviteExpired$.Outbound
|
|
805
|
-
| components.UnprocessableEntity$.Outbound
|
|
806
|
-
| components.RateLimitExceeded$.Outbound
|
|
807
|
-
| components.InternalServerError$.Outbound
|
|
808
|
-
| Array<GetCountryAnalyticsResponseBody$.Outbound>;
|
|
809
|
-
export const inboundSchema: z.ZodType<GetCountryAnalyticsResponse, z.ZodTypeDef, Inbound> =
|
|
810
|
-
z.union([
|
|
811
|
-
components.BadRequest$.inboundSchema,
|
|
812
|
-
components.Unauthorized$.inboundSchema,
|
|
813
|
-
components.Forbidden$.inboundSchema,
|
|
814
|
-
components.NotFound$.inboundSchema,
|
|
815
|
-
components.Conflict$.inboundSchema,
|
|
816
|
-
components.InviteExpired$.inboundSchema,
|
|
817
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
818
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
819
|
-
components.InternalServerError$.inboundSchema,
|
|
820
|
-
z.array(z.lazy(() => GetCountryAnalyticsResponseBody$.inboundSchema)),
|
|
821
|
-
]);
|
|
822
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetCountryAnalyticsResponse> =
|
|
823
|
-
z.union([
|
|
824
|
-
components.BadRequest$.outboundSchema,
|
|
825
|
-
components.Unauthorized$.outboundSchema,
|
|
826
|
-
components.Forbidden$.outboundSchema,
|
|
827
|
-
components.NotFound$.outboundSchema,
|
|
828
|
-
components.Conflict$.outboundSchema,
|
|
829
|
-
components.InviteExpired$.outboundSchema,
|
|
830
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
831
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
832
|
-
components.InternalServerError$.outboundSchema,
|
|
833
|
-
z.array(z.lazy(() => GetCountryAnalyticsResponseBody$.outboundSchema)),
|
|
834
|
-
]);
|
|
835
|
-
}
|
|
@@ -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 GetDeviceAnalyticsResponseBody = {
|
|
|
349
348
|
clicks: number;
|
|
350
349
|
};
|
|
351
350
|
|
|
352
|
-
export type GetDeviceAnalyticsResponse =
|
|
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<GetDeviceAnalyticsResponseBody>;
|
|
363
|
-
|
|
364
351
|
/** @internal */
|
|
365
352
|
export const GetDeviceAnalyticsQueryParamInterval$: z.ZodNativeEnum<
|
|
366
353
|
typeof GetDeviceAnalyticsQueryParamInterval
|
|
@@ -511,56 +498,3 @@ export namespace GetDeviceAnalyticsResponseBody$ {
|
|
|
511
498
|
};
|
|
512
499
|
});
|
|
513
500
|
}
|
|
514
|
-
|
|
515
|
-
/** @internal */
|
|
516
|
-
export namespace GetDeviceAnalyticsResponse$ {
|
|
517
|
-
export type Inbound =
|
|
518
|
-
| components.BadRequest$.Inbound
|
|
519
|
-
| components.Unauthorized$.Inbound
|
|
520
|
-
| components.Forbidden$.Inbound
|
|
521
|
-
| components.NotFound$.Inbound
|
|
522
|
-
| components.Conflict$.Inbound
|
|
523
|
-
| components.InviteExpired$.Inbound
|
|
524
|
-
| components.UnprocessableEntity$.Inbound
|
|
525
|
-
| components.RateLimitExceeded$.Inbound
|
|
526
|
-
| components.InternalServerError$.Inbound
|
|
527
|
-
| Array<GetDeviceAnalyticsResponseBody$.Inbound>;
|
|
528
|
-
|
|
529
|
-
export type Outbound =
|
|
530
|
-
| components.BadRequest$.Outbound
|
|
531
|
-
| components.Unauthorized$.Outbound
|
|
532
|
-
| components.Forbidden$.Outbound
|
|
533
|
-
| components.NotFound$.Outbound
|
|
534
|
-
| components.Conflict$.Outbound
|
|
535
|
-
| components.InviteExpired$.Outbound
|
|
536
|
-
| components.UnprocessableEntity$.Outbound
|
|
537
|
-
| components.RateLimitExceeded$.Outbound
|
|
538
|
-
| components.InternalServerError$.Outbound
|
|
539
|
-
| Array<GetDeviceAnalyticsResponseBody$.Outbound>;
|
|
540
|
-
export const inboundSchema: z.ZodType<GetDeviceAnalyticsResponse, z.ZodTypeDef, Inbound> =
|
|
541
|
-
z.union([
|
|
542
|
-
components.BadRequest$.inboundSchema,
|
|
543
|
-
components.Unauthorized$.inboundSchema,
|
|
544
|
-
components.Forbidden$.inboundSchema,
|
|
545
|
-
components.NotFound$.inboundSchema,
|
|
546
|
-
components.Conflict$.inboundSchema,
|
|
547
|
-
components.InviteExpired$.inboundSchema,
|
|
548
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
549
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
550
|
-
components.InternalServerError$.inboundSchema,
|
|
551
|
-
z.array(z.lazy(() => GetDeviceAnalyticsResponseBody$.inboundSchema)),
|
|
552
|
-
]);
|
|
553
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetDeviceAnalyticsResponse> =
|
|
554
|
-
z.union([
|
|
555
|
-
components.BadRequest$.outboundSchema,
|
|
556
|
-
components.Unauthorized$.outboundSchema,
|
|
557
|
-
components.Forbidden$.outboundSchema,
|
|
558
|
-
components.NotFound$.outboundSchema,
|
|
559
|
-
components.Conflict$.outboundSchema,
|
|
560
|
-
components.InviteExpired$.outboundSchema,
|
|
561
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
562
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
563
|
-
components.InternalServerError$.outboundSchema,
|
|
564
|
-
z.array(z.lazy(() => GetDeviceAnalyticsResponseBody$.outboundSchema)),
|
|
565
|
-
]);
|
|
566
|
-
}
|
|
@@ -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 GetLinkInfoRequest = {
|
|
@@ -13,18 +12,6 @@ export type GetLinkInfoRequest = {
|
|
|
13
12
|
key: string;
|
|
14
13
|
};
|
|
15
14
|
|
|
16
|
-
export type GetLinkInfoResponse =
|
|
17
|
-
| components.BadRequest
|
|
18
|
-
| components.Unauthorized
|
|
19
|
-
| components.Forbidden
|
|
20
|
-
| components.NotFound
|
|
21
|
-
| components.Conflict
|
|
22
|
-
| components.InviteExpired
|
|
23
|
-
| components.UnprocessableEntity
|
|
24
|
-
| components.RateLimitExceeded
|
|
25
|
-
| components.InternalServerError
|
|
26
|
-
| components.LinkSchema;
|
|
27
|
-
|
|
28
15
|
/** @internal */
|
|
29
16
|
export namespace GetLinkInfoRequest$ {
|
|
30
17
|
export type Inbound = {
|
|
@@ -61,54 +48,3 @@ export namespace GetLinkInfoRequest$ {
|
|
|
61
48
|
};
|
|
62
49
|
});
|
|
63
50
|
}
|
|
64
|
-
|
|
65
|
-
/** @internal */
|
|
66
|
-
export namespace GetLinkInfoResponse$ {
|
|
67
|
-
export type Inbound =
|
|
68
|
-
| components.BadRequest$.Inbound
|
|
69
|
-
| components.Unauthorized$.Inbound
|
|
70
|
-
| components.Forbidden$.Inbound
|
|
71
|
-
| components.NotFound$.Inbound
|
|
72
|
-
| components.Conflict$.Inbound
|
|
73
|
-
| components.InviteExpired$.Inbound
|
|
74
|
-
| components.UnprocessableEntity$.Inbound
|
|
75
|
-
| components.RateLimitExceeded$.Inbound
|
|
76
|
-
| components.InternalServerError$.Inbound
|
|
77
|
-
| components.LinkSchema$.Inbound;
|
|
78
|
-
|
|
79
|
-
export type Outbound =
|
|
80
|
-
| components.BadRequest$.Outbound
|
|
81
|
-
| components.Unauthorized$.Outbound
|
|
82
|
-
| components.Forbidden$.Outbound
|
|
83
|
-
| components.NotFound$.Outbound
|
|
84
|
-
| components.Conflict$.Outbound
|
|
85
|
-
| components.InviteExpired$.Outbound
|
|
86
|
-
| components.UnprocessableEntity$.Outbound
|
|
87
|
-
| components.RateLimitExceeded$.Outbound
|
|
88
|
-
| components.InternalServerError$.Outbound
|
|
89
|
-
| components.LinkSchema$.Outbound;
|
|
90
|
-
export const inboundSchema: z.ZodType<GetLinkInfoResponse, z.ZodTypeDef, Inbound> = z.union([
|
|
91
|
-
components.BadRequest$.inboundSchema,
|
|
92
|
-
components.Unauthorized$.inboundSchema,
|
|
93
|
-
components.Forbidden$.inboundSchema,
|
|
94
|
-
components.NotFound$.inboundSchema,
|
|
95
|
-
components.Conflict$.inboundSchema,
|
|
96
|
-
components.InviteExpired$.inboundSchema,
|
|
97
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
98
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
99
|
-
components.InternalServerError$.inboundSchema,
|
|
100
|
-
components.LinkSchema$.inboundSchema,
|
|
101
|
-
]);
|
|
102
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetLinkInfoResponse> = z.union([
|
|
103
|
-
components.BadRequest$.outboundSchema,
|
|
104
|
-
components.Unauthorized$.outboundSchema,
|
|
105
|
-
components.Forbidden$.outboundSchema,
|
|
106
|
-
components.NotFound$.outboundSchema,
|
|
107
|
-
components.Conflict$.outboundSchema,
|
|
108
|
-
components.InviteExpired$.outboundSchema,
|
|
109
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
110
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
111
|
-
components.InternalServerError$.outboundSchema,
|
|
112
|
-
components.LinkSchema$.outboundSchema,
|
|
113
|
-
]);
|
|
114
|
-
}
|
|
@@ -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 QueryParamTagIds = string | Array<string>;
|
|
12
11
|
|
|
12
|
+
/**
|
|
13
|
+
* The unique name of the tags assigned to the short link (case insensitive).
|
|
14
|
+
*/
|
|
15
|
+
export type QueryParamTagNames = string | Array<string>;
|
|
16
|
+
|
|
13
17
|
/**
|
|
14
18
|
* The field to sort the links by. The default is `createdAt`, and sort order is always descending.
|
|
15
19
|
*/
|
|
@@ -36,6 +40,10 @@ export type GetLinksRequest = {
|
|
|
36
40
|
* The tag IDs to filter the links by.
|
|
37
41
|
*/
|
|
38
42
|
tagIds?: string | Array<string> | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* The unique name of the tags assigned to the short link (case insensitive).
|
|
45
|
+
*/
|
|
46
|
+
tagNames?: string | Array<string> | undefined;
|
|
39
47
|
/**
|
|
40
48
|
* The search term to filter the links by. The search term will be matched against the short link slug and the destination url.
|
|
41
49
|
*/
|
|
@@ -62,18 +70,6 @@ export type GetLinksRequest = {
|
|
|
62
70
|
page?: number | undefined;
|
|
63
71
|
};
|
|
64
72
|
|
|
65
|
-
export type GetLinksResponse =
|
|
66
|
-
| components.BadRequest
|
|
67
|
-
| components.Unauthorized
|
|
68
|
-
| components.Forbidden
|
|
69
|
-
| components.NotFound
|
|
70
|
-
| components.Conflict
|
|
71
|
-
| components.InviteExpired
|
|
72
|
-
| components.UnprocessableEntity
|
|
73
|
-
| components.RateLimitExceeded
|
|
74
|
-
| components.InternalServerError
|
|
75
|
-
| Array<components.LinkSchema>;
|
|
76
|
-
|
|
77
73
|
/** @internal */
|
|
78
74
|
export namespace QueryParamTagIds$ {
|
|
79
75
|
export type Inbound = string | Array<string>;
|
|
@@ -89,6 +85,21 @@ export namespace QueryParamTagIds$ {
|
|
|
89
85
|
]);
|
|
90
86
|
}
|
|
91
87
|
|
|
88
|
+
/** @internal */
|
|
89
|
+
export namespace QueryParamTagNames$ {
|
|
90
|
+
export type Inbound = string | Array<string>;
|
|
91
|
+
|
|
92
|
+
export type Outbound = string | Array<string>;
|
|
93
|
+
export const inboundSchema: z.ZodType<QueryParamTagNames, z.ZodTypeDef, Inbound> = z.union([
|
|
94
|
+
z.string(),
|
|
95
|
+
z.array(z.string()),
|
|
96
|
+
]);
|
|
97
|
+
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, QueryParamTagNames> = z.union([
|
|
98
|
+
z.string(),
|
|
99
|
+
z.array(z.string()),
|
|
100
|
+
]);
|
|
101
|
+
}
|
|
102
|
+
|
|
92
103
|
/** @internal */
|
|
93
104
|
export const Sort$: z.ZodNativeEnum<typeof Sort> = z.nativeEnum(Sort);
|
|
94
105
|
|
|
@@ -98,6 +109,7 @@ export namespace GetLinksRequest$ {
|
|
|
98
109
|
domain?: string | undefined;
|
|
99
110
|
tagId?: string | undefined;
|
|
100
111
|
tagIds?: string | Array<string> | undefined;
|
|
112
|
+
tagNames?: string | Array<string> | undefined;
|
|
101
113
|
search?: string | undefined;
|
|
102
114
|
userId?: string | undefined;
|
|
103
115
|
showArchived?: boolean | undefined;
|
|
@@ -111,6 +123,7 @@ export namespace GetLinksRequest$ {
|
|
|
111
123
|
domain: z.string().optional(),
|
|
112
124
|
tagId: z.string().optional(),
|
|
113
125
|
tagIds: z.union([z.string(), z.array(z.string())]).optional(),
|
|
126
|
+
tagNames: z.union([z.string(), z.array(z.string())]).optional(),
|
|
114
127
|
search: z.string().optional(),
|
|
115
128
|
userId: z.string().optional(),
|
|
116
129
|
showArchived: z.boolean().default(false),
|
|
@@ -123,6 +136,7 @@ export namespace GetLinksRequest$ {
|
|
|
123
136
|
...(v.domain === undefined ? null : { domain: v.domain }),
|
|
124
137
|
...(v.tagId === undefined ? null : { tagId: v.tagId }),
|
|
125
138
|
...(v.tagIds === undefined ? null : { tagIds: v.tagIds }),
|
|
139
|
+
...(v.tagNames === undefined ? null : { tagNames: v.tagNames }),
|
|
126
140
|
...(v.search === undefined ? null : { search: v.search }),
|
|
127
141
|
...(v.userId === undefined ? null : { userId: v.userId }),
|
|
128
142
|
showArchived: v.showArchived,
|
|
@@ -136,6 +150,7 @@ export namespace GetLinksRequest$ {
|
|
|
136
150
|
domain?: string | undefined;
|
|
137
151
|
tagId?: string | undefined;
|
|
138
152
|
tagIds?: string | Array<string> | undefined;
|
|
153
|
+
tagNames?: string | Array<string> | undefined;
|
|
139
154
|
search?: string | undefined;
|
|
140
155
|
userId?: string | undefined;
|
|
141
156
|
showArchived: boolean;
|
|
@@ -149,6 +164,7 @@ export namespace GetLinksRequest$ {
|
|
|
149
164
|
domain: z.string().optional(),
|
|
150
165
|
tagId: z.string().optional(),
|
|
151
166
|
tagIds: z.union([z.string(), z.array(z.string())]).optional(),
|
|
167
|
+
tagNames: z.union([z.string(), z.array(z.string())]).optional(),
|
|
152
168
|
search: z.string().optional(),
|
|
153
169
|
userId: z.string().optional(),
|
|
154
170
|
showArchived: z.boolean().default(false),
|
|
@@ -161,6 +177,7 @@ export namespace GetLinksRequest$ {
|
|
|
161
177
|
...(v.domain === undefined ? null : { domain: v.domain }),
|
|
162
178
|
...(v.tagId === undefined ? null : { tagId: v.tagId }),
|
|
163
179
|
...(v.tagIds === undefined ? null : { tagIds: v.tagIds }),
|
|
180
|
+
...(v.tagNames === undefined ? null : { tagNames: v.tagNames }),
|
|
164
181
|
...(v.search === undefined ? null : { search: v.search }),
|
|
165
182
|
...(v.userId === undefined ? null : { userId: v.userId }),
|
|
166
183
|
showArchived: v.showArchived,
|
|
@@ -170,54 +187,3 @@ export namespace GetLinksRequest$ {
|
|
|
170
187
|
};
|
|
171
188
|
});
|
|
172
189
|
}
|
|
173
|
-
|
|
174
|
-
/** @internal */
|
|
175
|
-
export namespace GetLinksResponse$ {
|
|
176
|
-
export type Inbound =
|
|
177
|
-
| components.BadRequest$.Inbound
|
|
178
|
-
| components.Unauthorized$.Inbound
|
|
179
|
-
| components.Forbidden$.Inbound
|
|
180
|
-
| components.NotFound$.Inbound
|
|
181
|
-
| components.Conflict$.Inbound
|
|
182
|
-
| components.InviteExpired$.Inbound
|
|
183
|
-
| components.UnprocessableEntity$.Inbound
|
|
184
|
-
| components.RateLimitExceeded$.Inbound
|
|
185
|
-
| components.InternalServerError$.Inbound
|
|
186
|
-
| Array<components.LinkSchema$.Inbound>;
|
|
187
|
-
|
|
188
|
-
export type Outbound =
|
|
189
|
-
| components.BadRequest$.Outbound
|
|
190
|
-
| components.Unauthorized$.Outbound
|
|
191
|
-
| components.Forbidden$.Outbound
|
|
192
|
-
| components.NotFound$.Outbound
|
|
193
|
-
| components.Conflict$.Outbound
|
|
194
|
-
| components.InviteExpired$.Outbound
|
|
195
|
-
| components.UnprocessableEntity$.Outbound
|
|
196
|
-
| components.RateLimitExceeded$.Outbound
|
|
197
|
-
| components.InternalServerError$.Outbound
|
|
198
|
-
| Array<components.LinkSchema$.Outbound>;
|
|
199
|
-
export const inboundSchema: z.ZodType<GetLinksResponse, z.ZodTypeDef, Inbound> = z.union([
|
|
200
|
-
components.BadRequest$.inboundSchema,
|
|
201
|
-
components.Unauthorized$.inboundSchema,
|
|
202
|
-
components.Forbidden$.inboundSchema,
|
|
203
|
-
components.NotFound$.inboundSchema,
|
|
204
|
-
components.Conflict$.inboundSchema,
|
|
205
|
-
components.InviteExpired$.inboundSchema,
|
|
206
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
207
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
208
|
-
components.InternalServerError$.inboundSchema,
|
|
209
|
-
z.array(components.LinkSchema$.inboundSchema),
|
|
210
|
-
]);
|
|
211
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetLinksResponse> = z.union([
|
|
212
|
-
components.BadRequest$.outboundSchema,
|
|
213
|
-
components.Unauthorized$.outboundSchema,
|
|
214
|
-
components.Forbidden$.outboundSchema,
|
|
215
|
-
components.NotFound$.outboundSchema,
|
|
216
|
-
components.Conflict$.outboundSchema,
|
|
217
|
-
components.InviteExpired$.outboundSchema,
|
|
218
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
219
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
220
|
-
components.InternalServerError$.outboundSchema,
|
|
221
|
-
z.array(components.LinkSchema$.outboundSchema),
|
|
222
|
-
]);
|
|
223
|
-
}
|
|
@@ -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 GetLinksCountQueryParamTagIds = string | Array<string>;
|
|
12
11
|
|
|
12
|
+
/**
|
|
13
|
+
* The unique name of the tags assigned to the short link (case insensitive).
|
|
14
|
+
*/
|
|
15
|
+
export type GetLinksCountQueryParamTagNames = string | Array<string>;
|
|
16
|
+
|
|
13
17
|
export const Two = {
|
|
14
18
|
TagId: "tagId",
|
|
15
19
|
} as const;
|
|
@@ -38,6 +42,10 @@ export type GetLinksCountRequest = {
|
|
|
38
42
|
* The tag IDs to filter the links by.
|
|
39
43
|
*/
|
|
40
44
|
tagIds?: string | Array<string> | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The unique name of the tags assigned to the short link (case insensitive).
|
|
47
|
+
*/
|
|
48
|
+
tagNames?: string | Array<string> | undefined;
|
|
41
49
|
/**
|
|
42
50
|
* The search term to filter the links by. The search term will be matched against the short link slug and the destination url.
|
|
43
51
|
*/
|
|
@@ -60,18 +68,6 @@ export type GetLinksCountRequest = {
|
|
|
60
68
|
groupBy?: One | Two | undefined;
|
|
61
69
|
};
|
|
62
70
|
|
|
63
|
-
export type GetLinksCountResponse =
|
|
64
|
-
| components.BadRequest
|
|
65
|
-
| components.Unauthorized
|
|
66
|
-
| components.Forbidden
|
|
67
|
-
| components.NotFound
|
|
68
|
-
| components.Conflict
|
|
69
|
-
| components.InviteExpired
|
|
70
|
-
| components.UnprocessableEntity
|
|
71
|
-
| components.RateLimitExceeded
|
|
72
|
-
| components.InternalServerError
|
|
73
|
-
| number;
|
|
74
|
-
|
|
75
71
|
/** @internal */
|
|
76
72
|
export namespace GetLinksCountQueryParamTagIds$ {
|
|
77
73
|
export type Inbound = string | Array<string>;
|
|
@@ -83,6 +79,20 @@ export namespace GetLinksCountQueryParamTagIds$ {
|
|
|
83
79
|
z.union([z.string(), z.array(z.string())]);
|
|
84
80
|
}
|
|
85
81
|
|
|
82
|
+
/** @internal */
|
|
83
|
+
export namespace GetLinksCountQueryParamTagNames$ {
|
|
84
|
+
export type Inbound = string | Array<string>;
|
|
85
|
+
|
|
86
|
+
export type Outbound = string | Array<string>;
|
|
87
|
+
export const inboundSchema: z.ZodType<GetLinksCountQueryParamTagNames, z.ZodTypeDef, Inbound> =
|
|
88
|
+
z.union([z.string(), z.array(z.string())]);
|
|
89
|
+
export const outboundSchema: z.ZodType<
|
|
90
|
+
Outbound,
|
|
91
|
+
z.ZodTypeDef,
|
|
92
|
+
GetLinksCountQueryParamTagNames
|
|
93
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
94
|
+
}
|
|
95
|
+
|
|
86
96
|
/** @internal */
|
|
87
97
|
export const Two$: z.ZodNativeEnum<typeof Two> = z.nativeEnum(Two);
|
|
88
98
|
|
|
@@ -104,6 +114,7 @@ export namespace GetLinksCountRequest$ {
|
|
|
104
114
|
domain?: string | undefined;
|
|
105
115
|
tagId?: string | undefined;
|
|
106
116
|
tagIds?: string | Array<string> | undefined;
|
|
117
|
+
tagNames?: string | Array<string> | undefined;
|
|
107
118
|
search?: string | undefined;
|
|
108
119
|
userId?: string | undefined;
|
|
109
120
|
showArchived?: boolean | undefined;
|
|
@@ -116,6 +127,7 @@ export namespace GetLinksCountRequest$ {
|
|
|
116
127
|
domain: z.string().optional(),
|
|
117
128
|
tagId: z.string().optional(),
|
|
118
129
|
tagIds: z.union([z.string(), z.array(z.string())]).optional(),
|
|
130
|
+
tagNames: z.union([z.string(), z.array(z.string())]).optional(),
|
|
119
131
|
search: z.string().optional(),
|
|
120
132
|
userId: z.string().optional(),
|
|
121
133
|
showArchived: z.boolean().default(false),
|
|
@@ -127,6 +139,7 @@ export namespace GetLinksCountRequest$ {
|
|
|
127
139
|
...(v.domain === undefined ? null : { domain: v.domain }),
|
|
128
140
|
...(v.tagId === undefined ? null : { tagId: v.tagId }),
|
|
129
141
|
...(v.tagIds === undefined ? null : { tagIds: v.tagIds }),
|
|
142
|
+
...(v.tagNames === undefined ? null : { tagNames: v.tagNames }),
|
|
130
143
|
...(v.search === undefined ? null : { search: v.search }),
|
|
131
144
|
...(v.userId === undefined ? null : { userId: v.userId }),
|
|
132
145
|
showArchived: v.showArchived,
|
|
@@ -139,6 +152,7 @@ export namespace GetLinksCountRequest$ {
|
|
|
139
152
|
domain?: string | undefined;
|
|
140
153
|
tagId?: string | undefined;
|
|
141
154
|
tagIds?: string | Array<string> | undefined;
|
|
155
|
+
tagNames?: string | Array<string> | undefined;
|
|
142
156
|
search?: string | undefined;
|
|
143
157
|
userId?: string | undefined;
|
|
144
158
|
showArchived: boolean;
|
|
@@ -151,6 +165,7 @@ export namespace GetLinksCountRequest$ {
|
|
|
151
165
|
domain: z.string().optional(),
|
|
152
166
|
tagId: z.string().optional(),
|
|
153
167
|
tagIds: z.union([z.string(), z.array(z.string())]).optional(),
|
|
168
|
+
tagNames: z.union([z.string(), z.array(z.string())]).optional(),
|
|
154
169
|
search: z.string().optional(),
|
|
155
170
|
userId: z.string().optional(),
|
|
156
171
|
showArchived: z.boolean().default(false),
|
|
@@ -162,6 +177,7 @@ export namespace GetLinksCountRequest$ {
|
|
|
162
177
|
...(v.domain === undefined ? null : { domain: v.domain }),
|
|
163
178
|
...(v.tagId === undefined ? null : { tagId: v.tagId }),
|
|
164
179
|
...(v.tagIds === undefined ? null : { tagIds: v.tagIds }),
|
|
180
|
+
...(v.tagNames === undefined ? null : { tagNames: v.tagNames }),
|
|
165
181
|
...(v.search === undefined ? null : { search: v.search }),
|
|
166
182
|
...(v.userId === undefined ? null : { userId: v.userId }),
|
|
167
183
|
showArchived: v.showArchived,
|
|
@@ -170,56 +186,3 @@ export namespace GetLinksCountRequest$ {
|
|
|
170
186
|
};
|
|
171
187
|
});
|
|
172
188
|
}
|
|
173
|
-
|
|
174
|
-
/** @internal */
|
|
175
|
-
export namespace GetLinksCountResponse$ {
|
|
176
|
-
export type Inbound =
|
|
177
|
-
| components.BadRequest$.Inbound
|
|
178
|
-
| components.Unauthorized$.Inbound
|
|
179
|
-
| components.Forbidden$.Inbound
|
|
180
|
-
| components.NotFound$.Inbound
|
|
181
|
-
| components.Conflict$.Inbound
|
|
182
|
-
| components.InviteExpired$.Inbound
|
|
183
|
-
| components.UnprocessableEntity$.Inbound
|
|
184
|
-
| components.RateLimitExceeded$.Inbound
|
|
185
|
-
| components.InternalServerError$.Inbound
|
|
186
|
-
| number;
|
|
187
|
-
|
|
188
|
-
export type Outbound =
|
|
189
|
-
| components.BadRequest$.Outbound
|
|
190
|
-
| components.Unauthorized$.Outbound
|
|
191
|
-
| components.Forbidden$.Outbound
|
|
192
|
-
| components.NotFound$.Outbound
|
|
193
|
-
| components.Conflict$.Outbound
|
|
194
|
-
| components.InviteExpired$.Outbound
|
|
195
|
-
| components.UnprocessableEntity$.Outbound
|
|
196
|
-
| components.RateLimitExceeded$.Outbound
|
|
197
|
-
| components.InternalServerError$.Outbound
|
|
198
|
-
| number;
|
|
199
|
-
export const inboundSchema: z.ZodType<GetLinksCountResponse, z.ZodTypeDef, Inbound> = z.union([
|
|
200
|
-
components.BadRequest$.inboundSchema,
|
|
201
|
-
components.Unauthorized$.inboundSchema,
|
|
202
|
-
components.Forbidden$.inboundSchema,
|
|
203
|
-
components.NotFound$.inboundSchema,
|
|
204
|
-
components.Conflict$.inboundSchema,
|
|
205
|
-
components.InviteExpired$.inboundSchema,
|
|
206
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
207
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
208
|
-
components.InternalServerError$.inboundSchema,
|
|
209
|
-
z.number(),
|
|
210
|
-
]);
|
|
211
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetLinksCountResponse> = z.union(
|
|
212
|
-
[
|
|
213
|
-
components.BadRequest$.outboundSchema,
|
|
214
|
-
components.Unauthorized$.outboundSchema,
|
|
215
|
-
components.Forbidden$.outboundSchema,
|
|
216
|
-
components.NotFound$.outboundSchema,
|
|
217
|
-
components.Conflict$.outboundSchema,
|
|
218
|
-
components.InviteExpired$.outboundSchema,
|
|
219
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
220
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
221
|
-
components.InternalServerError$.outboundSchema,
|
|
222
|
-
z.number(),
|
|
223
|
-
]
|
|
224
|
-
);
|
|
225
|
-
}
|
|
@@ -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 GetOSAnalyticsResponseBody = {
|
|
|
349
348
|
clicks: number;
|
|
350
349
|
};
|
|
351
350
|
|
|
352
|
-
export type GetOSAnalyticsResponse =
|
|
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<GetOSAnalyticsResponseBody>;
|
|
363
|
-
|
|
364
351
|
/** @internal */
|
|
365
352
|
export const GetOSAnalyticsQueryParamInterval$: z.ZodNativeEnum<
|
|
366
353
|
typeof GetOSAnalyticsQueryParamInterval
|
|
@@ -510,55 +497,3 @@ export namespace GetOSAnalyticsResponseBody$ {
|
|
|
510
497
|
};
|
|
511
498
|
});
|
|
512
499
|
}
|
|
513
|
-
|
|
514
|
-
/** @internal */
|
|
515
|
-
export namespace GetOSAnalyticsResponse$ {
|
|
516
|
-
export type Inbound =
|
|
517
|
-
| components.BadRequest$.Inbound
|
|
518
|
-
| components.Unauthorized$.Inbound
|
|
519
|
-
| components.Forbidden$.Inbound
|
|
520
|
-
| components.NotFound$.Inbound
|
|
521
|
-
| components.Conflict$.Inbound
|
|
522
|
-
| components.InviteExpired$.Inbound
|
|
523
|
-
| components.UnprocessableEntity$.Inbound
|
|
524
|
-
| components.RateLimitExceeded$.Inbound
|
|
525
|
-
| components.InternalServerError$.Inbound
|
|
526
|
-
| Array<GetOSAnalyticsResponseBody$.Inbound>;
|
|
527
|
-
|
|
528
|
-
export type Outbound =
|
|
529
|
-
| components.BadRequest$.Outbound
|
|
530
|
-
| components.Unauthorized$.Outbound
|
|
531
|
-
| components.Forbidden$.Outbound
|
|
532
|
-
| components.NotFound$.Outbound
|
|
533
|
-
| components.Conflict$.Outbound
|
|
534
|
-
| components.InviteExpired$.Outbound
|
|
535
|
-
| components.UnprocessableEntity$.Outbound
|
|
536
|
-
| components.RateLimitExceeded$.Outbound
|
|
537
|
-
| components.InternalServerError$.Outbound
|
|
538
|
-
| Array<GetOSAnalyticsResponseBody$.Outbound>;
|
|
539
|
-
export const inboundSchema: z.ZodType<GetOSAnalyticsResponse, z.ZodTypeDef, Inbound> = z.union([
|
|
540
|
-
components.BadRequest$.inboundSchema,
|
|
541
|
-
components.Unauthorized$.inboundSchema,
|
|
542
|
-
components.Forbidden$.inboundSchema,
|
|
543
|
-
components.NotFound$.inboundSchema,
|
|
544
|
-
components.Conflict$.inboundSchema,
|
|
545
|
-
components.InviteExpired$.inboundSchema,
|
|
546
|
-
components.UnprocessableEntity$.inboundSchema,
|
|
547
|
-
components.RateLimitExceeded$.inboundSchema,
|
|
548
|
-
components.InternalServerError$.inboundSchema,
|
|
549
|
-
z.array(z.lazy(() => GetOSAnalyticsResponseBody$.inboundSchema)),
|
|
550
|
-
]);
|
|
551
|
-
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetOSAnalyticsResponse> =
|
|
552
|
-
z.union([
|
|
553
|
-
components.BadRequest$.outboundSchema,
|
|
554
|
-
components.Unauthorized$.outboundSchema,
|
|
555
|
-
components.Forbidden$.outboundSchema,
|
|
556
|
-
components.NotFound$.outboundSchema,
|
|
557
|
-
components.Conflict$.outboundSchema,
|
|
558
|
-
components.InviteExpired$.outboundSchema,
|
|
559
|
-
components.UnprocessableEntity$.outboundSchema,
|
|
560
|
-
components.RateLimitExceeded$.outboundSchema,
|
|
561
|
-
components.InternalServerError$.outboundSchema,
|
|
562
|
-
z.array(z.lazy(() => GetOSAnalyticsResponseBody$.outboundSchema)),
|
|
563
|
-
]);
|
|
564
|
-
}
|