mirror of
https://github.com/LukeHagar/dub-node.git
synced 2025-12-09 20:37:49 +00:00
35 lines
699 B
TypeScript
35 lines
699 B
TypeScript
/*
|
|
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
*/
|
|
|
|
import * as z from "zod";
|
|
|
|
export type ClicksOS = {
|
|
/**
|
|
* The name of the OS
|
|
*/
|
|
os: string;
|
|
/**
|
|
* The number of clicks from this OS
|
|
*/
|
|
clicks: number;
|
|
};
|
|
|
|
/** @internal */
|
|
export namespace ClicksOS$ {
|
|
export const inboundSchema: z.ZodType<ClicksOS, z.ZodTypeDef, unknown> = z.object({
|
|
os: z.string(),
|
|
clicks: z.number(),
|
|
});
|
|
|
|
export type Outbound = {
|
|
os: string;
|
|
clicks: number;
|
|
};
|
|
|
|
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, ClicksOS> = z.object({
|
|
os: z.string(),
|
|
clicks: z.number(),
|
|
});
|
|
}
|