@steamsets/client-ts 0.19.5 → 0.22.3

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 (397) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/README.md +99 -104
  3. package/docs/sdks/account/README.md +1509 -118
  4. package/docs/sdks/admin/README.md +94 -5
  5. package/docs/sdks/app/README.md +5 -5
  6. package/docs/sdks/badge/README.md +226 -10
  7. package/docs/sdks/badges/README.md +8 -375
  8. package/docs/sdks/connection/README.md +4 -239
  9. package/docs/sdks/{sessions → developerapps}/README.md +28 -16
  10. package/docs/sdks/events/README.md +4 -93
  11. package/docs/sdks/leaderboard/README.md +5 -77
  12. package/docs/sdks/liveness/README.md +5 -5
  13. package/docs/sdks/{locations → location}/README.md +7 -5
  14. package/docs/sdks/{accounts → roles}/README.md +10 -14
  15. package/docs/sdks/session/README.md +11 -106
  16. package/funcs/accountAccountV1SessionLogout.d.ts +11 -0
  17. package/funcs/accountAccountV1SessionLogout.d.ts.map +1 -0
  18. package/funcs/accountAccountV1SessionLogout.js +105 -0
  19. package/funcs/accountAccountV1SessionLogout.js.map +1 -0
  20. package/funcs/{settingsSubscribeEmail.d.ts → accountAccountV1SessionRefresh.d.ts} +2 -2
  21. package/funcs/accountAccountV1SessionRefresh.d.ts.map +1 -0
  22. package/funcs/accountAccountV1SessionRefresh.js +124 -0
  23. package/funcs/accountAccountV1SessionRefresh.js.map +1 -0
  24. package/funcs/{locationsGet.d.ts → accountBookmarkBadge.d.ts} +3 -2
  25. package/funcs/accountBookmarkBadge.d.ts.map +1 -0
  26. package/funcs/{badgesBookmark.js → accountBookmarkBadge.js} +3 -3
  27. package/funcs/accountBookmarkBadge.js.map +1 -0
  28. package/funcs/{eventsUpdate.d.ts → accountConnect.d.ts} +2 -2
  29. package/funcs/{badgesBookmark.d.ts.map → accountConnect.d.ts.map} +1 -1
  30. package/funcs/{connectionsConnect.js → accountConnect.js} +3 -3
  31. package/funcs/{sessionsDelete.js.map → accountConnect.js.map} +1 -1
  32. package/funcs/{accountUpdateApp.d.ts → accountConnectionUpdate.d.ts} +2 -2
  33. package/funcs/{badgeBadgeV1TagsSuggest.d.ts.map → accountConnectionUpdate.d.ts.map} +1 -1
  34. package/funcs/{connectionUpdate.js → accountConnectionUpdate.js} +3 -3
  35. package/funcs/{badgeBadgeV1TagsSuggest.js.map → accountConnectionUpdate.js.map} +1 -1
  36. package/funcs/{settingsVerifyEmail.d.ts → accountCreateSession.d.ts} +2 -3
  37. package/funcs/accountCreateSession.d.ts.map +1 -0
  38. package/funcs/{sessionCreate.js → accountCreateSession.js} +3 -3
  39. package/funcs/accountCreateSession.js.map +1 -0
  40. package/funcs/accountDeleteConnection.d.ts +12 -0
  41. package/funcs/{accountAccountV1GetMeta.d.ts.map → accountDeleteConnection.d.ts.map} +1 -1
  42. package/funcs/{connectionDelete.js → accountDeleteConnection.js} +3 -3
  43. package/funcs/{accountAccountV1GetMeta.js.map → accountDeleteConnection.js.map} +1 -1
  44. package/funcs/accountDeveloperAppsDelete.d.ts +12 -0
  45. package/funcs/accountDeveloperAppsDelete.d.ts.map +1 -0
  46. package/funcs/{accountDeleteDeveloperApp.js → accountDeveloperAppsDelete.js} +3 -3
  47. package/funcs/accountDeveloperAppsDelete.js.map +1 -0
  48. package/funcs/accountDeveloperAppsUpdate.d.ts +12 -0
  49. package/funcs/accountDeveloperAppsUpdate.d.ts.map +1 -0
  50. package/funcs/{accountUpdateApp.js → accountDeveloperAppsUpdate.js} +3 -3
  51. package/funcs/accountDeveloperAppsUpdate.js.map +1 -0
  52. package/funcs/accountEmailSendVerification.d.ts +11 -0
  53. package/funcs/accountEmailSendVerification.d.ts.map +1 -0
  54. package/funcs/{settingsSendVerification.js → accountEmailSendVerification.js} +3 -3
  55. package/funcs/accountEmailSendVerification.js.map +1 -0
  56. package/funcs/accountEmailSubscription.d.ts +11 -0
  57. package/funcs/{settingsSendVerification.d.ts.map → accountEmailSubscription.d.ts.map} +1 -1
  58. package/funcs/{settingsSubscribeEmail.js → accountEmailSubscription.js} +3 -3
  59. package/funcs/accountEmailSubscription.js.map +1 -0
  60. package/funcs/{badgeBadgeV1TagsSuggest.d.ts → accountEmailVerify.d.ts} +2 -2
  61. package/funcs/{appAppV1ListBadges.d.ts.map → accountEmailVerify.d.ts.map} +1 -1
  62. package/funcs/{settingsVerifyEmail.js → accountEmailVerify.js} +3 -3
  63. package/funcs/{appAppV1ListBadges.js.map → accountEmailVerify.js.map} +1 -1
  64. package/funcs/accountGetBadgeBookmarks.d.ts +11 -0
  65. package/funcs/accountGetBadgeBookmarks.d.ts.map +1 -0
  66. package/funcs/{badgesGetBookmarks.js → accountGetBadgeBookmarks.js} +3 -3
  67. package/funcs/accountGetBadgeBookmarks.js.map +1 -0
  68. package/funcs/{adminAdminV1RemoveVanity.d.ts → accountGetImages.d.ts} +2 -3
  69. package/funcs/accountGetImages.d.ts.map +1 -0
  70. package/funcs/{imagesGet.js → accountGetImages.js} +3 -3
  71. package/funcs/accountGetImages.js.map +1 -0
  72. package/funcs/{settingsSendVerification.d.ts → accountGetMeta.d.ts} +3 -2
  73. package/funcs/{sessionsDelete.d.ts.map → accountGetMeta.d.ts.map} +1 -1
  74. package/funcs/{accountAccountV1GetMeta.js → accountGetMeta.js} +3 -3
  75. package/funcs/{badgesBookmark.js.map → accountGetMeta.js.map} +1 -1
  76. package/funcs/{badgesGetBookmarks.d.ts → accountGetOwnedBadges.d.ts} +2 -2
  77. package/funcs/accountGetOwnedBadges.d.ts.map +1 -0
  78. package/funcs/{badgesGetOwned.js → accountGetOwnedBadges.js} +3 -3
  79. package/funcs/accountGetOwnedBadges.js.map +1 -0
  80. package/funcs/{appAppV1ListBadges.d.ts → accountGetSession.d.ts} +2 -3
  81. package/funcs/accountGetSession.d.ts.map +1 -0
  82. package/funcs/{sessionsGet.js → accountGetSession.js} +3 -3
  83. package/funcs/{livenessCheck.js.map → accountGetSession.js.map} +1 -1
  84. package/funcs/{sessionsGet.d.ts → accountGetSettings.d.ts} +2 -2
  85. package/funcs/{badgesGetBookmarks.d.ts.map → accountGetSettings.d.ts.map} +1 -1
  86. package/funcs/{settingsGet.js → accountGetSettings.js} +3 -3
  87. package/funcs/accountGetSettings.js.map +1 -0
  88. package/funcs/{sessionLogin.d.ts → accountLogin.d.ts} +2 -2
  89. package/funcs/{sessionLogin.d.ts.map → accountLogin.d.ts.map} +1 -1
  90. package/funcs/{sessionLogin.js → accountLogin.js} +3 -3
  91. package/funcs/{sessionLogin.js.map → accountLogin.js.map} +1 -1
  92. package/funcs/{accountsQueue.d.ts → accountQueue.d.ts} +2 -2
  93. package/funcs/{eventsUpdate.d.ts.map → accountQueue.d.ts.map} +1 -1
  94. package/funcs/{accountsQueue.js → accountQueue.js} +3 -3
  95. package/funcs/{imagesUpdate.js.map → accountQueue.js.map} +1 -1
  96. package/funcs/accountReconnect.d.ts +12 -0
  97. package/funcs/{accountUpdateApp.d.ts.map → accountReconnect.d.ts.map} +1 -1
  98. package/funcs/{connectionReconnect.js → accountReconnect.js} +3 -3
  99. package/funcs/{connectionVerify.js.map → accountReconnect.js.map} +1 -1
  100. package/funcs/{settingsUpdateRole.d.ts → accountRolesUpdate.d.ts} +2 -2
  101. package/funcs/{settingsUpdateRole.d.ts.map → accountRolesUpdate.d.ts.map} +1 -1
  102. package/funcs/{settingsUpdateRole.js → accountRolesUpdate.js} +3 -3
  103. package/funcs/{settingsUpdateRole.js.map → accountRolesUpdate.js.map} +1 -1
  104. package/funcs/accountSessionDelete.d.ts +12 -0
  105. package/funcs/accountSessionDelete.d.ts.map +1 -0
  106. package/funcs/{sessionsDelete.js → accountSessionDelete.js} +3 -3
  107. package/funcs/accountSessionDelete.js.map +1 -0
  108. package/funcs/{sessionCreate.d.ts → accountUpdateImages.d.ts} +3 -2
  109. package/funcs/{settingsVerifyEmail.d.ts.map → accountUpdateImages.d.ts.map} +1 -1
  110. package/funcs/{imagesUpdate.js → accountUpdateImages.js} +3 -3
  111. package/funcs/{connectionReconnect.js.map → accountUpdateImages.js.map} +1 -1
  112. package/funcs/accountUpdateSettings.d.ts +11 -0
  113. package/funcs/accountUpdateSettings.d.ts.map +1 -0
  114. package/funcs/{settingsUpdate.js → accountUpdateSettings.js} +3 -3
  115. package/funcs/accountUpdateSettings.js.map +1 -0
  116. package/funcs/accountVerifyConnection.d.ts +12 -0
  117. package/funcs/accountVerifyConnection.d.ts.map +1 -0
  118. package/funcs/{connectionVerify.js → accountVerifyConnection.js} +3 -3
  119. package/funcs/accountVerifyConnection.js.map +1 -0
  120. package/funcs/adminEventsGet.d.ts +11 -0
  121. package/funcs/{badgesGetOwned.d.ts.map → adminEventsGet.d.ts.map} +1 -1
  122. package/funcs/{eventsGet.js → adminEventsGet.js} +3 -3
  123. package/funcs/{badgesGetOwned.js.map → adminEventsGet.js.map} +1 -1
  124. package/funcs/{imagesGet.d.ts → adminRemoveVanity.d.ts} +3 -2
  125. package/funcs/adminRemoveVanity.d.ts.map +1 -0
  126. package/funcs/{adminAdminV1RemoveVanity.js → adminRemoveVanity.js} +3 -3
  127. package/funcs/adminRemoveVanity.js.map +1 -0
  128. package/funcs/{accountAccountV1GetMeta.d.ts → adminUpdateEvent.d.ts} +2 -2
  129. package/funcs/{connectionDelete.d.ts.map → adminUpdateEvent.d.ts.map} +1 -1
  130. package/funcs/{eventsUpdate.js → adminUpdateEvent.js} +3 -3
  131. package/funcs/{connectionDelete.js.map → adminUpdateEvent.js.map} +1 -1
  132. package/funcs/{settingsGet.d.ts → appListBadges.d.ts} +3 -2
  133. package/funcs/{accountsQueue.d.ts.map → appListBadges.d.ts.map} +1 -1
  134. package/funcs/{appAppV1ListBadges.js → appListBadges.js} +3 -3
  135. package/funcs/{accountsQueue.js.map → appListBadges.js.map} +1 -1
  136. package/funcs/{badgesSearch.d.ts → badgeSearch.d.ts} +2 -2
  137. package/funcs/badgeSearch.d.ts.map +1 -0
  138. package/funcs/{badgesSearch.js → badgeSearch.js} +3 -3
  139. package/funcs/badgeSearch.js.map +1 -0
  140. package/funcs/{connectionsConnect.d.ts → badgeSuggest.d.ts} +2 -2
  141. package/funcs/{imagesUpdate.d.ts.map → badgeSuggest.d.ts.map} +1 -1
  142. package/funcs/{badgeBadgeV1SearchSuggest.js → badgeSuggest.js} +3 -3
  143. package/funcs/{badgesSearch.js.map → badgeSuggest.js.map} +1 -1
  144. package/funcs/badgeSuggestTags.d.ts +12 -0
  145. package/funcs/{connectionUpdate.d.ts.map → badgeSuggestTags.d.ts.map} +1 -1
  146. package/funcs/{badgeBadgeV1TagsSuggest.js → badgeSuggestTags.js} +3 -3
  147. package/funcs/{connectionUpdate.js.map → badgeSuggestTags.js.map} +1 -1
  148. package/funcs/{badgesTag.d.ts → badgeTag.d.ts} +2 -2
  149. package/funcs/badgeTag.d.ts.map +1 -0
  150. package/funcs/{badgesTag.js → badgeTag.js} +3 -3
  151. package/funcs/badgeTag.js.map +1 -0
  152. package/funcs/{badgesGetOwned.d.ts → leaderboardBadgesGetList.d.ts} +2 -2
  153. package/funcs/leaderboardBadgesGetList.d.ts.map +1 -0
  154. package/funcs/{leaderboardGetBadges.js → leaderboardBadgesGetList.js} +3 -3
  155. package/funcs/leaderboardBadgesGetList.js.map +1 -0
  156. package/funcs/{accountDeleteDeveloperApp.d.ts → leaderboardGetAccountMeta.d.ts} +2 -2
  157. package/funcs/{accountDeleteDeveloperApp.d.ts.map → leaderboardGetAccountMeta.d.ts.map} +1 -1
  158. package/funcs/{leaderboardLeaderboardV1GetLeaderboardAccountMeta.js → leaderboardGetAccountMeta.js} +3 -3
  159. package/funcs/leaderboardGetAccountMeta.js.map +1 -0
  160. package/funcs/{livenessCheck.d.ts → livenessGet.d.ts} +2 -2
  161. package/funcs/livenessGet.d.ts.map +1 -0
  162. package/funcs/{livenessCheck.js → livenessGet.js} +3 -3
  163. package/funcs/livenessGet.js.map +1 -0
  164. package/funcs/{eventsGet.d.ts → locationGet.d.ts} +2 -2
  165. package/funcs/{sessionsGet.d.ts.map → locationGet.d.ts.map} +1 -1
  166. package/funcs/{locationsGet.js → locationGet.js} +3 -3
  167. package/funcs/locationGet.js.map +1 -0
  168. package/jsr.json +1 -1
  169. package/lib/config.d.ts +3 -3
  170. package/lib/config.js +3 -3
  171. package/lib/sdks.d.ts.map +1 -1
  172. package/lib/sdks.js +2 -8
  173. package/lib/sdks.js.map +1 -1
  174. package/models/components/index.d.ts +2 -0
  175. package/models/components/index.d.ts.map +1 -1
  176. package/models/components/index.js +2 -0
  177. package/models/components/index.js.map +1 -1
  178. package/models/components/v1loginresponsebody.d.ts +15 -0
  179. package/models/components/v1loginresponsebody.d.ts.map +1 -1
  180. package/models/components/v1loginresponsebody.js +6 -0
  181. package/models/components/v1loginresponsebody.js.map +1 -1
  182. package/models/components/v1refreshsessionbody.d.ts +52 -0
  183. package/models/components/v1refreshsessionbody.d.ts.map +1 -0
  184. package/models/components/v1refreshsessionbody.js +76 -0
  185. package/models/components/v1refreshsessionbody.js.map +1 -0
  186. package/models/components/v1refreshsessionrequestbody.d.ts +32 -0
  187. package/models/components/v1refreshsessionrequestbody.d.ts.map +1 -0
  188. package/models/components/v1refreshsessionrequestbody.js +59 -0
  189. package/models/components/v1refreshsessionrequestbody.js.map +1 -0
  190. package/models/operations/accountv1sessionlogout.d.ts +30 -0
  191. package/models/operations/accountv1sessionlogout.d.ts.map +1 -0
  192. package/models/operations/accountv1sessionlogout.js +69 -0
  193. package/models/operations/accountv1sessionlogout.js.map +1 -0
  194. package/models/operations/accountv1sessionrefresh.d.ts +64 -0
  195. package/models/operations/accountv1sessionrefresh.d.ts.map +1 -0
  196. package/models/operations/accountv1sessionrefresh.js +118 -0
  197. package/models/operations/accountv1sessionrefresh.js.map +1 -0
  198. package/models/operations/index.d.ts +2 -0
  199. package/models/operations/index.d.ts.map +1 -1
  200. package/models/operations/index.js +2 -0
  201. package/models/operations/index.js.map +1 -1
  202. package/package.json +1 -1
  203. package/sdk/account.d.ts +33 -3
  204. package/sdk/account.d.ts.map +1 -1
  205. package/sdk/account.js +97 -9
  206. package/sdk/account.js.map +1 -1
  207. package/sdk/admin.d.ts +5 -1
  208. package/sdk/admin.d.ts.map +1 -1
  209. package/sdk/admin.js +11 -3
  210. package/sdk/admin.js.map +1 -1
  211. package/sdk/app.d.ts +1 -1
  212. package/sdk/app.d.ts.map +1 -1
  213. package/sdk/app.js +3 -3
  214. package/sdk/app.js.map +1 -1
  215. package/sdk/badge.d.ts +4 -2
  216. package/sdk/badge.d.ts.map +1 -1
  217. package/sdk/badge.js +14 -6
  218. package/sdk/badge.js.map +1 -1
  219. package/sdk/badges.d.ts +1 -6
  220. package/sdk/badges.d.ts.map +1 -1
  221. package/sdk/badges.js +3 -19
  222. package/sdk/badges.js.map +1 -1
  223. package/sdk/connection.d.ts +0 -3
  224. package/sdk/connection.d.ts.map +1 -1
  225. package/sdk/connection.js +2 -14
  226. package/sdk/connection.js.map +1 -1
  227. package/sdk/developerapps.d.ts +8 -0
  228. package/sdk/developerapps.d.ts.map +1 -0
  229. package/sdk/developerapps.js +20 -0
  230. package/sdk/developerapps.js.map +1 -0
  231. package/sdk/events.d.ts +0 -2
  232. package/sdk/events.d.ts.map +1 -1
  233. package/sdk/events.js +2 -6
  234. package/sdk/events.js.map +1 -1
  235. package/sdk/leaderboard.d.ts +4 -2
  236. package/sdk/leaderboard.d.ts.map +1 -1
  237. package/sdk/leaderboard.js +7 -7
  238. package/sdk/leaderboard.js.map +1 -1
  239. package/sdk/liveness.d.ts +1 -1
  240. package/sdk/liveness.d.ts.map +1 -1
  241. package/sdk/liveness.js +3 -3
  242. package/sdk/liveness.js.map +1 -1
  243. package/sdk/{locations.d.ts → location.d.ts} +2 -2
  244. package/sdk/location.d.ts.map +1 -0
  245. package/sdk/location.js +16 -0
  246. package/sdk/location.js.map +1 -0
  247. package/sdk/roles.d.ts +7 -0
  248. package/sdk/roles.d.ts.map +1 -0
  249. package/sdk/roles.js +16 -0
  250. package/sdk/roles.js.map +1 -0
  251. package/sdk/sdk.d.ts +3 -30
  252. package/sdk/sdk.d.ts.map +1 -1
  253. package/sdk/sdk.js +3 -39
  254. package/sdk/sdk.js.map +1 -1
  255. package/sdk/session.d.ts +2 -2
  256. package/sdk/session.d.ts.map +1 -1
  257. package/sdk/session.js +3 -7
  258. package/sdk/session.js.map +1 -1
  259. package/src/funcs/accountAccountV1SessionLogout.ts +158 -0
  260. package/src/funcs/accountAccountV1SessionRefresh.ts +190 -0
  261. package/src/funcs/{badgesBookmark.ts → accountBookmarkBadge.ts} +1 -1
  262. package/src/funcs/{connectionsConnect.ts → accountConnect.ts} +1 -1
  263. package/src/funcs/{connectionUpdate.ts → accountConnectionUpdate.ts} +1 -1
  264. package/src/funcs/{sessionCreate.ts → accountCreateSession.ts} +1 -1
  265. package/src/funcs/{connectionDelete.ts → accountDeleteConnection.ts} +1 -1
  266. package/src/funcs/{accountDeleteDeveloperApp.ts → accountDeveloperAppsDelete.ts} +1 -1
  267. package/src/funcs/{accountUpdateApp.ts → accountDeveloperAppsUpdate.ts} +1 -1
  268. package/src/funcs/{settingsSendVerification.ts → accountEmailSendVerification.ts} +1 -1
  269. package/src/funcs/{settingsSubscribeEmail.ts → accountEmailSubscription.ts} +1 -1
  270. package/src/funcs/{settingsVerifyEmail.ts → accountEmailVerify.ts} +1 -1
  271. package/src/funcs/{badgesGetBookmarks.ts → accountGetBadgeBookmarks.ts} +1 -1
  272. package/src/funcs/{imagesGet.ts → accountGetImages.ts} +1 -1
  273. package/src/funcs/{accountAccountV1GetMeta.ts → accountGetMeta.ts} +1 -1
  274. package/src/funcs/{badgesGetOwned.ts → accountGetOwnedBadges.ts} +1 -1
  275. package/src/funcs/{sessionsGet.ts → accountGetSession.ts} +1 -1
  276. package/src/funcs/{settingsGet.ts → accountGetSettings.ts} +1 -1
  277. package/src/funcs/{sessionLogin.ts → accountLogin.ts} +1 -1
  278. package/src/funcs/{accountsQueue.ts → accountQueue.ts} +1 -1
  279. package/src/funcs/{connectionReconnect.ts → accountReconnect.ts} +1 -1
  280. package/src/funcs/{settingsUpdateRole.ts → accountRolesUpdate.ts} +1 -1
  281. package/src/funcs/{sessionsDelete.ts → accountSessionDelete.ts} +1 -1
  282. package/src/funcs/{imagesUpdate.ts → accountUpdateImages.ts} +1 -1
  283. package/src/funcs/{settingsUpdate.ts → accountUpdateSettings.ts} +1 -1
  284. package/src/funcs/{connectionVerify.ts → accountVerifyConnection.ts} +1 -1
  285. package/src/funcs/{eventsGet.ts → adminEventsGet.ts} +1 -1
  286. package/src/funcs/{adminAdminV1RemoveVanity.ts → adminRemoveVanity.ts} +1 -1
  287. package/src/funcs/{eventsUpdate.ts → adminUpdateEvent.ts} +1 -1
  288. package/src/funcs/{appAppV1ListBadges.ts → appListBadges.ts} +1 -1
  289. package/src/funcs/{badgesSearch.ts → badgeSearch.ts} +1 -1
  290. package/src/funcs/{badgeBadgeV1SearchSuggest.ts → badgeSuggest.ts} +1 -1
  291. package/src/funcs/{badgeBadgeV1TagsSuggest.ts → badgeSuggestTags.ts} +1 -1
  292. package/src/funcs/{badgesTag.ts → badgeTag.ts} +1 -1
  293. package/src/funcs/{leaderboardGetBadges.ts → leaderboardBadgesGetList.ts} +1 -1
  294. package/src/funcs/{leaderboardLeaderboardV1GetLeaderboardAccountMeta.ts → leaderboardGetAccountMeta.ts} +1 -1
  295. package/src/funcs/{livenessCheck.ts → livenessGet.ts} +1 -1
  296. package/src/funcs/{locationsGet.ts → locationGet.ts} +1 -1
  297. package/src/lib/config.ts +3 -3
  298. package/src/lib/sdks.ts +2 -7
  299. package/src/models/components/index.ts +2 -0
  300. package/src/models/components/v1loginresponsebody.ts +25 -0
  301. package/src/models/components/v1refreshsessionbody.ts +110 -0
  302. package/src/models/components/v1refreshsessionrequestbody.ts +71 -0
  303. package/src/models/operations/accountv1sessionlogout.ts +78 -0
  304. package/src/models/operations/accountv1sessionrefresh.ts +171 -0
  305. package/src/models/operations/index.ts +2 -0
  306. package/src/sdk/account.ts +241 -13
  307. package/src/sdk/admin.ts +21 -3
  308. package/src/sdk/app.ts +3 -3
  309. package/src/sdk/badge.ts +30 -6
  310. package/src/sdk/badges.ts +4 -51
  311. package/src/sdk/connection.ts +2 -38
  312. package/src/sdk/developerapps.ts +34 -0
  313. package/src/sdk/events.ts +2 -15
  314. package/src/sdk/leaderboard.ts +9 -13
  315. package/src/sdk/liveness.ts +3 -3
  316. package/src/sdk/{locations.ts → location.ts} +3 -3
  317. package/src/sdk/{connections.ts → roles.ts} +6 -6
  318. package/src/sdk/sdk.ts +4 -58
  319. package/src/sdk/session.ts +6 -17
  320. package/docs/sdks/connections/README.md +0 -86
  321. package/docs/sdks/images/README.md +0 -159
  322. package/docs/sdks/settings/README.md +0 -471
  323. package/funcs/accountDeleteDeveloperApp.js.map +0 -1
  324. package/funcs/accountUpdateApp.js.map +0 -1
  325. package/funcs/adminAdminV1RemoveVanity.d.ts.map +0 -1
  326. package/funcs/adminAdminV1RemoveVanity.js.map +0 -1
  327. package/funcs/badgeBadgeV1SearchSuggest.d.ts +0 -12
  328. package/funcs/badgeBadgeV1SearchSuggest.d.ts.map +0 -1
  329. package/funcs/badgeBadgeV1SearchSuggest.js.map +0 -1
  330. package/funcs/badgesBookmark.d.ts +0 -12
  331. package/funcs/badgesGetBookmarks.js.map +0 -1
  332. package/funcs/badgesSearch.d.ts.map +0 -1
  333. package/funcs/badgesTag.d.ts.map +0 -1
  334. package/funcs/badgesTag.js.map +0 -1
  335. package/funcs/connectionDelete.d.ts +0 -12
  336. package/funcs/connectionReconnect.d.ts +0 -12
  337. package/funcs/connectionReconnect.d.ts.map +0 -1
  338. package/funcs/connectionUpdate.d.ts +0 -12
  339. package/funcs/connectionVerify.d.ts +0 -12
  340. package/funcs/connectionVerify.d.ts.map +0 -1
  341. package/funcs/connectionsConnect.d.ts.map +0 -1
  342. package/funcs/connectionsConnect.js.map +0 -1
  343. package/funcs/eventsGet.d.ts.map +0 -1
  344. package/funcs/eventsGet.js.map +0 -1
  345. package/funcs/eventsUpdate.js.map +0 -1
  346. package/funcs/imagesGet.d.ts.map +0 -1
  347. package/funcs/imagesGet.js.map +0 -1
  348. package/funcs/imagesUpdate.d.ts +0 -12
  349. package/funcs/leaderboardGetBadges.d.ts +0 -11
  350. package/funcs/leaderboardGetBadges.d.ts.map +0 -1
  351. package/funcs/leaderboardGetBadges.js.map +0 -1
  352. package/funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.d.ts +0 -12
  353. package/funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.d.ts.map +0 -1
  354. package/funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.js.map +0 -1
  355. package/funcs/livenessCheck.d.ts.map +0 -1
  356. package/funcs/locationsGet.d.ts.map +0 -1
  357. package/funcs/locationsGet.js.map +0 -1
  358. package/funcs/sessionCreate.d.ts.map +0 -1
  359. package/funcs/sessionCreate.js.map +0 -1
  360. package/funcs/sessionsDelete.d.ts +0 -12
  361. package/funcs/sessionsGet.js.map +0 -1
  362. package/funcs/settingsGet.d.ts.map +0 -1
  363. package/funcs/settingsGet.js.map +0 -1
  364. package/funcs/settingsSendVerification.js.map +0 -1
  365. package/funcs/settingsSubscribeEmail.d.ts.map +0 -1
  366. package/funcs/settingsSubscribeEmail.js.map +0 -1
  367. package/funcs/settingsUpdate.d.ts +0 -11
  368. package/funcs/settingsUpdate.d.ts.map +0 -1
  369. package/funcs/settingsUpdate.js.map +0 -1
  370. package/funcs/settingsVerifyEmail.js.map +0 -1
  371. package/sdk/accounts.d.ts +0 -7
  372. package/sdk/accounts.d.ts.map +0 -1
  373. package/sdk/accounts.js +0 -16
  374. package/sdk/accounts.js.map +0 -1
  375. package/sdk/connections.d.ts +0 -7
  376. package/sdk/connections.d.ts.map +0 -1
  377. package/sdk/connections.js +0 -16
  378. package/sdk/connections.js.map +0 -1
  379. package/sdk/images.d.ts +0 -8
  380. package/sdk/images.d.ts.map +0 -1
  381. package/sdk/images.js +0 -20
  382. package/sdk/images.js.map +0 -1
  383. package/sdk/locations.d.ts.map +0 -1
  384. package/sdk/locations.js +0 -16
  385. package/sdk/locations.js.map +0 -1
  386. package/sdk/sessions.d.ts +0 -8
  387. package/sdk/sessions.d.ts.map +0 -1
  388. package/sdk/sessions.js +0 -20
  389. package/sdk/sessions.js.map +0 -1
  390. package/sdk/settings.d.ts +0 -12
  391. package/sdk/settings.d.ts.map +0 -1
  392. package/sdk/settings.js +0 -36
  393. package/sdk/settings.js.map +0 -1
  394. package/src/sdk/accounts.ts +0 -22
  395. package/src/sdk/images.ts +0 -32
  396. package/src/sdk/sessions.ts +0 -32
  397. package/src/sdk/settings.ts +0 -80
