@steamsets/client-ts 0.27.8 → 0.27.10

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 (425) hide show
  1. package/README.md +116 -116
  2. package/docs/sdks/account/README.md +118 -40
  3. package/docs/sdks/admin/README.md +12 -4
  4. package/docs/sdks/apps/README.md +3 -1
  5. package/docs/sdks/badge/README.md +28 -18
  6. package/docs/sdks/badges/README.md +6 -2
  7. package/docs/sdks/leaderboard/README.md +18 -6
  8. package/docs/sdks/leaderboards/README.md +3 -1
  9. package/docs/sdks/liveness/README.md +21 -2
  10. package/docs/sdks/location/README.md +3 -1
  11. package/docs/sdks/staff/README.md +3 -1
  12. package/docs/sdks/stats/README.md +3 -1
  13. package/examples/package-lock.json +1 -1
  14. package/funcs/accountBookmarkBadge.d.ts +3 -0
  15. package/funcs/accountBookmarkBadge.d.ts.map +1 -1
  16. package/funcs/accountBookmarkBadge.js +3 -0
  17. package/funcs/accountBookmarkBadge.js.map +1 -1
  18. package/funcs/accountCompareBadges.d.ts +3 -0
  19. package/funcs/accountCompareBadges.d.ts.map +1 -1
  20. package/funcs/accountCompareBadges.js +3 -0
  21. package/funcs/accountCompareBadges.js.map +1 -1
  22. package/funcs/accountCreateConnection.d.ts +3 -0
  23. package/funcs/accountCreateConnection.d.ts.map +1 -1
  24. package/funcs/accountCreateConnection.js +3 -0
  25. package/funcs/accountCreateConnection.js.map +1 -1
  26. package/funcs/accountCreateDeveloperApp.d.ts +3 -0
  27. package/funcs/accountCreateDeveloperApp.d.ts.map +1 -1
  28. package/funcs/accountCreateDeveloperApp.js +3 -0
  29. package/funcs/accountCreateDeveloperApp.js.map +1 -1
  30. package/funcs/accountDeleteConnection.d.ts +3 -0
  31. package/funcs/accountDeleteConnection.d.ts.map +1 -1
  32. package/funcs/accountDeleteConnection.js +3 -0
  33. package/funcs/accountDeleteConnection.js.map +1 -1
  34. package/funcs/accountDeleteDeveloperApp.d.ts +3 -0
  35. package/funcs/accountDeleteDeveloperApp.d.ts.map +1 -1
  36. package/funcs/accountDeleteDeveloperApp.js +3 -0
  37. package/funcs/accountDeleteDeveloperApp.js.map +1 -1
  38. package/funcs/accountDeleteImages.d.ts +3 -0
  39. package/funcs/accountDeleteImages.d.ts.map +1 -1
  40. package/funcs/accountDeleteImages.js +3 -0
  41. package/funcs/accountDeleteImages.js.map +1 -1
  42. package/funcs/accountDeleteSession.d.ts +3 -0
  43. package/funcs/accountDeleteSession.d.ts.map +1 -1
  44. package/funcs/accountDeleteSession.js +3 -0
  45. package/funcs/accountDeleteSession.js.map +1 -1
  46. package/funcs/accountGetBadgeStats.d.ts +3 -0
  47. package/funcs/accountGetBadgeStats.d.ts.map +1 -1
  48. package/funcs/accountGetBadgeStats.js +3 -0
  49. package/funcs/accountGetBadgeStats.js.map +1 -1
  50. package/funcs/accountGetDataPoints.d.ts +3 -0
  51. package/funcs/accountGetDataPoints.d.ts.map +1 -1
  52. package/funcs/accountGetDataPoints.js +3 -0
  53. package/funcs/accountGetDataPoints.js.map +1 -1
  54. package/funcs/accountGetInfo.d.ts +3 -0
  55. package/funcs/accountGetInfo.d.ts.map +1 -1
  56. package/funcs/accountGetInfo.js +3 -0
  57. package/funcs/accountGetInfo.js.map +1 -1
  58. package/funcs/accountGetMeta.d.ts +3 -0
  59. package/funcs/accountGetMeta.d.ts.map +1 -1
  60. package/funcs/accountGetMeta.js +3 -0
  61. package/funcs/accountGetMeta.js.map +1 -1
  62. package/funcs/accountGetSession.d.ts +3 -0
  63. package/funcs/accountGetSession.d.ts.map +1 -1
  64. package/funcs/accountGetSession.js +3 -0
  65. package/funcs/accountGetSession.js.map +1 -1
  66. package/funcs/accountGetSettings.d.ts +3 -0
  67. package/funcs/accountGetSettings.d.ts.map +1 -1
  68. package/funcs/accountGetSettings.js +3 -0
  69. package/funcs/accountGetSettings.js.map +1 -1
  70. package/funcs/accountListApps.d.ts +3 -0
  71. package/funcs/accountListApps.d.ts.map +1 -1
  72. package/funcs/accountListApps.js +3 -0
  73. package/funcs/accountListApps.js.map +1 -1
  74. package/funcs/accountListBadgeBookmarks.d.ts +3 -0
  75. package/funcs/accountListBadgeBookmarks.d.ts.map +1 -1
  76. package/funcs/accountListBadgeBookmarks.js +3 -0
  77. package/funcs/accountListBadgeBookmarks.js.map +1 -1
  78. package/funcs/accountListBadges.d.ts +3 -0
  79. package/funcs/accountListBadges.d.ts.map +1 -1
  80. package/funcs/accountListBadges.js +3 -0
  81. package/funcs/accountListBadges.js.map +1 -1
  82. package/funcs/accountListFriends.d.ts +3 -0
  83. package/funcs/accountListFriends.d.ts.map +1 -1
  84. package/funcs/accountListFriends.js +3 -0
  85. package/funcs/accountListFriends.js.map +1 -1
  86. package/funcs/accountListImages.d.ts +3 -0
  87. package/funcs/accountListImages.d.ts.map +1 -1
  88. package/funcs/accountListImages.js +3 -0
  89. package/funcs/accountListImages.js.map +1 -1
  90. package/funcs/accountListLeaderboardHistory.d.ts +3 -0
  91. package/funcs/accountListLeaderboardHistory.d.ts.map +1 -1
  92. package/funcs/accountListLeaderboardHistory.js +3 -0
  93. package/funcs/accountListLeaderboardHistory.js.map +1 -1
  94. package/funcs/accountListOwnedBadges.d.ts +3 -0
  95. package/funcs/accountListOwnedBadges.d.ts.map +1 -1
  96. package/funcs/accountListOwnedBadges.js +3 -0
  97. package/funcs/accountListOwnedBadges.js.map +1 -1
  98. package/funcs/accountLogin.d.ts +3 -0
  99. package/funcs/accountLogin.d.ts.map +1 -1
  100. package/funcs/accountLogin.js +3 -0
  101. package/funcs/accountLogin.js.map +1 -1
  102. package/funcs/accountLogout.d.ts +3 -0
  103. package/funcs/accountLogout.d.ts.map +1 -1
  104. package/funcs/accountLogout.js +3 -0
  105. package/funcs/accountLogout.js.map +1 -1
  106. package/funcs/accountQueueUpdate.d.ts +4 -2
  107. package/funcs/accountQueueUpdate.d.ts.map +1 -1
  108. package/funcs/accountQueueUpdate.js +8 -3
  109. package/funcs/accountQueueUpdate.js.map +1 -1
  110. package/funcs/accountReconnectConnection.d.ts +3 -0
  111. package/funcs/accountReconnectConnection.d.ts.map +1 -1
  112. package/funcs/accountReconnectConnection.js +3 -0
  113. package/funcs/accountReconnectConnection.js.map +1 -1
  114. package/funcs/accountRefreshSession.d.ts +3 -0
  115. package/funcs/accountRefreshSession.d.ts.map +1 -1
  116. package/funcs/accountRefreshSession.js +3 -0
  117. package/funcs/accountRefreshSession.js.map +1 -1
  118. package/funcs/accountSendEmailVerification.d.ts +3 -0
  119. package/funcs/accountSendEmailVerification.d.ts.map +1 -1
  120. package/funcs/accountSendEmailVerification.js +3 -0
  121. package/funcs/accountSendEmailVerification.js.map +1 -1
  122. package/funcs/accountSubscribeEmail.d.ts +3 -0
  123. package/funcs/accountSubscribeEmail.d.ts.map +1 -1
  124. package/funcs/accountSubscribeEmail.js +3 -0
  125. package/funcs/accountSubscribeEmail.js.map +1 -1
  126. package/funcs/accountUpdateConnection.d.ts +3 -0
  127. package/funcs/accountUpdateConnection.d.ts.map +1 -1
  128. package/funcs/accountUpdateConnection.js +3 -0
  129. package/funcs/accountUpdateConnection.js.map +1 -1
  130. package/funcs/accountUpdateDeveloperApp.d.ts +3 -0
  131. package/funcs/accountUpdateDeveloperApp.d.ts.map +1 -1
  132. package/funcs/accountUpdateDeveloperApp.js +3 -0
  133. package/funcs/accountUpdateDeveloperApp.js.map +1 -1
  134. package/funcs/accountUpdateImages.d.ts +3 -0
  135. package/funcs/accountUpdateImages.d.ts.map +1 -1
  136. package/funcs/accountUpdateImages.js +3 -0
  137. package/funcs/accountUpdateImages.js.map +1 -1
  138. package/funcs/accountUpdateRole.d.ts +3 -0
  139. package/funcs/accountUpdateRole.d.ts.map +1 -1
  140. package/funcs/accountUpdateRole.js +3 -0
  141. package/funcs/accountUpdateRole.js.map +1 -1
  142. package/funcs/accountUpdateSettings.d.ts +3 -0
  143. package/funcs/accountUpdateSettings.d.ts.map +1 -1
  144. package/funcs/accountUpdateSettings.js +3 -0
  145. package/funcs/accountUpdateSettings.js.map +1 -1
  146. package/funcs/accountUpdateVanity.d.ts +3 -0
  147. package/funcs/accountUpdateVanity.d.ts.map +1 -1
  148. package/funcs/accountUpdateVanity.js +3 -0
  149. package/funcs/accountUpdateVanity.js.map +1 -1
  150. package/funcs/accountUploadImages.d.ts +3 -0
  151. package/funcs/accountUploadImages.d.ts.map +1 -1
  152. package/funcs/accountUploadImages.js +3 -0
  153. package/funcs/accountUploadImages.js.map +1 -1
  154. package/funcs/accountVerifyConnection.d.ts +3 -0
  155. package/funcs/accountVerifyConnection.d.ts.map +1 -1
  156. package/funcs/accountVerifyConnection.js +3 -0
  157. package/funcs/accountVerifyConnection.js.map +1 -1
  158. package/funcs/accountVerifyEmail.d.ts +3 -0
  159. package/funcs/accountVerifyEmail.d.ts.map +1 -1
  160. package/funcs/accountVerifyEmail.js +3 -0
  161. package/funcs/accountVerifyEmail.js.map +1 -1
  162. package/funcs/adminGetAccount.d.ts +3 -0
  163. package/funcs/adminGetAccount.d.ts.map +1 -1
  164. package/funcs/adminGetAccount.js +3 -0
  165. package/funcs/adminGetAccount.js.map +1 -1
  166. package/funcs/adminRemoveVanity.d.ts +3 -0
  167. package/funcs/adminRemoveVanity.d.ts.map +1 -1
  168. package/funcs/adminRemoveVanity.js +3 -0
  169. package/funcs/adminRemoveVanity.js.map +1 -1
  170. package/funcs/adminUpdateResources.d.ts +3 -0
  171. package/funcs/adminUpdateResources.d.ts.map +1 -1
  172. package/funcs/adminUpdateResources.js +3 -0
  173. package/funcs/adminUpdateResources.js.map +1 -1
  174. package/funcs/adminUpdateRoles.d.ts +3 -0
  175. package/funcs/adminUpdateRoles.d.ts.map +1 -1
  176. package/funcs/adminUpdateRoles.js +3 -0
  177. package/funcs/adminUpdateRoles.js.map +1 -1
  178. package/funcs/appsListBadges.d.ts +3 -0
  179. package/funcs/appsListBadges.d.ts.map +1 -1
  180. package/funcs/appsListBadges.js +3 -0
  181. package/funcs/appsListBadges.js.map +1 -1
  182. package/funcs/badgeBadgeListAccounts.d.ts +3 -0
  183. package/funcs/badgeBadgeListAccounts.d.ts.map +1 -1
  184. package/funcs/badgeBadgeListAccounts.js +3 -0
  185. package/funcs/badgeBadgeListAccounts.js.map +1 -1
  186. package/funcs/badgeSearch.d.ts +4 -2
  187. package/funcs/badgeSearch.d.ts.map +1 -1
  188. package/funcs/badgeSearch.js +6 -3
  189. package/funcs/badgeSearch.js.map +1 -1
  190. package/funcs/badgeSuggestTags.d.ts +3 -0
  191. package/funcs/badgeSuggestTags.d.ts.map +1 -1
  192. package/funcs/badgeSuggestTags.js +3 -0
  193. package/funcs/badgeSuggestTags.js.map +1 -1
  194. package/funcs/badgesListTags.d.ts +3 -0
  195. package/funcs/badgesListTags.d.ts.map +1 -1
  196. package/funcs/badgesListTags.js +3 -0
  197. package/funcs/badgesListTags.js.map +1 -1
  198. package/funcs/badgesTag.d.ts +3 -0
  199. package/funcs/badgesTag.d.ts.map +1 -1
  200. package/funcs/badgesTag.js +3 -0
  201. package/funcs/badgesTag.js.map +1 -1
  202. package/funcs/leaderboardGetAccount.d.ts +3 -0
  203. package/funcs/leaderboardGetAccount.d.ts.map +1 -1
  204. package/funcs/leaderboardGetAccount.js +3 -0
  205. package/funcs/leaderboardGetAccount.js.map +1 -1
  206. package/funcs/leaderboardGetAccountsMeta.d.ts +3 -0
  207. package/funcs/leaderboardGetAccountsMeta.d.ts.map +1 -1
  208. package/funcs/leaderboardGetAccountsMeta.js +3 -0
  209. package/funcs/leaderboardGetAccountsMeta.js.map +1 -1
  210. package/funcs/leaderboardGetGroup.d.ts +3 -0
  211. package/funcs/leaderboardGetGroup.d.ts.map +1 -1
  212. package/funcs/leaderboardGetGroup.js +3 -0
  213. package/funcs/leaderboardGetGroup.js.map +1 -1
  214. package/funcs/leaderboardGetGroupsMeta.d.ts +3 -0
  215. package/funcs/leaderboardGetGroupsMeta.d.ts.map +1 -1
  216. package/funcs/leaderboardGetGroupsMeta.js +3 -0
  217. package/funcs/leaderboardGetGroupsMeta.js.map +1 -1
  218. package/funcs/leaderboardGetLowestRanks.d.ts +3 -0
  219. package/funcs/leaderboardGetLowestRanks.d.ts.map +1 -1
  220. package/funcs/leaderboardGetLowestRanks.js +3 -0
  221. package/funcs/leaderboardGetLowestRanks.js.map +1 -1
  222. package/funcs/leaderboardPreviewAccountRank.d.ts +3 -0
  223. package/funcs/leaderboardPreviewAccountRank.d.ts.map +1 -1
  224. package/funcs/leaderboardPreviewAccountRank.js +3 -0
  225. package/funcs/leaderboardPreviewAccountRank.js.map +1 -1
  226. package/funcs/leaderboardsList.d.ts +3 -0
  227. package/funcs/leaderboardsList.d.ts.map +1 -1
  228. package/funcs/leaderboardsList.js +3 -0
  229. package/funcs/leaderboardsList.js.map +1 -1
  230. package/funcs/livenessCheck.d.ts +21 -2
  231. package/funcs/livenessCheck.d.ts.map +1 -1
  232. package/funcs/livenessCheck.js +21 -2
  233. package/funcs/livenessCheck.js.map +1 -1
  234. package/funcs/locationGet.d.ts +3 -0
  235. package/funcs/locationGet.d.ts.map +1 -1
  236. package/funcs/locationGet.js +3 -0
  237. package/funcs/locationGet.js.map +1 -1
  238. package/funcs/staffList.d.ts +3 -0
  239. package/funcs/staffList.d.ts.map +1 -1
  240. package/funcs/staffList.js +3 -0
  241. package/funcs/staffList.js.map +1 -1
  242. package/funcs/statsGet.d.ts +3 -0
  243. package/funcs/statsGet.d.ts.map +1 -1
  244. package/funcs/statsGet.js +3 -0
  245. package/funcs/statsGet.js.map +1 -1
  246. package/jsr.json +1 -1
  247. package/lib/config.d.ts +3 -3
  248. package/lib/config.js +3 -3
  249. package/lib/config.js.map +1 -1
  250. package/models/components/accountsearch.d.ts +6 -6
  251. package/models/components/accountsearch.d.ts.map +1 -1
  252. package/models/components/accountsearch.js +6 -6
  253. package/models/components/accountsearch.js.map +1 -1
  254. package/models/components/idsearch.d.ts +37 -0
  255. package/models/components/{idstruct.d.ts.map → idsearch.d.ts.map} +1 -1
  256. package/models/components/{idstruct.js → idsearch.js} +17 -17
  257. package/models/components/{idstruct.js.map → idsearch.js.map} +1 -1
  258. package/models/components/index.d.ts +2 -4
  259. package/models/components/index.d.ts.map +1 -1
  260. package/models/components/index.js +2 -4
  261. package/models/components/index.js.map +1 -1
  262. package/models/components/v1accountlistappsrequestbody.d.ts +6 -6
  263. package/models/components/v1accountlistappsrequestbody.js +6 -6
  264. package/models/components/v1accountlistbadgesrequestbody.d.ts +6 -6
  265. package/models/components/v1accountlistbadgesrequestbody.js +6 -6
  266. package/models/components/v1accountqueueupdaterequestbody.d.ts +6 -6
  267. package/models/components/v1accountqueueupdaterequestbody.js +6 -6
  268. package/models/components/v1adminupdateresourcesrequestbody.d.ts +6 -6
  269. package/models/components/v1adminupdateresourcesrequestbody.js +6 -6
  270. package/models/components/v1adminupdaterolesrequestbody.d.ts +6 -6
  271. package/models/components/v1adminupdaterolesrequestbody.js +6 -6
  272. package/models/components/v1leaderboardpreviewaccountrankrequestbody.d.ts +6 -6
  273. package/models/components/v1leaderboardpreviewaccountrankrequestbody.js +6 -6
  274. package/models/components/{accountsearchvanitystruct.d.ts → vanitysearch.d.ts} +14 -14
  275. package/models/components/vanitysearch.d.ts.map +1 -0
  276. package/models/components/{accountsearchvanitystruct.js → vanitysearch.js} +17 -17
  277. package/models/components/vanitysearch.js.map +1 -0
  278. package/models/operations/accountqueueupdate.d.ts +27 -0
  279. package/models/operations/accountqueueupdate.d.ts.map +1 -1
  280. package/models/operations/accountqueueupdate.js +40 -1
  281. package/models/operations/accountqueueupdate.js.map +1 -1
  282. package/models/operations/badgesearchbadges.d.ts +27 -0
  283. package/models/operations/badgesearchbadges.d.ts.map +1 -1
  284. package/models/operations/badgesearchbadges.js +40 -1
  285. package/models/operations/badgesearchbadges.js.map +1 -1
  286. package/package.json +1 -1
  287. package/sdk/account.d.ts +112 -1
  288. package/sdk/account.d.ts.map +1 -1
  289. package/sdk/account.js +111 -0
  290. package/sdk/account.js.map +1 -1
  291. package/sdk/admin.d.ts +12 -0
  292. package/sdk/admin.d.ts.map +1 -1
  293. package/sdk/admin.js +12 -0
  294. package/sdk/admin.js.map +1 -1
  295. package/sdk/apps.d.ts +3 -0
  296. package/sdk/apps.d.ts.map +1 -1
  297. package/sdk/apps.js +3 -0
  298. package/sdk/apps.js.map +1 -1
  299. package/sdk/badge.d.ts +10 -1
  300. package/sdk/badge.d.ts.map +1 -1
  301. package/sdk/badge.js +9 -0
  302. package/sdk/badge.js.map +1 -1
  303. package/sdk/badges.d.ts +6 -0
  304. package/sdk/badges.d.ts.map +1 -1
  305. package/sdk/badges.js +6 -0
  306. package/sdk/badges.js.map +1 -1
  307. package/sdk/leaderboard.d.ts +18 -0
  308. package/sdk/leaderboard.d.ts.map +1 -1
  309. package/sdk/leaderboard.js +18 -0
  310. package/sdk/leaderboard.js.map +1 -1
  311. package/sdk/leaderboards.d.ts +3 -0
  312. package/sdk/leaderboards.d.ts.map +1 -1
  313. package/sdk/leaderboards.js +3 -0
  314. package/sdk/leaderboards.js.map +1 -1
  315. package/sdk/liveness.d.ts +21 -2
  316. package/sdk/liveness.d.ts.map +1 -1
  317. package/sdk/liveness.js +21 -2
  318. package/sdk/liveness.js.map +1 -1
  319. package/sdk/location.d.ts +3 -0
  320. package/sdk/location.d.ts.map +1 -1
  321. package/sdk/location.js +3 -0
  322. package/sdk/location.js.map +1 -1
  323. package/sdk/staff.d.ts +3 -0
  324. package/sdk/staff.d.ts.map +1 -1
  325. package/sdk/staff.js +3 -0
  326. package/sdk/staff.js.map +1 -1
  327. package/sdk/stats.d.ts +3 -0
  328. package/sdk/stats.d.ts.map +1 -1
  329. package/sdk/stats.js +3 -0
  330. package/sdk/stats.js.map +1 -1
  331. package/src/funcs/accountBookmarkBadge.ts +3 -0
  332. package/src/funcs/accountCompareBadges.ts +3 -0
  333. package/src/funcs/accountCreateConnection.ts +3 -0
  334. package/src/funcs/accountCreateDeveloperApp.ts +3 -0
  335. package/src/funcs/accountDeleteConnection.ts +3 -0
  336. package/src/funcs/accountDeleteDeveloperApp.ts +3 -0
  337. package/src/funcs/accountDeleteImages.ts +3 -0
  338. package/src/funcs/accountDeleteSession.ts +3 -0
  339. package/src/funcs/accountGetBadgeStats.ts +3 -0
  340. package/src/funcs/accountGetDataPoints.ts +3 -0
  341. package/src/funcs/accountGetInfo.ts +3 -0
  342. package/src/funcs/accountGetMeta.ts +3 -0
  343. package/src/funcs/accountGetSession.ts +3 -0
  344. package/src/funcs/accountGetSettings.ts +3 -0
  345. package/src/funcs/accountListApps.ts +3 -0
  346. package/src/funcs/accountListBadgeBookmarks.ts +3 -0
  347. package/src/funcs/accountListBadges.ts +3 -0
  348. package/src/funcs/accountListFriends.ts +3 -0
  349. package/src/funcs/accountListImages.ts +3 -0
  350. package/src/funcs/accountListLeaderboardHistory.ts +3 -0
  351. package/src/funcs/accountListOwnedBadges.ts +3 -0
  352. package/src/funcs/accountLogin.ts +3 -0
  353. package/src/funcs/accountLogout.ts +3 -0
  354. package/src/funcs/accountQueueUpdate.ts +15 -7
  355. package/src/funcs/accountReconnectConnection.ts +3 -0
  356. package/src/funcs/accountRefreshSession.ts +3 -0
  357. package/src/funcs/accountSendEmailVerification.ts +3 -0
  358. package/src/funcs/accountSubscribeEmail.ts +3 -0
  359. package/src/funcs/accountUpdateConnection.ts +3 -0
  360. package/src/funcs/accountUpdateDeveloperApp.ts +3 -0
  361. package/src/funcs/accountUpdateImages.ts +3 -0
  362. package/src/funcs/accountUpdateRole.ts +3 -0
  363. package/src/funcs/accountUpdateSettings.ts +3 -0
  364. package/src/funcs/accountUpdateVanity.ts +3 -0
  365. package/src/funcs/accountUploadImages.ts +3 -0
  366. package/src/funcs/accountVerifyConnection.ts +3 -0
  367. package/src/funcs/accountVerifyEmail.ts +3 -0
  368. package/src/funcs/adminGetAccount.ts +3 -0
  369. package/src/funcs/adminRemoveVanity.ts +3 -0
  370. package/src/funcs/adminUpdateResources.ts +3 -0
  371. package/src/funcs/adminUpdateRoles.ts +3 -0
  372. package/src/funcs/appsListBadges.ts +3 -0
  373. package/src/funcs/badgeBadgeListAccounts.ts +3 -0
  374. package/src/funcs/badgeSearch.ts +13 -6
  375. package/src/funcs/badgeSuggestTags.ts +3 -0
  376. package/src/funcs/badgesListTags.ts +3 -0
  377. package/src/funcs/badgesTag.ts +3 -0
  378. package/src/funcs/leaderboardGetAccount.ts +3 -0
  379. package/src/funcs/leaderboardGetAccountsMeta.ts +3 -0
  380. package/src/funcs/leaderboardGetGroup.ts +3 -0
  381. package/src/funcs/leaderboardGetGroupsMeta.ts +3 -0
  382. package/src/funcs/leaderboardGetLowestRanks.ts +3 -0
  383. package/src/funcs/leaderboardPreviewAccountRank.ts +3 -0
  384. package/src/funcs/leaderboardsList.ts +3 -0
  385. package/src/funcs/livenessCheck.ts +21 -2
  386. package/src/funcs/locationGet.ts +3 -0
  387. package/src/funcs/staffList.ts +3 -0
  388. package/src/funcs/statsGet.ts +3 -0
  389. package/src/lib/config.ts +3 -3
  390. package/src/models/components/accountsearch.ts +18 -18
  391. package/src/models/components/{idstruct.ts → idsearch.ts} +20 -20
  392. package/src/models/components/index.ts +2 -4
  393. package/src/models/components/v1accountlistappsrequestbody.ts +18 -18
  394. package/src/models/components/v1accountlistbadgesrequestbody.ts +18 -18
  395. package/src/models/components/v1accountqueueupdaterequestbody.ts +18 -18
  396. package/src/models/components/v1adminupdateresourcesrequestbody.ts +18 -18
  397. package/src/models/components/v1adminupdaterolesrequestbody.ts +18 -18
  398. package/src/models/components/v1leaderboardpreviewaccountrankrequestbody.ts +18 -18
  399. package/src/models/components/{accountsearchvanitystruct.ts → vanitysearch.ts} +20 -24
  400. package/src/models/operations/accountqueueupdate.ts +75 -0
  401. package/src/models/operations/badgesearchbadges.ts +72 -0
  402. package/src/sdk/account.ts +112 -1
  403. package/src/sdk/admin.ts +12 -0
  404. package/src/sdk/apps.ts +3 -0
  405. package/src/sdk/badge.ts +10 -1
  406. package/src/sdk/badges.ts +6 -0
  407. package/src/sdk/leaderboard.ts +18 -0
  408. package/src/sdk/leaderboards.ts +3 -0
  409. package/src/sdk/liveness.ts +21 -2
  410. package/src/sdk/location.ts +3 -0
  411. package/src/sdk/staff.ts +3 -0
  412. package/src/sdk/stats.ts +3 -0
  413. package/models/components/accountsearchidstruct.d.ts +0 -37
  414. package/models/components/accountsearchidstruct.d.ts.map +0 -1
  415. package/models/components/accountsearchidstruct.js +0 -71
  416. package/models/components/accountsearchidstruct.js.map +0 -1
  417. package/models/components/accountsearchvanitystruct.d.ts.map +0 -1
  418. package/models/components/accountsearchvanitystruct.js.map +0 -1
  419. package/models/components/idstruct.d.ts +0 -37
  420. package/models/components/vanitystruct.d.ts +0 -69
  421. package/models/components/vanitystruct.d.ts.map +0 -1
  422. package/models/components/vanitystruct.js +0 -93
  423. package/models/components/vanitystruct.js.map +0 -1
  424. package/src/models/components/accountsearchidstruct.ts +0 -76
  425. package/src/models/components/vanitystruct.ts +0 -106
