UNPKG

tyntec-sdk

Version:

TypeScript SDK for Tyntec Conversations API V3

8 lines (7 loc) 539 B
import { z } from 'zod'; import { templateComponentSchema, templateButtonSchema, templateHeaderSchema, templateComponentsSchema, templateMessageSchema } from '@/models/messages/whatsapp'; export type TemplateComponent = z.infer<typeof templateComponentSchema>; export type TemplateButton = z.infer<typeof templateButtonSchema>; export type TemplateHeader = z.infer<typeof templateHeaderSchema>; export type TemplateComponents = z.infer<typeof templateComponentsSchema>; export type TemplateMessage = z.infer<typeof templateMessageSchema>;