UNPKG

@basetime/a2w-api-ts

Version:

Client library that communicates with the addtowallet API.

19 lines (18 loc) 465 B
import { z } from 'zod'; /** * Schema for a user. */ export declare const UserSchema: z.ZodObject<{ id: z.ZodString; displayName: z.ZodString; email: z.ZodString; photoURL: z.ZodString; avatarColor: z.ZodString; organizations: z.ZodArray<z.ZodString>; clientsDisplay: z.ZodArray<z.ZodString>; dateLastLogin: z.ZodCoercedDate<unknown>; }, z.core.$loose>; /** * Represents a user. */ export type User = z.infer<typeof UserSchema>;