@steamsets/client-ts 0.11.5 → 0.11.7

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 (323) hide show
  1. package/README.md +21 -6
  2. package/docs/sdks/account/README.md +162 -109
  3. package/docs/sdks/app/README.md +6 -7
  4. package/docs/sdks/badge/README.md +6 -7
  5. package/docs/sdks/connection/README.md +12 -15
  6. package/docs/sdks/data/README.md +27 -35
  7. package/docs/sdks/developer/README.md +9 -11
  8. package/docs/sdks/leaderboard/README.md +95 -19
  9. package/docs/sdks/liveness/README.md +2 -2
  10. package/docs/sdks/location/README.md +3 -3
  11. package/docs/sdks/public/README.md +24 -31
  12. package/docs/sdks/session/README.md +11 -14
  13. package/docs/sdks/settings/README.md +20 -26
  14. package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
  15. package/funcs/accountAccountV1ConnectionConnect.js +1 -2
  16. package/funcs/accountAccountV1ConnectionConnect.js.map +1 -1
  17. package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  18. package/funcs/accountAccountV1ConnectionDeleteConnection.js +1 -2
  19. package/funcs/accountAccountV1ConnectionDeleteConnection.js.map +1 -1
  20. package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  21. package/funcs/accountAccountV1ConnectionUpdateConnection.js +1 -2
  22. package/funcs/accountAccountV1ConnectionUpdateConnection.js.map +1 -1
  23. package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  24. package/funcs/accountAccountV1ConnectionVerifyConnection.js +1 -2
  25. package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +1 -1
  26. package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
  27. package/funcs/accountAccountV1GetApps.js +1 -2
  28. package/funcs/accountAccountV1GetApps.js.map +1 -1
  29. package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
  30. package/funcs/accountAccountV1GetBadges.js +1 -2
  31. package/funcs/accountAccountV1GetBadges.js.map +1 -1
  32. package/funcs/accountAccountV1GetDataPoints.d.ts.map +1 -1
  33. package/funcs/accountAccountV1GetDataPoints.js +1 -2
  34. package/funcs/accountAccountV1GetDataPoints.js.map +1 -1
  35. package/funcs/accountAccountV1GetFriends.d.ts.map +1 -1
  36. package/funcs/accountAccountV1GetFriends.js +1 -2
  37. package/funcs/accountAccountV1GetFriends.js.map +1 -1
  38. package/funcs/accountAccountV1GetInfo.d.ts.map +1 -1
  39. package/funcs/accountAccountV1GetInfo.js +1 -2
  40. package/funcs/accountAccountV1GetInfo.js.map +1 -1
  41. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -1
  42. package/funcs/accountAccountV1GetLeaderboardHistory.js +1 -2
  43. package/funcs/accountAccountV1GetLeaderboardHistory.js.map +1 -1
  44. package/funcs/accountAccountV1LeaderboardPreview.d.ts.map +1 -1
  45. package/funcs/accountAccountV1LeaderboardPreview.js +1 -2
  46. package/funcs/accountAccountV1LeaderboardPreview.js.map +1 -1
  47. package/funcs/accountAccountV1Queue.d.ts.map +1 -1
  48. package/funcs/accountAccountV1Queue.js +1 -2
  49. package/funcs/accountAccountV1Queue.js.map +1 -1
  50. package/funcs/accountAccountV1SessionCreate.d.ts.map +1 -1
  51. package/funcs/accountAccountV1SessionCreate.js +1 -2
  52. package/funcs/accountAccountV1SessionCreate.js.map +1 -1
  53. package/funcs/accountAccountV1SessionDelete.d.ts.map +1 -1
  54. package/funcs/accountAccountV1SessionDelete.js +1 -2
  55. package/funcs/accountAccountV1SessionDelete.js.map +1 -1
  56. package/funcs/accountAccountV1SessionLogin.d.ts.map +1 -1
  57. package/funcs/accountAccountV1SessionLogin.js +1 -2
  58. package/funcs/accountAccountV1SessionLogin.js.map +1 -1
  59. package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -1
  60. package/funcs/accountAccountV1SettingsDeleteImages.js +1 -2
  61. package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -1
  62. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  63. package/funcs/accountAccountV1SettingsSendEmailVerification.js +1 -2
  64. package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
  65. package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
  66. package/funcs/accountAccountV1SettingsUpdate.js +1 -2
  67. package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
  68. package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -1
  69. package/funcs/accountAccountV1SettingsUpdateImage.js +1 -2
  70. package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -1
  71. package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -1
  72. package/funcs/accountAccountV1SettingsUploadImages.js +1 -2
  73. package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -1
  74. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  75. package/funcs/accountAccountV1SettingsVerfyEmail.js +1 -2
  76. package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
  77. package/funcs/accountLeaderboardV1GetAccount.d.ts.map +1 -1
  78. package/funcs/accountLeaderboardV1GetAccount.js +1 -2
  79. package/funcs/accountLeaderboardV1GetAccount.js.map +1 -1
  80. package/funcs/accountLeaderboardV1GetBadges.d.ts +13 -0
  81. package/funcs/accountLeaderboardV1GetBadges.d.ts.map +1 -0
  82. package/funcs/accountLeaderboardV1GetBadges.js +87 -0
  83. package/funcs/accountLeaderboardV1GetBadges.js.map +1 -0
  84. package/funcs/appAppV1Get.d.ts.map +1 -1
  85. package/funcs/appAppV1Get.js +1 -2
  86. package/funcs/appAppV1Get.js.map +1 -1
  87. package/funcs/appAppV1Queue.d.ts.map +1 -1
  88. package/funcs/appAppV1Queue.js +1 -2
  89. package/funcs/appAppV1Queue.js.map +1 -1
  90. package/funcs/badgeBadgeV1Tag.d.ts.map +1 -1
  91. package/funcs/badgeBadgeV1Tag.js +1 -2
  92. package/funcs/badgeBadgeV1Tag.js.map +1 -1
  93. package/funcs/badgeBadgeV1Tags.d.ts +1 -1
  94. package/funcs/badgeBadgeV1Tags.d.ts.map +1 -1
  95. package/funcs/badgeBadgeV1Tags.js +1 -3
  96. package/funcs/badgeBadgeV1Tags.js.map +1 -1
  97. package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
  98. package/funcs/connectionAccountV1ConnectionConnect.js +1 -2
  99. package/funcs/connectionAccountV1ConnectionConnect.js.map +1 -1
  100. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  101. package/funcs/connectionAccountV1ConnectionDeleteConnection.js +1 -2
  102. package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +1 -1
  103. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  104. package/funcs/connectionAccountV1ConnectionUpdateConnection.js +1 -2
  105. package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +1 -1
  106. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  107. package/funcs/connectionAccountV1ConnectionVerifyConnection.js +1 -2
  108. package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
  109. package/funcs/dataAccountV1GetApps.d.ts.map +1 -1
  110. package/funcs/dataAccountV1GetApps.js +1 -2
  111. package/funcs/dataAccountV1GetApps.js.map +1 -1
  112. package/funcs/dataAccountV1GetBadges.d.ts.map +1 -1
  113. package/funcs/dataAccountV1GetBadges.js +1 -2
  114. package/funcs/dataAccountV1GetBadges.js.map +1 -1
  115. package/funcs/dataAccountV1GetDataPoints.d.ts.map +1 -1
  116. package/funcs/dataAccountV1GetDataPoints.js +1 -2
  117. package/funcs/dataAccountV1GetDataPoints.js.map +1 -1
  118. package/funcs/dataAccountV1GetFriends.d.ts.map +1 -1
  119. package/funcs/dataAccountV1GetFriends.js +1 -2
  120. package/funcs/dataAccountV1GetFriends.js.map +1 -1
  121. package/funcs/dataAccountV1GetInfo.d.ts.map +1 -1
  122. package/funcs/dataAccountV1GetInfo.js +1 -2
  123. package/funcs/dataAccountV1GetInfo.js.map +1 -1
  124. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -1
  125. package/funcs/dataAccountV1GetLeaderboardHistory.js +1 -2
  126. package/funcs/dataAccountV1GetLeaderboardHistory.js.map +1 -1
  127. package/funcs/dataAccountV1Queue.d.ts.map +1 -1
  128. package/funcs/dataAccountV1Queue.js +1 -2
  129. package/funcs/dataAccountV1Queue.js.map +1 -1
  130. package/funcs/dataAppV1Queue.d.ts.map +1 -1
  131. package/funcs/dataAppV1Queue.js +1 -2
  132. package/funcs/dataAppV1Queue.js.map +1 -1
  133. package/funcs/developerAccountV1SettingsDeveloperAppCreate.d.ts.map +1 -1
  134. package/funcs/developerAccountV1SettingsDeveloperAppCreate.js +1 -2
  135. package/funcs/developerAccountV1SettingsDeveloperAppCreate.js.map +1 -1
  136. package/funcs/developerAccountV1SettingsDeveloperAppDelete.d.ts.map +1 -1
  137. package/funcs/developerAccountV1SettingsDeveloperAppDelete.js +1 -2
  138. package/funcs/developerAccountV1SettingsDeveloperAppDelete.js.map +1 -1
  139. package/funcs/developerAccountV1SettingsDeveloperAppUpdate.d.ts.map +1 -1
  140. package/funcs/developerAccountV1SettingsDeveloperAppUpdate.js +1 -2
  141. package/funcs/developerAccountV1SettingsDeveloperAppUpdate.js.map +1 -1
  142. package/funcs/leaderboardAccountV1LeaderboardPreview.d.ts.map +1 -1
  143. package/funcs/leaderboardAccountV1LeaderboardPreview.js +1 -2
  144. package/funcs/leaderboardAccountV1LeaderboardPreview.js.map +1 -1
  145. package/funcs/leaderboardLeaderboardV1GetAccount.d.ts.map +1 -1
  146. package/funcs/leaderboardLeaderboardV1GetAccount.js +1 -2
  147. package/funcs/leaderboardLeaderboardV1GetAccount.js.map +1 -1
  148. package/funcs/leaderboardLeaderboardV1GetBadges.d.ts +13 -0
  149. package/funcs/leaderboardLeaderboardV1GetBadges.d.ts.map +1 -0
  150. package/funcs/leaderboardLeaderboardV1GetBadges.js +87 -0
  151. package/funcs/leaderboardLeaderboardV1GetBadges.js.map +1 -0
  152. package/funcs/publicAccountV1GetApps.d.ts.map +1 -1
  153. package/funcs/publicAccountV1GetApps.js +1 -2
  154. package/funcs/publicAccountV1GetApps.js.map +1 -1
  155. package/funcs/publicAccountV1GetBadges.d.ts.map +1 -1
  156. package/funcs/publicAccountV1GetBadges.js +1 -2
  157. package/funcs/publicAccountV1GetBadges.js.map +1 -1
  158. package/funcs/publicAccountV1GetDataPoints.d.ts.map +1 -1
  159. package/funcs/publicAccountV1GetDataPoints.js +1 -2
  160. package/funcs/publicAccountV1GetDataPoints.js.map +1 -1
  161. package/funcs/publicAccountV1GetFriends.d.ts.map +1 -1
  162. package/funcs/publicAccountV1GetFriends.js +1 -2
  163. package/funcs/publicAccountV1GetFriends.js.map +1 -1
  164. package/funcs/publicAccountV1GetInfo.d.ts.map +1 -1
  165. package/funcs/publicAccountV1GetInfo.js +1 -2
  166. package/funcs/publicAccountV1GetInfo.js.map +1 -1
  167. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -1
  168. package/funcs/publicAccountV1GetLeaderboardHistory.js +1 -2
  169. package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -1
  170. package/funcs/publicAccountV1Queue.d.ts.map +1 -1
  171. package/funcs/publicAccountV1Queue.js +1 -2
  172. package/funcs/publicAccountV1Queue.js.map +1 -1
  173. package/funcs/publicAppV1Queue.d.ts.map +1 -1
  174. package/funcs/publicAppV1Queue.js +1 -2
  175. package/funcs/publicAppV1Queue.js.map +1 -1
  176. package/funcs/sessionAccountV1SessionCreate.d.ts.map +1 -1
  177. package/funcs/sessionAccountV1SessionCreate.js +1 -2
  178. package/funcs/sessionAccountV1SessionCreate.js.map +1 -1
  179. package/funcs/sessionAccountV1SessionDelete.d.ts.map +1 -1
  180. package/funcs/sessionAccountV1SessionDelete.js +1 -2
  181. package/funcs/sessionAccountV1SessionDelete.js.map +1 -1
  182. package/funcs/sessionAccountV1SessionLogin.d.ts.map +1 -1
  183. package/funcs/sessionAccountV1SessionLogin.js +1 -2
  184. package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
  185. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -1
  186. package/funcs/settingsAccountV1SettingsDeleteImages.js +1 -2
  187. package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -1
  188. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  189. package/funcs/settingsAccountV1SettingsSendEmailVerification.js +1 -2
  190. package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
  191. package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
  192. package/funcs/settingsAccountV1SettingsUpdate.js +1 -2
  193. package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
  194. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -1
  195. package/funcs/settingsAccountV1SettingsUpdateImage.js +1 -2
  196. package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -1
  197. package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -1
  198. package/funcs/settingsAccountV1SettingsUploadImages.js +1 -2
  199. package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -1
  200. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  201. package/funcs/settingsAccountV1SettingsVerfyEmail.js +1 -2
  202. package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
  203. package/lib/config.d.ts +3 -3
  204. package/lib/config.js +3 -3
  205. package/models/components/index.d.ts +3 -0
  206. package/models/components/index.d.ts.map +1 -1
  207. package/models/components/index.js +3 -0
  208. package/models/components/index.js.map +1 -1
  209. package/models/components/leaderboardapp.d.ts +21 -0
  210. package/models/components/leaderboardapp.d.ts.map +1 -0
  211. package/models/components/leaderboardapp.js +46 -0
  212. package/models/components/leaderboardapp.js.map +1 -0
  213. package/models/components/role.d.ts +2 -2
  214. package/models/components/role.d.ts.map +1 -1
  215. package/models/components/role.js +2 -2
  216. package/models/components/role.js.map +1 -1
  217. package/models/components/v1accountleaderboardrequestbody.d.ts +5 -2
  218. package/models/components/v1accountleaderboardrequestbody.d.ts.map +1 -1
  219. package/models/components/v1accountleaderboardrequestbody.js +3 -2
  220. package/models/components/v1accountleaderboardrequestbody.js.map +1 -1
  221. package/models/components/v1accountleaderboardresponsebody.d.ts +7 -7
  222. package/models/components/v1accountleaderboardresponsebody.d.ts.map +1 -1
  223. package/models/components/v1accountleaderboardresponsebody.js +8 -7
  224. package/models/components/v1accountleaderboardresponsebody.js.map +1 -1
  225. package/models/components/v1leaderboardbadge.d.ts +108 -0
  226. package/models/components/v1leaderboardbadge.d.ts.map +1 -0
  227. package/models/components/v1leaderboardbadge.js +82 -0
  228. package/models/components/v1leaderboardbadge.js.map +1 -0
  229. package/models/components/v1leaderboardbadgeresponsebody.d.ts +34 -0
  230. package/models/components/v1leaderboardbadgeresponsebody.d.ts.map +1 -0
  231. package/models/components/v1leaderboardbadgeresponsebody.js +62 -0
  232. package/models/components/v1leaderboardbadgeresponsebody.js.map +1 -0
  233. package/models/operations/index.d.ts +1 -0
  234. package/models/operations/index.d.ts.map +1 -1
  235. package/models/operations/index.js +1 -0
  236. package/models/operations/index.js.map +1 -1
  237. package/models/operations/leaderboardv1getbadges.d.ts +31 -0
  238. package/models/operations/leaderboardv1getbadges.d.ts.map +1 -0
  239. package/models/operations/leaderboardv1getbadges.js +66 -0
  240. package/models/operations/leaderboardv1getbadges.js.map +1 -0
  241. package/package.json +1 -1
  242. package/sdk/account.d.ts +4 -0
  243. package/sdk/account.d.ts.map +1 -1
  244. package/sdk/account.js +7 -0
  245. package/sdk/account.js.map +1 -1
  246. package/sdk/leaderboard.d.ts +4 -0
  247. package/sdk/leaderboard.d.ts.map +1 -1
  248. package/sdk/leaderboard.js +7 -0
  249. package/sdk/leaderboard.js.map +1 -1
  250. package/src/funcs/accountAccountV1ConnectionConnect.ts +1 -3
  251. package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +1 -3
  252. package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +1 -3
  253. package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +1 -3
  254. package/src/funcs/accountAccountV1GetApps.ts +1 -3
  255. package/src/funcs/accountAccountV1GetBadges.ts +1 -3
  256. package/src/funcs/accountAccountV1GetDataPoints.ts +1 -3
  257. package/src/funcs/accountAccountV1GetFriends.ts +1 -3
  258. package/src/funcs/accountAccountV1GetInfo.ts +1 -3
  259. package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +1 -3
  260. package/src/funcs/accountAccountV1LeaderboardPreview.ts +1 -3
  261. package/src/funcs/accountAccountV1Queue.ts +1 -3
  262. package/src/funcs/accountAccountV1SessionCreate.ts +1 -3
  263. package/src/funcs/accountAccountV1SessionDelete.ts +1 -3
  264. package/src/funcs/accountAccountV1SessionLogin.ts +1 -3
  265. package/src/funcs/accountAccountV1SettingsDeleteImages.ts +1 -3
  266. package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +1 -3
  267. package/src/funcs/accountAccountV1SettingsUpdate.ts +1 -3
  268. package/src/funcs/accountAccountV1SettingsUpdateImage.ts +1 -3
  269. package/src/funcs/accountAccountV1SettingsUploadImages.ts +1 -3
  270. package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +1 -3
  271. package/src/funcs/accountLeaderboardV1GetAccount.ts +1 -3
  272. package/src/funcs/accountLeaderboardV1GetBadges.ts +110 -0
  273. package/src/funcs/appAppV1Get.ts +1 -3
  274. package/src/funcs/appAppV1Queue.ts +1 -3
  275. package/src/funcs/badgeBadgeV1Tag.ts +1 -3
  276. package/src/funcs/badgeBadgeV1Tags.ts +1 -4
  277. package/src/funcs/connectionAccountV1ConnectionConnect.ts +1 -3
  278. package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +1 -3
  279. package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +1 -3
  280. package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +1 -3
  281. package/src/funcs/dataAccountV1GetApps.ts +1 -3
  282. package/src/funcs/dataAccountV1GetBadges.ts +1 -3
  283. package/src/funcs/dataAccountV1GetDataPoints.ts +1 -3
  284. package/src/funcs/dataAccountV1GetFriends.ts +1 -3
  285. package/src/funcs/dataAccountV1GetInfo.ts +1 -3
  286. package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +1 -3
  287. package/src/funcs/dataAccountV1Queue.ts +1 -3
  288. package/src/funcs/dataAppV1Queue.ts +1 -3
  289. package/src/funcs/developerAccountV1SettingsDeveloperAppCreate.ts +1 -3
  290. package/src/funcs/developerAccountV1SettingsDeveloperAppDelete.ts +1 -3
  291. package/src/funcs/developerAccountV1SettingsDeveloperAppUpdate.ts +1 -3
  292. package/src/funcs/leaderboardAccountV1LeaderboardPreview.ts +1 -3
  293. package/src/funcs/leaderboardLeaderboardV1GetAccount.ts +1 -3
  294. package/src/funcs/leaderboardLeaderboardV1GetBadges.ts +110 -0
  295. package/src/funcs/publicAccountV1GetApps.ts +1 -3
  296. package/src/funcs/publicAccountV1GetBadges.ts +1 -3
  297. package/src/funcs/publicAccountV1GetDataPoints.ts +1 -3
  298. package/src/funcs/publicAccountV1GetFriends.ts +1 -3
  299. package/src/funcs/publicAccountV1GetInfo.ts +1 -3
  300. package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +1 -3
  301. package/src/funcs/publicAccountV1Queue.ts +1 -3
  302. package/src/funcs/publicAppV1Queue.ts +1 -3
  303. package/src/funcs/sessionAccountV1SessionCreate.ts +1 -3
  304. package/src/funcs/sessionAccountV1SessionDelete.ts +1 -3
  305. package/src/funcs/sessionAccountV1SessionLogin.ts +1 -3
  306. package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +1 -3
  307. package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +1 -3
  308. package/src/funcs/settingsAccountV1SettingsUpdate.ts +1 -3
  309. package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +1 -3
  310. package/src/funcs/settingsAccountV1SettingsUploadImages.ts +1 -3
  311. package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +1 -3
  312. package/src/lib/config.ts +3 -3
  313. package/src/models/components/index.ts +3 -0
  314. package/src/models/components/leaderboardapp.ts +37 -0
  315. package/src/models/components/role.ts +4 -4
  316. package/src/models/components/v1accountleaderboardrequestbody.ts +8 -4
  317. package/src/models/components/v1accountleaderboardresponsebody.ts +18 -17
  318. package/src/models/components/v1leaderboardbadge.ts +164 -0
  319. package/src/models/components/v1leaderboardbadgeresponsebody.ts +70 -0
  320. package/src/models/operations/index.ts +1 -0
  321. package/src/models/operations/leaderboardv1getbadges.ts +70 -0
  322. package/src/sdk/account.ts +13 -0
  323. package/src/sdk/leaderboard.ts +13 -0
