steamwebapi-trade-bot
Version:
The official TypeScript library for the Steamwebapi Trade Bot
47 lines (40 loc) • 1 kB
TypeScript
interface DefaultParams {
steamloginsecure?: string;
partnersteamid?: string;
tradeofferid?: string;
steamcommunityapikey?: string;
assetid?: string;
partneritemassetids?: string;
myitemsassetids?: string;
tradelink?: string;
message?: string;
game?: string;
}
type CreateParamsType = {
steamloginsecure?: boolean;
partneritemassetids?: string;
myitemsassetids?: string;
tradelink?: string;
partnersteamid?: string;
message?: string;
game?: string;
};
type StatusParamsType = {
steamcommunityapikey?: string;
partnersteamid?: string;
assetid?: string;
};
type CancelParamsType = {
steamloginsecure?: string;
tradeofferid?: string;
};
type DeclineParamsType = {
steamloginsecure?: string;
tradeofferid?: string;
};
type AcceptParamsType = {
steamloginsecure?: string;
tradeofferid?: string;
partnersteamid?: string;
};
export type { AcceptParamsType, CancelParamsType, CreateParamsType, DeclineParamsType, DefaultParams, StatusParamsType };