UNPKG

@basetime/a2w-api-ts

Version:

Client library that communicates with the addtowallet API.

59 lines (58 loc) 1.88 kB
import { z } from 'zod'; /** * Schema for an organization. */ export declare const OrganizationSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; logoUrl: z.ZodString; domain: z.ZodNullable<z.ZodObject<{ organization: z.ZodString; name: z.ZodString; domain: z.ZodString; hostname: z.ZodString; homepageRedirectUrl: z.ZodString; cNameVerification: z.ZodString; cNameDomain: z.ZodString; isProcessing: z.ZodBoolean; status: z.ZodEnum<{ valid: "valid"; invalid: "invalid"; pending: "pending"; still_pending: "still_pending"; }>; isActive: z.ZodBoolean; isDeleted: z.ZodBoolean; validationDate: z.ZodOptional<z.ZodCoercedDate<unknown>>; firstChecked: z.ZodOptional<z.ZodCoercedDate<unknown>>; }, z.core.$loose>>; backgroundColor: z.ZodString; favIcon16: z.ZodString; favIcon32: z.ZodString; favIcon48: z.ZodString; favIcon120: z.ZodString; favIcon240: z.ZodString; defaultProximityUUID: z.ZodString; termsHtml: z.ZodString; privacyHtml: z.ZodString; headerPixels: z.ZodOptional<z.ZodString>; footerPixels: z.ZodOptional<z.ZodString>; owner: z.ZodString; ownerUser: z.ZodOptional<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>>; admins: z.ZodArray<z.ZodString>; editors: z.ZodArray<z.ZodString>; joinCode: z.ZodString; }, z.core.$loose>; /** * Represents an organization. */ export type Organization = z.infer<typeof OrganizationSchema>;