@@ -7,7 +7,7 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
 
10
- export type IDStruct = {
10
+ export type IDSearch = {
11
11
  /**
12
12
  * Account ID to search for
13
13
  */
@@ -19,8 +19,8 @@ export type IDStruct = {
19
19
  };
20
20
 
21
21
  /** @internal */
22
- export const IDStruct$inboundSchema: z.ZodType<
23
- IDStruct,
22
+ export const IDSearch$inboundSchema: z.ZodType<
23
+ IDSearch,
24
24
  z.ZodTypeDef,
25
25
  unknown
26
26
  > = z.object({
@@ -29,16 +29,16 @@ export const IDStruct$inboundSchema: z.ZodType<
29
29
  });
30
30
 
31
31
  /** @internal */
32
- export type IDStruct$Outbound = {
32
+ export type IDSearch$Outbound = {
33
33
  accountId?: number | undefined;
34
34
  steamId64?: string | undefined;
35
35
  };
36
36
 
37
37
  /** @internal */
38
- export const IDStruct$outboundSchema: z.ZodType<
39
- IDStruct$Outbound,
38
+ export const IDSearch$outboundSchema: z.ZodType<
39
+ IDSearch$Outbound,
40
40
  z.ZodTypeDef,
41
- IDStruct
41
+ IDSearch
42
42
  > = z.object({
43
43
  accountId: z.number().int().optional(),
44
44
  steamId64: z.string().optional(),
@@ -48,25 +48,25 @@ export const IDStruct$outboundSchema: z.ZodType<
48
48
  * @internal
49
49
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
50
50
  */
51
- export namespace IDStruct$ {
52
- /** @deprecated use `IDStruct$inboundSchema` instead. */
53
- export const inboundSchema = IDStruct$inboundSchema;
54
- /** @deprecated use `IDStruct$outboundSchema` instead. */
55
- export const outboundSchema = IDStruct$outboundSchema;
56
- /** @deprecated use `IDStruct$Outbound` instead. */
57
- export type Outbound = IDStruct$Outbound;
51
+ export namespace IDSearch$ {
52
+ /** @deprecated use `IDSearch$inboundSchema` instead. */
53
+ export const inboundSchema = IDSearch$inboundSchema;
54
+ /** @deprecated use `IDSearch$outboundSchema` instead. */
55
+ export const outboundSchema = IDSearch$outboundSchema;
56
+ /** @deprecated use `IDSearch$Outbound` instead. */
57
+ export type Outbound = IDSearch$Outbound;
58
58
  }
59
59
 
60
- export function idStructToJSON(idStruct: IDStruct): string {
61
- return JSON.stringify(IDStruct$outboundSchema.parse(idStruct));
60
+ export function idSearchToJSON(idSearch: IDSearch): string {
61
+ return JSON.stringify(IDSearch$outboundSchema.parse(idSearch));
62
62
  }
63
63
 
64
- export function idStructFromJSON(
64
+ export function idSearchFromJSON(
65
65
  jsonString: string,
66
- ): SafeParseResult<IDStruct, SDKValidationError> {
66
+ ): SafeParseResult<IDSearch, SDKValidationError> {
67
67
  return safeParse(
68
68
  jsonString,
69
- (x) => IDStruct$inboundSchema.parse(JSON.parse(x)),
70
- `Failed to parse 'IDStruct' from JSON`,
69
+ (x) => IDSearch$inboundSchema.parse(JSON.parse(x)),
70
+ `Failed to parse 'IDSearch' from JSON`,
71
71
  );
72
72
  }
@@ -5,8 +5,6 @@
5
5
  export * from "./accountbadgeinfo.js";
6
6
  export * from "./accountleaderboardhistory.js";
7
7
  export * from "./accountsearch.js";
8
- export * from "./accountsearchidstruct.js";
9
- export * from "./accountsearchvanitystruct.js";
10
8
  export * from "./badge.js";
11
9
  export * from "./badgesuggesttags.js";
12
10
  export * from "./badgevaluefilter.js";
@@ -23,7 +21,7 @@ export * from "./errordetail.js";
23
21
  export * from "./errormodel.js";
24
22
  export * from "./historyvalue.js";
25
23
  export * from "./httpmetadata.js";
26
- export * from "./idstruct.js";
24
+ export * from "./idsearch.js";
27
25
  export * from "./image.js";
28
26
  export * from "./leaderboardaccount.js";
29
27
  export * from "./leaderboardcity.js";
@@ -161,5 +159,5 @@ export * from "./v1livenessresponsebody.js";
161
159
  export * from "./v1searchrequest.js";
162
160
  export * from "./v1stats.js";
163
161
  export * from "./v1vanityanalytics.js";
164
- export * from "./vanitystruct.js";
162
+ export * from "./vanitysearch.js";
165
163
  export * from "./vectors.js";
@@ -7,11 +7,11 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
  import {
10
- IDStruct,
11
- IDStruct$inboundSchema,
12
- IDStruct$Outbound,
13
- IDStruct$outboundSchema,
14
- } from "./idstruct.js";
10
+ IDSearch,
11
+ IDSearch$inboundSchema,
12
+ IDSearch$Outbound,
13
+ IDSearch$outboundSchema,
14
+ } from "./idsearch.js";
15
15
  import {
16
16
  V1AppFilters,
17
17
  V1AppFilters$inboundSchema,
@@ -25,19 +25,19 @@ import {
25
25
  V1AppOrder$outboundSchema,
26
26
  } from "./v1apporder.js";
27
27
  import {
28
- VanityStruct,
29
- VanityStruct$inboundSchema,
30
- VanityStruct$Outbound,
31
- VanityStruct$outboundSchema,
32
- } from "./vanitystruct.js";
28
+ VanitySearch,
29
+ VanitySearch$inboundSchema,
30
+ VanitySearch$Outbound,
31
+ VanitySearch$outboundSchema,
32
+ } from "./vanitysearch.js";
33
33
 
34
34
  export type V1AccountListAppsRequestBody = {
35
35
  filters?: V1AppFilters | undefined;
36
- id?: IDStruct | undefined;
36
+ id?: IDSearch | undefined;
37
37
  order?: V1AppOrder | null | undefined;
38
38
  page?: number | undefined;
39
39
  search?: string | null | undefined;
40
- vanity?: VanityStruct | undefined;
40
+ vanity?: VanitySearch | undefined;
41
41
  };
42
42
 
43
43
  /** @internal */
@@ -47,21 +47,21 @@ export const V1AccountListAppsRequestBody$inboundSchema: z.ZodType<
47
47
  unknown
48
48
  > = z.object({
49
49
  filters: V1AppFilters$inboundSchema.optional(),
50
- id: IDStruct$inboundSchema.optional(),
50
+ id: IDSearch$inboundSchema.optional(),
51
51
  order: z.nullable(V1AppOrder$inboundSchema).optional(),
52
52
  page: z.number().int().default(1),
53
53
  search: z.nullable(z.string()).optional(),
54
- vanity: VanityStruct$inboundSchema.optional(),
54
+ vanity: VanitySearch$inboundSchema.optional(),
55
55
  });
56
56
 
57
57
  /** @internal */
58
58
  export type V1AccountListAppsRequestBody$Outbound = {
59
59
  filters?: V1AppFilters$Outbound | undefined;
60
- id?: IDStruct$Outbound | undefined;
60
+ id?: IDSearch$Outbound | undefined;
61
61
  order?: V1AppOrder$Outbound | null | undefined;
62
62
  page: number;
63
63
  search?: string | null | undefined;
64
- vanity?: VanityStruct$Outbound | undefined;
64
+ vanity?: VanitySearch$Outbound | undefined;
65
65
  };
66
66
 
67
67
  /** @internal */
@@ -71,11 +71,11 @@ export const V1AccountListAppsRequestBody$outboundSchema: z.ZodType<
71
71
  V1AccountListAppsRequestBody
72
72
  > = z.object({
73
73
  filters: V1AppFilters$outboundSchema.optional(),
74
- id: IDStruct$outboundSchema.optional(),
74
+ id: IDSearch$outboundSchema.optional(),
75
75
  order: z.nullable(V1AppOrder$outboundSchema).optional(),
76
76
  page: z.number().int().default(1),
77
77
  search: z.nullable(z.string()).optional(),
78
- vanity: VanityStruct$outboundSchema.optional(),
78
+ vanity: VanitySearch$outboundSchema.optional(),
79
79
  });
80
80
 
81
81
  /**
@@ -14,11 +14,11 @@ import {
14
14
  BadgeValueFilter$outboundSchema,
15
15
  } from "./badgevaluefilter.js";
16
16
  import {
17
- IDStruct,
18
- IDStruct$inboundSchema,
19
- IDStruct$Outbound,
20
- IDStruct$outboundSchema,
21
- } from "./idstruct.js";
17
+ IDSearch,
18
+ IDSearch$inboundSchema,
19
+ IDSearch$Outbound,
20
+ IDSearch$outboundSchema,
21
+ } from "./idsearch.js";
22
22
  import {
23
23
  V1BadgeFilters,
24
24
  V1BadgeFilters$inboundSchema,
@@ -32,11 +32,11 @@ import {
32
32
  V1BadgeOrder$outboundSchema,
33
33
  } from "./v1badgeorder.js";
34
34
  import {
35
- VanityStruct,
36
- VanityStruct$inboundSchema,
37
- VanityStruct$Outbound,
38
- VanityStruct$outboundSchema,
39
- } from "./vanitystruct.js";
35
+ VanitySearch,
36
+ VanitySearch$inboundSchema,
37
+ VanitySearch$Outbound,
38
+ VanitySearch$outboundSchema,
39
+ } from "./vanitysearch.js";
40
40
 
41
41
  export const V1AccountListBadgesRequestBodyFilter = {
42
42
  Foil: "foil",
@@ -53,7 +53,7 @@ export type V1AccountListBadgesRequestBody = {
53
53
  */
54
54
  filter?: Array<V1AccountListBadgesRequestBodyFilter> | null | undefined;
55
55
  filters?: V1BadgeFilters | undefined;
56
- id?: IDStruct | undefined;
56
+ id?: IDSearch | undefined;
57
57
  order?: V1BadgeOrder | null | undefined;
58
58
  page?: number | undefined;
59
59
  search?: string | null | undefined;
@@ -61,7 +61,7 @@ export type V1AccountListBadgesRequestBody = {
61
61
  * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
62
62
  */
63
63
  valueFilter?: Array<BadgeValueFilter> | null | undefined;
64
- vanity?: VanityStruct | undefined;
64
+ vanity?: VanitySearch | undefined;
65
65
  };
66
66
 
67
67
  /** @internal */
@@ -98,24 +98,24 @@ export const V1AccountListBadgesRequestBody$inboundSchema: z.ZodType<
98
98
  z.array(V1AccountListBadgesRequestBodyFilter$inboundSchema),
99
99
  ).optional(),
100
100
  filters: V1BadgeFilters$inboundSchema.optional(),
101
- id: IDStruct$inboundSchema.optional(),
101
+ id: IDSearch$inboundSchema.optional(),
102
102
  order: z.nullable(V1BadgeOrder$inboundSchema).optional(),
103
103
  page: z.number().int().default(1),
104
104
  search: z.nullable(z.string()).optional(),
105
105
  valueFilter: z.nullable(z.array(BadgeValueFilter$inboundSchema)).optional(),
106
- vanity: VanityStruct$inboundSchema.optional(),
106
+ vanity: VanitySearch$inboundSchema.optional(),
107
107
  });
108
108
 
109
109
  /** @internal */
110
110
  export type V1AccountListBadgesRequestBody$Outbound = {
111
111
  filter?: Array<string> | null | undefined;
112
112
  filters?: V1BadgeFilters$Outbound | undefined;
113
- id?: IDStruct$Outbound | undefined;
113
+ id?: IDSearch$Outbound | undefined;
114
114
  order?: V1BadgeOrder$Outbound | null | undefined;
115
115
  page: number;
116
116
  search?: string | null | undefined;
117
117
  valueFilter?: Array<BadgeValueFilter$Outbound> | null | undefined;
118
- vanity?: VanityStruct$Outbound | undefined;
118
+ vanity?: VanitySearch$Outbound | undefined;
119
119
  };
120
120
 
121
121
  /** @internal */
@@ -128,12 +128,12 @@ export const V1AccountListBadgesRequestBody$outboundSchema: z.ZodType<
128
128
  z.array(V1AccountListBadgesRequestBodyFilter$outboundSchema),
129
129
  ).optional(),
130
130
  filters: V1BadgeFilters$outboundSchema.optional(),
131
- id: IDStruct$outboundSchema.optional(),
131
+ id: IDSearch$outboundSchema.optional(),
132
132
  order: z.nullable(V1BadgeOrder$outboundSchema).optional(),
133
133
  page: z.number().int().default(1),
134
134
  search: z.nullable(z.string()).optional(),
135
135
  valueFilter: z.nullable(z.array(BadgeValueFilter$outboundSchema)).optional(),
136
- vanity: VanityStruct$outboundSchema.optional(),
136
+ vanity: VanitySearch$outboundSchema.optional(),
137
137
  });
138
138
 
139
139
  /**
@@ -7,25 +7,25 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
  import {
10
- IDStruct,
11
- IDStruct$inboundSchema,
12
- IDStruct$Outbound,
13
- IDStruct$outboundSchema,
14
- } from "./idstruct.js";
10
+ IDSearch,
11
+ IDSearch$inboundSchema,
12
+ IDSearch$Outbound,
13
+ IDSearch$outboundSchema,
14
+ } from "./idsearch.js";
15
15
  import {
16
- VanityStruct,
17
- VanityStruct$inboundSchema,
18
- VanityStruct$Outbound,
19
- VanityStruct$outboundSchema,
20
- } from "./vanitystruct.js";
16
+ VanitySearch,
17
+ VanitySearch$inboundSchema,
18
+ VanitySearch$Outbound,
19
+ VanitySearch$outboundSchema,
20
+ } from "./vanitysearch.js";
21
21
 
22
22
  export type V1AccountQueueUpdateRequestBody = {
23
23
  /**
24
24
  * Force the queue to process this account, staff only
25
25
  */
26
26
  force?: boolean | undefined;
27
- id?: IDStruct | undefined;
28
- vanity?: VanityStruct | undefined;
27
+ id?: IDSearch | undefined;
28
+ vanity?: VanitySearch | undefined;
29
29
  };
