@steamsets/client-ts 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/README.md +75 -9
  2. package/docs/sdks/account/README.md +383 -76
  3. package/docs/sdks/data/README.md +473 -0
  4. package/docs/sdks/location/README.md +80 -0
  5. package/docs/sdks/public/README.md +399 -0
  6. package/docs/sdks/session/README.md +62 -62
  7. package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
  8. package/funcs/accountAccountV1GetApps.js +4 -0
  9. package/funcs/accountAccountV1GetApps.js.map +1 -1
  10. package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
  11. package/funcs/accountAccountV1GetBadges.js +4 -0
  12. package/funcs/accountAccountV1GetBadges.js.map +1 -1
  13. package/funcs/accountAccountV1GetFriends.d.ts +13 -0
  14. package/funcs/accountAccountV1GetFriends.d.ts.map +1 -0
  15. package/funcs/accountAccountV1GetFriends.js +105 -0
  16. package/funcs/accountAccountV1GetFriends.js.map +1 -0
  17. package/funcs/accountAccountV1GetInfo.d.ts +14 -0
  18. package/funcs/accountAccountV1GetInfo.d.ts.map +1 -0
  19. package/funcs/accountAccountV1GetInfo.js +96 -0
  20. package/funcs/accountAccountV1GetInfo.js.map +1 -0
  21. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts +13 -0
  22. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -0
  23. package/funcs/accountAccountV1GetLeaderboardHistory.js +105 -0
  24. package/funcs/accountAccountV1GetLeaderboardHistory.js.map +1 -0
  25. package/funcs/accountAccountV1GetStaff.d.ts +13 -0
  26. package/funcs/accountAccountV1GetStaff.d.ts.map +1 -0
  27. package/funcs/accountAccountV1GetStaff.js +86 -0
  28. package/funcs/accountAccountV1GetStaff.js.map +1 -0
  29. package/funcs/accountAccountV1SessionCreate.js +1 -1
  30. package/funcs/accountAccountV1SessionLogin.js +2 -2
  31. package/funcs/accountAccountV1SessionLogin.js.map +1 -1
  32. package/funcs/dataAccountV1GetApps.d.ts +13 -0
  33. package/funcs/dataAccountV1GetApps.d.ts.map +1 -0
  34. package/funcs/dataAccountV1GetApps.js +105 -0
  35. package/funcs/dataAccountV1GetApps.js.map +1 -0
  36. package/funcs/dataAccountV1GetBadges.d.ts +13 -0
  37. package/funcs/dataAccountV1GetBadges.d.ts.map +1 -0
  38. package/funcs/dataAccountV1GetBadges.js +105 -0
  39. package/funcs/dataAccountV1GetBadges.js.map +1 -0
  40. package/funcs/dataAccountV1GetFriends.d.ts +13 -0
  41. package/funcs/dataAccountV1GetFriends.d.ts.map +1 -0
  42. package/funcs/dataAccountV1GetFriends.js +105 -0
  43. package/funcs/dataAccountV1GetFriends.js.map +1 -0
  44. package/funcs/dataAccountV1GetInfo.d.ts +14 -0
  45. package/funcs/dataAccountV1GetInfo.d.ts.map +1 -0
  46. package/funcs/dataAccountV1GetInfo.js +96 -0
  47. package/funcs/dataAccountV1GetInfo.js.map +1 -0
  48. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts +13 -0
  49. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -0
  50. package/funcs/dataAccountV1GetLeaderboardHistory.js +105 -0
  51. package/funcs/dataAccountV1GetLeaderboardHistory.js.map +1 -0
  52. package/funcs/dataAccountV1GetStaff.d.ts +13 -0
  53. package/funcs/dataAccountV1GetStaff.d.ts.map +1 -0
  54. package/funcs/dataAccountV1GetStaff.js +86 -0
  55. package/funcs/dataAccountV1GetStaff.js.map +1 -0
  56. package/funcs/locationLocation.d.ts +16 -0
  57. package/funcs/locationLocation.d.ts.map +1 -0
  58. package/funcs/locationLocation.js +87 -0
  59. package/funcs/locationLocation.js.map +1 -0
  60. package/funcs/publicAccountV1GetApps.d.ts +13 -0
  61. package/funcs/publicAccountV1GetApps.d.ts.map +1 -0
  62. package/funcs/publicAccountV1GetApps.js +105 -0
  63. package/funcs/publicAccountV1GetApps.js.map +1 -0
  64. package/funcs/publicAccountV1GetBadges.d.ts +13 -0
  65. package/funcs/publicAccountV1GetBadges.d.ts.map +1 -0
  66. package/funcs/publicAccountV1GetBadges.js +105 -0
  67. package/funcs/publicAccountV1GetBadges.js.map +1 -0
  68. package/funcs/publicAccountV1GetFriends.d.ts +13 -0
  69. package/funcs/publicAccountV1GetFriends.d.ts.map +1 -0
  70. package/funcs/publicAccountV1GetFriends.js +105 -0
  71. package/funcs/publicAccountV1GetFriends.js.map +1 -0
  72. package/funcs/publicAccountV1GetInfo.d.ts +14 -0
  73. package/funcs/publicAccountV1GetInfo.d.ts.map +1 -0
  74. package/funcs/publicAccountV1GetInfo.js +96 -0
  75. package/funcs/publicAccountV1GetInfo.js.map +1 -0
  76. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts +13 -0
  77. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -0
  78. package/funcs/publicAccountV1GetLeaderboardHistory.js +105 -0
  79. package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -0
  80. package/funcs/sessionAccountV1SessionCreate.js +1 -1
  81. package/funcs/sessionAccountV1SessionLogin.js +2 -2
  82. package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
  83. package/lib/config.d.ts +3 -3
  84. package/lib/config.js +3 -3
  85. package/lib/security.d.ts +6 -1
  86. package/lib/security.d.ts.map +1 -1
  87. package/lib/security.js +5 -0
  88. package/lib/security.js.map +1 -1
  89. package/models/components/accountinfobody.d.ts +379 -0
  90. package/models/components/accountinfobody.d.ts.map +1 -0
  91. package/models/components/accountinfobody.js +254 -0
  92. package/models/components/accountinfobody.js.map +1 -0
  93. package/models/components/accountleaderboardhistory.d.ts +96 -0
  94. package/models/components/accountleaderboardhistory.d.ts.map +1 -0
  95. package/models/components/accountleaderboardhistory.js +91 -0
  96. package/models/components/accountleaderboardhistory.js.map +1 -0
  97. package/models/components/bestleaderboardrank.d.ts +110 -0
  98. package/models/components/bestleaderboardrank.d.ts.map +1 -0
  99. package/models/components/bestleaderboardrank.js +89 -0
  100. package/models/components/bestleaderboardrank.js.map +1 -0
  101. package/models/components/city.d.ts +28 -0
  102. package/models/components/city.d.ts.map +1 -0
  103. package/models/components/city.js +50 -0
  104. package/models/components/city.js.map +1 -0
  105. package/models/components/country.d.ts +43 -0
  106. package/models/components/country.d.ts.map +1 -0
  107. package/models/components/country.js +55 -0
  108. package/models/components/country.js.map +1 -0
  109. package/models/components/index.d.ts +14 -1
  110. package/models/components/index.d.ts.map +1 -1
  111. package/models/components/index.js +14 -1
  112. package/models/components/index.js.map +1 -1
  113. package/models/components/leaderboardaccount.d.ts +196 -0
  114. package/models/components/leaderboardaccount.d.ts.map +1 -0
  115. package/models/components/leaderboardaccount.js +128 -0
  116. package/models/components/leaderboardaccount.js.map +1 -0
  117. package/models/components/leaderboardbadgeinfo.d.ts +33 -0
  118. package/models/components/leaderboardbadgeinfo.d.ts.map +1 -0
  119. package/models/components/leaderboardbadgeinfo.js +55 -0
  120. package/models/components/leaderboardbadgeinfo.js.map +1 -0
  121. package/models/components/location.d.ts +38 -0
  122. package/models/components/location.d.ts.map +1 -0
  123. package/models/components/location.js +54 -0
  124. package/models/components/location.js.map +1 -0
  125. package/models/components/region.d.ts +38 -0
  126. package/models/components/region.d.ts.map +1 -0
  127. package/models/components/region.js +53 -0
  128. package/models/components/region.js.map +1 -0
  129. package/models/components/role.d.ts +2 -2
  130. package/models/components/role.d.ts.map +1 -1
  131. package/models/components/role.js +4 -17
  132. package/models/components/role.js.map +1 -1
  133. package/models/components/state.d.ts +43 -0
  134. package/models/components/state.d.ts.map +1 -0
  135. package/models/components/state.js +55 -0
  136. package/models/components/state.js.map +1 -0
  137. package/models/components/v1accountapp.d.ts +53 -0
  138. package/models/components/v1accountapp.d.ts.map +1 -0
  139. package/models/components/{v1app.js → v1accountapp.js} +11 -11
  140. package/models/components/v1accountapp.js.map +1 -0
  141. package/models/components/v1accountfriend.d.ts +198 -0
  142. package/models/components/v1accountfriend.d.ts.map +1 -0
  143. package/models/components/v1accountfriend.js +133 -0
  144. package/models/components/v1accountfriend.js.map +1 -0
  145. package/models/components/v1accountfriendsresponsebody.d.ts +31 -0
  146. package/models/components/v1accountfriendsresponsebody.d.ts.map +1 -0
  147. package/models/components/v1accountfriendsresponsebody.js +66 -0
  148. package/models/components/v1accountfriendsresponsebody.js.map +1 -0
  149. package/models/components/v1accountleaderboardhistoryresponsebody.d.ts +31 -0
  150. package/models/components/v1accountleaderboardhistoryresponsebody.d.ts.map +1 -0
  151. package/models/components/v1accountleaderboardhistoryresponsebody.js +66 -0
  152. package/models/components/v1accountleaderboardhistoryresponsebody.js.map +1 -0
  153. package/models/components/v1accountsappsresponsebody.d.ts +3 -3
  154. package/models/components/v1accountsappsresponsebody.d.ts.map +1 -1
  155. package/models/components/v1accountsappsresponsebody.js +3 -3
  156. package/models/components/v1accountsappsresponsebody.js.map +1 -1
  157. package/models/errors/errormodel.d.ts +5 -5
  158. package/models/errors/errormodel.d.ts.map +1 -1
  159. package/models/errors/errormodel.js +4 -2
  160. package/models/errors/errormodel.js.map +1 -1
  161. package/models/operations/accountv1getapps.d.ts +2 -0
  162. package/models/operations/accountv1getapps.d.ts.map +1 -1
  163. package/models/operations/accountv1getapps.js +4 -0
  164. package/models/operations/accountv1getapps.js.map +1 -1
  165. package/models/operations/accountv1getbadges.d.ts +2 -0
  166. package/models/operations/accountv1getbadges.d.ts.map +1 -1
  167. package/models/operations/accountv1getbadges.js +4 -0
  168. package/models/operations/accountv1getbadges.js.map +1 -1
  169. package/models/operations/accountv1getfriends.d.ts +58 -0
  170. package/models/operations/accountv1getfriends.d.ts.map +1 -0
  171. package/models/operations/accountv1getfriends.js +107 -0
  172. package/models/operations/accountv1getfriends.js.map +1 -0
  173. package/models/operations/accountv1getinfo.d.ts +31 -0
  174. package/models/operations/accountv1getinfo.d.ts.map +1 -0
  175. package/models/operations/accountv1getinfo.js +68 -0
  176. package/models/operations/accountv1getinfo.js.map +1 -0
  177. package/models/operations/accountv1getleaderboardhistory.d.ts +58 -0
  178. package/models/operations/accountv1getleaderboardhistory.d.ts.map +1 -0
  179. package/models/operations/accountv1getleaderboardhistory.js +107 -0
  180. package/models/operations/accountv1getleaderboardhistory.js.map +1 -0
  181. package/models/operations/accountv1getstaff.d.ts +31 -0
  182. package/models/operations/accountv1getstaff.d.ts.map +1 -0
  183. package/models/operations/accountv1getstaff.js +72 -0
  184. package/models/operations/accountv1getstaff.js.map +1 -0
  185. package/models/operations/index.d.ts +5 -0
  186. package/models/operations/index.d.ts.map +1 -1
  187. package/models/operations/index.js +5 -0
  188. package/models/operations/index.js.map +1 -1
  189. package/models/operations/location.d.ts +31 -0
  190. package/models/operations/location.d.ts.map +1 -0
  191. package/models/operations/location.js +68 -0
  192. package/models/operations/location.js.map +1 -0
  193. package/package.json +1 -1
  194. package/sdk/account.d.ts +20 -4
  195. package/sdk/account.d.ts.map +1 -1
  196. package/sdk/account.js +34 -6
  197. package/sdk/account.js.map +1 -1
  198. package/sdk/data.d.ts +30 -0
  199. package/sdk/data.d.ts.map +1 -0
  200. package/sdk/data.js +54 -0
  201. package/sdk/data.js.map +1 -0
  202. package/sdk/location.d.ts +12 -0
  203. package/sdk/location.d.ts.map +1 -0
  204. package/sdk/location.js +22 -0
  205. package/sdk/location.js.map +1 -0
  206. package/sdk/public.d.ts +26 -0
  207. package/sdk/public.d.ts.map +1 -0
  208. package/sdk/public.js +47 -0
  209. package/sdk/public.js.map +1 -0
  210. package/sdk/sdk.d.ts +11 -2
  211. package/sdk/sdk.d.ts.map +1 -1
  212. package/sdk/sdk.js +17 -2
  213. package/sdk/sdk.js.map +1 -1
  214. package/sdk/session.d.ts +4 -4
  215. package/sdk/session.d.ts.map +1 -1
  216. package/sdk/session.js +6 -6
  217. package/sdk/session.js.map +1 -1
  218. package/src/funcs/accountAccountV1GetApps.ts +4 -0
  219. package/src/funcs/accountAccountV1GetBadges.ts +4 -0
  220. package/src/funcs/accountAccountV1GetFriends.ts +139 -0
  221. package/src/funcs/accountAccountV1GetInfo.ts +130 -0
  222. package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +139 -0
  223. package/src/funcs/accountAccountV1GetStaff.ts +113 -0
  224. package/src/funcs/accountAccountV1SessionCreate.ts +1 -1
  225. package/src/funcs/accountAccountV1SessionLogin.ts +2 -2
  226. package/src/funcs/dataAccountV1GetApps.ts +139 -0
  227. package/src/funcs/dataAccountV1GetBadges.ts +139 -0
  228. package/src/funcs/dataAccountV1GetFriends.ts +139 -0
  229. package/src/funcs/dataAccountV1GetInfo.ts +130 -0
  230. package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +139 -0
  231. package/src/funcs/dataAccountV1GetStaff.ts +113 -0
  232. package/src/funcs/locationLocation.ts +114 -0
  233. package/src/funcs/publicAccountV1GetApps.ts +139 -0
  234. package/src/funcs/publicAccountV1GetBadges.ts +139 -0
  235. package/src/funcs/publicAccountV1GetFriends.ts +139 -0
  236. package/src/funcs/publicAccountV1GetInfo.ts +130 -0
  237. package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +139 -0
  238. package/src/funcs/sessionAccountV1SessionCreate.ts +1 -1
  239. package/src/funcs/sessionAccountV1SessionLogin.ts +2 -2
  240. package/src/lib/config.ts +3 -3
  241. package/src/lib/security.ts +12 -1
  242. package/src/models/components/accountinfobody.ts +532 -0
  243. package/src/models/components/accountleaderboardhistory.ts +103 -0
  244. package/src/models/components/bestleaderboardrank.ts +102 -0
  245. package/src/models/components/city.ts +40 -0
  246. package/src/models/components/country.ts +55 -0
  247. package/src/models/components/index.ts +14 -1
  248. package/src/models/components/leaderboardaccount.ts +301 -0
  249. package/src/models/components/leaderboardbadgeinfo.ts +58 -0
  250. package/src/models/components/location.ts +55 -0
  251. package/src/models/components/region.ts +53 -0
  252. package/src/models/components/role.ts +14 -27
  253. package/src/models/components/state.ts +55 -0
  254. package/src/models/components/{v1app.ts → v1accountapp.ts} +15 -11
  255. package/src/models/components/v1accountfriend.ts +307 -0
  256. package/src/models/components/v1accountfriendsresponsebody.ts +71 -0
  257. package/src/models/components/v1accountleaderboardhistoryresponsebody.ts +71 -0
  258. package/src/models/components/v1accountsappsresponsebody.ts +10 -5
  259. package/src/models/errors/errormodel.ts +8 -6
  260. package/src/models/operations/accountv1getapps.ts +6 -0
  261. package/src/models/operations/accountv1getbadges.ts +6 -0
  262. package/src/models/operations/accountv1getfriends.ts +134 -0
  263. package/src/models/operations/accountv1getinfo.ts +68 -0
  264. package/src/models/operations/accountv1getleaderboardhistory.ts +138 -0
  265. package/src/models/operations/accountv1getstaff.ts +72 -0
  266. package/src/models/operations/index.ts +5 -0
  267. package/src/models/operations/location.ts +64 -0
  268. package/src/sdk/account.ts +53 -10
  269. package/src/sdk/data.ts +75 -0
  270. package/src/sdk/location.ts +20 -0
  271. package/src/sdk/public.ts +65 -0
  272. package/src/sdk/sdk.ts +21 -3
  273. package/src/sdk/session.ts +10 -10
  274. package/models/components/v1app.d.ts +0 -53
  275. package/models/components/v1app.d.ts.map +0 -1
  276. package/models/components/v1app.js.map +0 -1
