/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { remap as remap$ } from "../../lib/primitives.js"; export type AfterPaginationMetaResultV2 = { /** * The time, if it exists, of the last entry's end time */ after: string; /** * The URL to fetch the next page of entries */ afterUrl: string; }; /** @internal */ export const AfterPaginationMetaResultV2$inboundSchema: z.ZodType< AfterPaginationMetaResultV2, z.ZodTypeDef, unknown > = z.object({ after: z.string(), after_url: z.string(), }).transform((v) => { return remap$(v, { "after_url": "afterUrl", }); }); /** @internal */ export type AfterPaginationMetaResultV2$Outbound = { after: string; after_url: string; }; /** @internal */ export const AfterPaginationMetaResultV2$outboundSchema: z.ZodType< AfterPaginationMetaResultV2$Outbound, z.ZodTypeDef, AfterPaginationMetaResultV2 > = z.object({ after: z.string(), afterUrl: z.string(), }).transform((v) => { return remap$(v, { afterUrl: "after_url", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace AfterPaginationMetaResultV2$ { /** @deprecated use `AfterPaginationMetaResultV2$inboundSchema` instead. */ export const inboundSchema = AfterPaginationMetaResultV2$inboundSchema; /** @deprecated use `AfterPaginationMetaResultV2$outboundSchema` instead. */ export const outboundSchema = AfterPaginationMetaResultV2$outboundSchema; /** @deprecated use `AfterPaginationMetaResultV2$Outbound` instead. */ export type Outbound = AfterPaginationMetaResultV2$Outbound; }