@basetime/a2w-api-ts
Version:
Client library that communicates with the addtowallet API.
20 lines (19 loc) • 513 B
TypeScript
import { z } from 'zod';
/**
* Schema for an API key.
*/
export declare const ApiKeySchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
key: z.ZodString;
secret: z.ZodString;
organizationId: z.ZodString;
scannerApp: z.ZodOptional<z.ZodString>;
isScanner: z.ZodOptional<z.ZodBoolean>;
isDeleted: z.ZodOptional<z.ZodBoolean>;
createdDate: z.ZodCoercedDate<unknown>;
}, z.core.$loose>;
/**
* Instance of an API key.
*/
export type ApiKey = z.infer<typeof ApiKeySchema>;