@steamsets/client-ts 0.18.0 → 0.19.0

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 (350) hide show
  1. package/README.md +0 -2
  2. package/docs/sdks/badge/README.md +0 -77
  3. package/funcs/accountAccountV1GetMeta.js +1 -1
  4. package/funcs/accountAccountV1GetMeta.js.map +1 -1
  5. package/funcs/accountCreateDeveloperApp.js +1 -1
  6. package/funcs/accountCreateDeveloperApp.js.map +1 -1
  7. package/funcs/accountDeleteDeveloperApp.js +1 -1
  8. package/funcs/accountDeleteDeveloperApp.js.map +1 -1
  9. package/funcs/accountDeleteImages.js +1 -1
  10. package/funcs/accountDeleteImages.js.map +1 -1
  11. package/funcs/accountGetAccount.js +1 -1
  12. package/funcs/accountGetAccount.js.map +1 -1
  13. package/funcs/accountGetApps.js +1 -1
  14. package/funcs/accountGetApps.js.map +1 -1
  15. package/funcs/accountGetBadges.js +1 -1
  16. package/funcs/accountGetBadges.js.map +1 -1
  17. package/funcs/accountGetDataPoints.js +1 -1
  18. package/funcs/accountGetDataPoints.js.map +1 -1
  19. package/funcs/accountGetFriends.js +1 -1
  20. package/funcs/accountGetFriends.js.map +1 -1
  21. package/funcs/accountGetInfo.js +1 -1
  22. package/funcs/accountGetInfo.js.map +1 -1
  23. package/funcs/accountGetLeaderboardHistory.js +1 -1
  24. package/funcs/accountGetLeaderboardHistory.js.map +1 -1
  25. package/funcs/accountGetStaff.js +1 -1
  26. package/funcs/accountGetStaff.js.map +1 -1
  27. package/funcs/accountLeaderboardV1GetAccountMeta.js +1 -1
  28. package/funcs/accountLeaderboardV1GetAccountMeta.js.map +1 -1
  29. package/funcs/accountUpdateApp.js +1 -1
  30. package/funcs/accountUpdateApp.js.map +1 -1
  31. package/funcs/accountUploadImages.js +1 -1
  32. package/funcs/accountUploadImages.js.map +1 -1
  33. package/funcs/accountsQueue.js +1 -1
  34. package/funcs/accountsQueue.js.map +1 -1
  35. package/funcs/adminGetAccount.js +1 -1
  36. package/funcs/adminGetAccount.js.map +1 -1
  37. package/funcs/adminUpdateResources.js +1 -1
  38. package/funcs/adminUpdateResources.js.map +1 -1
  39. package/funcs/adminUpdateRoles.js +1 -1
  40. package/funcs/adminUpdateRoles.js.map +1 -1
  41. package/funcs/appAppV1ListBadges.js +1 -1
  42. package/funcs/appAppV1ListBadges.js.map +1 -1
  43. package/funcs/badgeGetTags.js +1 -1
  44. package/funcs/badgeGetTags.js.map +1 -1
  45. package/funcs/badgesBookmark.js +1 -1
  46. package/funcs/badgesBookmark.js.map +1 -1
  47. package/funcs/badgesGetBookmarks.js +1 -1
  48. package/funcs/badgesGetBookmarks.js.map +1 -1
  49. package/funcs/badgesGetOwned.js +1 -1
  50. package/funcs/badgesGetOwned.js.map +1 -1
  51. package/funcs/badgesSearch.js +1 -1
  52. package/funcs/badgesSearch.js.map +1 -1
  53. package/funcs/badgesTag.js +1 -1
  54. package/funcs/badgesTag.js.map +1 -1
  55. package/funcs/connectionDelete.js +1 -1
  56. package/funcs/connectionDelete.js.map +1 -1
  57. package/funcs/connectionReconnect.js +1 -1
  58. package/funcs/connectionReconnect.js.map +1 -1
  59. package/funcs/connectionUpdate.js +1 -1
  60. package/funcs/connectionUpdate.js.map +1 -1
  61. package/funcs/connectionVerify.js +1 -1
  62. package/funcs/connectionVerify.js.map +1 -1
  63. package/funcs/connectionsConnect.js +1 -1
  64. package/funcs/connectionsConnect.js.map +1 -1
  65. package/funcs/dataAccountV1GetMeta.js +1 -1
  66. package/funcs/dataAccountV1GetMeta.js.map +1 -1
  67. package/funcs/dataGetApps.js +1 -1
  68. package/funcs/dataGetApps.js.map +1 -1
  69. package/funcs/dataGetBadges.js +1 -1
  70. package/funcs/dataGetBadges.js.map +1 -1
  71. package/funcs/dataGetDataPoints.js +1 -1
  72. package/funcs/dataGetDataPoints.js.map +1 -1
  73. package/funcs/dataGetFriends.js +1 -1
  74. package/funcs/dataGetFriends.js.map +1 -1
  75. package/funcs/dataGetInfo.js +1 -1
  76. package/funcs/dataGetInfo.js.map +1 -1
  77. package/funcs/dataGetLeaderboardHistory.js +1 -1
  78. package/funcs/dataGetLeaderboardHistory.js.map +1 -1
  79. package/funcs/developerCreateDeveloperApp.js +1 -1
  80. package/funcs/developerCreateDeveloperApp.js.map +1 -1
  81. package/funcs/developerDeleteDeveloperApp.js +1 -1
  82. package/funcs/developerDeleteDeveloperApp.js.map +1 -1
  83. package/funcs/developerUpdateApp.js +1 -1
  84. package/funcs/developerUpdateApp.js.map +1 -1
  85. package/funcs/eventsGet.js +1 -1
  86. package/funcs/eventsGet.js.map +1 -1
  87. package/funcs/eventsUpdate.js +1 -1
  88. package/funcs/eventsUpdate.js.map +1 -1
  89. package/funcs/externalAppV1ListBadges.js +1 -1
  90. package/funcs/externalAppV1ListBadges.js.map +1 -1
  91. package/funcs/externalGet.js +1 -1
  92. package/funcs/externalGet.js.map +1 -1
  93. package/funcs/externalGetApps.js +1 -1
  94. package/funcs/externalGetApps.js.map +1 -1
  95. package/funcs/externalGetBadges.js +1 -1
  96. package/funcs/externalGetBadges.js.map +1 -1
  97. package/funcs/externalGetDataPoints.js +1 -1
  98. package/funcs/externalGetDataPoints.js.map +1 -1
  99. package/funcs/externalGetFriends.js +1 -1
  100. package/funcs/externalGetFriends.js.map +1 -1
  101. package/funcs/externalGetInfo.js +1 -1
  102. package/funcs/externalGetInfo.js.map +1 -1
  103. package/funcs/externalGetLeaderboardHistory.js +1 -1
  104. package/funcs/externalGetLeaderboardHistory.js.map +1 -1
  105. package/funcs/imagesDeleteImages.js +1 -1
  106. package/funcs/imagesDeleteImages.js.map +1 -1
  107. package/funcs/imagesGet.js +1 -1
  108. package/funcs/imagesGet.js.map +1 -1
  109. package/funcs/imagesUpdate.js +1 -1
  110. package/funcs/imagesUpdate.js.map +1 -1
  111. package/funcs/imagesUploadImages.js +1 -1
  112. package/funcs/imagesUploadImages.js.map +1 -1
  113. package/funcs/internalAccountV1GetMeta.js +1 -1
  114. package/funcs/internalAccountV1GetMeta.js.map +1 -1
  115. package/funcs/internalCheck.js +1 -1
  116. package/funcs/internalCheck.js.map +1 -1
  117. package/funcs/internalCreateDeveloperApp.js +1 -1
  118. package/funcs/internalCreateDeveloperApp.js.map +1 -1
  119. package/funcs/internalDeleteDeveloperApp.js +1 -1
  120. package/funcs/internalDeleteDeveloperApp.js.map +1 -1
  121. package/funcs/internalDeleteImages.js +1 -1
  122. package/funcs/internalDeleteImages.js.map +1 -1
  123. package/funcs/internalGetAccount.js +1 -1
  124. package/funcs/internalGetAccount.js.map +1 -1
  125. package/funcs/internalGetStaff.js +1 -1
  126. package/funcs/internalGetStaff.js.map +1 -1
  127. package/funcs/internalGetTags.js +1 -1
  128. package/funcs/internalGetTags.js.map +1 -1
  129. package/funcs/internalLeaderboardV1GetAccountMeta.js +1 -1
  130. package/funcs/internalLeaderboardV1GetAccountMeta.js.map +1 -1
  131. package/funcs/internalUpdateApp.js +1 -1
  132. package/funcs/internalUpdateApp.js.map +1 -1
  133. package/funcs/internalUploadImages.js +1 -1
  134. package/funcs/internalUploadImages.js.map +1 -1
  135. package/funcs/leaderboardGetAccount.js +1 -1
  136. package/funcs/leaderboardGetAccount.js.map +1 -1
  137. package/funcs/leaderboardGetBadges.js +1 -1
  138. package/funcs/leaderboardGetBadges.js.map +1 -1
  139. package/funcs/leaderboardGetGroup.js +1 -1
  140. package/funcs/leaderboardGetGroup.js.map +1 -1
  141. package/funcs/leaderboardLeaderboardV1GetAccountMeta.js +1 -1
  142. package/funcs/leaderboardLeaderboardV1GetAccountMeta.js.map +1 -1
  143. package/funcs/livenessCheck.js +1 -1
  144. package/funcs/livenessCheck.js.map +1 -1
  145. package/funcs/locationsGet.js +1 -1
  146. package/funcs/locationsGet.js.map +1 -1
  147. package/funcs/sessionCreate.js +1 -1
  148. package/funcs/sessionCreate.js.map +1 -1
  149. package/funcs/sessionLogin.js +1 -1
  150. package/funcs/sessionLogin.js.map +1 -1
  151. package/funcs/sessionsDelete.js +1 -1
  152. package/funcs/sessionsDelete.js.map +1 -1
  153. package/funcs/sessionsGet.js +1 -1
  154. package/funcs/sessionsGet.js.map +1 -1
  155. package/funcs/settingsGet.js +1 -1
  156. package/funcs/settingsGet.js.map +1 -1
  157. package/funcs/settingsSendVerification.js +1 -1
  158. package/funcs/settingsSendVerification.js.map +1 -1
  159. package/funcs/settingsSubscribeEmail.js +1 -1
  160. package/funcs/settingsSubscribeEmail.js.map +1 -1
  161. package/funcs/settingsUpdate.js +1 -1
  162. package/funcs/settingsUpdate.js.map +1 -1
  163. package/funcs/settingsUpdateRole.js +1 -1
  164. package/funcs/settingsUpdateRole.js.map +1 -1
  165. package/funcs/settingsVerifyEmail.js +1 -1
  166. package/funcs/settingsVerifyEmail.js.map +1 -1
  167. package/funcs/statsGet.js +1 -1
  168. package/funcs/statsGet.js.map +1 -1
  169. package/jsr.json +1 -1
  170. package/lib/config.d.ts +6 -6
  171. package/lib/config.d.ts.map +1 -1
  172. package/lib/config.js +3 -3
  173. package/lib/files.js.map +1 -1
  174. package/lib/primitives.d.ts +3 -0
  175. package/lib/primitives.d.ts.map +1 -1
  176. package/lib/primitives.js +7 -0
  177. package/lib/primitives.js.map +1 -1
  178. package/lib/sdks.d.ts +1 -1
  179. package/lib/sdks.d.ts.map +1 -1
  180. package/models/components/badge.d.ts +0 -2
  181. package/models/components/badge.d.ts.map +1 -1
  182. package/models/components/badge.js +0 -2
  183. package/models/components/badge.js.map +1 -1
  184. package/models/components/leaderboardaccount.d.ts +6 -0
  185. package/models/components/leaderboardaccount.d.ts.map +1 -1
  186. package/models/components/leaderboardaccount.js.map +1 -1
  187. package/models/components/v1accountapp.d.ts +2 -0
  188. package/models/components/v1accountapp.d.ts.map +1 -1
  189. package/models/components/v1accountapp.js.map +1 -1
  190. package/models/components/v1accountfriend.d.ts +6 -0
  191. package/models/components/v1accountfriend.d.ts.map +1 -1
  192. package/models/components/v1accountfriend.js.map +1 -1
  193. package/models/components/v1accountfriendsresponsebody.d.ts +2 -2
  194. package/models/components/v1accountfriendsresponsebody.d.ts.map +1 -1
  195. package/models/components/v1accountfriendsresponsebody.js +2 -2
  196. package/models/components/v1accountfriendsresponsebody.js.map +1 -1
  197. package/models/components/v1accountinforesponsebody.d.ts +6 -0
  198. package/models/components/v1accountinforesponsebody.d.ts.map +1 -1
  199. package/models/components/v1accountinforesponsebody.js.map +1 -1
  200. package/models/components/v1accountleaderboardaccount.d.ts +6 -0
  201. package/models/components/v1accountleaderboardaccount.d.ts.map +1 -1
  202. package/models/components/v1accountleaderboardaccount.js.map +1 -1
  203. package/models/components/v1accountleaderboardrequestbody.d.ts +2 -2
  204. package/models/components/v1accountleaderboardrequestbody.d.ts.map +1 -1
  205. package/models/components/v1accountleaderboardrequestbody.js +3 -3
  206. package/models/components/v1accountleaderboardrequestbody.js.map +1 -1
  207. package/models/components/v1accountleaderboardresponsebody.d.ts +2 -2
  208. package/models/components/v1accountleaderboardresponsebody.d.ts.map +1 -1
  209. package/models/components/v1accountleaderboardresponsebody.js +2 -2
  210. package/models/components/v1accountleaderboardresponsebody.js.map +1 -1
  211. package/models/components/v1appbadge.d.ts +3 -0
  212. package/models/components/v1appbadge.d.ts.map +1 -1
  213. package/models/components/v1appbadge.js.map +1 -1
  214. package/models/components/v1leaderboardaccountmetarequestbody.d.ts +2 -2
  215. package/models/components/v1leaderboardaccountmetarequestbody.d.ts.map +1 -1
  216. package/models/components/v1leaderboardaccountmetarequestbody.js +3 -3
  217. package/models/components/v1leaderboardaccountmetarequestbody.js.map +1 -1
  218. package/models/components/v1leaderboardbadge.d.ts +2 -0
  219. package/models/components/v1leaderboardbadge.d.ts.map +1 -1
  220. package/models/components/v1leaderboardbadge.js.map +1 -1
  221. package/models/components/v1uploadedimage.d.ts +8 -8
  222. package/models/components/v1uploadedimage.d.ts.map +1 -1
  223. package/models/components/v1uploadedimage.js +13 -13
  224. package/models/components/v1uploadedimage.js.map +1 -1
  225. package/models/components/vanitystruct.d.ts +8 -8
  226. package/models/components/vanitystruct.d.ts.map +1 -1
  227. package/models/components/vanitystruct.js +13 -13
  228. package/models/components/vanitystruct.js.map +1 -1
  229. package/models/operations/accountv1getstaff.d.ts +2 -2
  230. package/models/operations/accountv1getstaff.d.ts.map +1 -1
  231. package/models/operations/accountv1getstaff.js +2 -2
  232. package/models/operations/accountv1getstaff.js.map +1 -1
  233. package/package.json +1 -1
  234. package/sdk/badge.d.ts +0 -2
  235. package/sdk/badge.d.ts.map +1 -1
  236. package/sdk/badge.js +0 -4
  237. package/sdk/badge.js.map +1 -1
  238. package/sdk/sdk.d.ts +2 -2
  239. package/sdk/sdk.d.ts.map +1 -1
  240. package/sdk/sdk.js +3 -3
  241. package/sdk/sdk.js.map +1 -1
  242. package/src/funcs/accountAccountV1GetMeta.ts +1 -1
  243. package/src/funcs/accountCreateDeveloperApp.ts +1 -1
  244. package/src/funcs/accountDeleteDeveloperApp.ts +1 -1
  245. package/src/funcs/accountDeleteImages.ts +1 -1
  246. package/src/funcs/accountGetAccount.ts +1 -1
  247. package/src/funcs/accountGetApps.ts +1 -1
  248. package/src/funcs/accountGetBadges.ts +1 -1
  249. package/src/funcs/accountGetDataPoints.ts +1 -1
  250. package/src/funcs/accountGetFriends.ts +1 -1
  251. package/src/funcs/accountGetInfo.ts +1 -1
  252. package/src/funcs/accountGetLeaderboardHistory.ts +1 -1
  253. package/src/funcs/accountGetStaff.ts +1 -1
  254. package/src/funcs/accountLeaderboardV1GetAccountMeta.ts +1 -1
  255. package/src/funcs/accountUpdateApp.ts +1 -1
  256. package/src/funcs/accountUploadImages.ts +1 -1
  257. package/src/funcs/accountsQueue.ts +1 -1
  258. package/src/funcs/adminGetAccount.ts +1 -1
  259. package/src/funcs/adminUpdateResources.ts +1 -1
  260. package/src/funcs/adminUpdateRoles.ts +1 -1
  261. package/src/funcs/appAppV1ListBadges.ts +1 -1
  262. package/src/funcs/badgeGetTags.ts +1 -1
  263. package/src/funcs/badgesBookmark.ts +1 -1
  264. package/src/funcs/badgesGetBookmarks.ts +1 -1
  265. package/src/funcs/badgesGetOwned.ts +1 -1
  266. package/src/funcs/badgesSearch.ts +1 -1
  267. package/src/funcs/badgesTag.ts +1 -1
  268. package/src/funcs/connectionDelete.ts +1 -1
  269. package/src/funcs/connectionReconnect.ts +1 -1
  270. package/src/funcs/connectionUpdate.ts +1 -1
  271. package/src/funcs/connectionVerify.ts +1 -1
  272. package/src/funcs/connectionsConnect.ts +1 -1
  273. package/src/funcs/dataAccountV1GetMeta.ts +1 -1
  274. package/src/funcs/dataGetApps.ts +1 -1
  275. package/src/funcs/dataGetBadges.ts +1 -1
  276. package/src/funcs/dataGetDataPoints.ts +1 -1
  277. package/src/funcs/dataGetFriends.ts +1 -1
  278. package/src/funcs/dataGetInfo.ts +1 -1
  279. package/src/funcs/dataGetLeaderboardHistory.ts +1 -1
  280. package/src/funcs/developerCreateDeveloperApp.ts +1 -1
  281. package/src/funcs/developerDeleteDeveloperApp.ts +1 -1
  282. package/src/funcs/developerUpdateApp.ts +1 -1
  283. package/src/funcs/eventsGet.ts +1 -1
  284. package/src/funcs/eventsUpdate.ts +1 -1
  285. package/src/funcs/externalAppV1ListBadges.ts +1 -1
  286. package/src/funcs/externalGet.ts +1 -1
  287. package/src/funcs/externalGetApps.ts +1 -1
  288. package/src/funcs/externalGetBadges.ts +1 -1
  289. package/src/funcs/externalGetDataPoints.ts +1 -1
  290. package/src/funcs/externalGetFriends.ts +1 -1
  291. package/src/funcs/externalGetInfo.ts +1 -1
  292. package/src/funcs/externalGetLeaderboardHistory.ts +1 -1
  293. package/src/funcs/imagesDeleteImages.ts +1 -1
  294. package/src/funcs/imagesGet.ts +1 -1
  295. package/src/funcs/imagesUpdate.ts +1 -1
  296. package/src/funcs/imagesUploadImages.ts +1 -1
  297. package/src/funcs/internalAccountV1GetMeta.ts +1 -1
  298. package/src/funcs/internalCheck.ts +1 -1
  299. package/src/funcs/internalCreateDeveloperApp.ts +1 -1
  300. package/src/funcs/internalDeleteDeveloperApp.ts +1 -1
  301. package/src/funcs/internalDeleteImages.ts +1 -1
  302. package/src/funcs/internalGetAccount.ts +1 -1
  303. package/src/funcs/internalGetStaff.ts +1 -1
  304. package/src/funcs/internalGetTags.ts +1 -1
  305. package/src/funcs/internalLeaderboardV1GetAccountMeta.ts +1 -1
  306. package/src/funcs/internalUpdateApp.ts +1 -1
  307. package/src/funcs/internalUploadImages.ts +1 -1
  308. package/src/funcs/leaderboardGetAccount.ts +1 -1
  309. package/src/funcs/leaderboardGetBadges.ts +1 -1
  310. package/src/funcs/leaderboardGetGroup.ts +1 -1
  311. package/src/funcs/leaderboardLeaderboardV1GetAccountMeta.ts +1 -1
  312. package/src/funcs/livenessCheck.ts +1 -1
  313. package/src/funcs/locationsGet.ts +1 -1
  314. package/src/funcs/sessionCreate.ts +1 -1
  315. package/src/funcs/sessionLogin.ts +1 -1
  316. package/src/funcs/sessionsDelete.ts +1 -1
  317. package/src/funcs/sessionsGet.ts +1 -1
  318. package/src/funcs/settingsGet.ts +1 -1
  319. package/src/funcs/settingsSendVerification.ts +1 -1
  320. package/src/funcs/settingsSubscribeEmail.ts +1 -1
  321. package/src/funcs/settingsUpdate.ts +1 -1
  322. package/src/funcs/settingsUpdateRole.ts +1 -1
  323. package/src/funcs/settingsVerifyEmail.ts +1 -1
  324. package/src/funcs/statsGet.ts +1 -1
  325. package/src/lib/config.ts +6 -6
  326. package/src/lib/files.ts +1 -1
  327. package/src/lib/primitives.ts +14 -0
  328. package/src/lib/sdks.ts +1 -1
  329. package/src/models/components/badge.ts +0 -4
  330. package/src/models/components/leaderboardaccount.ts +6 -0
  331. package/src/models/components/v1accountapp.ts +2 -0
  332. package/src/models/components/v1accountfriend.ts +6 -0
  333. package/src/models/components/v1accountfriendsresponsebody.ts +4 -4
  334. package/src/models/components/v1accountinforesponsebody.ts +6 -0
  335. package/src/models/components/v1accountleaderboardaccount.ts +6 -0
  336. package/src/models/components/v1accountleaderboardrequestbody.ts +7 -5
  337. package/src/models/components/v1accountleaderboardresponsebody.ts +8 -4
  338. package/src/models/components/v1appbadge.ts +3 -0
  339. package/src/models/components/v1leaderboardaccountmetarequestbody.ts +7 -5
  340. package/src/models/components/v1leaderboardbadge.ts +2 -0
  341. package/src/models/components/v1uploadedimage.ts +15 -16
  342. package/src/models/components/vanitystruct.ts +16 -15
  343. package/src/models/operations/accountv1getstaff.ts +7 -4
  344. package/src/sdk/badge.ts +0 -13
  345. package/src/sdk/sdk.ts +5 -5
  346. package/funcs/badgeAppV1ListBadges.d.ts +0 -12
  347. package/funcs/badgeAppV1ListBadges.d.ts.map +0 -1
  348. package/funcs/badgeAppV1ListBadges.js +0 -118
  349. package/funcs/badgeAppV1ListBadges.js.map +0 -1
  350. package/src/funcs/badgeAppV1ListBadges.ts +0 -179