30
30
 
31
31
  /** @internal */
@@ -35,15 +35,15 @@ export const V1AccountQueueUpdateRequestBody$inboundSchema: z.ZodType<
35
35
  unknown
36
36
  > = z.object({
37
37
  force: z.boolean().default(false),
38
- id: IDStruct$inboundSchema.optional(),
39
- vanity: VanityStruct$inboundSchema.optional(),
38
+ id: IDSearch$inboundSchema.optional(),
39
+ vanity: VanitySearch$inboundSchema.optional(),
40
40
  });
41
41
 
42
42
  /** @internal */
43
43
  export type V1AccountQueueUpdateRequestBody$Outbound = {
44
44
  force: boolean;
45
- id?: IDStruct$Outbound | undefined;
46
- vanity?: VanityStruct$Outbound | undefined;
45
+ id?: IDSearch$Outbound | undefined;
46
+ vanity?: VanitySearch$Outbound | undefined;
47
47
  };
48
48
 
49
49
  /** @internal */
@@ -53,8 +53,8 @@ export const V1AccountQueueUpdateRequestBody$outboundSchema: z.ZodType<
53
53
  V1AccountQueueUpdateRequestBody
54
54
  > = z.object({
55
55
  force: z.boolean().default(false),
56
- id: IDStruct$outboundSchema.optional(),
57
- vanity: VanityStruct$outboundSchema.optional(),
56
+ id: IDSearch$outboundSchema.optional(),
57
+ vanity: VanitySearch$outboundSchema.optional(),
58
58
  });