@@ -0,0 +1,53 @@
1
+ import * as z from "zod";
2
+ export type V1AccountApp = {
3
+ /**
4
+ * The Steam App ID
5
+ */
6
+ id: number;
7
+ /**
8
+ * The App's image URL
9
+ */
10
+ image: string;
11
+ /**
12
+ * The App's name
13
+ */
14
+ name: string;
15
+ /**
16
+ * The Account's playtime in the App
17
+ */
18
+ playtime: number;
19
+ /**
20
+ * How much the app costs
21
+ */
22
+ price: number;
23
+ /**
24
+ * The App's short name
25
+ */
26
+ shortName: string;
27
+ };
28
+ /** @internal */
29
+ export declare const V1AccountApp$inboundSchema: z.ZodType<V1AccountApp, z.ZodTypeDef, unknown>;
30
+ /** @internal */
31
+ export type V1AccountApp$Outbound = {
32
+ id: number;
33
+ image: string;
34
+ name: string;
35
+ playtime: number;
36
+ price: number;
37
+ shortName: string;
38
+ };
39
+ /** @internal */
40
+ export declare const V1AccountApp$outboundSchema: z.ZodType<V1AccountApp$Outbound, z.ZodTypeDef, V1AccountApp>;
41
+ /**
42
+ * @internal
43
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
44
+ */
45
+ export declare namespace V1AccountApp$ {
46
+ /** @deprecated use `V1AccountApp$inboundSchema` instead. */
47
+ const inboundSchema: z.ZodType<V1AccountApp, z.ZodTypeDef, unknown>;
48
+ /** @deprecated use `V1AccountApp$outboundSchema` instead. */
49
+ const outboundSchema: z.ZodType<V1AccountApp$Outbound, z.ZodTypeDef, V1AccountApp>;
50
+ /** @deprecated use `V1AccountApp$Outbound` instead. */
51
+ type Outbound = V1AccountApp$Outbound;
52
+ }
53
+ //# sourceMappingURL=v1accountapp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountapp.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountapp.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,YAAY,GAAG;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAOpF,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAC/C,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAQd,CAAC;AAEH;;;GAGG;AACH,yBAAiB,aAAa,CAAC;IAC3B,4DAA4D;IACrD,MAAM,aAAa,gDAA6B,CAAC;IACxD,6DAA6D;IACtD,MAAM,cAAc,8DAA8B,CAAC;IAC1D,uDAAuD;IACvD,KAAY,QAAQ,GAAG,qBAAqB,CAAC;CAChD"}
@@ -26,10 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.V1App$ = exports.V1App$outboundSchema = exports.V1App$inboundSchema = void 0;
29
+ exports.V1AccountApp$ = exports.V1AccountApp$outboundSchema = exports.V1AccountApp$inboundSchema = void 0;
30
30
  const z = __importStar(require("zod"));