@@ -101,7 +101,7 @@ async function $do(
101
101
  const requestSecurity = resolveGlobalSecurity(securityInput);
102
102
 
103
103
  const context = {
104
- baseURL: options?.serverURL ?? "",
104
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
105
105
  operationID: "account.v1.settings.update",
106
106
  oAuth2Scopes: [],
107
107
 
@@ -94,7 +94,7 @@ async function $do(
94
94
  const requestSecurity = resolveGlobalSecurity(securityInput);
95
95
 
96
96
  const context = {
97
- baseURL: options?.serverURL ?? "",
97
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
98
98
  operationID: "account.v1.settings.update-role",
99
99
  oAuth2Scopes: [],
100
100
 
@@ -94,7 +94,7 @@ async function $do(
94
94
  const requestSecurity = resolveGlobalSecurity(securityInput);
95
95
 
96
96
  const context = {
97
- baseURL: options?.serverURL ?? "",
97
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
98
98
  operationID: "account.v1.settings.email-verify",
99
99
  oAuth2Scopes: [],
100
100
 
@@ -76,7 +76,7 @@ async function $do(
76
76
  const requestSecurity = resolveGlobalSecurity(securityInput);
77
77
 
78
78
  const context = {
79
- baseURL: options?.serverURL ?? "",
79
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
80
80
  operationID: "stats.v1.stats.get",
81
81
  oAuth2Scopes: [],
82
82
 
package/src/lib/config.ts CHANGED
@@ -16,17 +16,17 @@ export const ServerList = [
16
16
  ] as const;
17
17
 
18
18
  export type SDKOptions = {
19
- token?: string | (() => Promise<string>);
19
+ token?: string | (() => Promise<string>) | undefined;
20
20
 
21
21
  httpClient?: HTTPClient;
22
22
  /**
23
23
  * Allows overriding the default server used by the SDK
24
24
  */
25
- serverIdx?: number;
25
+ serverIdx?: number | undefined;
26
26
  /**
27
27
  * Allows overriding the default server URL used by the SDK
28
28
  */
29
- serverURL?: string;
29
+ serverURL?: string | undefined;
30
30
  /**
31
31
  * Allows overriding the default retry config used by the SDK
32
32
  */
@@ -55,8 +55,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
55
55
  export const SDK_METADATA = {
56
56
  language: "typescript",
57
57
  openapiDocVersion: "1.0.0",
58
- sdkVersion: "0.18.0",
59
- genVersion: "2.515.0",
58
+ sdkVersion: "0.19.0",
59
+ genVersion: "2.539.1",
60
60
  userAgent:
61
- "speakeasy-sdk/typescript 0.18.0 2.515.0 1.0.0 @steamsets/client-ts",
61
+ "speakeasy-sdk/typescript 0.19.0 2.539.1 1.0.0 @steamsets/client-ts",
62
62
  } as const;
package/src/lib/files.ts CHANGED
@@ -36,5 +36,5 @@ export async function readableStreamToArrayBuffer(
36
36
  offset += chunk.length;
37
37
  }
38
38
 
39
- return concatenatedChunks.buffer;
39
+ return concatenatedChunks.buffer as ArrayBuffer;
40
40
  }
@@ -134,3 +134,17 @@ export function compactMap<T>(
134
134
 
135
135
  return out;
136
136
  }
137
+
138
+ export function allRequired<V extends Record<string, unknown>>(
139
+ v: V,
140
+ ):
141
+ | {
142
+ [K in keyof V]: NonNullable<V[K]>;
143
+ }
144
+ | undefined {
145
+ if (Object.values(v).every((x) => x == null)) {
146
+ return void 0;
147
+ }
148
+
149
+ return v as ReturnType<typeof allRequired<V>>;
150
+ }
package/src/lib/sdks.ts CHANGED
@@ -78,7 +78,7 @@ export class ClientSDK {
78
78
  readonly #httpClient: HTTPClient;
79
79
  readonly #hooks: SDKHooks;
80
80
  readonly #logger?: Logger | undefined;
81
- protected readonly _baseURL: URL | null;
81
+ public readonly _baseURL: URL | null;
82
82
  public readonly _options: SDKOptions & { hooks?: SDKHooks };
83
83
 
84
84
  constructor(options: SDKOptions = {}) {
@@ -24,7 +24,6 @@ export type Badge = {
24
24
  lastCompletion: number;
25
25
  level: number;
26
26
  name: string;
27
- price: number;
28
27
  scarcity: number;
29
28
  steamId: number;
30
29
  xp: number;
@@ -49,7 +48,6 @@ export const Badge$inboundSchema: z.ZodType<Badge, z.ZodTypeDef, unknown> = z
49
48
  lastCompletion: z.number().int(),
50
49
  level: z.number().int(),
51
50
  name: z.string(),
52
- price: z.number().int(),
53
51
  scarcity: z.number().int(),
54
52
  steamId: z.number().int(),
55
53
  xp: z.number(),
@@ -73,7 +71,6 @@ export type Badge$Outbound = {
73
71
  lastCompletion: number;
74
72
  level: number;
75
73
  name: string;
76
- price: number;
77
74
  scarcity: number;
78
75
  steamId: number;
79
76
  xp: number;
@@ -101,7 +98,6 @@ export const Badge$outboundSchema: z.ZodType<
101
98
  lastCompletion: z.number().int(),
102
99
  level: z.number().int(),
103
100
  name: z.string(),
104
- price: z.number().int(),
105
101
  scarcity: z.number().int(),
106
102
  steamId: z.number().int(),
107
103
  xp: z.number(),
@@ -56,6 +56,8 @@ export type LeaderboardAccountPrivacy = ClosedEnum<
56
56
  export type LeaderboardAccount = {
57
57
  /**
58
58
  * The cost of an app
59
+ *
60
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
59
61
  */
60
62
  appCost: number;
61
63
  /**
@@ -98,6 +100,8 @@ export type LeaderboardAccount = {
98
100
  economyBan: string;
99
101
  /**
100
102
  * The cost of a foil badge
103
+ *
104
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
101
105
  */
102
106
  foilBadgeCost: number;
103
107
  /**
@@ -122,6 +126,8 @@ export type LeaderboardAccount = {
122
126
  name: string;
123
127
  /**
124
128
  * The cost of a normal badge
129
+ *
130
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
125
131
  */
126
132
  normalBadgeCost: number;
127
133
  /**
@@ -26,6 +26,8 @@ export type V1AccountApp = {
26
26
  playtime: number;
27
27
  /**
28
28
  * How much the app costs
29
+ *
30
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
29
31
  */
30
32
  price: number;
31
33
  };
@@ -54,6 +54,8 @@ export type Privacy = ClosedEnum<typeof Privacy>;
54
54
  export type V1AccountFriend = {
55
55
  /**
56
56
  * The cost of an app
57
+ *
58
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
57
59
  */
58
60
  appCost: number;
59
61
  /**
@@ -96,6 +98,8 @@ export type V1AccountFriend = {
96
98
  economyBan: string;
97
99
  /**
98
100
  * The cost of a foil badge
101
+ *
102
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
99
103
  */
100
104
  foilBadgeCost: number;
101
105
  /**
@@ -121,6 +125,8 @@ export type V1AccountFriend = {
121
125
  name: string;
122
126
  /**
123
127
  * The cost of a normal badge
128
+ *
129
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
124
130
  */
125
131
  normalBadgeCost: number;
126
132
  /**
@@ -19,7 +19,7 @@ export type V1AccountFriendsResponseBody = {
19
19
  * A URL to the JSON Schema for this object.
20
20
  */
21
21
  dollarSchema?: string | undefined;
22
- friends: Array<V1AccountFriend> | null;
22
+ friends: Array<V1AccountFriend | null> | null;
23
23
  };
24
24
 
25
25
  /** @internal */
@@ -29,7 +29,7 @@ export const V1AccountFriendsResponseBody$inboundSchema: z.ZodType<
29
29
  unknown
30
30
  > = z.object({
31
31
  $schema: z.string().optional(),
32
- friends: z.nullable(z.array(V1AccountFriend$inboundSchema)),
32
+ friends: z.nullable(z.array(z.nullable(V1AccountFriend$inboundSchema))),
33
33
  }).transform((v) => {
34
34
  return remap$(v, {
35
35
  "$schema": "dollarSchema",
@@ -39,7 +39,7 @@ export const V1AccountFriendsResponseBody$inboundSchema: z.ZodType<
39
39
  /** @internal */
40
40
  export type V1AccountFriendsResponseBody$Outbound = {
41
41
  $schema?: string | undefined;
42
- friends: Array<V1AccountFriend$Outbound> | null;
42
+ friends: Array<V1AccountFriend$Outbound | null> | null;
43
43
  };
44
44
 
45
45
  /** @internal */
@@ -49,7 +49,7 @@ export const V1AccountFriendsResponseBody$outboundSchema: z.ZodType<
49
49
  V1AccountFriendsResponseBody
50
50
  > = z.object({
51
51
  dollarSchema: z.string().optional(),
52
- friends: z.nullable(z.array(V1AccountFriend$outboundSchema)),
52
+ friends: z.nullable(z.array(z.nullable(V1AccountFriend$outboundSchema))),
53
53
  }).transform((v) => {
54
54
  return remap$(v, {
55
55
  dollarSchema: "$schema",
@@ -124,6 +124,8 @@ export type V1AccountInfoResponseBody = {
124
124
  animatedAvatar: string;
125
125
  /**
126
126
  * The cost of an app
127
+ *
128
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
127
129
  */
128
130
  appCost: number;
129
131
  /**
@@ -194,6 +196,8 @@ export type V1AccountInfoResponseBody = {
194
196
  economyBan: string;
195
197
  /**
196
198
  * The cost of a foil badge
199
+ *
200
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
197
201
  */
198
202
  foilBadgeCost: number;
199
203
  /**
@@ -239,6 +243,8 @@ export type V1AccountInfoResponseBody = {
239
243
  nextAllowedTime: Date;
240
244
  /**
241
245
  * The cost of a normal badge
246
+ *
247
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
242
248
  */
243
249
  normalBadgeCost: number;
244
250
  /**
@@ -62,6 +62,8 @@ export type V1AccountLeaderboardAccountPrivacy = ClosedEnum<
62
62
  export type V1AccountLeaderboardAccount = {
63
63
  /**
64
64
  * The cost of an app
65
+ *
66
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
65
67
  */
66
68
  appCost: number;
67
69
  /**
@@ -109,6 +111,8 @@ export type V1AccountLeaderboardAccount = {
109
111
  economyBan: string;
110
112
  /**
111
113
  * The cost of a foil badge
114
+ *
115
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
112
116
  */
113
117
  foilBadgeCost: number;
114
118
  /**
@@ -133,6 +137,8 @@ export type V1AccountLeaderboardAccount = {
133
137
  name: string;
134
138
  /**
135
139
  * The cost of a normal badge
140
+ *
141
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
136
142
  */
137
143
  normalBadgeCost: number;
138
144
  /**
@@ -74,7 +74,7 @@ export type V1AccountLeaderboardRequestBody = {
74
74
  /**
75
75
  * The location(s)to get the leaderboard for, otherwise global
76
76
  */
77
- location?: Array<V1LeaderboardLocation> | null | undefined;
77
+ location?: Array<V1LeaderboardLocation | null> | null | undefined;
78
78
  /**
79
79
  * The start index
80
80
  */
@@ -115,7 +115,8 @@ export const V1AccountLeaderboardRequestBody$inboundSchema: z.ZodType<
115
115
  end: z.nullable(z.number().int()).optional(),
116
116
  goToLeaderboardRank: z.nullable(z.number().int()).optional(),
117
117
  leaderboard: V1AccountLeaderboardRequestBodyLeaderboard$inboundSchema,
118
- location: z.nullable(z.array(V1LeaderboardLocation$inboundSchema)).optional(),
118
+ location: z.nullable(z.array(z.nullable(V1LeaderboardLocation$inboundSchema)))
119
+ .optional(),
119
120
  start: z.nullable(z.number().int()).optional(),
120
121
  });
121
122
 
@@ -126,7 +127,7 @@ export type V1AccountLeaderboardRequestBody$Outbound = {
126
127
  end?: number | null | undefined;
127
128
  goToLeaderboardRank?: number | null | undefined;
128
129
  leaderboard: string;
129
- location?: Array<V1LeaderboardLocation$Outbound> | null | undefined;
130
+ location?: Array<V1LeaderboardLocation$Outbound | null> | null | undefined;
130
131
  start?: number | null | undefined;
131
132
  };
132
133
 
@@ -141,8 +142,9 @@ export const V1AccountLeaderboardRequestBody$outboundSchema: z.ZodType<
141
142
  end: z.nullable(z.number().int()).optional(),
142
143
  goToLeaderboardRank: z.nullable(z.number().int()).optional(),
143
144
  leaderboard: V1AccountLeaderboardRequestBodyLeaderboard$outboundSchema,
144
- location: z.nullable(z.array(V1LeaderboardLocation$outboundSchema))
145
- .optional(),
145
+ location: z.nullable(
146
+ z.array(z.nullable(V1LeaderboardLocation$outboundSchema)),
147
+ ).optional(),
146
148
  start: z.nullable(z.number().int()).optional(),
147
149
  });
148
150
 
@@ -37,7 +37,7 @@ export type V1AccountLeaderboardResponseBody = {
37
37
  * A URL to the JSON Schema for this object.
38
38
  */
39
39
  dollarSchema?: string | undefined;
40
- accounts: Array<V1AccountLeaderboardAccount> | null;
40
+ accounts: Array<V1AccountLeaderboardAccount | null> | null;
41
41
  app?: V1LeaderboardAppInfo | null | undefined;
42
42
  badgeInfo?: V1LeaderboardBadgeInfo | null | undefined;
43
43
  /**
@@ -59,7 +59,9 @@ export const V1AccountLeaderboardResponseBody$inboundSchema: z.ZodType<
59
59
  unknown
60
60
  > = z.object({
61
61
  $schema: z.string().optional(),
62
- accounts: z.nullable(z.array(V1AccountLeaderboardAccount$inboundSchema)),
62
+ accounts: z.nullable(
63
+ z.array(z.nullable(V1AccountLeaderboardAccount$inboundSchema)),
64
+ ),
63
65
  app: z.nullable(V1LeaderboardAppInfo$inboundSchema).optional(),
64
66
  badgeInfo: z.nullable(V1LeaderboardBadgeInfo$inboundSchema).optional(),
65
67
  hiddenRanks: z.nullable(z.array(z.number().int())).optional(),
@@ -76,7 +78,7 @@ export const V1AccountLeaderboardResponseBody$inboundSchema: z.ZodType<
76
78
  /** @internal */
77
79
  export type V1AccountLeaderboardResponseBody$Outbound = {
78
80
  $schema?: string | undefined;
79
- accounts: Array<V1AccountLeaderboardAccount$Outbound> | null;
81
+ accounts: Array<V1AccountLeaderboardAccount$Outbound | null> | null;
80
82
  app?: V1LeaderboardAppInfo$Outbound | null | undefined;
81
83
  badgeInfo?: V1LeaderboardBadgeInfo$Outbound | null | undefined;
82
84
  hiddenRanks?: Array<number> | null | undefined;
@@ -92,7 +94,9 @@ export const V1AccountLeaderboardResponseBody$outboundSchema: z.ZodType<
92
94
  V1AccountLeaderboardResponseBody
93
95
  > = z.object({
94
96
  dollarSchema: z.string().optional(),
95
- accounts: z.nullable(z.array(V1AccountLeaderboardAccount$outboundSchema)),
97
+ accounts: z.nullable(
98
+ z.array(z.nullable(V1AccountLeaderboardAccount$outboundSchema)),
99
+ ),
96
100
  app: z.nullable(V1LeaderboardAppInfo$outboundSchema).optional(),
97
101
  badgeInfo: z.nullable(V1LeaderboardBadgeInfo$outboundSchema).optional(),
98
102
  hiddenRanks: z.nullable(z.array(z.number().int())).optional(),
@@ -35,6 +35,9 @@ export type V1AppBadge = {
35
35
  isSale: boolean;
36
36
  lastCompletion: Date | null;
37
37
  name: string;
38
+ /**
39
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
40
+ */
38
41
  price: number;
39
42
  scarcity: number;
40
43
  steamId: number;
@@ -66,7 +66,7 @@ export type V1LeaderboardAccountMetaRequestBody = {
66
66
  /**
67
67
  * The location(s)to get the leaderboard for, otherwise global
68
68
  */
69
- location?: Array<V1LeaderboardLocation> | null | undefined;
69
+ location?: Array<V1LeaderboardLocation | null> | null | undefined;
70
70
  };
71
71
 
72
72
  /** @internal */
@@ -101,7 +101,8 @@ export const V1LeaderboardAccountMetaRequestBody$inboundSchema: z.ZodType<
101
101
  app: z.nullable(V1AccountLeaderboardAppSearch$inboundSchema).optional(),
102
102
  badge: z.nullable(V1AccountLeaderboardBadgeSearch$inboundSchema).optional(),
103
103
  leaderboard: V1LeaderboardAccountMetaRequestBodyLeaderboard$inboundSchema,
104
- location: z.nullable(z.array(V1LeaderboardLocation$inboundSchema)).optional(),
104
+ location: z.nullable(z.array(z.nullable(V1LeaderboardLocation$inboundSchema)))
105
+ .optional(),
105
106
  });
106
107
 
107
108
  /** @internal */
@@ -109,7 +110,7 @@ export type V1LeaderboardAccountMetaRequestBody$Outbound = {
109
110
  app?: V1AccountLeaderboardAppSearch$Outbound | null | undefined;
110
111
  badge?: V1AccountLeaderboardBadgeSearch$Outbound | null | undefined;
111
112
  leaderboard: string;
112
- location?: Array<V1LeaderboardLocation$Outbound> | null | undefined;
113
+ location?: Array<V1LeaderboardLocation$Outbound | null> | null | undefined;
113
114
  };
114
115
 
115
116
  /** @internal */
@@ -121,8 +122,9 @@ export const V1LeaderboardAccountMetaRequestBody$outboundSchema: z.ZodType<
121
122
  app: z.nullable(V1AccountLeaderboardAppSearch$outboundSchema).optional(),
122
123
  badge: z.nullable(V1AccountLeaderboardBadgeSearch$outboundSchema).optional(),
123
124
  leaderboard: V1LeaderboardAccountMetaRequestBodyLeaderboard$outboundSchema,
124
- location: z.nullable(z.array(V1LeaderboardLocation$outboundSchema))
125
- .optional(),
125
+ location: z.nullable(
126
+ z.array(z.nullable(V1LeaderboardLocation$outboundSchema)),
127
+ ).optional(),
126
128
  });
127
129
 
128
130
  /**
@@ -69,6 +69,8 @@ export type V1LeaderboardBadge = {
69
69
  name: string;
70
70
  /**
71
71
  * The price of the badge
72
+ *
73
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
72
74
  */
73
75
  price: number;
74
76
  /**
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
  /**
12
12
  * The Image Type
13
13
  */
14
- export const V1UploadedImageType = {
14
+ export const Type = {
15
15
  Avatar: "avatar",
16
16
  Background: "background",
17
17
  MiniBackground: "mini_background",
@@ -21,7 +21,7 @@ export const V1UploadedImageType = {
21
21
  /**
22
22
  * The Image Type
23
23
  */
24
- export type V1UploadedImageType = ClosedEnum<typeof V1UploadedImageType>;
24
+ export type Type = ClosedEnum<typeof Type>;
25
25
 
26
26
  export type V1UploadedImage = {
27
27
  /**
@@ -31,28 +31,27 @@ export type V1UploadedImage = {
31
31
  /**
32
32
  * The Image Type
33
33
  */
34
- type: V1UploadedImageType;
34
+ type: Type;
35
35
  };
36
36
 
37
37
  /** @internal */
38
- export const V1UploadedImageType$inboundSchema: z.ZodNativeEnum<
39
- typeof V1UploadedImageType
40
- > = z.nativeEnum(V1UploadedImageType);
38
+ export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
39
+ Type,
40
+ );
41
41
 
42
42
  /** @internal */
43
- export const V1UploadedImageType$outboundSchema: z.ZodNativeEnum<
44
- typeof V1UploadedImageType
45
- > = V1UploadedImageType$inboundSchema;
43
+ export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
44
+ Type$inboundSchema;
46
45
 
47
46
  /**
48
47
  * @internal
49
48
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
50
49
  */
51
- export namespace V1UploadedImageType$ {
52
- /** @deprecated use `V1UploadedImageType$inboundSchema` instead. */
53
- export const inboundSchema = V1UploadedImageType$inboundSchema;
54
- /** @deprecated use `V1UploadedImageType$outboundSchema` instead. */
55
- export const outboundSchema = V1UploadedImageType$outboundSchema;
50
+ export namespace Type$ {
51
+ /** @deprecated use `Type$inboundSchema` instead. */
52
+ export const inboundSchema = Type$inboundSchema;
53
+ /** @deprecated use `Type$outboundSchema` instead. */
54
+ export const outboundSchema = Type$outboundSchema;
56
55
  }
57
56
 
58
57
  /** @internal */
@@ -62,7 +61,7 @@ export const V1UploadedImage$inboundSchema: z.ZodType<
62
61
  unknown
63
62
  > = z.object({
64
63
  data: z.string(),
65
- type: V1UploadedImageType$inboundSchema,
64
+ type: Type$inboundSchema,
66
65
  });
67
66
 
68
67
  /** @internal */
@@ -78,7 +77,7 @@ export const V1UploadedImage$outboundSchema: z.ZodType<
78
77
  V1UploadedImage
79
78
  > = z.object({
80
79
  data: z.string(),
81
- type: V1UploadedImageType$outboundSchema,
80
+ type: Type$outboundSchema,
82
81
  });
83
82
 
84
83
  /**
@@ -11,20 +11,20 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
  /**
12
12
  * Which type of vanity to search for
13
13
  */
14
- export const Type = {
14
+ export const VanityStructType = {
15
15
  Steam: "steam",
16
16
  Internal: "internal",
17
17
  } as const;
18
18
  /**
19
19
  * Which type of vanity to search for
20
20
  */
21
- export type Type = ClosedEnum<typeof Type>;
21
+ export type VanityStructType = ClosedEnum<typeof VanityStructType>;
22
22
 
23
23
  export type VanityStruct = {
24
24
  /**
25
25
  * Which type of vanity to search for
26
26
  */
27
- type: Type;
27
+ type: VanityStructType;
28
28
  /**
29
29
  * Vanity to search for
30
30
  */
@@ -32,23 +32,24 @@ export type VanityStruct = {
32
32
  };
33
33
 
34
34
  /** @internal */
35
- export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
36
- Type,
37
- );
35
+ export const VanityStructType$inboundSchema: z.ZodNativeEnum<
36
+ typeof VanityStructType
37
+ > = z.nativeEnum(VanityStructType);
38
38
 
39
39
  /** @internal */
40
- export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
41
- Type$inboundSchema;
40
+ export const VanityStructType$outboundSchema: z.ZodNativeEnum<
41
+ typeof VanityStructType
42
+ > = VanityStructType$inboundSchema;
42
43
 
43
44
  /**
44
45
  * @internal
45
46
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
46
47
  */
47
- export namespace Type$ {
48
- /** @deprecated use `Type$inboundSchema` instead. */
49
- export const inboundSchema = Type$inboundSchema;
50
- /** @deprecated use `Type$outboundSchema` instead. */
51
- export const outboundSchema = Type$outboundSchema;
48
+ export namespace VanityStructType$ {
49
+ /** @deprecated use `VanityStructType$inboundSchema` instead. */
50
+ export const inboundSchema = VanityStructType$inboundSchema;
51
+ /** @deprecated use `VanityStructType$outboundSchema` instead. */
52
+ export const outboundSchema = VanityStructType$outboundSchema;
52
53
  }
53
54
 
54
55
  /** @internal */
@@ -57,7 +58,7 @@ export const VanityStruct$inboundSchema: z.ZodType<
57
58
  z.ZodTypeDef,
58
59
  unknown
59
60
  > = z.object({
60
- type: Type$inboundSchema,
61
+ type: VanityStructType$inboundSchema,
61
62
  value: z.string(),
62
63
  });
63
64
 
@@ -73,7 +74,7 @@ export const VanityStruct$outboundSchema: z.ZodType<
73
74
  z.ZodTypeDef,
74
75
  VanityStruct
75
76
  > = z.object({
76
- type: Type$outboundSchema,
77
+ type: VanityStructType$outboundSchema,
77
78
  value: z.string(),
78
79
  });
79
80
 
@@ -14,7 +14,10 @@ export type AccountV1GetStaffResponse = {
14
14
  /**
15
15
  * OK
16
16
  */
17
- leaderboardAccounts?: Array<components.LeaderboardAccount> | null | undefined;
17
+ leaderboardAccounts?:
18
+ | Array<components.LeaderboardAccount | null>
19
+ | null
20
+ | undefined;
18
21
  };
19
22
 
20
23
  /** @internal */
@@ -25,7 +28,7 @@ export const AccountV1GetStaffResponse$inboundSchema: z.ZodType<
25
28
  > = z.object({
26
29
  HttpMeta: components.HTTPMetadata$inboundSchema,
27
30
  LeaderboardAccounts: z.nullable(
28
- z.array(components.LeaderboardAccount$inboundSchema),
31
+ z.array(z.nullable(components.LeaderboardAccount$inboundSchema)),
29
32
  ).optional(),
30
33
  }).transform((v) => {
31
34
  return remap$(v, {
@@ -38,7 +41,7 @@ export const AccountV1GetStaffResponse$inboundSchema: z.ZodType<
38
41
  export type AccountV1GetStaffResponse$Outbound = {
39
42
  HttpMeta: components.HTTPMetadata$Outbound;
40
43
  LeaderboardAccounts?:
41
- | Array<components.LeaderboardAccount$Outbound>
44
+ | Array<components.LeaderboardAccount$Outbound | null>
42
45
  | null
43
46
  | undefined;
44
47
  };
@@ -51,7 +54,7 @@ export const AccountV1GetStaffResponse$outboundSchema: z.ZodType<
51
54
  > = z.object({
52
55
  httpMeta: components.HTTPMetadata$outboundSchema,
53
56
  leaderboardAccounts: z.nullable(
54
- z.array(components.LeaderboardAccount$outboundSchema),
57
+ z.array(z.nullable(components.LeaderboardAccount$outboundSchema)),
55
58
  ).optional(),
56
59
  }).transform((v) => {
57
60
  return remap$(v, {
package/src/sdk/badge.ts CHANGED
@@ -2,25 +2,12 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { badgeAppV1ListBadges } from "../funcs/badgeAppV1ListBadges.js";
6
5
  import { badgeGetTags } from "../funcs/badgeGetTags.js";
7
6
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
- import * as components from "../models/components/index.js";
9
7
  import * as operations from "../models/operations/index.js";
10
8
  import { unwrapAsync } from "../types/fp.js";
11
9
 
12
10
  export class Badge extends ClientSDK {
13
- async appV1ListBadges(
14
- request: components.V1AppBadgeListRequestBody,
15
- options?: RequestOptions,
16
- ): Promise<operations.AppV1ListBadgesResponse> {
17
- return unwrapAsync(badgeAppV1ListBadges(
18
- this,
19
- request,
20
- options,
21
- ));
22
- }
23
-
24
11
  async getTags(
25
12
  options?: RequestOptions,
26
13
  ): Promise<operations.BadgeV1TagsResponse> {