59
59
 
60
60
  /**
@@ -7,11 +7,11 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
  import {
10
- IDStruct,
11
- IDStruct$inboundSchema,
12
- IDStruct$Outbound,
13
- IDStruct$outboundSchema,
14
- } from "./idstruct.js";
10
+ IDSearch,
11
+ IDSearch$inboundSchema,
12
+ IDSearch$Outbound,
13
+ IDSearch$outboundSchema,
14
+ } from "./idsearch.js";
15
15
  import {
16
16
  Resource,
17
17
  Resource$inboundSchema,
@@ -19,19 +19,19 @@ import {
19
19
  Resource$outboundSchema,
20
20
  } from "./resource.js";
21
21
  import {
22
- VanityStruct,
23
- VanityStruct$inboundSchema,
24
- VanityStruct$Outbound,
25
- VanityStruct$outboundSchema,
26
- } from "./vanitystruct.js";
22
+ VanitySearch,
23
+ VanitySearch$inboundSchema,
24
+ VanitySearch$Outbound,
25
+ VanitySearch$outboundSchema,
26
+ } from "./vanitysearch.js";
27
27
 
28
28
  export type V1AdminUpdateResourcesRequestBody = {
29
- id?: IDStruct | undefined;
29
+ id?: IDSearch | undefined;
30
30
  /**
31
31
  * The resources to add for this account
32
32
  */
