tyntec-sdk
Version:
TypeScript SDK for Tyntec Conversations API V3
8 lines (7 loc) • 527 B
TypeScript
import { z } from 'zod';
import { buttonSchema, listSectionSchema, productListSectionSchema, interactiveComponentsSchema, interactiveMessageSchema } from '@/models/messages/whatsapp';
export type Button = z.infer<typeof buttonSchema>;
export type ListSection = z.infer<typeof listSectionSchema>;
export type ProductListSection = z.infer<typeof productListSectionSchema>;
export type InteractiveComponents = z.infer<typeof interactiveComponentsSchema>;
export type InteractiveMessage = z.infer<typeof interactiveMessageSchema>;