@@ -1,170 +1,11 @@
1
1
  # Connection
2
- (*connection*)
2
+ (*account.connection*)
3
3
 
4
4
  ## Overview
5
5
 
6
- Operations related to oauth2/custom connections.
7
-
8
6
  ### Available Operations
9
7
 
10
- * [delete](#delete)
11
- * [reconnect](#reconnect)
12
8
  * [update](#update)
13
- * [verify](#verify)
14
-
15
- ## delete
16
-
17
- ### Example Usage
18
-
19
- ```typescript
20
- import { SteamSets } from "@steamsets/client-ts";
21
-
22
- const steamSets = new SteamSets({
23
- token: "<YOUR_BEARER_TOKEN_HERE>",
24
- });
25
-
26
- async function run() {
27
- const result = await steamSets.connection.delete({
28
- connectionId: "123456",
29
- });
30
-
31
- // Handle the result
32
- console.log(result);
33
- }
34
-
35
- run();
36
- ```
37
-
38
- ### Standalone function
39
-
40
- The standalone function version of this method:
41
-
42
- ```typescript
43
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
44
- import { connectionDelete } from "@steamsets/client-ts/funcs/connectionDelete.js";
45
-
46
- // Use `SteamSetsCore` for best tree-shaking performance.
47
- // You can create one instance of it to use across an application.
48
- const steamSets = new SteamSetsCore({
49
- token: "<YOUR_BEARER_TOKEN_HERE>",
50
- });
51
-
52
- async function run() {
53
- const res = await connectionDelete(steamSets, {
54
- connectionId: "123456",
55
- });
56
-
57
- if (!res.ok) {
58
- throw res.error;
59
- }
60
-
61
- const { value: result } = res;
62
-
63
- // Handle the result
64
- console.log(result);
65
- }
66
-
67
- run();
68
- ```
69
-
70
- ### Parameters
71
-
72
- | Parameter | Type | Required | Description |
73
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
74
- | `request` | [components.V1DeleteConnectionRequestBody](../../models/components/v1deleteconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
75
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
76
- | `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. |
77
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
78
-
79
- ### Response
80
-
81
- **Promise\<[operations.AccountV1ConnectionDeleteConnectionResponse](../../models/operations/accountv1connectiondeleteconnectionresponse.md)\>**
82
-
83
- ### Errors
84
-
85
- | Error Type | Status Code | Content Type |
86
- | ------------------------ | ------------------------ | ------------------------ |
87
- | errors.ErrorModel | 400, 422 | application/problem+json |
88
- | errors.ErrorModel | 500 | application/problem+json |
89
- | errors.SDKError | 4XX, 5XX | \*/\* |
90
-
91
- ## reconnect
92
-
93
- ### Example Usage
94
-
95
- ```typescript
96
- import { SteamSets } from "@steamsets/client-ts";
97
-
98
- const steamSets = new SteamSets({
99
- token: "<YOUR_BEARER_TOKEN_HERE>",
100
- });
101
-
102
- async function run() {
103
- const result = await steamSets.connection.reconnect({
104
- code: "123456",
105
- connectionId: "123456",
106
- });
107
-
108
- // Handle the result
109
- console.log(result);
110
- }
111
-
112
- run();
113
- ```
114
-
115
- ### Standalone function
116
-
117
- The standalone function version of this method:
118
-
119
- ```typescript
120
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
121
- import { connectionReconnect } from "@steamsets/client-ts/funcs/connectionReconnect.js";
122
-
123
- // Use `SteamSetsCore` for best tree-shaking performance.
124
- // You can create one instance of it to use across an application.
125
- const steamSets = new SteamSetsCore({
126
- token: "<YOUR_BEARER_TOKEN_HERE>",
127
- });
128
-
129
- async function run() {
130
- const res = await connectionReconnect(steamSets, {
131
- code: "123456",
132
- connectionId: "123456",
133
- });
134
-
135
- if (!res.ok) {
136
- throw res.error;
137
- }
138
-
139
- const { value: result } = res;
140
-
141
- // Handle the result
142
- console.log(result);
143
- }
144
-
145
- run();
146
- ```
147
-
148
- ### Parameters
149
-
150
- | Parameter | Type | Required | Description |
151
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
152
- | `request` | [components.V1ReconnectRequestBody](../../models/components/v1reconnectrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
153
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
154
- | `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. |
155
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
156
-
157
- ### Response
158
-
159
- **Promise\<[operations.AccountV1ConnectionReconnectResponse](../../models/operations/accountv1connectionreconnectresponse.md)\>**
160
-
161
- ### Errors
162
-
163
- | Error Type | Status Code | Content Type |
164
- | ------------------------ | ------------------------ | ------------------------ |
165
- | errors.ErrorModel | 400, 422 | application/problem+json |
166
- | errors.ErrorModel | 500 | application/problem+json |
167
- | errors.SDKError | 4XX, 5XX | \*/\* |
168
9
 
169
10
  ## update
170
11
 
@@ -178,7 +19,7 @@ const steamSets = new SteamSets({
178
19
  });
179
20
 
180
21
  async function run() {
181
- const result = await steamSets.connection.update({
22
+ const result = await steamSets.account.connection.update({
182
23
  connectionId: "123456",
183
24
  hidden: true,
184
25
  });
@@ -196,7 +37,7 @@ The standalone function version of this method:
196
37
 
197
38
  ```typescript
198
39
  import { SteamSetsCore } from "@steamsets/client-ts/core.js";
199
- import { connectionUpdate } from "@steamsets/client-ts/funcs/connectionUpdate.js";
40
+ import { accountConnectionUpdate } from "@steamsets/client-ts/funcs/accountConnectionUpdate.js";
200
41
 
201
42
  // Use `SteamSetsCore` for best tree-shaking performance.
202
43
  // You can create one instance of it to use across an application.
@@ -205,7 +46,7 @@ const steamSets = new SteamSetsCore({
205
46
  });
206
47
 
207
48
  async function run() {
208
- const res = await connectionUpdate(steamSets, {
49
+ const res = await accountConnectionUpdate(steamSets, {
209
50
  connectionId: "123456",
210
51
  hidden: true,
211
52
  });
@@ -242,80 +83,4 @@ run();
242
83
  | ------------------------ | ------------------------ | ------------------------ |
243
84
  | errors.ErrorModel | 400, 404, 422 | application/problem+json |
244
85
  | errors.ErrorModel | 500 | application/problem+json |
245
- | errors.SDKError | 4XX, 5XX | \*/\* |
246
-
247
- ## verify
248
-
249
- ### Example Usage
250
-
251
- ```typescript
252
- import { SteamSets } from "@steamsets/client-ts";
253
-
254
- const steamSets = new SteamSets({
255
- token: "<YOUR_BEARER_TOKEN_HERE>",
256
- });
257
-
258
- async function run() {
259
- const result = await steamSets.connection.verify({
260
- connectionId: "123456",
261
- });
262
-
263
- // Handle the result
264
- console.log(result);
265
- }
266
-
267
- run();
268
- ```
269
-
270
- ### Standalone function
271
-
272
- The standalone function version of this method:
273
-
274
- ```typescript
275
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
276
- import { connectionVerify } from "@steamsets/client-ts/funcs/connectionVerify.js";
277
-
278
- // Use `SteamSetsCore` for best tree-shaking performance.
279
- // You can create one instance of it to use across an application.
280
- const steamSets = new SteamSetsCore({
281
- token: "<YOUR_BEARER_TOKEN_HERE>",
282
- });
283
-
284
- async function run() {
285
- const res = await connectionVerify(steamSets, {
286
- connectionId: "123456",
287
- });
288
-
289
- if (!res.ok) {
290
- throw res.error;
291
- }
292
-
293
- const { value: result } = res;
294
-
295
- // Handle the result
296
- console.log(result);
297
- }
298
-
299
- run();
300
- ```
301
-
302
- ### Parameters
303
-
304
- | Parameter | Type | Required | Description |
305
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
306
- | `request` | [components.V1VerifyConnectionRequestBody](../../models/components/v1verifyconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
307
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
308
- | `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. |
309
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
310
-
311
- ### Response
312
-
313
- **Promise\<[operations.AccountV1ConnectionVerifyConnectionResponse](../../models/operations/accountv1connectionverifyconnectionresponse.md)\>**
314
-
315
- ### Errors
316
-
317
- | Error Type | Status Code | Content Type |
318
- | ------------------------ | ------------------------ | ------------------------ |
319
- | errors.ErrorModel | 400, 422 | application/problem+json |
320
- | errors.ErrorModel | 500 | application/problem+json |
321
86
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -1,12 +1,12 @@
1
- # Sessions
2
- (*sessions*)
1
+ # DeveloperApps
2
+ (*account.developerApps*)
3
3
 
4
4
  ## Overview
5
5
 
6
6
  ### Available Operations
7
7
 
8
8
  * [delete](#delete)
9
- * [get](#get)
9
+ * [update](#update)
10
10
 
11
11
  ## delete
12
12
 
@@ -20,8 +20,8 @@ const steamSets = new SteamSets({
20
20
  });
21
21
 
22
22
  async function run() {
23
- const result = await steamSets.sessions.delete({
24
- sessionId: "123456",
23
+ const result = await steamSets.account.developerApps.delete({
24
+ developerAppId: "da_123456",
25
25
  });
26
26
 
27
27
  // Handle the result
@@ -37,7 +37,7 @@ The standalone function version of this method:
37
37
 
38
38
  ```typescript
39
39
  import { SteamSetsCore } from "@steamsets/client-ts/core.js";
40
- import { sessionsDelete } from "@steamsets/client-ts/funcs/sessionsDelete.js";
40
+ import { accountDeveloperAppsDelete } from "@steamsets/client-ts/funcs/accountDeveloperAppsDelete.js";
41
41
 
42
42
  // Use `SteamSetsCore` for best tree-shaking performance.
43
43
  // You can create one instance of it to use across an application.
@@ -46,8 +46,8 @@ const steamSets = new SteamSetsCore({
46
46
  });
47
47
 
48
48
  async function run() {
49
- const res = await sessionsDelete(steamSets, {
50
- sessionId: "123456",
49
+ const res = await accountDeveloperAppsDelete(steamSets, {
50
+ developerAppId: "da_123456",
51
51
  });
52
52
 
53
53
  if (!res.ok) {
@@ -67,24 +67,24 @@ run();
67
67
 
68
68
  | Parameter | Type | Required | Description |
69
69
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
70
- | `request` | [components.V1DeleteSessionRequestBody](../../models/components/v1deletesessionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
70
+ | `request` | [components.V1AccountDeveloperAppDeleteRequestBody](../../models/components/v1accountdeveloperappdeleterequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
71
71
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
72
72
  | `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. |
73
73
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
74
74
 
75
75
  ### Response
76
76
 
77
- **Promise\<[operations.AccountV1SessionDeleteResponse](../../models/operations/accountv1sessiondeleteresponse.md)\>**
77
+ **Promise\<[operations.AccountV1SettingsDeveloperAppDeleteResponse](../../models/operations/accountv1settingsdeveloperappdeleteresponse.md)\>**
78
78
 
79
79
  ### Errors
80
80
 
81
81
  | Error Type | Status Code | Content Type |
82
82
  | ------------------------ | ------------------------ | ------------------------ |
83
- | errors.ErrorModel | 404, 422 | application/problem+json |
83
+ | errors.ErrorModel | 404, 422, 429 | application/problem+json |
84
84
  | errors.ErrorModel | 500 | application/problem+json |
85
85
  | errors.SDKError | 4XX, 5XX | \*/\* |
86
86
 
87
- ## get
87
+ ## update
88
88
 
89
89
  ### Example Usage
90
90
 
@@ -96,7 +96,12 @@ const steamSets = new SteamSets({
96
96
  });
97
97
 
98
98
  async function run() {
99
- const result = await steamSets.sessions.get();
99
+ const result = await steamSets.account.developerApps.update({
100
+ description: "My App Description",
101
+ developerAppId: "da_123456",
102
+ name: "My App",
103
+ regenerate: true,
104
+ });
100
105
 
101
106
  // Handle the result
102
107
  console.log(result);
@@ -111,7 +116,7 @@ The standalone function version of this method:
111
116
 
112
117
  ```typescript
113
118
  import { SteamSetsCore } from "@steamsets/client-ts/core.js";
114
- import { sessionsGet } from "@steamsets/client-ts/funcs/sessionsGet.js";
119
+ import { accountDeveloperAppsUpdate } from "@steamsets/client-ts/funcs/accountDeveloperAppsUpdate.js";
115
120
 
116
121
  // Use `SteamSetsCore` for best tree-shaking performance.
117
122
  // You can create one instance of it to use across an application.
@@ -120,7 +125,12 @@ const steamSets = new SteamSetsCore({
120
125
  });
121
126
 
122
127
  async function run() {
123
- const res = await sessionsGet(steamSets);
128
+ const res = await accountDeveloperAppsUpdate(steamSets, {
129
+ description: "My App Description",
130
+ developerAppId: "da_123456",
131
+ name: "My App",
132
+ regenerate: true,
133
+ });
124
134
 
125
135
  if (!res.ok) {
126
136
  throw res.error;
@@ -139,17 +149,19 @@ run();
139
149
 
140
150
  | Parameter | Type | Required | Description |
141
151
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
152
+ | `request` | [components.V1AccountDeveloperAppUpdateRequestBody](../../models/components/v1accountdeveloperappupdaterequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
142
153
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
143
154
  | `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. |
144
155
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
145
156
 
146
157
  ### Response
147
158
 
148
- **Promise\<[operations.AccountV1SessionGetResponse](../../models/operations/accountv1sessiongetresponse.md)\>**
159
+ **Promise\<[operations.AccountV1SettingsDeveloperAppUpdateResponse](../../models/operations/accountv1settingsdeveloperappupdateresponse.md)\>**
149
160
 
150
161
  ### Errors
151
162
 
152
163
  | Error Type | Status Code | Content Type |
153
164
  | ------------------------ | ------------------------ | ------------------------ |
165
+ | errors.ErrorModel | 404, 422, 429 | application/problem+json |
154
166
  | errors.ErrorModel | 500 | application/problem+json |
155
167
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -1,12 +1,11 @@
1
1
  # Events
2
- (*events*)
2
+ (*admin.events*)
3
3
 
4
4
  ## Overview
5
5
 
6
6
  ### Available Operations
7
7
 
8
8
  * [get](#get)
9
- * [update](#update)
10
9
 
11
10
  ## get
12
11
 
@@ -20,7 +19,7 @@ const steamSets = new SteamSets({
20
19
  });
21
20
 
22
21
  async function run() {
23
- const result = await steamSets.events.get();
22
+ const result = await steamSets.admin.events.get();
24
23
 
25
24
  // Handle the result
26
25
  console.log(result);
@@ -35,7 +34,7 @@ The standalone function version of this method:
35
34
 
36
35
  ```typescript
37
36
  import { SteamSetsCore } from "@steamsets/client-ts/core.js";
38
- import { eventsGet } from "@steamsets/client-ts/funcs/eventsGet.js";
37
+ import { adminEventsGet } from "@steamsets/client-ts/funcs/adminEventsGet.js";
39
38
 
40
39
  // Use `SteamSetsCore` for best tree-shaking performance.
41
40
  // You can create one instance of it to use across an application.
@@ -44,7 +43,7 @@ const steamSets = new SteamSetsCore({
44
43
  });
45
44
 
46
45
  async function run() {
47
- const res = await eventsGet(steamSets);
46
+ const res = await adminEventsGet(steamSets);
48
47
 
49
48
  if (!res.ok) {
50
49
  throw res.error;
@@ -77,92 +76,4 @@ run();
77
76
  | ------------------------ | ------------------------ | ------------------------ |
78
77
  | errors.ErrorModel | 403, 404, 429 | application/problem+json |
79
78
  | errors.ErrorModel | 500 | application/problem+json |
80
- | errors.SDKError | 4XX, 5XX | \*/\* |
81
-
82
- ## update
83
-
84
- ### Example Usage
85
-
86
- ```typescript
87
- import { SteamSets } from "@steamsets/client-ts";
88
-
89
- const steamSets = new SteamSets({
90
- token: "<YOUR_BEARER_TOKEN_HERE>",
91
- });
92
-
93
- async function run() {
94
- const result = await steamSets.events.update({
95
- eventId: "evt_123456",
96
- mappings: [
97
- {
98
- appId: 730,
99
- steamId: 76561198842603730,
100
- },
101
- ],
102
- });
103
-
104
- // Handle the result
105
- console.log(result);
106
- }
107
-
108
- run();
109
- ```
110
-
111
- ### Standalone function
112
-
113
- The standalone function version of this method:
114
-
115
- ```typescript
116
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
117
- import { eventsUpdate } from "@steamsets/client-ts/funcs/eventsUpdate.js";
118
-
119
- // Use `SteamSetsCore` for best tree-shaking performance.
120
- // You can create one instance of it to use across an application.
121
- const steamSets = new SteamSetsCore({
122
- token: "<YOUR_BEARER_TOKEN_HERE>",
123
- });
124
-
125
- async function run() {
126
- const res = await eventsUpdate(steamSets, {
127
- eventId: "evt_123456",
128
- mappings: [
129
- {
130
- appId: 730,
131
- steamId: 76561198842603730,
132
- },
133
- ],
134
- });
135
-
136
- if (!res.ok) {
137
- throw res.error;
138
- }
139
-
140
- const { value: result } = res;
141
-
142
- // Handle the result
143
- console.log(result);
144
- }
145
-
146
- run();
147
- ```
148
-
149
- ### Parameters
150
-
151
- | Parameter | Type | Required | Description |
152
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
153
- | `request` | [components.V1AdminUpdateEventRequestBody](../../models/components/v1adminupdateeventrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
154
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
155
- | `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. |
156
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
157
-
158
- ### Response
159
-
160
- **Promise\<[operations.AdminV1UpdateEventResponse](../../models/operations/adminv1updateeventresponse.md)\>**
161
-
162
- ### Errors
163
-
164
- | Error Type | Status Code | Content Type |
165
- | ------------------------ | ------------------------ | ------------------------ |
166
- | errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
167
- | errors.ErrorModel | 500 | application/problem+json |
168
79
  | errors.SDKError | 4XX, 5XX | \*/\* |