33
33
  resources: Array<Resource> | null;
34
- vanity?: VanityStruct | undefined;
34
+ vanity?: VanitySearch | undefined;
35
35
  };
36
36
 
37
37
  /** @internal */
@@ -40,16 +40,16 @@ export const V1AdminUpdateResourcesRequestBody$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- id: IDStruct$inboundSchema.optional(),
43
+ id: IDSearch$inboundSchema.optional(),
44
44
  resources: z.nullable(z.array(Resource$inboundSchema)),
45
- vanity: VanityStruct$inboundSchema.optional(),
45
+ vanity: VanitySearch$inboundSchema.optional(),
46
46
  });
47
47
 
48
48
  /** @internal */
49
49
  export type V1AdminUpdateResourcesRequestBody$Outbound = {
50
- id?: IDStruct$Outbound | undefined;
50
+ id?: IDSearch$Outbound | undefined;
51
51
  resources: Array<Resource$Outbound> | null;
52
- vanity?: VanityStruct$Outbound | undefined;
52
+ vanity?: VanitySearch$Outbound | undefined;
53
53
  };
54
54
 
55
55
  /** @internal */
@@ -58,9 +58,9 @@ export const V1AdminUpdateResourcesRequestBody$outboundSchema: z.ZodType<
58
58
  z.ZodTypeDef,