package/README.md CHANGED
@@ -100,6 +100,7 @@ run();
100
100
  * [accountV1ConnectionVerifyConnection](docs/sdks/account/README.md#accountv1connectionverifyconnection) - Verify a domain connection only atm
101
101
  * [accountV1SettingsVerfyEmail](docs/sdks/account/README.md#accountv1settingsverfyemail) - Verify the email by passing in the code the user should've gotten
102
102
  * [leaderboardV1GetAccount](docs/sdks/account/README.md#leaderboardv1getaccount) - Get an leaderboard for accounts
103
+ * [leaderboardV1GetBadges](docs/sdks/account/README.md#leaderboardv1getbadges) - Get all available badges for leaderboards
103
104
 
104
105
  ### [app](docs/sdks/app/README.md)
105
106
 
@@ -140,6 +141,7 @@ run();
140
141
 
141
142
  * [accountV1LeaderboardPreview](docs/sdks/leaderboard/README.md#accountv1leaderboardpreview) - Preview what a given score would result in
142
143
  * [leaderboardV1GetAccount](docs/sdks/leaderboard/README.md#leaderboardv1getaccount) - Get an leaderboard for accounts
144
+ * [leaderboardV1GetBadges](docs/sdks/leaderboard/README.md#leaderboardv1getbadges) - Get all available badges for leaderboards
143
145
 
144
146
  ### [liveness](docs/sdks/liveness/README.md)
145
147
 
@@ -255,15 +257,24 @@ run();
255
257
  <!-- Start Error Handling [errors] -->
256
258
  ## Error Handling
257
259
 
258
- All SDK methods return a response object or throw an error. If Error objects are specified in your OpenAPI Spec, the SDK will throw the appropriate Error type.
260
+ All SDK methods return a response object or throw an error. By default, an API error will throw a `errors.SDKError`.
259
261
 
260
- | Error Object | Status Code | Content Type |
261
- | ------------------------ | ------------------------ | ------------------------ |
262
- | errors.ErrorModel | 400,422,500 | application/problem+json |
263
- | errors.SDKError | 4xx-5xx | */* |
262
+ If a HTTP request fails, an operation my also throw an error from the `models/errors/httpclienterrors.ts` module:
263
+
264
+ | HTTP Client Error | Description |
265
+ | ---------------------------------------------------- | ---------------------------------------------------- |
266
+ | RequestAbortedError | HTTP request was aborted by the client |
267
+ | RequestTimeoutError | HTTP request timed out due to an AbortSignal signal |
268
+ | ConnectionError | HTTP client was unable to make a request to a server |
269
+ | InvalidRequestError | Any input used to create a request is invalid |
270
+ | UnexpectedClientError | Unrecognised or unexpected error |
264
271
 
265
- Validation errors can also occur when either method arguments or data returned from the server do not match the expected format. The `SDKValidationError` that is thrown as a result will capture the raw value that failed validation in an attribute called `rawValue`. Additionally, a `pretty()` method is available on this error that can be used to log a nicely formatted string since validation errors can list many issues and the plain error string may be difficult read when debugging.
272
+ In addition, when custom error responses are specified for an operation, the SDK may throw their associated Error type. You can refer to respective *Errors* tables in SDK docs for more details on possible error types for each operation. For example, the `accountV1ConnectionConnect` method may throw the following errors:
266
273
 
274
+ | Error Type | Status Code | Content Type |
275
+ | ------------------------ | ------------------------ | ------------------------ |
276
+ | errors.ErrorModel | 400, 422, 500 | application/problem+json |
277
+ | errors.SDKError | 4XX, 5XX | \*/\* |
267
278
 
268
279
  ```typescript
269
280
  import { SteamSets } from "@steamsets/client-ts";
@@ -310,6 +321,8 @@ async function run() {
310
321
  run();
311
322
 
312
323
  ```
324
+
325
+ Validation errors can also occur when either method arguments or data returned from the server do not match the expected format. The `SDKValidationError` that is thrown as a result will capture the raw value that failed validation in an attribute called `rawValue`. Additionally, a `pretty()` method is available on this error that can be used to log a nicely formatted string since validation errors can list many issues and the plain error string may be difficult read when debugging.
313
326
  <!-- End Error Handling [errors] -->
314
327
 
315
328
  <!-- Start Server Selection [server] -->
@@ -542,6 +555,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
542
555
  - [accountAccountV1SettingsUploadImages](docs/sdks/account/README.md#accountv1settingsuploadimages)
543
556
  - [accountAccountV1SettingsVerfyEmail](docs/sdks/account/README.md#accountv1settingsverfyemail)
544
557
  - [accountLeaderboardV1GetAccount](docs/sdks/account/README.md#leaderboardv1getaccount)
558
+ - [accountLeaderboardV1GetBadges](docs/sdks/account/README.md#leaderboardv1getbadges)
545
559
  - [appAppV1Get](docs/sdks/app/README.md#appv1get)
546
560
  - [appAppV1Queue](docs/sdks/app/README.md#appv1queue)
547
561
  - [badgeBadgeV1Tag](docs/sdks/badge/README.md#badgev1tag)
@@ -564,6 +578,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
564
578
  - [developerAccountV1SettingsDeveloperAppUpdate](docs/sdks/developer/README.md#accountv1settingsdeveloperappupdate)
565
579
  - [leaderboardAccountV1LeaderboardPreview](docs/sdks/leaderboard/README.md#accountv1leaderboardpreview)
566
580
  - [leaderboardLeaderboardV1GetAccount](docs/sdks/leaderboard/README.md#leaderboardv1getaccount)
581
+ - [leaderboardLeaderboardV1GetBadges](docs/sdks/leaderboard/README.md#leaderboardv1getbadges)
567
582
  - [livenessLiveness](docs/sdks/liveness/README.md#liveness)
568
583
  - [locationLocation](docs/sdks/location/README.md#location)
569
584
  - [publicAccountV1GetApps](docs/sdks/public/README.md#accountv1getapps)
@@ -32,6 +32,7 @@ Account related operations
32
32
  * [accountV1ConnectionVerifyConnection](#accountv1connectionverifyconnection) - Verify a domain connection only atm
33
33
  * [accountV1SettingsVerfyEmail](#accountv1settingsverfyemail) - Verify the email by passing in the code the user should've gotten
34
34
  * [leaderboardV1GetAccount](#leaderboardv1getaccount) - Get an leaderboard for accounts
35
+ * [leaderboardV1GetBadges](#leaderboardv1getbadges) - Get all available badges for leaderboards
35
36
 
36
37
  ## accountV1ConnectionConnect
37
38
 
@@ -107,11 +108,10 @@ run();
107
108
 
108
109
  ### Errors
109
110
 
110
- | Error Object | Status Code | Content Type |
111
+ | Error Type | Status Code | Content Type |
111
112
  | ------------------------ | ------------------------ | ------------------------ |
112
- | errors.ErrorModel | 400,422,500 | application/problem+json |
113
- | errors.SDKError | 4xx-5xx | */* |
114
-
113
+ | errors.ErrorModel | 400, 422, 500 | application/problem+json |
114
+ | errors.SDKError | 4XX, 5XX | \*/\* |
115
115
 
116
116
  ## accountV1SessionCreate
117
117
 
@@ -181,11 +181,10 @@ run();
181
181
 
182
182
  ### Errors
183
183
 
184
- | Error Object | Status Code | Content Type |
184
+ | Error Type | Status Code | Content Type |
185
185
  | ------------------------ | ------------------------ | ------------------------ |
186
- | errors.ErrorModel | 422,500 | application/problem+json |
187
- | errors.SDKError | 4xx-5xx | */* |
188
-
186
+ | errors.ErrorModel | 422, 500 | application/problem+json |
187
+ | errors.SDKError | 4XX, 5XX | \*/\* |
189
188
 
190
189
  ## accountV1ConnectionDeleteConnection
191
190
 
@@ -259,11 +258,10 @@ run();
259
258
 
260
259
  ### Errors
261
260
 
262
- | Error Object | Status Code | Content Type |
261
+ | Error Type | Status Code | Content Type |
263
262
  | ------------------------ | ------------------------ | ------------------------ |
264
- | errors.ErrorModel | 400,422,500 | application/problem+json |
265
- | errors.SDKError | 4xx-5xx | */* |
266
-
263
+ | errors.ErrorModel | 400, 422, 500 | application/problem+json |
264
+ | errors.SDKError | 4XX, 5XX | \*/\* |
267
265
 
268
266
  ## accountV1SettingsDeleteImages
269
267
 
@@ -341,11 +339,10 @@ run();
341
339
 
342
340
  ### Errors
343
341
 
344
- | Error Object | Status Code | Content Type |
342
+ | Error Type | Status Code | Content Type |
345
343
  | ------------------------ | ------------------------ | ------------------------ |
346
- | errors.ErrorModel | 404,422,500 | application/problem+json |
347
- | errors.SDKError | 4xx-5xx | */* |
348
-
344
+ | errors.ErrorModel | 404, 422, 500 | application/problem+json |
345
+ | errors.SDKError | 4XX, 5XX | \*/\* |
349
346
 
350
347
  ## accountV1SessionDelete
351
348
 
@@ -419,11 +416,10 @@ run();
419
416
 
420
417
  ### Errors
421
418
 
422
- | Error Object | Status Code | Content Type |
419
+ | Error Type | Status Code | Content Type |
423
420
  | ------------------------ | ------------------------ | ------------------------ |
424
- | errors.ErrorModel | 404,422,500 | application/problem+json |
425
- | errors.SDKError | 4xx-5xx | */* |
426
-
421
+ | errors.ErrorModel | 404, 422, 500 | application/problem+json |
422
+ | errors.SDKError | 4XX, 5XX | \*/\* |
427
423
 
428
424
  ## accountV1GetApps
429
425
 
@@ -493,11 +489,10 @@ run();
493
489
 
494
490
  ### Errors
495
491
 
496
- | Error Object | Status Code | Content Type |
492
+ | Error Type | Status Code | Content Type |
497
493
  | ------------------------ | ------------------------ | ------------------------ |
498
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
499
- | errors.SDKError | 4xx-5xx | */* |
500
-
494
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
495
+ | errors.SDKError | 4XX, 5XX | \*/\* |
501
496
 
502
497
  ## accountV1GetBadges
503
498
 
@@ -567,11 +562,10 @@ run();
567
562
 
568
563
  ### Errors
569
564
 
570
- | Error Object | Status Code | Content Type |
565
+ | Error Type | Status Code | Content Type |
571
566
  | ------------------------ | ------------------------ | ------------------------ |
572
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
573
- | errors.SDKError | 4xx-5xx | */* |
574
-
567
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
568
+ | errors.SDKError | 4XX, 5XX | \*/\* |
575
569
 
576
570
  ## accountV1GetDataPoints
577
571
 
@@ -641,11 +635,10 @@ run();
641
635
 
642
636
  ### Errors
643
637
 
644
- | Error Object | Status Code | Content Type |
638
+ | Error Type | Status Code | Content Type |
645
639
  | ------------------------ | ------------------------ | ------------------------ |
646
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
647
- | errors.SDKError | 4xx-5xx | */* |
648
-
640
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
641
+ | errors.SDKError | 4XX, 5XX | \*/\* |
649
642
 
650
643
  ## accountV1GetFriends
651
644
 
@@ -715,11 +708,10 @@ run();
715
708
 
716
709
  ### Errors
717
710
 
718
- | Error Object | Status Code | Content Type |
711
+ | Error Type | Status Code | Content Type |
719
712
  | ------------------------ | ------------------------ | ------------------------ |
720
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
721
- | errors.SDKError | 4xx-5xx | */* |
722
-
713
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
714
+ | errors.SDKError | 4XX, 5XX | \*/\* |
723
715
 
724
716
  ## accountV1GetInfo
725
717
 
@@ -789,11 +781,10 @@ run();
789
781
 
790
782
  ### Errors
791
783
 
792
- | Error Object | Status Code | Content Type |
784
+ | Error Type | Status Code | Content Type |
793
785
  | ------------------------ | ------------------------ | ------------------------ |
794
- | errors.ErrorModel | 404,422,429,500 | application/problem+json |
795
- | errors.SDKError | 4xx-5xx | */* |
796
-
786
+ | errors.ErrorModel | 404, 422, 429, 500 | application/problem+json |
787
+ | errors.SDKError | 4XX, 5XX | \*/\* |
797
788
 
798
789
  ## accountV1GetLeaderboardHistory
799
790
 
@@ -863,11 +854,10 @@ run();
863
854
 
864
855
  ### Errors
865
856
 
866
- | Error Object | Status Code | Content Type |
857
+ | Error Type | Status Code | Content Type |
867
858
  | ------------------------ | ------------------------ | ------------------------ |
868
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
869
- | errors.SDKError | 4xx-5xx | */* |
870
-
859
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
860
+ | errors.SDKError | 4XX, 5XX | \*/\* |
871
861
 
872
862
  ## accountV1LeaderboardPreview
873
863
 
@@ -943,11 +933,10 @@ run();
943
933
 
944
934
  ### Errors
945
935
 
946
- | Error Object | Status Code | Content Type |
936
+ | Error Type | Status Code | Content Type |
947
937
  | ------------------------ | ------------------------ | ------------------------ |
948
- | errors.ErrorModel | 404,422,500 | application/problem+json |
949
- | errors.SDKError | 4xx-5xx | */* |
950
-
938
+ | errors.ErrorModel | 404, 422, 500 | application/problem+json |
939
+ | errors.SDKError | 4XX, 5XX | \*/\* |
951
940
 
952
941
  ## accountV1SessionGet
953
942
 
@@ -1016,11 +1005,10 @@ run();
1016
1005
 
1017
1006
  ### Errors
1018
1007
 
1019
- | Error Object | Status Code | Content Type |
1008
+ | Error Type | Status Code | Content Type |
1020
1009
  | ------------------------ | ------------------------ | ------------------------ |
1021
1010
  | errors.ErrorModel | 500 | application/problem+json |
1022
- | errors.SDKError | 4xx-5xx | */* |
1023
-
1011
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1024
1012
 
1025
1013
  ## accountV1SettingsGet
1026
1014
 
@@ -1089,11 +1077,10 @@ run();
1089
1077
 
1090
1078
  ### Errors
1091
1079
 
1092
- | Error Object | Status Code | Content Type |
1080
+ | Error Type | Status Code | Content Type |
1093
1081
  | ------------------------ | ------------------------ | ------------------------ |
1094
1082
  | errors.ErrorModel | 500 | application/problem+json |
1095
- | errors.SDKError | 4xx-5xx | */* |
1096
-
1083
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1097
1084
 
1098
1085
  ## accountV1GetStaff
1099
1086
 
@@ -1162,11 +1149,10 @@ run();
1162
1149
 
1163
1150
  ### Errors
1164
1151
 
1165
- | Error Object | Status Code | Content Type |
1152
+ | Error Type | Status Code | Content Type |
1166
1153
  | ------------------------ | ------------------------ | ------------------------ |
1167
- | errors.ErrorModel | 404,429,500 | application/problem+json |
1168
- | errors.SDKError | 4xx-5xx | */* |
1169
-
1154
+ | errors.ErrorModel | 404, 429, 500 | application/problem+json |
1155
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1170
1156
 
1171
1157
  ## accountV1SessionLogin
1172
1158
 
@@ -1262,11 +1248,10 @@ run();
1262
1248
 
1263
1249
  ### Errors
1264
1250
 
1265
- | Error Object | Status Code | Content Type |
1251
+ | Error Type | Status Code | Content Type |
1266
1252
  | ------------------------ | ------------------------ | ------------------------ |
1267
- | errors.ErrorModel | 400,422,429,500 | application/problem+json |
1268
- | errors.SDKError | 4xx-5xx | */* |
1269
-
1253
+ | errors.ErrorModel | 400, 422, 429, 500 | application/problem+json |
1254
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1270
1255
 
1271
1256
  ## accountV1Queue
1272
1257
 
@@ -1340,11 +1325,10 @@ run();
1340
1325
 
1341
1326
  ### Errors
1342
1327
 
1343
- | Error Object | Status Code | Content Type |
1328
+ | Error Type | Status Code | Content Type |
1344
1329
  | ------------------------ | ------------------------ | ------------------------ |
1345
- | errors.ErrorModel | 400,422,429,500 | application/problem+json |
1346
- | errors.SDKError | 4xx-5xx | */* |
1347
-
1330
+ | errors.ErrorModel | 400, 422, 429, 500 | application/problem+json |
1331
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1348
1332
 
1349
1333
  ## accountV1SettingsSendEmailVerification
1350
1334
 
@@ -1414,11 +1398,10 @@ run();
1414
1398
 
1415
1399
  ### Errors
1416
1400
 
1417
- | Error Object | Status Code | Content Type |
1401
+ | Error Type | Status Code | Content Type |
1418
1402
  | ------------------------ | ------------------------ | ------------------------ |
1419
- | errors.ErrorModel | 404,422,429,500 | application/problem+json |
1420
- | errors.SDKError | 4xx-5xx | */* |
1421
-
1403
+ | errors.ErrorModel | 404, 422, 429, 500 | application/problem+json |
1404
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1422
1405
 
1423
1406
  ## accountV1ConnectionUpdateConnection
1424
1407
 
@@ -1494,11 +1477,10 @@ run();
1494
1477
 
1495
1478
  ### Errors
1496
1479
 
1497
- | Error Object | Status Code | Content Type |
1480
+ | Error Type | Status Code | Content Type |
1498
1481
  | ------------------------ | ------------------------ | ------------------------ |
1499
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
1500
- | errors.SDKError | 4xx-5xx | */* |
1501
-
1482
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
1483
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1502
1484
 
1503
1485
  ## accountV1SettingsUpdateImage
1504
1486
 
@@ -1574,11 +1556,10 @@ run();
1574
1556
 
1575
1557
  ### Errors
1576
1558
 
1577
- | Error Object | Status Code | Content Type |
1559
+ | Error Type | Status Code | Content Type |
1578
1560
  | ------------------------ | ------------------------ | ------------------------ |
1579
- | errors.ErrorModel | 404,422,500 | application/problem+json |
1580
- | errors.SDKError | 4xx-5xx | */* |
1581
-
1561
+ | errors.ErrorModel | 404, 422, 500 | application/problem+json |
1562
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1582
1563
 
1583
1564
  ## accountV1SettingsUpdate
1584
1565
 
@@ -1680,11 +1661,10 @@ run();
1680
1661
 
1681
1662
  ### Errors
1682
1663
 
1683
- | Error Object | Status Code | Content Type |
1664
+ | Error Type | Status Code | Content Type |
1684
1665
  | ------------------------ | ------------------------ | ------------------------ |
1685
- | errors.ErrorModel | 422,429,500 | application/problem+json |
1686
- | errors.SDKError | 4xx-5xx | */* |
1687
-
1666
+ | errors.ErrorModel | 422, 429, 500 | application/problem+json |
1667
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1688
1668
 
1689
1669
  ## accountV1SettingsUploadImages
1690
1670
 
@@ -1768,11 +1748,10 @@ run();
1768
1748
 
1769
1749
  ### Errors
1770
1750
 
1771
- | Error Object | Status Code | Content Type |
1751
+ | Error Type | Status Code | Content Type |
1772
1752
  | ------------------------ | ------------------------ | ------------------------ |
1773
- | errors.ErrorModel | 422,500 | application/problem+json |
1774
- | errors.SDKError | 4xx-5xx | */* |
1775
-
1753
+ | errors.ErrorModel | 422, 500 | application/problem+json |
1754
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1776
1755
 
1777
1756
  ## accountV1ConnectionVerifyConnection
1778
1757
 
@@ -1846,11 +1825,10 @@ run();
1846
1825
 
1847
1826
  ### Errors
1848
1827
 
1849
- | Error Object | Status Code | Content Type |
1828
+ | Error Type | Status Code | Content Type |
1850
1829
  | ------------------------ | ------------------------ | ------------------------ |
1851
- | errors.ErrorModel | 400,422,500 | application/problem+json |
1852
- | errors.SDKError | 4xx-5xx | */* |
1853
-
1830
+ | errors.ErrorModel | 400, 422, 500 | application/problem+json |
1831
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1854
1832
 
1855
1833
  ## accountV1SettingsVerfyEmail
1856
1834
 
@@ -1924,11 +1902,10 @@ run();
1924
1902
 
1925
1903
  ### Errors
1926
1904
 
1927
- | Error Object | Status Code | Content Type |
1905
+ | Error Type | Status Code | Content Type |
1928
1906
  | ------------------------ | ------------------------ | ------------------------ |
1929
- | errors.ErrorModel | 404,422,429,500 | application/problem+json |
1930
- | errors.SDKError | 4xx-5xx | */* |
1931
-
1907
+ | errors.ErrorModel | 404, 422, 429, 500 | application/problem+json |
1908
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1932
1909
 
1933
1910
  ## leaderboardV1GetAccount
1934
1911
 
@@ -1950,12 +1927,14 @@ async function run() {
1950
1927
  badgeIsFoil: true,
1951
1928
  end: 10,
1952
1929
  leaderboard: "xp",
1953
- location: {
1954
- city: "Bad Krozingen",
1955
- country: "Germany",
1956
- region: "Europe",
1957
- state: "Baden-Wurttemberg",
1958
- },
1930
+ location: [
1931
+ {
1932
+ city: "Bad Krozingen",
1933
+ country: "Germany",
1934
+ region: "Europe",
1935
+ state: "Baden-Wurttemberg",
1936
+ },
1937
+ ],
1959
1938
  start: 1,
1960
1939
  });
1961
1940
 
@@ -1987,12 +1966,14 @@ async function run() {
1987
1966
  badgeIsFoil: true,
1988
1967
  end: 10,
1989
1968
  leaderboard: "xp",
1990
- location: {
1991
- city: "Bad Krozingen",
1992
- country: "Germany",
1993
- region: "Europe",
1994
- state: "Baden-Wurttemberg",
1995
- },
1969
+ location: [
1970
+ {
1971
+ city: "Bad Krozingen",
1972
+ country: "Germany",
1973
+ region: "Europe",
1974
+ state: "Baden-Wurttemberg",
1975
+ },
1976
+ ],
1996
1977
  start: 1,
1997
1978
  });
1998
1979
 
@@ -2024,7 +2005,79 @@ run();
2024
2005
 
2025
2006
  ### Errors
2026
2007
 
2027
- | Error Object | Status Code | Content Type |
2008
+ | Error Type | Status Code | Content Type |
2009
+ | ------------------------ | ------------------------ | ------------------------ |
2010
+ | errors.ErrorModel | 404, 422, 500 | application/problem+json |
2011
+ | errors.SDKError | 4XX, 5XX | \*/\* |
2012
+
2013
+ ## leaderboardV1GetBadges
2014
+
2015
+ Get all available badges for leaderboards
2016
+
2017
+ ### Example Usage
2018
+
2019
+ ```typescript
2020
+ import { SteamSets } from "@steamsets/client-ts";
2021
+
2022
+ const steamSets = new SteamSets({
2023
+ session: "<YOUR_BEARER_TOKEN_HERE>",
2024
+ });
2025
+
2026
+ async function run() {
2027
+ const result = await steamSets.account.leaderboardV1GetBadges();
2028
+
2029
+ // Handle the result
2030
+ console.log(result);
2031
+ }
2032
+
2033
+ run();
2034
+ ```
2035
+
2036
+ ### Standalone function
2037
+
2038
+ The standalone function version of this method:
2039
+
2040
+ ```typescript
2041
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
2042
+ import { accountLeaderboardV1GetBadges } from "@steamsets/client-ts/funcs/accountLeaderboardV1GetBadges.js";
2043
+
2044
+ // Use `SteamSetsCore` for best tree-shaking performance.
2045
+ // You can create one instance of it to use across an application.
2046
+ const steamSets = new SteamSetsCore({
2047
+ session: "<YOUR_BEARER_TOKEN_HERE>",
2048
+ });
2049
+
2050
+ async function run() {
2051
+ const res = await accountLeaderboardV1GetBadges(steamSets);
2052
+
2053
+ if (!res.ok) {
2054
+ throw res.error;
2055
+ }
2056
+
2057
+ const { value: result } = res;
2058
+
2059
+ // Handle the result
2060
+ console.log(result);
2061
+ }
2062
+
2063
+ run();
2064
+ ```
2065
+
2066
+ ### Parameters
2067
+
2068
+ | Parameter | Type | Required | Description |
2069
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
2070
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
2071
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
2072
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
2073
+
2074
+ ### Response
2075
+
2076
+ **Promise\<[operations.LeaderboardV1GetBadgesResponse](../../models/operations/leaderboardv1getbadgesresponse.md)\>**
2077
+
2078
+ ### Errors
2079
+
2080
+ | Error Type | Status Code | Content Type |
2028
2081
  | ------------------------ | ------------------------ | ------------------------ |
2029
- | errors.ErrorModel | 404,422,500 | application/problem+json |
2030
- | errors.SDKError | 4xx-5xx | */* |
2082
+ | errors.ErrorModel | 404, 500 | application/problem+json |
2083
+ | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -82,11 +82,10 @@ run();
82
82
 
83
83
  ### Errors
84
84
 
85
- | Error Object | Status Code | Content Type |
85
+ | Error Type | Status Code | Content Type |
86
86
  | ------------------------ | ------------------------ | ------------------------ |
87
- | errors.ErrorModel | 404,422,500 | application/problem+json |
88
- | errors.SDKError | 4xx-5xx | */* |
89
-
87
+ | errors.ErrorModel | 404, 422, 500 | application/problem+json |
88
+ | errors.SDKError | 4XX, 5XX | \*/\* |
90
89
 
91
90
  ## appV1Queue
92
91
 
@@ -160,7 +159,7 @@ run();
160
159
 
161
160
  ### Errors
162
161
 
163
- | Error Object | Status Code | Content Type |
162
+ | Error Type | Status Code | Content Type |
164
163
  | ------------------------ | ------------------------ | ------------------------ |
165
- | errors.ErrorModel | 400,422,429,500 | application/problem+json |
166
- | errors.SDKError | 4xx-5xx | */* |
164
+ | errors.ErrorModel | 400, 422, 429, 500 | application/problem+json |
165
+ | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -76,11 +76,10 @@ run();
76
76
 
77
77
  ### Errors
78
78
 
79
- | Error Object | Status Code | Content Type |
79
+ | Error Type | Status Code | Content Type |
80
80
  | ------------------------ | ------------------------ | ------------------------ |
81
- | errors.ErrorModel | 403,404,422,500 | application/problem+json |
82
- | errors.SDKError | 4xx-5xx | */* |
83
-
81
+ | errors.ErrorModel | 403, 404, 422, 500 | application/problem+json |
82
+ | errors.SDKError | 4XX, 5XX | \*/\* |
84
83
 
85
84
  ## badgeV1Tag
86
85
 
@@ -190,7 +189,7 @@ run();
190
189
 
191
190
  ### Errors
192
191
 
193
- | Error Object | Status Code | Content Type |
192
+ | Error Type | Status Code | Content Type |
194
193
  | ------------------------ | ------------------------ | ------------------------ |
195
- | errors.ErrorModel | 403,404,422,500 | application/problem+json |
196
- | errors.SDKError | 4xx-5xx | */* |
194
+ | errors.ErrorModel | 403, 404, 422, 500 | application/problem+json |
195
+ | errors.SDKError | 4XX, 5XX | \*/\* |