@basetime/a2w-api-ts
Version:
Client library that communicates with the addtowallet API.
27 lines (26 loc) • 778 B
TypeScript
import { z } from 'zod';
/**
* Schema for a scanner invite.
*
* A scanner invite is a jwt that is used to authenticate with a scanner.
*/
export declare const ScannerInviteSchema: z.ZodObject<{
id: z.ZodString;
organization: z.ZodString;
secret: z.ZodString;
verificationCode: z.ZodString;
isClaimed: z.ZodBoolean;
baseUrl: z.ZodString;
pin: z.ZodString;
brandColor: z.ZodString;
brandLogoUrl: z.ZodString;
hideScanButton: z.ZodBoolean;
webviewJwt: z.ZodString;
webviewUrl: z.ZodString;
standbyUrl: z.ZodString;
createdDate: z.ZodCoercedDate<unknown>;
}, z.core.$loose>;
/**
* A scanner invite is a jwt that is used to authenticate with a scanner.
*/
export type ScannerInvite = z.infer<typeof ScannerInviteSchema>;