59
59
  V1AdminUpdateResourcesRequestBody
60
60
  > = z.object({
61
- id: IDStruct$outboundSchema.optional(),
61
+ id: IDSearch$outboundSchema.optional(),
62
62
  resources: z.nullable(z.array(Resource$outboundSchema)),
63
- vanity: VanityStruct$outboundSchema.optional(),
63
+ vanity: VanitySearch$outboundSchema.optional(),
64
64
  });
65
65
 
66
66
  /**
@@ -8,17 +8,17 @@ import { ClosedEnum } from "../../types/enums.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
  import {
11
- IDStruct,
12
- IDStruct$inboundSchema,
13
- IDStruct$Outbound,
14
- IDStruct$outboundSchema,
15
- } from "./idstruct.js";
11
+ IDSearch,
12
+ IDSearch$inboundSchema,
13
+ IDSearch$Outbound,
14
+ IDSearch$outboundSchema,
15
+ } from "./idsearch.js";
16
16
  import {
17
- VanityStruct,
18
- VanityStruct$inboundSchema,
19
- VanityStruct$Outbound,
20
- VanityStruct$outboundSchema,
21
- } from "./vanitystruct.js";
17
+ VanitySearch,
18
+ VanitySearch$inboundSchema,
19
+ VanitySearch$Outbound,
20
+ VanitySearch$outboundSchema,
21
+ } from "./vanitysearch.js";
22
22
 
23
23
  export const Roles = {
24
24
  User: "user",
@@ -44,9 +44,9 @@ export const Roles = {
44
44
  export type Roles = ClosedEnum<typeof Roles>;
45
45
 
46
46
  export type V1AdminUpdateRolesRequestBody = {
47
- id?: IDStruct | undefined;
47
+ id?: IDSearch | undefined;
48
48
  roles: Array<Roles> | null;
49
- vanity?: VanityStruct | undefined;
49
+ vanity?: VanitySearch | undefined;
50
50
  };
51
51
 
52
52
  /** @internal */
