UNPKG

@basetime/a2w-api-ts

Version:

Client library that communicates with the addtowallet API.

36 lines (35 loc) 1.1 kB
import { z } from 'zod'; /** * Schema for the meta value keys. */ export declare const MetaValueSchema: z.ZodEnum<{ backgroundColor: "backgroundColor"; bundle: "bundle"; banner: "banner"; logo: "logo"; thumbnail: "thumbnail"; foregroundColor: "foregroundColor"; labelColor: "labelColor"; barcodeFormat: "barcodeFormat"; }>; /** * Instructions for how to build the passes. */ export type MetaValue = z.infer<typeof MetaValueSchema>; /** * Schema for the meta values that can be set in the query parameters. */ export declare const MetaValuesSchema: z.ZodObject<{ bundle: z.ZodOptional<z.ZodString>; banner: z.ZodOptional<z.ZodString>; logo: z.ZodOptional<z.ZodString>; thumbnail: z.ZodOptional<z.ZodString>; backgroundColor: z.ZodOptional<z.ZodString>; foregroundColor: z.ZodOptional<z.ZodString>; labelColor: z.ZodOptional<z.ZodString>; barcodeFormat: z.ZodOptional<z.ZodString>; }, z.core.$loose>; /** * The meta values that can be set in the query parameters. */ export type MetaValues = z.infer<typeof MetaValuesSchema>;