UNPKG

@basetime/a2w-api-ts

Version:

Client library that communicates with the addtowallet API.

15 lines (14 loc) 474 B
import { z } from 'zod'; /** * Schema for the Google Wallet portion of a template. * * The backend only exposes the issuer ID on this object today; additional fields are * allowed via `passthrough()` so future server additions don't break consumers. */ export declare const GoogleTemplateSchema: z.ZodObject<{ id: z.ZodString; }, z.core.$loose>; /** * The Google Wallet portion of a template. */ export type GoogleTemplate = z.infer<typeof GoogleTemplateSchema>;