@@ -75,16 +75,16 @@ export const V1AdminUpdateRolesRequestBody$inboundSchema: z.ZodType<
75
75
  z.ZodTypeDef,
76
76
  unknown
77
77
  > = z.object({
78
- id: IDStruct$inboundSchema.optional(),
78
+ id: IDSearch$inboundSchema.optional(),
79
79
  roles: z.nullable(z.array(Roles$inboundSchema)),
80
- vanity: VanityStruct$inboundSchema.optional(),
80
+ vanity: VanitySearch$inboundSchema.optional(),
81
81
  });
82
82
 
83
83
  /** @internal */
84
84
  export type V1AdminUpdateRolesRequestBody$Outbound = {
85
- id?: IDStruct$Outbound | undefined;
85
+ id?: IDSearch$Outbound | undefined;
86
86
  roles: Array<string> | null;
87
- vanity?: VanityStruct$Outbound | undefined;
87
+ vanity?: VanitySearch$Outbound | undefined;
88
88
  };
89
89
 
90
90
  /** @internal */
@@ -93,9 +93,9 @@ export const V1AdminUpdateRolesRequestBody$outboundSchema: z.ZodType<
93
93
  z.ZodTypeDef,
94
94
  V1AdminUpdateRolesRequestBody
95
95
  > = z.object({
96
- id: IDStruct$outboundSchema.optional(),
96
+ id: IDSearch$outboundSchema.optional(),
97
97
  roles: z.nullable(z.array(Roles$outboundSchema)),
98
- vanity: VanityStruct$outboundSchema.optional(),
98
+ vanity: VanitySearch$outboundSchema.optional(),
99
99
  });
100
100
 
