UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

27 lines (26 loc) 1.1 kB
import { z } from 'zod'; /** * /v2/commerce/listings definition. */ export declare const CommerceListingsDTO: z.ZodArray<z.ZodObject<{ /** The item id. Can be resolved against /v2/items. */ id: z.ZodNumber; /** List of all buy listings, descending from the highest buy order. */ buys: z.ZodArray<z.ZodObject<{ /** The number of individual listings this object refers to. */ listings: z.ZodNumber; /** The sell offer or buy order price in coins. */ unit_price: z.ZodNumber; /** The amount of items being sold/bought in this listing. */ quantity: z.ZodNumber; }, z.core.$strict>>; /** List of all sell listings, ascending from the lowest sell order. */ sells: z.ZodArray<z.ZodObject<{ /** The number of individual listings this object refers to. */ listings: z.ZodNumber; /** The sell offer or buy order price in coins. */ unit_price: z.ZodNumber; /** The amount of items being sold/bought in this listing. */ quantity: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>>;