@steamsets/client-ts 0.10.0 → 0.10.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 (370) hide show
  1. package/README.md +7 -0
  2. package/docs/sdks/account/README.md +101 -0
  3. package/docs/sdks/leaderboard/README.md +107 -0
  4. package/funcs/accountAccountV1ConnectionConnect.d.ts +1 -1
  5. package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
  6. package/funcs/accountAccountV1ConnectionConnect.js +32 -32
  7. package/funcs/accountAccountV1ConnectionConnect.js.map +1 -1
  8. package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts +1 -1
  9. package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  10. package/funcs/accountAccountV1ConnectionDeleteConnection.js +31 -31
  11. package/funcs/accountAccountV1ConnectionDeleteConnection.js.map +1 -1
  12. package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts +1 -1
  13. package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  14. package/funcs/accountAccountV1ConnectionUpdateConnection.js +31 -31
  15. package/funcs/accountAccountV1ConnectionUpdateConnection.js.map +1 -1
  16. package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts +1 -1
  17. package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  18. package/funcs/accountAccountV1ConnectionVerifyConnection.js +31 -31
  19. package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +1 -1
  20. package/funcs/accountAccountV1GetApps.d.ts +1 -1
  21. package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
  22. package/funcs/accountAccountV1GetApps.js +32 -32
  23. package/funcs/accountAccountV1GetApps.js.map +1 -1
  24. package/funcs/accountAccountV1GetBadges.d.ts +1 -1
  25. package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
  26. package/funcs/accountAccountV1GetBadges.js +32 -32
  27. package/funcs/accountAccountV1GetBadges.js.map +1 -1
  28. package/funcs/accountAccountV1GetDataPoints.d.ts +1 -1
  29. package/funcs/accountAccountV1GetDataPoints.d.ts.map +1 -1
  30. package/funcs/accountAccountV1GetDataPoints.js +32 -32
  31. package/funcs/accountAccountV1GetDataPoints.js.map +1 -1
  32. package/funcs/accountAccountV1GetFriends.d.ts +1 -1
  33. package/funcs/accountAccountV1GetFriends.d.ts.map +1 -1
  34. package/funcs/accountAccountV1GetFriends.js +32 -32
  35. package/funcs/accountAccountV1GetFriends.js.map +1 -1
  36. package/funcs/accountAccountV1GetInfo.d.ts +1 -1
  37. package/funcs/accountAccountV1GetInfo.d.ts.map +1 -1
  38. package/funcs/accountAccountV1GetInfo.js +32 -32
  39. package/funcs/accountAccountV1GetInfo.js.map +1 -1
  40. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts +1 -1
  41. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -1
  42. package/funcs/accountAccountV1GetLeaderboardHistory.js +31 -31
  43. package/funcs/accountAccountV1GetLeaderboardHistory.js.map +1 -1
  44. package/funcs/accountAccountV1GetStaff.d.ts +1 -1
  45. package/funcs/accountAccountV1GetStaff.d.ts.map +1 -1
  46. package/funcs/accountAccountV1GetStaff.js +24 -24
  47. package/funcs/accountAccountV1GetStaff.js.map +1 -1
  48. package/funcs/accountAccountV1SessionCreate.d.ts +1 -1
  49. package/funcs/accountAccountV1SessionCreate.d.ts.map +1 -1
  50. package/funcs/accountAccountV1SessionCreate.js +36 -36
  51. package/funcs/accountAccountV1SessionCreate.js.map +1 -1
  52. package/funcs/accountAccountV1SessionDelete.d.ts +1 -1
  53. package/funcs/accountAccountV1SessionDelete.d.ts.map +1 -1
  54. package/funcs/accountAccountV1SessionDelete.js +32 -32
  55. package/funcs/accountAccountV1SessionDelete.js.map +1 -1
  56. package/funcs/accountAccountV1SessionGet.d.ts +1 -1
  57. package/funcs/accountAccountV1SessionGet.d.ts.map +1 -1
  58. package/funcs/accountAccountV1SessionGet.js +24 -24
  59. package/funcs/accountAccountV1SessionGet.js.map +1 -1
  60. package/funcs/accountAccountV1SessionLogin.d.ts +1 -1
  61. package/funcs/accountAccountV1SessionLogin.d.ts.map +1 -1
  62. package/funcs/accountAccountV1SessionLogin.js +34 -36
  63. package/funcs/accountAccountV1SessionLogin.js.map +1 -1
  64. package/funcs/accountAccountV1SettingsDeleteImages.d.ts +1 -1
  65. package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -1
  66. package/funcs/accountAccountV1SettingsDeleteImages.js +31 -31
  67. package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -1
  68. package/funcs/accountAccountV1SettingsGet.d.ts +1 -1
  69. package/funcs/accountAccountV1SettingsGet.d.ts.map +1 -1
  70. package/funcs/accountAccountV1SettingsGet.js +24 -24
  71. package/funcs/accountAccountV1SettingsGet.js.map +1 -1
  72. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts +1 -1
  73. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  74. package/funcs/accountAccountV1SettingsSendEmailVerification.js +33 -33
  75. package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
  76. package/funcs/accountAccountV1SettingsUpdate.d.ts +1 -1
  77. package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
  78. package/funcs/accountAccountV1SettingsUpdate.js +33 -33
  79. package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
  80. package/funcs/accountAccountV1SettingsUpdateImage.d.ts +1 -1
  81. package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -1
  82. package/funcs/accountAccountV1SettingsUpdateImage.js +33 -31
  83. package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -1
  84. package/funcs/accountAccountV1SettingsUploadImages.d.ts +1 -1
  85. package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -1
  86. package/funcs/accountAccountV1SettingsUploadImages.js +31 -31
  87. package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -1
  88. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +1 -1
  89. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  90. package/funcs/accountAccountV1SettingsVerfyEmail.js +32 -32
  91. package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
  92. package/funcs/accountLeaderboardV1GetAccount.d.ts +14 -0
  93. package/funcs/accountLeaderboardV1GetAccount.d.ts.map +1 -0
  94. package/funcs/accountLeaderboardV1GetAccount.js +99 -0
  95. package/funcs/accountLeaderboardV1GetAccount.js.map +1 -0
  96. package/funcs/appAccountV1Queue.d.ts +1 -1
  97. package/funcs/appAccountV1Queue.d.ts.map +1 -1
  98. package/funcs/appAccountV1Queue.js +31 -33
  99. package/funcs/appAccountV1Queue.js.map +1 -1
  100. package/funcs/appAppV1Get.d.ts +1 -1
  101. package/funcs/appAppV1Get.d.ts.map +1 -1
  102. package/funcs/appAppV1Get.js +32 -32
  103. package/funcs/appAppV1Get.js.map +1 -1
  104. package/funcs/connectionAccountV1ConnectionConnect.d.ts +1 -1
  105. package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
  106. package/funcs/connectionAccountV1ConnectionConnect.js +32 -32
  107. package/funcs/connectionAccountV1ConnectionConnect.js.map +1 -1
  108. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts +1 -1
  109. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  110. package/funcs/connectionAccountV1ConnectionDeleteConnection.js +31 -31
  111. package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +1 -1
  112. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts +1 -1
  113. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  114. package/funcs/connectionAccountV1ConnectionUpdateConnection.js +31 -31
  115. package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +1 -1
  116. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts +1 -1
  117. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  118. package/funcs/connectionAccountV1ConnectionVerifyConnection.js +31 -31
  119. package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
  120. package/funcs/dataAccountV1GetApps.d.ts +1 -1
  121. package/funcs/dataAccountV1GetApps.d.ts.map +1 -1
  122. package/funcs/dataAccountV1GetApps.js +32 -32
  123. package/funcs/dataAccountV1GetApps.js.map +1 -1
  124. package/funcs/dataAccountV1GetBadges.d.ts +1 -1
  125. package/funcs/dataAccountV1GetBadges.d.ts.map +1 -1
  126. package/funcs/dataAccountV1GetBadges.js +32 -32
  127. package/funcs/dataAccountV1GetBadges.js.map +1 -1
  128. package/funcs/dataAccountV1GetDataPoints.d.ts +1 -1
  129. package/funcs/dataAccountV1GetDataPoints.d.ts.map +1 -1
  130. package/funcs/dataAccountV1GetDataPoints.js +32 -32
  131. package/funcs/dataAccountV1GetDataPoints.js.map +1 -1
  132. package/funcs/dataAccountV1GetFriends.d.ts +1 -1
  133. package/funcs/dataAccountV1GetFriends.d.ts.map +1 -1
  134. package/funcs/dataAccountV1GetFriends.js +32 -32
  135. package/funcs/dataAccountV1GetFriends.js.map +1 -1
  136. package/funcs/dataAccountV1GetInfo.d.ts +1 -1
  137. package/funcs/dataAccountV1GetInfo.d.ts.map +1 -1
  138. package/funcs/dataAccountV1GetInfo.js +32 -32
  139. package/funcs/dataAccountV1GetInfo.js.map +1 -1
  140. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts +1 -1
  141. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -1
  142. package/funcs/dataAccountV1GetLeaderboardHistory.js +31 -31
  143. package/funcs/dataAccountV1GetLeaderboardHistory.js.map +1 -1
  144. package/funcs/dataAccountV1GetStaff.d.ts +1 -1
  145. package/funcs/dataAccountV1GetStaff.d.ts.map +1 -1
  146. package/funcs/dataAccountV1GetStaff.js +24 -24
  147. package/funcs/dataAccountV1GetStaff.js.map +1 -1
  148. package/funcs/dataAccountV1Queue.d.ts +1 -1
  149. package/funcs/dataAccountV1Queue.d.ts.map +1 -1
  150. package/funcs/dataAccountV1Queue.js +31 -33
  151. package/funcs/dataAccountV1Queue.js.map +1 -1
  152. package/funcs/leaderboardLeaderboardV1GetAccount.d.ts +14 -0
  153. package/funcs/leaderboardLeaderboardV1GetAccount.d.ts.map +1 -0
  154. package/funcs/leaderboardLeaderboardV1GetAccount.js +99 -0
  155. package/funcs/leaderboardLeaderboardV1GetAccount.js.map +1 -0
  156. package/funcs/livenessLiveness.d.ts +1 -1
  157. package/funcs/livenessLiveness.d.ts.map +1 -1
  158. package/funcs/livenessLiveness.js +24 -24
  159. package/funcs/livenessLiveness.js.map +1 -1
  160. package/funcs/locationLocation.d.ts +1 -1
  161. package/funcs/locationLocation.d.ts.map +1 -1
  162. package/funcs/locationLocation.js +23 -23
  163. package/funcs/locationLocation.js.map +1 -1
  164. package/funcs/publicAccountV1GetApps.d.ts +1 -1
  165. package/funcs/publicAccountV1GetApps.d.ts.map +1 -1
  166. package/funcs/publicAccountV1GetApps.js +32 -32
  167. package/funcs/publicAccountV1GetApps.js.map +1 -1
  168. package/funcs/publicAccountV1GetBadges.d.ts +1 -1
  169. package/funcs/publicAccountV1GetBadges.d.ts.map +1 -1
  170. package/funcs/publicAccountV1GetBadges.js +32 -32
  171. package/funcs/publicAccountV1GetBadges.js.map +1 -1
  172. package/funcs/publicAccountV1GetDataPoints.d.ts +1 -1
  173. package/funcs/publicAccountV1GetDataPoints.d.ts.map +1 -1
  174. package/funcs/publicAccountV1GetDataPoints.js +32 -32
  175. package/funcs/publicAccountV1GetDataPoints.js.map +1 -1
  176. package/funcs/publicAccountV1GetFriends.d.ts +1 -1
  177. package/funcs/publicAccountV1GetFriends.d.ts.map +1 -1
  178. package/funcs/publicAccountV1GetFriends.js +32 -32
  179. package/funcs/publicAccountV1GetFriends.js.map +1 -1
  180. package/funcs/publicAccountV1GetInfo.d.ts +1 -1
  181. package/funcs/publicAccountV1GetInfo.d.ts.map +1 -1
  182. package/funcs/publicAccountV1GetInfo.js +32 -32
  183. package/funcs/publicAccountV1GetInfo.js.map +1 -1
  184. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts +1 -1
  185. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -1
  186. package/funcs/publicAccountV1GetLeaderboardHistory.js +31 -31
  187. package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -1
  188. package/funcs/publicAccountV1Queue.d.ts +1 -1
  189. package/funcs/publicAccountV1Queue.d.ts.map +1 -1
  190. package/funcs/publicAccountV1Queue.js +31 -33
  191. package/funcs/publicAccountV1Queue.js.map +1 -1
  192. package/funcs/sessionAccountV1SessionCreate.d.ts +1 -1
  193. package/funcs/sessionAccountV1SessionCreate.d.ts.map +1 -1
  194. package/funcs/sessionAccountV1SessionCreate.js +36 -36
  195. package/funcs/sessionAccountV1SessionCreate.js.map +1 -1
  196. package/funcs/sessionAccountV1SessionDelete.d.ts +1 -1
  197. package/funcs/sessionAccountV1SessionDelete.d.ts.map +1 -1
  198. package/funcs/sessionAccountV1SessionDelete.js +32 -32
  199. package/funcs/sessionAccountV1SessionDelete.js.map +1 -1
  200. package/funcs/sessionAccountV1SessionGet.d.ts +1 -1
  201. package/funcs/sessionAccountV1SessionGet.d.ts.map +1 -1
  202. package/funcs/sessionAccountV1SessionGet.js +24 -24
  203. package/funcs/sessionAccountV1SessionGet.js.map +1 -1
  204. package/funcs/sessionAccountV1SessionLogin.d.ts +1 -1
  205. package/funcs/sessionAccountV1SessionLogin.d.ts.map +1 -1
  206. package/funcs/sessionAccountV1SessionLogin.js +34 -36
  207. package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
  208. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +1 -1
  209. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -1
  210. package/funcs/settingsAccountV1SettingsDeleteImages.js +31 -31
  211. package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -1
  212. package/funcs/settingsAccountV1SettingsGet.d.ts +1 -1
  213. package/funcs/settingsAccountV1SettingsGet.d.ts.map +1 -1
  214. package/funcs/settingsAccountV1SettingsGet.js +24 -24
  215. package/funcs/settingsAccountV1SettingsGet.js.map +1 -1
  216. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts +1 -1
  217. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  218. package/funcs/settingsAccountV1SettingsSendEmailVerification.js +33 -33
  219. package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
  220. package/funcs/settingsAccountV1SettingsUpdate.d.ts +1 -1
  221. package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
  222. package/funcs/settingsAccountV1SettingsUpdate.js +33 -33
  223. package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
  224. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +1 -1
  225. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -1
  226. package/funcs/settingsAccountV1SettingsUpdateImage.js +33 -31
  227. package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -1
  228. package/funcs/settingsAccountV1SettingsUploadImages.d.ts +1 -1
  229. package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -1
  230. package/funcs/settingsAccountV1SettingsUploadImages.js +31 -31
  231. package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -1
  232. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +1 -1
  233. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  234. package/funcs/settingsAccountV1SettingsVerfyEmail.js +32 -32
  235. package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
  236. package/lib/config.d.ts +3 -3
  237. package/lib/config.js +3 -3
  238. package/lib/sdks.d.ts +5 -8
  239. package/lib/sdks.d.ts.map +1 -1
  240. package/lib/sdks.js +34 -18
  241. package/lib/sdks.js.map +1 -1
  242. package/models/components/index.d.ts +6 -1
  243. package/models/components/index.d.ts.map +1 -1
  244. package/models/components/index.js +6 -1
  245. package/models/components/index.js.map +1 -1
  246. package/models/components/v1accountleaderboardaccount.d.ts +201 -0
  247. package/models/components/v1accountleaderboardaccount.d.ts.map +1 -0
  248. package/models/components/v1accountleaderboardaccount.js +127 -0
  249. package/models/components/v1accountleaderboardaccount.js.map +1 -0
  250. package/models/components/v1accountleaderboardbadgeinfo.d.ts +21 -0
  251. package/models/components/v1accountleaderboardbadgeinfo.d.ts.map +1 -0
  252. package/models/components/v1accountleaderboardbadgeinfo.js +46 -0
  253. package/models/components/v1accountleaderboardbadgeinfo.js.map +1 -0
  254. package/models/components/v1accountleaderboardrequestbody.d.ts +139 -0
  255. package/models/components/v1accountleaderboardrequestbody.d.ts.map +1 -0
  256. package/models/components/v1accountleaderboardrequestbody.js +103 -0
  257. package/models/components/v1accountleaderboardrequestbody.js.map +1 -0
  258. package/models/components/v1accountleaderboardresponsebody.d.ts +40 -0
  259. package/models/components/v1accountleaderboardresponsebody.d.ts.map +1 -0
  260. package/models/components/v1accountleaderboardresponsebody.js +71 -0
  261. package/models/components/v1accountleaderboardresponsebody.js.map +1 -0
  262. package/models/components/v1leaderboardlocation.d.ts +43 -0
  263. package/models/components/v1leaderboardlocation.d.ts.map +1 -0
  264. package/models/components/v1leaderboardlocation.js +56 -0
  265. package/models/components/v1leaderboardlocation.js.map +1 -0
  266. package/models/components/{v1uploaedimage.d.ts → v1uploadedimage.d.ts} +20 -20
  267. package/models/components/v1uploadedimage.d.ts.map +1 -0
  268. package/models/components/{v1uploaedimage.js → v1uploadedimage.js} +23 -23
  269. package/models/components/v1uploadedimage.js.map +1 -0
  270. package/models/components/v1uploadimagesrequestbody.d.ts +3 -3
  271. package/models/components/v1uploadimagesrequestbody.d.ts.map +1 -1
  272. package/models/components/v1uploadimagesrequestbody.js +3 -3
  273. package/models/components/v1uploadimagesrequestbody.js.map +1 -1
  274. package/models/operations/index.d.ts +1 -0
  275. package/models/operations/index.d.ts.map +1 -1
  276. package/models/operations/index.js +1 -0
  277. package/models/operations/index.js.map +1 -1
  278. package/models/operations/leaderboardv1getaccount.d.ts +31 -0
  279. package/models/operations/leaderboardv1getaccount.d.ts.map +1 -0
  280. package/models/operations/leaderboardv1getaccount.js +66 -0
  281. package/models/operations/leaderboardv1getaccount.js.map +1 -0
  282. package/package.json +1 -1
  283. package/sdk/account.d.ts +4 -0
  284. package/sdk/account.d.ts.map +1 -1
  285. package/sdk/account.js +7 -0
  286. package/sdk/account.js.map +1 -1
  287. package/sdk/leaderboard.d.ts +10 -0
  288. package/sdk/leaderboard.d.ts.map +1 -0
  289. package/sdk/leaderboard.js +19 -0
  290. package/sdk/leaderboard.js.map +1 -0
  291. package/sdk/sdk.d.ts +3 -0
  292. package/sdk/sdk.d.ts.map +1 -1
  293. package/sdk/sdk.js +14 -9
  294. package/sdk/sdk.js.map +1 -1
  295. package/src/funcs/accountAccountV1ConnectionConnect.ts +37 -37
  296. package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +38 -38
  297. package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +38 -38
  298. package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +38 -38
  299. package/src/funcs/accountAccountV1GetApps.ts +37 -37
  300. package/src/funcs/accountAccountV1GetBadges.ts +37 -37
  301. package/src/funcs/accountAccountV1GetDataPoints.ts +37 -37
  302. package/src/funcs/accountAccountV1GetFriends.ts +37 -37
  303. package/src/funcs/accountAccountV1GetInfo.ts +37 -37
  304. package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +37 -39
  305. package/src/funcs/accountAccountV1GetStaff.ts +26 -26
  306. package/src/funcs/accountAccountV1SessionCreate.ts +43 -43
  307. package/src/funcs/accountAccountV1SessionDelete.ts +38 -38
  308. package/src/funcs/accountAccountV1SessionGet.ts +26 -26
  309. package/src/funcs/accountAccountV1SessionLogin.ts +41 -46
  310. package/src/funcs/accountAccountV1SettingsDeleteImages.ts +37 -38
  311. package/src/funcs/accountAccountV1SettingsGet.ts +26 -26
  312. package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +40 -42
  313. package/src/funcs/accountAccountV1SettingsUpdate.ts +40 -43
  314. package/src/funcs/accountAccountV1SettingsUpdateImage.ts +39 -42
  315. package/src/funcs/accountAccountV1SettingsUploadImages.ts +37 -38
  316. package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +37 -38
  317. package/src/funcs/accountLeaderboardV1GetAccount.ts +132 -0
  318. package/src/funcs/appAccountV1Queue.ts +37 -39
  319. package/src/funcs/appAppV1Get.ts +37 -37
  320. package/src/funcs/connectionAccountV1ConnectionConnect.ts +37 -37
  321. package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +38 -38
  322. package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +38 -38
  323. package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +38 -38
  324. package/src/funcs/dataAccountV1GetApps.ts +37 -37
  325. package/src/funcs/dataAccountV1GetBadges.ts +37 -37
  326. package/src/funcs/dataAccountV1GetDataPoints.ts +37 -37
  327. package/src/funcs/dataAccountV1GetFriends.ts +37 -37
  328. package/src/funcs/dataAccountV1GetInfo.ts +37 -37
  329. package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +37 -39
  330. package/src/funcs/dataAccountV1GetStaff.ts +26 -26
  331. package/src/funcs/dataAccountV1Queue.ts +37 -39
  332. package/src/funcs/leaderboardLeaderboardV1GetAccount.ts +132 -0
  333. package/src/funcs/livenessLiveness.ts +26 -26
  334. package/src/funcs/locationLocation.ts +26 -26
  335. package/src/funcs/publicAccountV1GetApps.ts +37 -37
  336. package/src/funcs/publicAccountV1GetBadges.ts +37 -37
  337. package/src/funcs/publicAccountV1GetDataPoints.ts +37 -37
  338. package/src/funcs/publicAccountV1GetFriends.ts +37 -37
  339. package/src/funcs/publicAccountV1GetInfo.ts +37 -37
  340. package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +37 -39
  341. package/src/funcs/publicAccountV1Queue.ts +37 -39
  342. package/src/funcs/sessionAccountV1SessionCreate.ts +43 -43
  343. package/src/funcs/sessionAccountV1SessionDelete.ts +38 -38
  344. package/src/funcs/sessionAccountV1SessionGet.ts +26 -26
  345. package/src/funcs/sessionAccountV1SessionLogin.ts +41 -46
  346. package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +37 -38
  347. package/src/funcs/settingsAccountV1SettingsGet.ts +26 -26
  348. package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +40 -42
  349. package/src/funcs/settingsAccountV1SettingsUpdate.ts +40 -43
  350. package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +39 -42
  351. package/src/funcs/settingsAccountV1SettingsUploadImages.ts +37 -38
  352. package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +37 -38
  353. package/src/lib/config.ts +3 -3
  354. package/src/lib/sdks.ts +24 -24
  355. package/src/models/components/index.ts +6 -1
  356. package/src/models/components/v1accountleaderboardaccount.ts +310 -0
  357. package/src/models/components/v1accountleaderboardbadgeinfo.ts +37 -0
  358. package/src/models/components/v1accountleaderboardrequestbody.ts +148 -0
  359. package/src/models/components/v1accountleaderboardresponsebody.ts +97 -0
  360. package/src/models/components/v1leaderboardlocation.ts +69 -0
  361. package/src/models/components/v1uploadedimage.ts +92 -0
  362. package/src/models/components/v1uploadimagesrequestbody.ts +9 -9
  363. package/src/models/operations/index.ts +1 -0
  364. package/src/models/operations/leaderboardv1getaccount.ts +70 -0
  365. package/src/sdk/account.ts +15 -0
  366. package/src/sdk/leaderboard.ts +25 -0
  367. package/src/sdk/sdk.ts +15 -9
  368. package/models/components/v1uploaedimage.d.ts.map +0 -1
  369. package/models/components/v1uploaedimage.js.map +0 -1
  370. package/src/models/components/v1uploaedimage.ts +0 -92
