/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type GoogleIdTokenObject = { /** * A Google-signed OIDC ID token representing a player's authenticated identity. Learn how to get an `idToken` [here](https://cloud.google.com/docs/authentication/get-id-token). */ idToken: string; }; /** @internal */ export type GoogleIdTokenObject$Outbound = { idToken: string; }; /** @internal */ export const GoogleIdTokenObject$outboundSchema: z.ZodType< GoogleIdTokenObject$Outbound, z.ZodTypeDef, GoogleIdTokenObject > = z.object({ idToken: z.string(), }); export function googleIdTokenObjectToJSON( googleIdTokenObject: GoogleIdTokenObject, ): string { return JSON.stringify( GoogleIdTokenObject$outboundSchema.parse(googleIdTokenObject), ); }