31
31
  /** @internal */
32
- exports.V1App$inboundSchema = z.object({
32
+ exports.V1AccountApp$inboundSchema = z.object({
33
33
  id: z.number().int(),
34
34
  image: z.string(),
35
35
  name: z.string(),
@@ -38,7 +38,7 @@ exports.V1App$inboundSchema = z.object({
38
38
  shortName: z.string(),
39
39
  });
40
40
  /** @internal */
41
- exports.V1App$outboundSchema = z.object({
41
+ exports.V1AccountApp$outboundSchema = z.object({
42
42
  id: z.number().int(),
43
43
  image: z.string(),
44
44
  name: z.string(),
@@ -50,11 +50,11 @@ exports.V1App$outboundSchema = z.object({
50
50
  * @internal
51
51
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
52
52
  */
53
- var V1App$;
54
- (function (V1App$) {
55
- /** @deprecated use `V1App$inboundSchema` instead. */
56
- V1App$.inboundSchema = exports.V1App$inboundSchema;
57
- /** @deprecated use `V1App$outboundSchema` instead. */
58
- V1App$.outboundSchema = exports.V1App$outboundSchema;
59
- })(V1App$ || (exports.V1App$ = V1App$ = {}));
60
- //# sourceMappingURL=v1app.js.map
53
+ var V1AccountApp$;
54
+ (function (V1AccountApp$) {
55
+ /** @deprecated use `V1AccountApp$inboundSchema` instead. */
56
+ V1AccountApp$.inboundSchema = exports.V1AccountApp$inboundSchema;
57
+ /** @deprecated use `V1AccountApp$outboundSchema` instead. */
58
+ V1AccountApp$.outboundSchema = exports.V1AccountApp$outboundSchema;
59
+ })(V1AccountApp$ || (exports.V1AccountApp$ = V1AccountApp$ = {}));
60
+ //# sourceMappingURL=v1accountapp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountapp.js","sourceRoot":"","sources":["../../src/models/components/v1accountapp.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AA6BzB,gBAAgB;AACH,QAAA,0BAA0B,GAAmD,CAAC,CAAC,MAAM,CAAC;IAC/F,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACT,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,aAAa,CAO7B;AAPD,WAAiB,aAAa;IAC1B,4DAA4D;IAC/C,2BAAa,GAAG,kCAA0B,CAAC;IACxD,6DAA6D;IAChD,4BAAc,GAAG,mCAA2B,CAAC;AAG9D,CAAC,EAPgB,aAAa,6BAAb,aAAa,QAO7B"}
@@ -0,0 +1,198 @@
1
+ import { LeaderboardBadgeInfo, LeaderboardBadgeInfo$Outbound } from "./leaderboardbadgeinfo.js";
2
+ import { Location, Location$Outbound } from "./location.js";
3
+ import { Role, Role$Outbound } from "./role.js";
4
+ import * as z from "zod";
5
+ export type V1AccountFriend = {
6
+ /**
7
+ * The cost of an app
8
+ */
9
+ appCost: number;
10
+ /**
11
+ * The playtime of the account, incase of an app leaderboard
12
+ */
13
+ appPlaytime?: number | null | undefined;
14
+ /**
15
+ * The number of apps the account has
16
+ */
17
+ apps: number;
18
+ /**
19
+ * The avatar hash of the account
20
+ */
21
+ avatar: string;
22
+ /**
23
+ * The average playtime of the account
24
+ */
25
+ averagePlaytime: number;
26
+ /**
27
+ * The number of awards the account has
28
+ */
29
+ awardsGiven: number;
30
+ /**
31
+ * The number of awards the account has
32
+ */
33
+ awardsReceived: number;
34
+ badgeInfo?: LeaderboardBadgeInfo | undefined;
35
+ /**
36
+ * The number of badges the account has
37
+ */
38
+ badges: number;
39
+ /**
40
+ * The number of bans
41
+ */
42
+ bans: number;
43
+ city?: Location | undefined;
44
+ country?: Location | undefined;
45
+ /**
46
+ * The time the account was created
47
+ */
48
+ createdAt: Date;
49
+ /**
50
+ * The economy ban of the account
51
+ */
52
+ economyBan: string;
53
+ /**
54
+ * The cost of a foil badge
55
+ */
56
+ foilBadgeCost: number;
57
+ /**
58
+ * The number of foil badges the account has
59
+ */
60
+ foilBadges: number;
61
+ /**
62
+ * The number of friends the account has
63
+ */
64
+ friends: number;
65
+ friendsSince: Date | null;
66
+ /**
67
+ * The number of game bans
68
+ */
69
+ gameBans: number;
70
+ /**
71
+ * Whether the account is hidden in the leaderboards
72
+ */
73
+ hidden: boolean;
74
+ /**
75
+ * The level of the account
76
+ */
77
+ level: number;
78
+ /**
79
+ * The number of limited apps the account has
80
+ */
81
+ limitedApps: number;
82
+ /**
83
+ * The name of the account
84
+ */
85
+ name: string;
86
+ /**
87
+ * The cost of a normal badge
88
+ */
89
+ normalBadgeCost: number;
90
+ /**
91
+ * The number of normal badges the account has
92
+ */
93
+ normalBadges: number;
94
+ /**
95
+ * The playtime of the account
96
+ */
97
+ playtime: number;
98
+ /**
99
+ * The number of points the account has
100
+ */
101
+ pointsGiven: number;
102
+ /**
103
+ * The number of points the account has
104
+ */
105
+ pointsReceived: number;
106
+ /**
107
+ * The privacy of the account
108
+ */
109
+ privacy: string;
110
+ region?: Location | undefined;
111
+ /**
112
+ * The roles of the account
113
+ */
114
+ roles: Array<Role> | null;
115
+ state?: Location | undefined;
116
+ /**
117
+ * The steam id
118
+ */
119
+ steamId: string;
120
+ /**
121
+ * The steam sets score
122
+ */
123
+ steamSetsScore: number;
124
+ /**
125
+ * The vanity of the account
126
+ */
127
+ steamSetsVanity: string;
128
+ /**
129
+ * The vanity of the account
130
+ */
131
+ steamVanity: string;
132
+ /**
133
+ * The number of vac bans
134
+ */
135
+ vacBans: number;
136
+ /**
137
+ * The number of xp the account has
138
+ */
139
+ xp: number;
140
+ };
141
+ /** @internal */
142
+ export declare const V1AccountFriend$inboundSchema: z.ZodType<V1AccountFriend, z.ZodTypeDef, unknown>;
143
+ /** @internal */
144
+ export type V1AccountFriend$Outbound = {
145
+ appCost: number;
146
+ appPlaytime?: number | null | undefined;
147
+ apps: number;
148
+ avatar: string;
149
+ averagePlaytime: number;
150
+ awardsGiven: number;
151
+ awardsReceived: number;
152
+ badgeInfo?: LeaderboardBadgeInfo$Outbound | undefined;
153
+ badges: number;
154
+ bans: number;
155
+ city?: Location$Outbound | undefined;
156
+ country?: Location$Outbound | undefined;
157
+ createdAt: string;
158
+ economyBan: string;
159
+ foilBadgeCost: number;
160
+ foilBadges: number;
161
+ friends: number;
162
+ friendsSince: string | null;
163
+ gameBans: number;
164
+ hidden: boolean;
165
+ level: number;
166
+ limitedApps: number;
167
+ name: string;
168
+ normalBadgeCost: number;
169
+ normalBadges: number;
170
+ playtime: number;
171
+ pointsGiven: number;
172
+ pointsReceived: number;
173
+ privacy: string;
174
+ region?: Location$Outbound | undefined;
175
+ roles: Array<Role$Outbound> | null;
176
+ state?: Location$Outbound | undefined;
177
+ steamId: string;
178
+ steamSetsScore: number;
179
+ steamSetsVanity: string;
180
+ steamVanity: string;
181
+ vacBans: number;
182
+ xp: number;
183
+ };
184
+ /** @internal */
185
+ export declare const V1AccountFriend$outboundSchema: z.ZodType<V1AccountFriend$Outbound, z.ZodTypeDef, V1AccountFriend>;
186
+ /**
187
+ * @internal
188
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
189
+ */
190
+ export declare namespace V1AccountFriend$ {
191
+ /** @deprecated use `V1AccountFriend$inboundSchema` instead. */
192
+ const inboundSchema: z.ZodType<V1AccountFriend, z.ZodTypeDef, unknown>;
193
+ /** @deprecated use `V1AccountFriend$outboundSchema` instead. */
194
+ const outboundSchema: z.ZodType<V1AccountFriend$Outbound, z.ZodTypeDef, V1AccountFriend>;
195
+ /** @deprecated use `V1AccountFriend$Outbound` instead. */
196
+ type Outbound = V1AccountFriend$Outbound;
197
+ }
198
+ //# sourceMappingURL=v1accountfriend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountfriend.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountfriend.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,oBAAoB,EAEpB,6BAA6B,EAEhC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,QAAQ,EAER,iBAAiB,EAEpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAsB,aAAa,EAAuB,MAAM,WAAW,CAAC;AACzF,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,eAAe,GAAG;IAC1B;;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,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACvC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CAClD,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,eAAe,CAwCjB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAC9B,+DAA+D;IACxD,MAAM,aAAa,mDAAgC,CAAC;IAC3D,gEAAgE;IACzD,MAAM,cAAc,oEAAiC,CAAC;IAC7D,0DAA0D;IAC1D,KAAY,QAAQ,GAAG,wBAAwB,CAAC;CACnD"}
@@ -0,0 +1,133 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.V1AccountFriend$ = exports.V1AccountFriend$outboundSchema = exports.V1AccountFriend$inboundSchema = void 0;
30
+ const leaderboardbadgeinfo_js_1 = require("./leaderboardbadgeinfo.js");
31
+ const location_js_1 = require("./location.js");
32
+ const role_js_1 = require("./role.js");
33
+ const z = __importStar(require("zod"));
34
+ /** @internal */
35
+ exports.V1AccountFriend$inboundSchema = z.object({
36
+ appCost: z.number().int(),
37
+ appPlaytime: z.nullable(z.number().int()).optional(),
38
+ apps: z.number().int(),
39
+ avatar: z.string(),
40
+ averagePlaytime: z.number().int(),
41
+ awardsGiven: z.number().int(),
42
+ awardsReceived: z.number().int(),
43
+ badgeInfo: leaderboardbadgeinfo_js_1.LeaderboardBadgeInfo$inboundSchema.optional(),
44
+ badges: z.number().int(),
45
+ bans: z.number().int(),
46
+ city: location_js_1.Location$inboundSchema.optional(),
47
+ country: location_js_1.Location$inboundSchema.optional(),
48
+ createdAt: z
49
+ .string()
50
+ .datetime({ offset: true })
51
+ .transform((v) => new Date(v)),
52
+ economyBan: z.string(),
53
+ foilBadgeCost: z.number().int(),
54
+ foilBadges: z.number().int(),
55
+ friends: z.number().int(),
56
+ friendsSince: z.nullable(z
57
+ .string()
58
+ .datetime({ offset: true })
59
+ .transform((v) => new Date(v))),
60
+ gameBans: z.number().int(),
61
+ hidden: z.boolean(),
62
+ level: z.number().int(),
63
+ limitedApps: z.number().int(),
64
+ name: z.string(),
65
+ normalBadgeCost: z.number().int(),
66
+ normalBadges: z.number().int(),
67
+ playtime: z.number().int(),
68
+ pointsGiven: z.number().int(),
69
+ pointsReceived: z.number().int(),
70
+ privacy: z.string(),
71
+ region: location_js_1.Location$inboundSchema.optional(),
72
+ roles: z.nullable(z.array(role_js_1.Role$inboundSchema)),
73
+ state: location_js_1.Location$inboundSchema.optional(),
74
+ steamId: z.string(),
75
+ steamSetsScore: z.number().int(),
76
+ steamSetsVanity: z.string(),
77
+ steamVanity: z.string(),
78
+ vacBans: z.number().int(),
79
+ xp: z.number().int(),
80
+ });
81
+ /** @internal */
82
+ exports.V1AccountFriend$outboundSchema = z.object({
83
+ appCost: z.number().int(),
84
+ appPlaytime: z.nullable(z.number().int()).optional(),
85
+ apps: z.number().int(),
86
+ avatar: z.string(),
87
+ averagePlaytime: z.number().int(),
88
+ awardsGiven: z.number().int(),
89
+ awardsReceived: z.number().int(),
90
+ badgeInfo: leaderboardbadgeinfo_js_1.LeaderboardBadgeInfo$outboundSchema.optional(),
91
+ badges: z.number().int(),
92
+ bans: z.number().int(),
93
+ city: location_js_1.Location$outboundSchema.optional(),
94
+ country: location_js_1.Location$outboundSchema.optional(),
95
+ createdAt: z.date().transform((v) => v.toISOString()),
96
+ economyBan: z.string(),
97
+ foilBadgeCost: z.number().int(),
98
+ foilBadges: z.number().int(),
99
+ friends: z.number().int(),
100
+ friendsSince: z.nullable(z.date().transform((v) => v.toISOString())),
101
+ gameBans: z.number().int(),
102
+ hidden: z.boolean(),
103
+ level: z.number().int(),
104
+ limitedApps: z.number().int(),
105
+ name: z.string(),
106
+ normalBadgeCost: z.number().int(),
107
+ normalBadges: z.number().int(),
108
+ playtime: z.number().int(),
109
+ pointsGiven: z.number().int(),
110
+ pointsReceived: z.number().int(),
111
+ privacy: z.string(),
112
+ region: location_js_1.Location$outboundSchema.optional(),
113
+ roles: z.nullable(z.array(role_js_1.Role$outboundSchema)),
114
+ state: location_js_1.Location$outboundSchema.optional(),
115
+ steamId: z.string(),
116
+ steamSetsScore: z.number().int(),
117
+ steamSetsVanity: z.string(),
118
+ steamVanity: z.string(),
119
+ vacBans: z.number().int(),
120
+ xp: z.number().int(),
121
+ });
122
+ /**
123
+ * @internal
124
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
125
+ */
126
+ var V1AccountFriend$;
127
+ (function (V1AccountFriend$) {
128
+ /** @deprecated use `V1AccountFriend$inboundSchema` instead. */
129
+ V1AccountFriend$.inboundSchema = exports.V1AccountFriend$inboundSchema;
130
+ /** @deprecated use `V1AccountFriend$outboundSchema` instead. */
131
+ V1AccountFriend$.outboundSchema = exports.V1AccountFriend$outboundSchema;
132
+ })(V1AccountFriend$ || (exports.V1AccountFriend$ = V1AccountFriend$ = {}));
133
+ //# sourceMappingURL=v1accountfriend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountfriend.js","sourceRoot":"","sources":["../../src/models/components/v1accountfriend.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uEAKmC;AACnC,+CAKuB;AACvB,uCAAyF;AACzF,uCAAyB;AA2IzB,gBAAgB;AACH,QAAA,6BAA6B,GACtC,CAAC,CAAC,MAAM,CAAC;IACL,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACzB,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpD,IAAI,EAAE,CAAC,CAAC,MAAM,E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js";
2
+ import * as z from "zod";
3
+ export type V1AccountFriendsResponseBody = {
4
+ /**
5
+ * A URL to the JSON Schema for this object.
6
+ */
7
+ dollarSchema?: string | undefined;
8
+ friends: Array<V1AccountFriend> | null;
9
+ };
10
+ /** @internal */
11
+ export declare const V1AccountFriendsResponseBody$inboundSchema: z.ZodType<V1AccountFriendsResponseBody, z.ZodTypeDef, unknown>;
12
+ /** @internal */
13
+ export type V1AccountFriendsResponseBody$Outbound = {
14
+ $schema?: string | undefined;
15
+ friends: Array<V1AccountFriend$Outbound> | null;
16
+ };
17
+ /** @internal */
18
+ export declare const V1AccountFriendsResponseBody$outboundSchema: z.ZodType<V1AccountFriendsResponseBody$Outbound, z.ZodTypeDef, V1AccountFriendsResponseBody>;
19
+ /**
20
+ * @internal
21
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
22
+ */
23
+ export declare namespace V1AccountFriendsResponseBody$ {
24
+ /** @deprecated use `V1AccountFriendsResponseBody$inboundSchema` instead. */
25
+ const inboundSchema: z.ZodType<V1AccountFriendsResponseBody, z.ZodTypeDef, unknown>;
26
+ /** @deprecated use `V1AccountFriendsResponseBody$outboundSchema` instead. */
27
+ const outboundSchema: z.ZodType<V1AccountFriendsResponseBody$Outbound, z.ZodTypeDef, V1AccountFriendsResponseBody>;
28
+ /** @deprecated use `V1AccountFriendsResponseBody$Outbound` instead. */
29
+ type Outbound = V1AccountFriendsResponseBody$Outbound;
30
+ }
31
+ //# sourceMappingURL=v1accountfriendsresponsebody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountfriendsresponsebody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountfriendsresponsebody.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,eAAe,EAEf,wBAAwB,EAE3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,4BAA4B,GAAG;IACvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,OAAO,EAAE,KAAK,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAC9D,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAUL,CAAC;AAEP,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAChD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CAC/D,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAU1B,CAAC;AAEP;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC3C,4EAA4E;IACrE,MAAM,aAAa,gEAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc,8FAA8C,CAAC;IAC1E,uEAAuE;IACvE,KAAY,QAAQ,GAAG,qCAAqC,CAAC;CAChE"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.V1AccountFriendsResponseBody$ = exports.V1AccountFriendsResponseBody$outboundSchema = exports.V1AccountFriendsResponseBody$inboundSchema = void 0;
30
+ const primitives_js_1 = require("../../lib/primitives.js");
31
+ const v1accountfriend_js_1 = require("./v1accountfriend.js");
32
+ const z = __importStar(require("zod"));
33
+ /** @internal */
34
+ exports.V1AccountFriendsResponseBody$inboundSchema = z
35
+ .object({
36
+ $schema: z.string().optional(),
37
+ friends: z.nullable(z.array(v1accountfriend_js_1.V1AccountFriend$inboundSchema)),
38
+ })
39
+ .transform((v) => {
40
+ return (0, primitives_js_1.remap)(v, {
41
+ $schema: "dollarSchema",
42
+ });
43
+ });
44
+ /** @internal */
45
+ exports.V1AccountFriendsResponseBody$outboundSchema = z
46
+ .object({
47
+ dollarSchema: z.string().optional(),
48
+ friends: z.nullable(z.array(v1accountfriend_js_1.V1AccountFriend$outboundSchema)),
49
+ })
50
+ .transform((v) => {
51
+ return (0, primitives_js_1.remap)(v, {
52
+ dollarSchema: "$schema",
53
+ });
54
+ });
55
+ /**
56
+ * @internal
57
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
58
+ */
59
+ var V1AccountFriendsResponseBody$;
60
+ (function (V1AccountFriendsResponseBody$) {
61
+ /** @deprecated use `V1AccountFriendsResponseBody$inboundSchema` instead. */
62
+ V1AccountFriendsResponseBody$.inboundSchema = exports.V1AccountFriendsResponseBody$inboundSchema;
63
+ /** @deprecated use `V1AccountFriendsResponseBody$outboundSchema` instead. */
64
+ V1AccountFriendsResponseBody$.outboundSchema = exports.V1AccountFriendsResponseBody$outboundSchema;
65
+ })(V1AccountFriendsResponseBody$ || (exports.V1AccountFriendsResponseBody$ = V1AccountFriendsResponseBody$ = {}));
66
+ //# sourceMappingURL=v1accountfriendsresponsebody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountfriendsresponsebody.js","sourceRoot":"","sources":["../../src/models/components/v1accountfriendsresponsebody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAC1D,6DAK8B;AAC9B,uCAAyB;AAUzB,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC;KACA,MAAM,CAAC;IACJ,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,kDAA6B,CAAC,CAAC;CAC9D,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,OAAO,EAAE,cAAc;KAC1B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAQP,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC;KACA,MAAM,CAAC;IACJ,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,mDAA8B,CAAC,CAAC;CAC/D,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,YAAY,EAAE,SAAS;KAC1B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEP;;;GAGG;AACH,IAAiB,6BAA6B,CAO7C;AAPD,WAAiB,6BAA6B;IAC1C,4EAA4E;IAC/D,2CAAa,GAAG,kDAA0C,CAAC;IACxE,6EAA6E;IAChE,4CAAc,GAAG,mDAA2C,CAAC;AAG9E,CAAC,EAPgB,6BAA6B,6CAA7B,6BAA6B,QAO7C"}
@@ -0,0 +1,31 @@
1
+ import { AccountLeaderboardHistory, AccountLeaderboardHistory$Outbound } from "./accountleaderboardhistory.js";
2
+ import * as z from "zod";
3
+ export type V1AccountLeaderboardHistoryResponseBody = {
4
+ /**
5
+ * A URL to the JSON Schema for this object.
6
+ */
7
+ dollarSchema?: string | undefined;
8
+ histories: Array<AccountLeaderboardHistory> | null;
9
+ };
10
+ /** @internal */
11
+ export declare const V1AccountLeaderboardHistoryResponseBody$inboundSchema: z.ZodType<V1AccountLeaderboardHistoryResponseBody, z.ZodTypeDef, unknown>;
12
+ /** @internal */
13
+ export type V1AccountLeaderboardHistoryResponseBody$Outbound = {
14
+ $schema?: string | undefined;
15
+ histories: Array<AccountLeaderboardHistory$Outbound> | null;
16
+ };
17
+ /** @internal */
18
+ export declare const V1AccountLeaderboardHistoryResponseBody$outboundSchema: z.ZodType<V1AccountLeaderboardHistoryResponseBody$Outbound, z.ZodTypeDef, V1AccountLeaderboardHistoryResponseBody>;
19
+ /**
20
+ * @internal
21
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
22
+ */
23
+ export declare namespace V1AccountLeaderboardHistoryResponseBody$ {
24
+ /** @deprecated use `V1AccountLeaderboardHistoryResponseBody$inboundSchema` instead. */
25
+ const inboundSchema: z.ZodType<V1AccountLeaderboardHistoryResponseBody, z.ZodTypeDef, unknown>;
26
+ /** @deprecated use `V1AccountLeaderboardHistoryResponseBody$outboundSchema` instead. */
27
+ const outboundSchema: z.ZodType<V1AccountLeaderboardHistoryResponseBody$Outbound, z.ZodTypeDef, V1AccountLeaderboardHistoryResponseBody>;
28
+ /** @deprecated use `V1AccountLeaderboardHistoryResponseBody$Outbound` instead. */
29
+ type Outbound = V1AccountLeaderboardHistoryResponseBody$Outbound;
30
+ }
31
+ //# sourceMappingURL=v1accountleaderboardhistoryresponsebody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountleaderboardhistoryresponsebody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountleaderboardhistoryresponsebody.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,yBAAyB,EAEzB,kCAAkC,EAErC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,uCAAuC,GAAG;IAClD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,SAAS,EAAE,KAAK,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;CACtD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CACzE,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,OAAO,CAUL,CAAC;AAEP,gBAAgB;AAChB,MAAM,MAAM,gDAAgD,GAAG;IAC3D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,EAAE,KAAK,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC;CAC/D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC1E,gDAAgD,EAChD,CAAC,CAAC,UAAU,EACZ,uCAAuC,CAUrC,CAAC;AAEP;;;GAGG;AACH,yBAAiB,wCAAwC,CAAC;IACtD,uFAAuF;IAChF,MAAM,aAAa,2EAAwD,CAAC;IACnF,wFAAwF;IACjF,MAAM,cAAc,oHAAyD,CAAC;IACrF,kFAAkF;IAClF,KAAY,QAAQ,GAAG,gDAAgD,CAAC;CAC3E"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.V1AccountLeaderboardHistoryResponseBody$ = exports.V1AccountLeaderboardHistoryResponseBody$outboundSchema = exports.V1AccountLeaderboardHistoryResponseBody$inboundSchema = void 0;
30
+ const primitives_js_1 = require("../../lib/primitives.js");
31
+ const accountleaderboardhistory_js_1 = require("./accountleaderboardhistory.js");
32
+ const z = __importStar(require("zod"));
33
+ /** @internal */
34
+ exports.V1AccountLeaderboardHistoryResponseBody$inboundSchema = z
35
+ .object({
36
+ $schema: z.string().optional(),
37
+ histories: z.nullable(z.array(accountleaderboardhistory_js_1.AccountLeaderboardHistory$inboundSchema)),
38
+ })
39
+ .transform((v) => {
40
+ return (0, primitives_js_1.remap)(v, {
41
+ $schema: "dollarSchema",
42
+ });
43
+ });
44
+ /** @internal */
45
+ exports.V1AccountLeaderboardHistoryResponseBody$outboundSchema = z
46
+ .object({
47
+ dollarSchema: z.string().optional(),
48
+ histories: z.nullable(z.array(accountleaderboardhistory_js_1.AccountLeaderboardHistory$outboundSchema)),
49
+ })
50
+ .transform((v) => {
51
+ return (0, primitives_js_1.remap)(v, {
52
+ dollarSchema: "$schema",
53
+ });
54
+ });
55
+ /**
56
+ * @internal
57
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
58
+ */
59
+ var V1AccountLeaderboardHistoryResponseBody$;
60
+ (function (V1AccountLeaderboardHistoryResponseBody$) {
61
+ /** @deprecated use `V1AccountLeaderboardHistoryResponseBody$inboundSchema` instead. */
62
+ V1AccountLeaderboardHistoryResponseBody$.inboundSchema = exports.V1AccountLeaderboardHistoryResponseBody$inboundSchema;
63
+ /** @deprecated use `V1AccountLeaderboardHistoryResponseBody$outboundSchema` instead. */
64
+ V1AccountLeaderboardHistoryResponseBody$.outboundSchema = exports.V1AccountLeaderboardHistoryResponseBody$outboundSchema;
65
+ })(V1AccountLeaderboardHistoryResponseBody$ || (exports.V1AccountLeaderboardHistoryResponseBody$ = V1AccountLeaderboardHistoryResponseBody$ = {}));
66
+ //# sourceMappingURL=v1accountleaderboardhistoryresponsebody.js.map