UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

25 lines (24 loc) 890 B
import { z } from 'zod'; /** * /v2/commerce/prices definition. */ export declare const CommercePricesDTO: z.ZodArray<z.ZodObject<{ /** The item id. Can be resolved against /v2/items. */ id: z.ZodNumber; /** Whether free to play accounts can purchase or sell this item. */ whitelisted: z.ZodBoolean; /** Buy information. */ buys: z.ZodObject<{ /** The highest buy order or lowest sell offer price in copper coins. */ quantity: z.ZodNumber; /** The amount of items being sold/bought. */ unit_price: z.ZodNumber; }, z.core.$strict>; /** Sell information. */ sells: z.ZodObject<{ /** The highest buy order or lowest sell offer price in copper coins. */ quantity: z.ZodNumber; /** The amount of items being sold/bought. */ unit_price: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>>;