UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

19 lines (18 loc) 653 B
import { z } from 'zod'; /** * /v2/commerce/transactions definition. */ export declare const CommerceTransactionDTO: z.ZodArray<z.ZodObject<{ /** Id of the transaction. */ id: z.ZodNumber; /** The item id. Can be resolved against /v2/items. */ item_id: z.ZodNumber; /** The price in coins. */ price: z.ZodNumber; /** The quantity of the item. */ quantity: z.ZodNumber; /** The date of creation, using ISO-8601 standard. */ created: z.ZodString; /** The date of purchase, using ISO-8601 standard. Not shown in current second-level endpoint. */ purchased: z.ZodOptional<z.ZodString>; }, z.core.$strict>>;