@@ -0,0 +1,310 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import {
7
+ LeaderboardBadgeInfo,
8
+ LeaderboardBadgeInfo$inboundSchema,
9
+ LeaderboardBadgeInfo$Outbound,
10
+ LeaderboardBadgeInfo$outboundSchema,
11
+ } from "./leaderboardbadgeinfo.js";
12
+ import {
13
+ Location,
14
+ Location$inboundSchema,
15
+ Location$Outbound,
16
+ Location$outboundSchema,
17
+ } from "./location.js";
18
+ import {
19
+ Role,
20
+ Role$inboundSchema,
21
+ Role$Outbound,
22
+ Role$outboundSchema,
23
+ } from "./role.js";
24
+
25
+ export type V1AccountLeaderboardAccount = {
26
+ /**
27
+ * The cost of an app
28
+ */
29
+ appCost: number;
30
+ /**
31
+ * The playtime of the account, incase of an app leaderboard
32
+ */
33
+ appPlaytime?: number | null | undefined;
34
+ /**
35
+ * The number of apps the account has
36
+ */
37
+ apps: number;
38
+ /**
39
+ * The avatar hash of the account
40
+ */
41
+ avatar: string;
42
+ /**
43
+ * The average playtime of the account
44
+ */
45
+ averagePlaytime: number;
46
+ /**
47
+ * The number of awards the account has
48
+ */
49
+ awardsGiven: number;
50
+ /**
51
+ * The number of awards the account has
52
+ */
53
+ awardsReceived: number;
54
+ badgeInfo?: LeaderboardBadgeInfo | undefined;
55
+ /**
56
+ * The number of badges the account has
57
+ */
58
+ badges: number;
59
+ /**
60
+ * The number of bans
61
+ */
62
+ bans: number;
63
+ city?: Location | undefined;
64
+ country?: Location | undefined;
65
+ /**
66
+ * The time the account was created
67
+ */
68
+ createdAt: Date;
69
+ /**
70
+ * The economy ban of the account
71
+ */
72
+ economyBan: string;
73
+ /**
74
+ * The cost of a foil badge
75
+ */
76
+ foilBadgeCost: number;
77
+ /**
78
+ * The number of foil badges the account has
79
+ */
80
+ foilBadges: number;
81
+ /**
82
+ * The number of friends the account has
83
+ */
84
+ friends: number;
85
+ /**
86
+ * The number of game bans
87
+ */
88
+ gameBans: number;
89
+ /**
90
+ * Whether the account is hidden in the leaderboards
91
+ */
92
+ hidden: boolean;
93
+ /**
94
+ * The level of the account
95
+ */
96
+ level: number;
97
+ /**
98
+ * The number of limited apps the account has
99
+ */
100
+ limitedApps: number;
101
+ /**
102
+ * The name of the account
103
+ */
104
+ name: string;
105
+ /**
106
+ * The cost of a normal badge
107
+ */
108
+ normalBadgeCost: number;
109
+ /**
110
+ * The number of normal badges the account has
111
+ */
112
+ normalBadges: number;
113
+ /**
114
+ * The playtime of the account
115
+ */
116
+ playtime: number;
117
+ /**
118
+ * The number of points the account has
119
+ */
120
+ pointsGiven: number;
121
+ /**
122
+ * The number of points the account has
123
+ */
124
+ pointsReceived: number;
125
+ /**
126
+ * The privacy of the account
127
+ */
128
+ privacy: string;
129
+ /**
130
+ * The rank of the account
131
+ */
132
+ rank: number;
133
+ region?: Location | undefined;
134
+ /**
135
+ * The roles of the account
136
+ */
137
+ roles: Array<Role> | null;
138
+ state?: Location | undefined;
139
+ /**
140
+ * The steam id
141
+ */
142
+ steamId: string;
143
+ /**
144
+ * The steam sets score
145
+ */
146
+ steamSetsScore: number;
147
+ /**
148
+ * The vanity of the account
149
+ */
150
+ steamSetsVanity: string;
151
+ /**
152
+ * The vanity of the account
153
+ */
154
+ steamVanity: string;
155
+ /**
156
+ * The number of vac bans
157
+ */
158
+ vacBans: number;
159
+ /**
160
+ * The number of xp the account has
161
+ */
162
+ xp: number;
163
+ };
164
+
165
+ /** @internal */
166
+ export const V1AccountLeaderboardAccount$inboundSchema: z.ZodType<
167
+ V1AccountLeaderboardAccount,
168
+ z.ZodTypeDef,
169
+ unknown
170
+ > = z.object({
171
+ appCost: z.number().int(),
172
+ appPlaytime: z.nullable(z.number().int()).optional(),
173
+ apps: z.number().int(),
174
+ avatar: z.string(),
175
+ averagePlaytime: z.number().int(),
176
+ awardsGiven: z.number().int(),
177
+ awardsReceived: z.number().int(),
178
+ badgeInfo: LeaderboardBadgeInfo$inboundSchema.optional(),
179
+ badges: z.number().int(),
180
+ bans: z.number().int(),
181
+ city: Location$inboundSchema.optional(),
182
+ country: Location$inboundSchema.optional(),
183
+ createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
184
+ economyBan: z.string(),
185
+ foilBadgeCost: z.number().int(),
186
+ foilBadges: z.number().int(),
187
+ friends: z.number().int(),
188
+ gameBans: z.number().int(),
189
+ hidden: z.boolean(),
190
+ level: z.number().int(),
191
+ limitedApps: z.number().int(),
192
+ name: z.string(),
193
+ normalBadgeCost: z.number().int(),
194
+ normalBadges: z.number().int(),
195
+ playtime: z.number().int(),
196
+ pointsGiven: z.number().int(),
197
+ pointsReceived: z.number().int(),
198
+ privacy: z.string(),
199
+ rank: z.number().int(),
200
+ region: Location$inboundSchema.optional(),
201
+ roles: z.nullable(z.array(Role$inboundSchema)),
202
+ state: Location$inboundSchema.optional(),
203
+ steamId: z.string(),
204
+ steamSetsScore: z.number().int(),
205
+ steamSetsVanity: z.string(),
206
+ steamVanity: z.string(),
207
+ vacBans: z.number().int(),
208
+ xp: z.number().int(),
209
+ });
210
+
211
+ /** @internal */
212
+ export type V1AccountLeaderboardAccount$Outbound = {
213
+ appCost: number;
214
+ appPlaytime?: number | null | undefined;
215
+ apps: number;
216
+ avatar: string;
217
+ averagePlaytime: number;
218
+ awardsGiven: number;
219
+ awardsReceived: number;
220
+ badgeInfo?: LeaderboardBadgeInfo$Outbound | undefined;
221
+ badges: number;
222
+ bans: number;
223
+ city?: Location$Outbound | undefined;
224
+ country?: Location$Outbound | undefined;
225
+ createdAt: string;
226
+ economyBan: string;
227
+ foilBadgeCost: number;
228
+ foilBadges: number;
229
+ friends: number;
230
+ gameBans: number;
231
+ hidden: boolean;
232
+ level: number;
233
+ limitedApps: number;
234
+ name: string;
235
+ normalBadgeCost: number;
236
+ normalBadges: number;
237
+ playtime: number;
238
+ pointsGiven: number;
239
+ pointsReceived: number;
240
+ privacy: string;
241
+ rank: number;
242
+ region?: Location$Outbound | undefined;
243
+ roles: Array<Role$Outbound> | null;
244
+ state?: Location$Outbound | undefined;
245
+ steamId: string;
246
+ steamSetsScore: number;
247
+ steamSetsVanity: string;
248
+ steamVanity: string;
249
+ vacBans: number;
250
+ xp: number;
251
+ };
252
+
253
+ /** @internal */
254
+ export const V1AccountLeaderboardAccount$outboundSchema: z.ZodType<
255
+ V1AccountLeaderboardAccount$Outbound,
256
+ z.ZodTypeDef,
257
+ V1AccountLeaderboardAccount
258
+ > = z.object({
259
+ appCost: z.number().int(),
260
+ appPlaytime: z.nullable(z.number().int()).optional(),
261
+ apps: z.number().int(),
262
+ avatar: z.string(),
263
+ averagePlaytime: z.number().int(),
264
+ awardsGiven: z.number().int(),
265
+ awardsReceived: z.number().int(),
266
+ badgeInfo: LeaderboardBadgeInfo$outboundSchema.optional(),
267
+ badges: z.number().int(),
268
+ bans: z.number().int(),
269
+ city: Location$outboundSchema.optional(),
270
+ country: Location$outboundSchema.optional(),
271
+ createdAt: z.date().transform(v => v.toISOString()),
272
+ economyBan: z.string(),
273
+ foilBadgeCost: z.number().int(),
274
+ foilBadges: z.number().int(),
275
+ friends: z.number().int(),
276
+ gameBans: z.number().int(),
277
+ hidden: z.boolean(),
278
+ level: z.number().int(),
279
+ limitedApps: z.number().int(),
280
+ name: z.string(),
281
+ normalBadgeCost: z.number().int(),
282
+ normalBadges: z.number().int(),
283
+ playtime: z.number().int(),
284
+ pointsGiven: z.number().int(),
285
+ pointsReceived: z.number().int(),
286
+ privacy: z.string(),
287
+ rank: z.number().int(),
288
+ region: Location$outboundSchema.optional(),
289
+ roles: z.nullable(z.array(Role$outboundSchema)),
290
+ state: Location$outboundSchema.optional(),
291
+ steamId: z.string(),
292
+ steamSetsScore: z.number().int(),
293
+ steamSetsVanity: z.string(),
294
+ steamVanity: z.string(),
295
+ vacBans: z.number().int(),
296
+ xp: z.number().int(),
297
+ });
298
+
299
+ /**
300
+ * @internal
301
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
302
+ */
303
+ export namespace V1AccountLeaderboardAccount$ {
304
+ /** @deprecated use `V1AccountLeaderboardAccount$inboundSchema` instead. */
305
+ export const inboundSchema = V1AccountLeaderboardAccount$inboundSchema;
306
+ /** @deprecated use `V1AccountLeaderboardAccount$outboundSchema` instead. */
307
+ export const outboundSchema = V1AccountLeaderboardAccount$outboundSchema;
308
+ /** @deprecated use `V1AccountLeaderboardAccount$Outbound` instead. */
309
+ export type Outbound = V1AccountLeaderboardAccount$Outbound;
310
+ }
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+
7
+ export type V1AccountLeaderboardBadgeInfo = {};
8
+
9
+ /** @internal */
10
+ export const V1AccountLeaderboardBadgeInfo$inboundSchema: z.ZodType<
11
+ V1AccountLeaderboardBadgeInfo,
12
+ z.ZodTypeDef,
13
+ unknown
14
+ > = z.object({});
15
+
16
+ /** @internal */
17
+ export type V1AccountLeaderboardBadgeInfo$Outbound = {};
18
+
19
+ /** @internal */
20
+ export const V1AccountLeaderboardBadgeInfo$outboundSchema: z.ZodType<
21
+ V1AccountLeaderboardBadgeInfo$Outbound,
22
+ z.ZodTypeDef,
23
+ V1AccountLeaderboardBadgeInfo
24
+ > = z.object({});
25
+
26
+ /**
27
+ * @internal
28
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
29
+ */
30
+ export namespace V1AccountLeaderboardBadgeInfo$ {
31
+ /** @deprecated use `V1AccountLeaderboardBadgeInfo$inboundSchema` instead. */
32
+ export const inboundSchema = V1AccountLeaderboardBadgeInfo$inboundSchema;
33
+ /** @deprecated use `V1AccountLeaderboardBadgeInfo$outboundSchema` instead. */
34
+ export const outboundSchema = V1AccountLeaderboardBadgeInfo$outboundSchema;
35
+ /** @deprecated use `V1AccountLeaderboardBadgeInfo$Outbound` instead. */
36
+ export type Outbound = V1AccountLeaderboardBadgeInfo$Outbound;
37
+ }
@@ -0,0 +1,148 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { ClosedEnum } from "../../types/enums.js";
7
+ import {
8
+ V1LeaderboardLocation,
9
+ V1LeaderboardLocation$inboundSchema,
10
+ V1LeaderboardLocation$Outbound,
11
+ V1LeaderboardLocation$outboundSchema,
12
+ } from "./v1leaderboardlocation.js";
13
+
14
+ /**
15
+ * The leaderboard to get
16
+ */
17
+ export const V1AccountLeaderboardRequestBodyLeaderboard = {
18
+ Apps: "apps",
19
+ LimitedApps: "limited_apps",
20
+ AppPlaytime: "app_playtime",
21
+ AwardsGiven: "awards_given",
22
+ AwardsReceived: "awards_received",
23
+ Bans: "bans",
24
+ GameBans: "game_bans",
25
+ VacBans: "vac_bans",
26
+ Donations: "donations",
27
+ FoilBadges: "foil_badges",
28
+ NormalBadges: "normal_badges",
29
+ Badges: "badges",
30
+ Playtime: "playtime",
31
+ PointsGiven: "points_given",
32
+ PointsReceived: "points_received",
33
+ SteamSets: "steam_sets",
34
+ Xp: "xp",
35
+ BadgeCompletionTime: "badge_completion_time",
36
+ BadgeHighestLevel: "badge_highest_level",
37
+ } as const;
38
+ /**
39
+ * The leaderboard to get
40
+ */
41
+ export type V1AccountLeaderboardRequestBodyLeaderboard = ClosedEnum<
42
+ typeof V1AccountLeaderboardRequestBodyLeaderboard
43
+ >;
44
+
45
+ export type V1AccountLeaderboardRequestBody = {
46
+ /**
47
+ * For a given app leaderboard, the app id
48
+ */
49
+ appId?: number | null | undefined;
50
+ /**
51
+ * For a given badge leaderboard, the steam badge id
52
+ */
53
+ badgeId?: string | null | undefined;
54
+ /**
55
+ * For a given badge leaderboard, whether the badge is foil or not
56
+ */
57
+ badgeIsFoil?: boolean | null | undefined;
58
+ /**
59
+ * The end index
60
+ */
61
+ end?: number | null | undefined;
62
+ /**
63
+ * The leaderboard to get
64
+ */
65
+ leaderboard: V1AccountLeaderboardRequestBodyLeaderboard;
66
+ location?: V1LeaderboardLocation | undefined;
67
+ /**
68
+ * The start index
69
+ */
70
+ start?: number | null | undefined;
71
+ };
72
+
73
+ /** @internal */
74
+ export const V1AccountLeaderboardRequestBodyLeaderboard$inboundSchema:
75
+ z.ZodNativeEnum<typeof V1AccountLeaderboardRequestBodyLeaderboard> = z
76
+ .nativeEnum(V1AccountLeaderboardRequestBodyLeaderboard);
77
+
78
+ /** @internal */
79
+ export const V1AccountLeaderboardRequestBodyLeaderboard$outboundSchema:
80
+ z.ZodNativeEnum<typeof V1AccountLeaderboardRequestBodyLeaderboard> =
81
+ V1AccountLeaderboardRequestBodyLeaderboard$inboundSchema;
82
+
83
+ /**
84
+ * @internal
85
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
86
+ */
87
+ export namespace V1AccountLeaderboardRequestBodyLeaderboard$ {
88
+ /** @deprecated use `V1AccountLeaderboardRequestBodyLeaderboard$inboundSchema` instead. */
89
+ export const inboundSchema =
90
+ V1AccountLeaderboardRequestBodyLeaderboard$inboundSchema;
91
+ /** @deprecated use `V1AccountLeaderboardRequestBodyLeaderboard$outboundSchema` instead. */
92
+ export const outboundSchema =
93
+ V1AccountLeaderboardRequestBodyLeaderboard$outboundSchema;
94
+ }
95
+
96
+ /** @internal */
97
+ export const V1AccountLeaderboardRequestBody$inboundSchema: z.ZodType<
98
+ V1AccountLeaderboardRequestBody,
99
+ z.ZodTypeDef,
100
+ unknown
101
+ > = z.object({
102
+ appId: z.nullable(z.number().int()).optional(),
103
+ badgeId: z.nullable(z.string()).optional(),
104
+ badgeIsFoil: z.nullable(z.boolean()).optional(),
105
+ end: z.nullable(z.number().int()).optional(),
106
+ leaderboard: V1AccountLeaderboardRequestBodyLeaderboard$inboundSchema,
107
+ location: V1LeaderboardLocation$inboundSchema.optional(),
108
+ start: z.nullable(z.number().int()).optional(),
109
+ });
110
+
111
+ /** @internal */
112
+ export type V1AccountLeaderboardRequestBody$Outbound = {
113
+ appId?: number | null | undefined;
114
+ badgeId?: string | null | undefined;
115
+ badgeIsFoil?: boolean | null | undefined;
116
+ end?: number | null | undefined;
117
+ leaderboard: string;
118
+ location?: V1LeaderboardLocation$Outbound | undefined;
119
+ start?: number | null | undefined;
120
+ };
121
+
122
+ /** @internal */
123
+ export const V1AccountLeaderboardRequestBody$outboundSchema: z.ZodType<
124
+ V1AccountLeaderboardRequestBody$Outbound,
125
+ z.ZodTypeDef,
126
+ V1AccountLeaderboardRequestBody
127
+ > = z.object({
128
+ appId: z.nullable(z.number().int()).optional(),
129
+ badgeId: z.nullable(z.string()).optional(),
130
+ badgeIsFoil: z.nullable(z.boolean()).optional(),
131
+ end: z.nullable(z.number().int()).optional(),
132
+ leaderboard: V1AccountLeaderboardRequestBodyLeaderboard$outboundSchema,
133
+ location: V1LeaderboardLocation$outboundSchema.optional(),
134
+ start: z.nullable(z.number().int()).optional(),
135
+ });
136
+
137
+ /**
138
+ * @internal
139
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
140
+ */
141
+ export namespace V1AccountLeaderboardRequestBody$ {
142
+ /** @deprecated use `V1AccountLeaderboardRequestBody$inboundSchema` instead. */
143
+ export const inboundSchema = V1AccountLeaderboardRequestBody$inboundSchema;
144
+ /** @deprecated use `V1AccountLeaderboardRequestBody$outboundSchema` instead. */
145
+ export const outboundSchema = V1AccountLeaderboardRequestBody$outboundSchema;
146
+ /** @deprecated use `V1AccountLeaderboardRequestBody$Outbound` instead. */
147
+ export type Outbound = V1AccountLeaderboardRequestBody$Outbound;
148
+ }
@@ -0,0 +1,97 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import {
8
+ LeaderboardAccount,
9
+ LeaderboardAccount$inboundSchema,
10
+ LeaderboardAccount$Outbound,
11
+ LeaderboardAccount$outboundSchema,
12
+ } from "./leaderboardaccount.js";
13
+ import {
14
+ V1AccountLeaderboardAccount,
15
+ V1AccountLeaderboardAccount$inboundSchema,
16
+ V1AccountLeaderboardAccount$Outbound,
17
+ V1AccountLeaderboardAccount$outboundSchema,
18
+ } from "./v1accountleaderboardaccount.js";
19
+ import {
20
+ V1AccountLeaderboardBadgeInfo,
21
+ V1AccountLeaderboardBadgeInfo$inboundSchema,
22
+ V1AccountLeaderboardBadgeInfo$Outbound,
23
+ V1AccountLeaderboardBadgeInfo$outboundSchema,
24
+ } from "./v1accountleaderboardbadgeinfo.js";
25
+ import {
26
+ V1LeaderboardLocation,
27
+ V1LeaderboardLocation$inboundSchema,
28
+ V1LeaderboardLocation$Outbound,
29
+ V1LeaderboardLocation$outboundSchema,
30
+ } from "./v1leaderboardlocation.js";
31
+
32
+ export type V1AccountLeaderboardResponseBody = {
33
+ /**
34
+ * A URL to the JSON Schema for this object.
35
+ */
36
+ dollarSchema?: string | undefined;
37
+ accounts: Array<V1AccountLeaderboardAccount> | null;
38
+ app?: LeaderboardAccount | undefined;
39
+ badgeInfo?: V1AccountLeaderboardBadgeInfo | undefined;
40
+ location?: V1LeaderboardLocation | undefined;
41
+ };
42
+
43
+ /** @internal */
44
+ export const V1AccountLeaderboardResponseBody$inboundSchema: z.ZodType<
45
+ V1AccountLeaderboardResponseBody,
46
+ z.ZodTypeDef,
47
+ unknown
48
+ > = z.object({
49
+ $schema: z.string().optional(),
50
+ accounts: z.nullable(z.array(V1AccountLeaderboardAccount$inboundSchema)),
51
+ app: LeaderboardAccount$inboundSchema.optional(),
52
+ badgeInfo: V1AccountLeaderboardBadgeInfo$inboundSchema.optional(),
53
+ location: V1LeaderboardLocation$inboundSchema.optional(),
54
+ }).transform((v) => {
55
+ return remap$(v, {
56
+ "$schema": "dollarSchema",
57
+ });
58
+ });
59
+
60
+ /** @internal */
61
+ export type V1AccountLeaderboardResponseBody$Outbound = {
62
+ $schema?: string | undefined;
63
+ accounts: Array<V1AccountLeaderboardAccount$Outbound> | null;
64
+ app?: LeaderboardAccount$Outbound | undefined;
65
+ badgeInfo?: V1AccountLeaderboardBadgeInfo$Outbound | undefined;
66
+ location?: V1LeaderboardLocation$Outbound | undefined;
67
+ };
68
+
69
+ /** @internal */
70
+ export const V1AccountLeaderboardResponseBody$outboundSchema: z.ZodType<
71
+ V1AccountLeaderboardResponseBody$Outbound,
72
+ z.ZodTypeDef,
73
+ V1AccountLeaderboardResponseBody
74
+ > = z.object({
75
+ dollarSchema: z.string().optional(),
76
+ accounts: z.nullable(z.array(V1AccountLeaderboardAccount$outboundSchema)),
77
+ app: LeaderboardAccount$outboundSchema.optional(),
78
+ badgeInfo: V1AccountLeaderboardBadgeInfo$outboundSchema.optional(),
79
+ location: V1LeaderboardLocation$outboundSchema.optional(),
80
+ }).transform((v) => {
81
+ return remap$(v, {
82
+ dollarSchema: "$schema",
83
+ });
84
+ });
85
+
86
+ /**
87
+ * @internal
88
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
89
+ */
90
+ export namespace V1AccountLeaderboardResponseBody$ {
91
+ /** @deprecated use `V1AccountLeaderboardResponseBody$inboundSchema` instead. */
92
+ export const inboundSchema = V1AccountLeaderboardResponseBody$inboundSchema;
93
+ /** @deprecated use `V1AccountLeaderboardResponseBody$outboundSchema` instead. */
94
+ export const outboundSchema = V1AccountLeaderboardResponseBody$outboundSchema;
95
+ /** @deprecated use `V1AccountLeaderboardResponseBody$Outbound` instead. */
96
+ export type Outbound = V1AccountLeaderboardResponseBody$Outbound;
97
+ }
@@ -0,0 +1,69 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+
7
+ export type V1LeaderboardLocation = {
8
+ /**
9
+ * The city to get the leaderboard for, otherwise global
10
+ */
11
+ city?: string | null | undefined;
12
+ /**
13
+ * The country to get the leaderboard for, otherwise global
14
+ */
15
+ country?: string | null | undefined;
16
+ /**
17
+ * The region to get the leaderboard for, otherwise global
18
+ */
19
+ region?: string | null | undefined;
20
+ /**
21
+ * The state to get the leaderboard for, otherwise global
22
+ */
23
+ state?: string | null | undefined;
24
+ };
25
+
26
+ /** @internal */
27
+ export const V1LeaderboardLocation$inboundSchema: z.ZodType<
28
+ V1LeaderboardLocation,
29
+ z.ZodTypeDef,
30
+ unknown
31
+ > = z.object({
32
+ city: z.nullable(z.string()).optional(),
33
+ country: z.nullable(z.string()).optional(),
34
+ region: z.nullable(z.string()).optional(),
35
+ state: z.nullable(z.string()).optional(),
36
+ });
37
+
38
+ /** @internal */
39
+ export type V1LeaderboardLocation$Outbound = {
40
+ city?: string | null | undefined;
41
+ country?: string | null | undefined;
42
+ region?: string | null | undefined;
43
+ state?: string | null | undefined;
44
+ };
45
+
46
+ /** @internal */
47
+ export const V1LeaderboardLocation$outboundSchema: z.ZodType<
48
+ V1LeaderboardLocation$Outbound,
49
+ z.ZodTypeDef,
50
+ V1LeaderboardLocation
51
+ > = z.object({
52
+ city: z.nullable(z.string()).optional(),
53
+ country: z.nullable(z.string()).optional(),
54
+ region: z.nullable(z.string()).optional(),
55
+ state: z.nullable(z.string()).optional(),
56
+ });
57
+
58
+ /**
59
+ * @internal
60
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
61
+ */
62
+ export namespace V1LeaderboardLocation$ {
63
+ /** @deprecated use `V1LeaderboardLocation$inboundSchema` instead. */
64
+ export const inboundSchema = V1LeaderboardLocation$inboundSchema;
65
+ /** @deprecated use `V1LeaderboardLocation$outboundSchema` instead. */
66
+ export const outboundSchema = V1LeaderboardLocation$outboundSchema;
67
+ /** @deprecated use `V1LeaderboardLocation$Outbound` instead. */
68
+ export type Outbound = V1LeaderboardLocation$Outbound;
69
+ }