/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: a385c438cfc1 */ import * as z from "zod/v3"; /** * Describes the request body of the /getusercount API call */ export type GetUserCountRequest = { /** * Datasource name for which user count is needed. */ datasource: string; }; /** @internal */ export type GetUserCountRequest$Outbound = { datasource: string; }; /** @internal */ export const GetUserCountRequest$outboundSchema: z.ZodType< GetUserCountRequest$Outbound, z.ZodTypeDef, GetUserCountRequest > = z.object({ datasource: z.string(), }); export function getUserCountRequestToJSON( getUserCountRequest: GetUserCountRequest, ): string { return JSON.stringify( GetUserCountRequest$outboundSchema.parse(getUserCountRequest), ); }