// Code generated by @openmeter/typespec-typescript. DO NOT EDIT. import { z } from 'zod' import * as schemas from '../schemas.js' import type { AcceptDateStrings } from '../../lib/wire.js' import type { CreatePlanAddonRequest as CreatePlanAddonRequestBody, PlanAddon, PlanAddonPagePaginatedResponse, UpsertPlanAddonRequest, } from '../types.js' export interface ListPlanAddonsQuery { /** Determines which page of the collection to retrieve. */ page?: { size?: number; number?: number } } export type ListPlanAddonsRequest = AcceptDateStrings< ListPlanAddonsQuery & { planId: string } > export type ListPlanAddonsResponse = PlanAddonPagePaginatedResponse export type CreatePlanAddonRequest = AcceptDateStrings<{ planId: string body: CreatePlanAddonRequestBody }> export type CreatePlanAddonResponse = PlanAddon export type GetPlanAddonRequest = { planId: string planAddonId: string } export type GetPlanAddonResponse = PlanAddon export type UpdatePlanAddonRequest = AcceptDateStrings<{ planId: string planAddonId: string body: UpsertPlanAddonRequest }> export type UpdatePlanAddonResponse = PlanAddon export type DeletePlanAddonRequest = { planId: string planAddonId: string } export type DeletePlanAddonResponse = void