101
101
  /**
@@ -8,17 +8,17 @@ import { ClosedEnum } from "../../types/enums.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
  import {
11
- IDStruct,
12
- IDStruct$inboundSchema,
13
- IDStruct$Outbound,
14
- IDStruct$outboundSchema,
15
- } from "./idstruct.js";
11
+ IDSearch,
12
+ IDSearch$inboundSchema,
13
+ IDSearch$Outbound,
14
+ IDSearch$outboundSchema,
15
+ } from "./idsearch.js";
16
16
  import {
17
- VanityStruct,
18
- VanityStruct$inboundSchema,
19
- VanityStruct$Outbound,
20
- VanityStruct$outboundSchema,
21
- } from "./vanitystruct.js";
17
+ VanitySearch,
18
+ VanitySearch$inboundSchema,
19
+ VanitySearch$Outbound,
20
+ VanitySearch$outboundSchema,
21
+ } from "./vanitysearch.js";
22
22
 
23
23
  /**
24
24
  * The leaderboard to get
@@ -48,7 +48,7 @@ export type V1LeaderboardPreviewAccountRankRequestBodyLeaderboard = ClosedEnum<
48
48
  >;
49
49
 
50
50
  export type V1LeaderboardPreviewAccountRankRequestBody = {
51
- id?: IDStruct | undefined;
51
+ id?: IDSearch | undefined;
52
52
  /**
53
53
  * The leaderboard to get
54
54
  */
@@ -57,7 +57,7 @@ export type V1LeaderboardPreviewAccountRankRequestBody = {
57
57
  * What their leaderboard score would be, will use their current rank if not set
58
58
  */
59
59
  value?: number | null | undefined;
60
- vanity?: VanityStruct | undefined;
60
+ vanity?: VanitySearch | undefined;
61
61
  };
62
62
 
63
63
  /** @internal */
@@ -89,19 +89,19 @@ export namespace V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$ {
89
89
  export const V1LeaderboardPreviewAccountRankRequestBody$inboundSchema:
90
90
  z.ZodType<V1LeaderboardPreviewAccountRankRequestBody, z.ZodTypeDef, unknown> =
91
91
  z.object({
92
- id: IDStruct$inboundSchema.optional(),
92
+ id: IDSearch$inboundSchema.optional(),
93
93
  leaderboard:
94
94
  V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$inboundSchema,
95
95
  value: z.nullable(z.number().int()).optional(),
96
- vanity: VanityStruct$inboundSchema.optional(),
96
+ vanity: VanitySearch$inboundSchema.optional(),
97
97
  });
98
98
 
99
99
  /** @internal */
100
100
  export type V1LeaderboardPreviewAccountRankRequestBody$Outbound = {
101
- id?: IDStruct$Outbound | undefined;
101
+ id?: IDSearch$Outbound | undefined;
102
102
  leaderboard: string;
103
103
  value?: number | null | undefined;
104
- vanity?: VanityStruct$Outbound | undefined;
104
+ vanity?: VanitySearch$Outbound | undefined;
105
105
  };
106
106
 
107
107
  /** @internal */
@@ -111,11 +111,11 @@ export const V1LeaderboardPreviewAccountRankRequestBody$outboundSchema:
111
111
  z.ZodTypeDef,
112
112
  V1LeaderboardPreviewAccountRankRequestBody
113
113
  > = z.object({
114
- id: IDStruct$outboundSchema.optional(),
114
+ id: IDSearch$outboundSchema.optional(),
115
115
  leaderboard:
116
116
  V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$outboundSchema,
117
117
  value: z.nullable(z.number().int()).optional(),
118
- vanity: VanityStruct$outboundSchema.optional(),
118
+ vanity: VanitySearch$outboundSchema.optional(),
119
119
  });
120
120
 
121
121
  /**
@@ -20,7 +20,7 @@ export const Type = {
20
20
  */
21
21
  export type Type = ClosedEnum<typeof Type>;
22
22
 
23
- export type AccountSearchVanityStruct = {
23
+ export type VanitySearch = {
24
24
  /**
25
25
  * Which type of vanity to search for
26
26
  */
@@ -52,8 +52,8 @@ export namespace Type$ {
52
52
  }
53
53
 
54
54
  /** @internal */
55
- export const AccountSearchVanityStruct$inboundSchema: z.ZodType<
56
- AccountSearchVanityStruct,
55
+ export const VanitySearch$inboundSchema: z.ZodType<
56
+ VanitySearch,
57
57
  z.ZodTypeDef,
58
58
  unknown
59
59
  > = z.object({
@@ -62,16 +62,16 @@ export const AccountSearchVanityStruct$inboundSchema: z.ZodType<
62
62
  });
63
63
 
64
64
  /** @internal */
65
- export type AccountSearchVanityStruct$Outbound = {
65
+ export type VanitySearch$Outbound = {
66
66
  type: string;
67
67
  value: string;
68
68
  };
69
69
 
70
70
  /** @internal */
71
- export const AccountSearchVanityStruct$outboundSchema: z.ZodType<
72
- AccountSearchVanityStruct$Outbound,
71
+ export const VanitySearch$outboundSchema: z.ZodType<
72
+ VanitySearch$Outbound,
73
73
  z.ZodTypeDef,
74
- AccountSearchVanityStruct
74
+ VanitySearch
75
75
  > = z.object({
76
76
  type: Type$outboundSchema,
77
77
  value: z.string(),
@@ -81,29 +81,25 @@ export const AccountSearchVanityStruct$outboundSchema: z.ZodType<
81
81
  * @internal
82
82
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
83
83
  */
84
- export namespace AccountSearchVanityStruct$ {
85
- /** @deprecated use `AccountSearchVanityStruct$inboundSchema` instead. */
86
- export const inboundSchema = AccountSearchVanityStruct$inboundSchema;
87
- /** @deprecated use `AccountSearchVanityStruct$outboundSchema` instead. */
88
- export const outboundSchema = AccountSearchVanityStruct$outboundSchema;
89
- /** @deprecated use `AccountSearchVanityStruct$Outbound` instead. */
90
- export type Outbound = AccountSearchVanityStruct$Outbound;
84
+ export namespace VanitySearch$ {
85
+ /** @deprecated use `VanitySearch$inboundSchema` instead. */
86
+ export const inboundSchema = VanitySearch$inboundSchema;
87
+ /** @deprecated use `VanitySearch$outboundSchema` instead. */
88
+ export const outboundSchema = VanitySearch$outboundSchema;
89
+ /** @deprecated use `VanitySearch$Outbound` instead. */
90
+ export type Outbound = VanitySearch$Outbound;
91
91
  }
92
92
 
93
- export function accountSearchVanityStructToJSON(
94
- accountSearchVanityStruct: AccountSearchVanityStruct,
95
- ): string {
96
- return JSON.stringify(
97
- AccountSearchVanityStruct$outboundSchema.parse(accountSearchVanityStruct),
98
- );
93
+ export function vanitySearchToJSON(vanitySearch: VanitySearch): string {
94
+ return JSON.stringify(VanitySearch$outboundSchema.parse(vanitySearch));
99
95
  }
100
96
 
101
- export function accountSearchVanityStructFromJSON(
97
+ export function vanitySearchFromJSON(
102
98
  jsonString: string,
103
- ): SafeParseResult<AccountSearchVanityStruct, SDKValidationError> {
99
+ ): SafeParseResult<VanitySearch, SDKValidationError> {
104
100
  return safeParse(
105
101
  jsonString,
106
- (x) => AccountSearchVanityStruct$inboundSchema.parse(JSON.parse(x)),
107
- `Failed to parse 'AccountSearchVanityStruct' from JSON`,
102
+ (x) => VanitySearch$inboundSchema.parse(JSON.parse(x)),
103
+ `Failed to parse 'VanitySearch' from JSON`,
108
104
  );
109
105
  }