UNPKG

@aajsa/moyasar-client

Version:

A lightweight and type-safe TypeScript client for interacting with Moyasar Payment Gateway APIs.

14 lines (12 loc) 361 B
import { z } from "zod/v4-mini"; //#region src/schema/common.ts const paramPathIdSchema = z.object({ id: z.uuid() }); const MetaResponseSchema = z.partial(z.object({ current_page: z.number(), next_page: z.number(), prev_page: z.number(), total_pages: z.number(), total_count: z.number() })); //#endregion export { MetaResponseSchema, paramPathIdSchema };