Skip to content

Latest commit

 

History

History
78 lines (73 loc) · 2.88 KB

accountv1getstaffresponse.md

File metadata and controls

78 lines (73 loc) · 2.88 KB

AccountV1GetStaffResponse

Example Usage

import { AccountV1GetStaffResponse } from "@steamsets/client-ts/models/operations";

let value: AccountV1GetStaffResponse = {
  httpMeta: {
    response: new Response("{\"message\": \"hello world\"}", {
      headers: { "Content-Type": "application/json" },
    }),
    request: new Request("https://example.com"),
  },
  leaderboardAccounts: [
    {
      appCost: 123456,
      apps: 123456,
      avatar: "f1a1d2c3d0c9d1e1f2f3f4f5f6f7f8f9",
      awardsGiven: 123456,
      awardsReceived: 123456,
      badges: 123456,
      bans: 318569,
      city: {
        id: 1,
        name: "Bad Krozingen",
      },
      country: {
        code: "DE",
        id: 1,
        name: "Germany",
      },
      createdAt: new Date("2023-01-01T00:00:00Z"),
      donated: 123456,
      economyBan: "steam",
      foilBadgeCost: 123456,
      foilBadges: 123456,
      friends: 123456,
      gameBans: 667411,
      level: 123456,
      name: "steamsets",
      normalBadgeCost: 123456,
      normalBadges: 123456,
      playtime: 123456,
      pointsGiven: 123456,
      pointsReceived: 123456,
      privacy: "public",
      region: {
        id: 1,
        name: "Europe",
      },
      roles: [
        {
          rating: 131797,
          role: "contributor",
        },
      ],
      state: {
        id: 1,
        name: "Baden-Wurttemberg",
      },
      steamId: "76561198842603734",
      steamSetsScore: 289406,
      steamSetsVanity: "steamsets",
      steamVanity: "steamsets",
      vacBans: 183191,
      xp: 123456,
    },
  ],
};

Fields

Field Type Required Description
httpMeta components.HTTPMetadata ✔️ N/A
leaderboardAccounts components.LeaderboardAccount[] OK