@steamsets/client-ts 0.19.5 → 0.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/README.md +95 -104
  3. package/docs/sdks/account/README.md +1355 -117
  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/{locationsGet.d.ts → accountBookmarkBadge.d.ts} +3 -2
  17. package/funcs/accountBookmarkBadge.d.ts.map +1 -0
  18. package/funcs/{badgesBookmark.js → accountBookmarkBadge.js} +3 -3
  19. package/funcs/accountBookmarkBadge.js.map +1 -0
  20. package/funcs/{eventsUpdate.d.ts → accountConnect.d.ts} +2 -2
  21. package/funcs/{badgesBookmark.d.ts.map → accountConnect.d.ts.map} +1 -1
  22. package/funcs/{connectionsConnect.js → accountConnect.js} +3 -3
  23. package/funcs/{sessionsDelete.js.map → accountConnect.js.map} +1 -1
  24. package/funcs/{accountUpdateApp.d.ts → accountConnectionUpdate.d.ts} +2 -2
  25. package/funcs/{badgeBadgeV1TagsSuggest.d.ts.map → accountConnectionUpdate.d.ts.map} +1 -1
  26. package/funcs/{connectionUpdate.js → accountConnectionUpdate.js} +3 -3
  27. package/funcs/{badgeBadgeV1TagsSuggest.js.map → accountConnectionUpdate.js.map} +1 -1
  28. package/funcs/{settingsVerifyEmail.d.ts → accountCreateSession.d.ts} +2 -3
  29. package/funcs/accountCreateSession.d.ts.map +1 -0
  30. package/funcs/{sessionCreate.js → accountCreateSession.js} +3 -3
  31. package/funcs/accountCreateSession.js.map +1 -0
  32. package/funcs/accountDeleteConnection.d.ts +12 -0
  33. package/funcs/{accountAccountV1GetMeta.d.ts.map → accountDeleteConnection.d.ts.map} +1 -1
  34. package/funcs/{connectionDelete.js → accountDeleteConnection.js} +3 -3
  35. package/funcs/{accountAccountV1GetMeta.js.map → accountDeleteConnection.js.map} +1 -1
  36. package/funcs/accountDeveloperAppsDelete.d.ts +12 -0
  37. package/funcs/accountDeveloperAppsDelete.d.ts.map +1 -0
  38. package/funcs/{accountDeleteDeveloperApp.js → accountDeveloperAppsDelete.js} +3 -3
  39. package/funcs/accountDeveloperAppsDelete.js.map +1 -0
  40. package/funcs/accountDeveloperAppsUpdate.d.ts +12 -0
  41. package/funcs/accountDeveloperAppsUpdate.d.ts.map +1 -0
  42. package/funcs/{accountUpdateApp.js → accountDeveloperAppsUpdate.js} +3 -3
  43. package/funcs/accountDeveloperAppsUpdate.js.map +1 -0
  44. package/funcs/accountEmailSendVerification.d.ts +11 -0
  45. package/funcs/accountEmailSendVerification.d.ts.map +1 -0
  46. package/funcs/{settingsSendVerification.js → accountEmailSendVerification.js} +3 -3
  47. package/funcs/accountEmailSendVerification.js.map +1 -0
  48. package/funcs/accountEmailSubscription.d.ts +11 -0
  49. package/funcs/{settingsSendVerification.d.ts.map → accountEmailSubscription.d.ts.map} +1 -1
  50. package/funcs/{settingsSubscribeEmail.js → accountEmailSubscription.js} +3 -3
  51. package/funcs/accountEmailSubscription.js.map +1 -0
  52. package/funcs/{badgeBadgeV1TagsSuggest.d.ts → accountEmailVerify.d.ts} +2 -2
  53. package/funcs/{appAppV1ListBadges.d.ts.map → accountEmailVerify.d.ts.map} +1 -1
  54. package/funcs/{settingsVerifyEmail.js → accountEmailVerify.js} +3 -3
  55. package/funcs/{appAppV1ListBadges.js.map → accountEmailVerify.js.map} +1 -1
  56. package/funcs/accountGetBadgeBookmarks.d.ts +11 -0
  57. package/funcs/accountGetBadgeBookmarks.d.ts.map +1 -0
  58. package/funcs/{badgesGetBookmarks.js → accountGetBadgeBookmarks.js} +3 -3
  59. package/funcs/accountGetBadgeBookmarks.js.map +1 -0
  60. package/funcs/{adminAdminV1RemoveVanity.d.ts → accountGetImages.d.ts} +2 -3
  61. package/funcs/accountGetImages.d.ts.map +1 -0
  62. package/funcs/{imagesGet.js → accountGetImages.js} +3 -3
  63. package/funcs/accountGetImages.js.map +1 -0
  64. package/funcs/{settingsSendVerification.d.ts → accountGetMeta.d.ts} +3 -2
  65. package/funcs/{sessionsDelete.d.ts.map → accountGetMeta.d.ts.map} +1 -1
  66. package/funcs/{accountAccountV1GetMeta.js → accountGetMeta.js} +3 -3
  67. package/funcs/{badgesBookmark.js.map → accountGetMeta.js.map} +1 -1
  68. package/funcs/{badgesGetBookmarks.d.ts → accountGetOwnedBadges.d.ts} +2 -2
  69. package/funcs/accountGetOwnedBadges.d.ts.map +1 -0
  70. package/funcs/{badgesGetOwned.js → accountGetOwnedBadges.js} +3 -3
  71. package/funcs/accountGetOwnedBadges.js.map +1 -0
  72. package/funcs/{appAppV1ListBadges.d.ts → accountGetSession.d.ts} +2 -3
  73. package/funcs/accountGetSession.d.ts.map +1 -0
  74. package/funcs/{sessionsGet.js → accountGetSession.js} +3 -3
  75. package/funcs/{livenessCheck.js.map → accountGetSession.js.map} +1 -1
  76. package/funcs/{settingsSubscribeEmail.d.ts → accountGetSettings.d.ts} +2 -2
  77. package/funcs/{badgesGetBookmarks.d.ts.map → accountGetSettings.d.ts.map} +1 -1
  78. package/funcs/{settingsGet.js → accountGetSettings.js} +3 -3
  79. package/funcs/accountGetSettings.js.map +1 -0
  80. package/funcs/{sessionLogin.d.ts → accountLogin.d.ts} +2 -2
  81. package/funcs/{sessionLogin.d.ts.map → accountLogin.d.ts.map} +1 -1
  82. package/funcs/{sessionLogin.js → accountLogin.js} +3 -3
  83. package/funcs/{sessionLogin.js.map → accountLogin.js.map} +1 -1
  84. package/funcs/{accountsQueue.d.ts → accountQueue.d.ts} +2 -2
  85. package/funcs/{eventsUpdate.d.ts.map → accountQueue.d.ts.map} +1 -1
  86. package/funcs/{accountsQueue.js → accountQueue.js} +3 -3
  87. package/funcs/{imagesUpdate.js.map → accountQueue.js.map} +1 -1
  88. package/funcs/accountReconnect.d.ts +12 -0
  89. package/funcs/{accountUpdateApp.d.ts.map → accountReconnect.d.ts.map} +1 -1
  90. package/funcs/{connectionReconnect.js → accountReconnect.js} +3 -3
  91. package/funcs/{connectionVerify.js.map → accountReconnect.js.map} +1 -1
  92. package/funcs/{settingsUpdateRole.d.ts → accountRolesUpdate.d.ts} +2 -2
  93. package/funcs/{settingsUpdateRole.d.ts.map → accountRolesUpdate.d.ts.map} +1 -1
  94. package/funcs/{settingsUpdateRole.js → accountRolesUpdate.js} +3 -3
  95. package/funcs/{settingsUpdateRole.js.map → accountRolesUpdate.js.map} +1 -1
  96. package/funcs/accountSessionDelete.d.ts +12 -0
  97. package/funcs/accountSessionDelete.d.ts.map +1 -0
  98. package/funcs/{sessionsDelete.js → accountSessionDelete.js} +3 -3
  99. package/funcs/accountSessionDelete.js.map +1 -0
  100. package/funcs/{sessionCreate.d.ts → accountUpdateImages.d.ts} +3 -2
  101. package/funcs/{settingsVerifyEmail.d.ts.map → accountUpdateImages.d.ts.map} +1 -1
  102. package/funcs/{imagesUpdate.js → accountUpdateImages.js} +3 -3
  103. package/funcs/{connectionReconnect.js.map → accountUpdateImages.js.map} +1 -1
  104. package/funcs/accountUpdateSettings.d.ts +11 -0
  105. package/funcs/accountUpdateSettings.d.ts.map +1 -0
  106. package/funcs/{settingsUpdate.js → accountUpdateSettings.js} +3 -3
  107. package/funcs/accountUpdateSettings.js.map +1 -0
  108. package/funcs/accountVerifyConnection.d.ts +12 -0
  109. package/funcs/accountVerifyConnection.d.ts.map +1 -0
  110. package/funcs/{connectionVerify.js → accountVerifyConnection.js} +3 -3
  111. package/funcs/accountVerifyConnection.js.map +1 -0
  112. package/funcs/{sessionsGet.d.ts → adminEventsGet.d.ts} +2 -2
  113. package/funcs/{badgesGetOwned.d.ts.map → adminEventsGet.d.ts.map} +1 -1
  114. package/funcs/{eventsGet.js → adminEventsGet.js} +3 -3
  115. package/funcs/{badgesGetOwned.js.map → adminEventsGet.js.map} +1 -1
  116. package/funcs/{imagesGet.d.ts → adminRemoveVanity.d.ts} +3 -2
  117. package/funcs/adminRemoveVanity.d.ts.map +1 -0
  118. package/funcs/{adminAdminV1RemoveVanity.js → adminRemoveVanity.js} +3 -3
  119. package/funcs/adminRemoveVanity.js.map +1 -0
  120. package/funcs/{accountAccountV1GetMeta.d.ts → adminUpdateEvent.d.ts} +2 -2
  121. package/funcs/{connectionDelete.d.ts.map → adminUpdateEvent.d.ts.map} +1 -1
  122. package/funcs/{eventsUpdate.js → adminUpdateEvent.js} +3 -3
  123. package/funcs/{connectionDelete.js.map → adminUpdateEvent.js.map} +1 -1
  124. package/funcs/{settingsGet.d.ts → appListBadges.d.ts} +3 -2
  125. package/funcs/{accountsQueue.d.ts.map → appListBadges.d.ts.map} +1 -1
  126. package/funcs/{appAppV1ListBadges.js → appListBadges.js} +3 -3
  127. package/funcs/{accountsQueue.js.map → appListBadges.js.map} +1 -1
  128. package/funcs/{badgesSearch.d.ts → badgeSearch.d.ts} +2 -2
  129. package/funcs/badgeSearch.d.ts.map +1 -0
  130. package/funcs/{badgesSearch.js → badgeSearch.js} +3 -3
  131. package/funcs/badgeSearch.js.map +1 -0
  132. package/funcs/{connectionsConnect.d.ts → badgeSuggest.d.ts} +2 -2
  133. package/funcs/{imagesUpdate.d.ts.map → badgeSuggest.d.ts.map} +1 -1
  134. package/funcs/{badgeBadgeV1SearchSuggest.js → badgeSuggest.js} +3 -3
  135. package/funcs/{badgesSearch.js.map → badgeSuggest.js.map} +1 -1
  136. package/funcs/badgeSuggestTags.d.ts +12 -0
  137. package/funcs/{connectionUpdate.d.ts.map → badgeSuggestTags.d.ts.map} +1 -1
  138. package/funcs/{badgeBadgeV1TagsSuggest.js → badgeSuggestTags.js} +3 -3
  139. package/funcs/{connectionUpdate.js.map → badgeSuggestTags.js.map} +1 -1
  140. package/funcs/{badgesTag.d.ts → badgeTag.d.ts} +2 -2
  141. package/funcs/badgeTag.d.ts.map +1 -0
  142. package/funcs/{badgesTag.js → badgeTag.js} +3 -3
  143. package/funcs/badgeTag.js.map +1 -0
  144. package/funcs/{badgesGetOwned.d.ts → leaderboardBadgesGetList.d.ts} +2 -2
  145. package/funcs/leaderboardBadgesGetList.d.ts.map +1 -0
  146. package/funcs/{leaderboardGetBadges.js → leaderboardBadgesGetList.js} +3 -3
  147. package/funcs/leaderboardBadgesGetList.js.map +1 -0
  148. package/funcs/{accountDeleteDeveloperApp.d.ts → leaderboardGetAccountMeta.d.ts} +2 -2
  149. package/funcs/{accountDeleteDeveloperApp.d.ts.map → leaderboardGetAccountMeta.d.ts.map} +1 -1
  150. package/funcs/{leaderboardLeaderboardV1GetLeaderboardAccountMeta.js → leaderboardGetAccountMeta.js} +3 -3
  151. package/funcs/leaderboardGetAccountMeta.js.map +1 -0
  152. package/funcs/{livenessCheck.d.ts → livenessGet.d.ts} +2 -2
  153. package/funcs/livenessGet.d.ts.map +1 -0
  154. package/funcs/{livenessCheck.js → livenessGet.js} +3 -3
  155. package/funcs/livenessGet.js.map +1 -0
  156. package/funcs/{eventsGet.d.ts → locationGet.d.ts} +2 -2
  157. package/funcs/{sessionsGet.d.ts.map → locationGet.d.ts.map} +1 -1
  158. package/funcs/{locationsGet.js → locationGet.js} +3 -3
  159. package/funcs/locationGet.js.map +1 -0
  160. package/jsr.json +1 -1
  161. package/lib/config.d.ts +2 -2
  162. package/lib/config.js +2 -2
  163. package/package.json +1 -1
  164. package/sdk/account.d.ts +31 -3
  165. package/sdk/account.d.ts.map +1 -1
  166. package/sdk/account.js +89 -9
  167. package/sdk/account.js.map +1 -1
  168. package/sdk/admin.d.ts +5 -1
  169. package/sdk/admin.d.ts.map +1 -1
  170. package/sdk/admin.js +11 -3
  171. package/sdk/admin.js.map +1 -1
  172. package/sdk/app.d.ts +1 -1
  173. package/sdk/app.d.ts.map +1 -1
  174. package/sdk/app.js +3 -3
  175. package/sdk/app.js.map +1 -1
  176. package/sdk/badge.d.ts +4 -2
  177. package/sdk/badge.d.ts.map +1 -1
  178. package/sdk/badge.js +14 -6
  179. package/sdk/badge.js.map +1 -1
  180. package/sdk/badges.d.ts +1 -6
  181. package/sdk/badges.d.ts.map +1 -1
  182. package/sdk/badges.js +3 -19
  183. package/sdk/badges.js.map +1 -1
  184. package/sdk/connection.d.ts +0 -3
  185. package/sdk/connection.d.ts.map +1 -1
  186. package/sdk/connection.js +2 -14
  187. package/sdk/connection.js.map +1 -1
  188. package/sdk/developerapps.d.ts +8 -0
  189. package/sdk/developerapps.d.ts.map +1 -0
  190. package/sdk/developerapps.js +20 -0
  191. package/sdk/developerapps.js.map +1 -0
  192. package/sdk/events.d.ts +0 -2
  193. package/sdk/events.d.ts.map +1 -1
  194. package/sdk/events.js +2 -6
  195. package/sdk/events.js.map +1 -1
  196. package/sdk/leaderboard.d.ts +4 -2
  197. package/sdk/leaderboard.d.ts.map +1 -1
  198. package/sdk/leaderboard.js +7 -7
  199. package/sdk/leaderboard.js.map +1 -1
  200. package/sdk/liveness.d.ts +1 -1
  201. package/sdk/liveness.d.ts.map +1 -1
  202. package/sdk/liveness.js +3 -3
  203. package/sdk/liveness.js.map +1 -1
  204. package/sdk/{locations.d.ts → location.d.ts} +2 -2
  205. package/sdk/location.d.ts.map +1 -0
  206. package/sdk/location.js +16 -0
  207. package/sdk/location.js.map +1 -0
  208. package/sdk/roles.d.ts +7 -0
  209. package/sdk/roles.d.ts.map +1 -0
  210. package/sdk/roles.js +16 -0
  211. package/sdk/roles.js.map +1 -0
  212. package/sdk/sdk.d.ts +3 -30
  213. package/sdk/sdk.d.ts.map +1 -1
  214. package/sdk/sdk.js +3 -39
  215. package/sdk/sdk.js.map +1 -1
  216. package/sdk/session.d.ts +2 -2
  217. package/sdk/session.d.ts.map +1 -1
  218. package/sdk/session.js +3 -7
  219. package/sdk/session.js.map +1 -1
  220. package/src/funcs/{badgesBookmark.ts → accountBookmarkBadge.ts} +1 -1
  221. package/src/funcs/{connectionsConnect.ts → accountConnect.ts} +1 -1
  222. package/src/funcs/{connectionUpdate.ts → accountConnectionUpdate.ts} +1 -1
  223. package/src/funcs/{sessionCreate.ts → accountCreateSession.ts} +1 -1
  224. package/src/funcs/{connectionDelete.ts → accountDeleteConnection.ts} +1 -1
  225. package/src/funcs/{accountDeleteDeveloperApp.ts → accountDeveloperAppsDelete.ts} +1 -1
  226. package/src/funcs/{accountUpdateApp.ts → accountDeveloperAppsUpdate.ts} +1 -1
  227. package/src/funcs/{settingsSendVerification.ts → accountEmailSendVerification.ts} +1 -1
  228. package/src/funcs/{settingsSubscribeEmail.ts → accountEmailSubscription.ts} +1 -1
  229. package/src/funcs/{settingsVerifyEmail.ts → accountEmailVerify.ts} +1 -1
  230. package/src/funcs/{badgesGetBookmarks.ts → accountGetBadgeBookmarks.ts} +1 -1
  231. package/src/funcs/{imagesGet.ts → accountGetImages.ts} +1 -1
  232. package/src/funcs/{accountAccountV1GetMeta.ts → accountGetMeta.ts} +1 -1
  233. package/src/funcs/{badgesGetOwned.ts → accountGetOwnedBadges.ts} +1 -1
  234. package/src/funcs/{sessionsGet.ts → accountGetSession.ts} +1 -1
  235. package/src/funcs/{settingsGet.ts → accountGetSettings.ts} +1 -1
  236. package/src/funcs/{sessionLogin.ts → accountLogin.ts} +1 -1
  237. package/src/funcs/{accountsQueue.ts → accountQueue.ts} +1 -1
  238. package/src/funcs/{connectionReconnect.ts → accountReconnect.ts} +1 -1
  239. package/src/funcs/{settingsUpdateRole.ts → accountRolesUpdate.ts} +1 -1
  240. package/src/funcs/{sessionsDelete.ts → accountSessionDelete.ts} +1 -1
  241. package/src/funcs/{imagesUpdate.ts → accountUpdateImages.ts} +1 -1
  242. package/src/funcs/{settingsUpdate.ts → accountUpdateSettings.ts} +1 -1
  243. package/src/funcs/{connectionVerify.ts → accountVerifyConnection.ts} +1 -1
  244. package/src/funcs/{eventsGet.ts → adminEventsGet.ts} +1 -1
  245. package/src/funcs/{adminAdminV1RemoveVanity.ts → adminRemoveVanity.ts} +1 -1
  246. package/src/funcs/{eventsUpdate.ts → adminUpdateEvent.ts} +1 -1
  247. package/src/funcs/{appAppV1ListBadges.ts → appListBadges.ts} +1 -1
  248. package/src/funcs/{badgesSearch.ts → badgeSearch.ts} +1 -1
  249. package/src/funcs/{badgeBadgeV1SearchSuggest.ts → badgeSuggest.ts} +1 -1
  250. package/src/funcs/{badgeBadgeV1TagsSuggest.ts → badgeSuggestTags.ts} +1 -1
  251. package/src/funcs/{badgesTag.ts → badgeTag.ts} +1 -1
  252. package/src/funcs/{leaderboardGetBadges.ts → leaderboardBadgesGetList.ts} +1 -1
  253. package/src/funcs/{leaderboardLeaderboardV1GetLeaderboardAccountMeta.ts → leaderboardGetAccountMeta.ts} +1 -1
  254. package/src/funcs/{livenessCheck.ts → livenessGet.ts} +1 -1
  255. package/src/funcs/{locationsGet.ts → locationGet.ts} +1 -1
  256. package/src/lib/config.ts +2 -2
  257. package/src/sdk/account.ts +219 -13
  258. package/src/sdk/admin.ts +21 -3
  259. package/src/sdk/app.ts +3 -3
  260. package/src/sdk/badge.ts +30 -6
  261. package/src/sdk/badges.ts +4 -51
  262. package/src/sdk/connection.ts +2 -38
  263. package/src/sdk/developerapps.ts +34 -0
  264. package/src/sdk/events.ts +2 -15
  265. package/src/sdk/leaderboard.ts +9 -13
  266. package/src/sdk/liveness.ts +3 -3
  267. package/src/sdk/{locations.ts → location.ts} +3 -3
  268. package/src/sdk/{connections.ts → roles.ts} +6 -6
  269. package/src/sdk/sdk.ts +4 -58
  270. package/src/sdk/session.ts +6 -17
  271. package/docs/sdks/connections/README.md +0 -86
  272. package/docs/sdks/images/README.md +0 -159
  273. package/docs/sdks/settings/README.md +0 -471
  274. package/funcs/accountDeleteDeveloperApp.js.map +0 -1
  275. package/funcs/accountUpdateApp.js.map +0 -1
  276. package/funcs/adminAdminV1RemoveVanity.d.ts.map +0 -1
  277. package/funcs/adminAdminV1RemoveVanity.js.map +0 -1
  278. package/funcs/badgeBadgeV1SearchSuggest.d.ts +0 -12
  279. package/funcs/badgeBadgeV1SearchSuggest.d.ts.map +0 -1
  280. package/funcs/badgeBadgeV1SearchSuggest.js.map +0 -1
  281. package/funcs/badgesBookmark.d.ts +0 -12
  282. package/funcs/badgesGetBookmarks.js.map +0 -1
  283. package/funcs/badgesSearch.d.ts.map +0 -1
  284. package/funcs/badgesTag.d.ts.map +0 -1
  285. package/funcs/badgesTag.js.map +0 -1
  286. package/funcs/connectionDelete.d.ts +0 -12
  287. package/funcs/connectionReconnect.d.ts +0 -12
  288. package/funcs/connectionReconnect.d.ts.map +0 -1
  289. package/funcs/connectionUpdate.d.ts +0 -12
  290. package/funcs/connectionVerify.d.ts +0 -12
  291. package/funcs/connectionVerify.d.ts.map +0 -1
  292. package/funcs/connectionsConnect.d.ts.map +0 -1
  293. package/funcs/connectionsConnect.js.map +0 -1
  294. package/funcs/eventsGet.d.ts.map +0 -1
  295. package/funcs/eventsGet.js.map +0 -1
  296. package/funcs/eventsUpdate.js.map +0 -1
  297. package/funcs/imagesGet.d.ts.map +0 -1
  298. package/funcs/imagesGet.js.map +0 -1
  299. package/funcs/imagesUpdate.d.ts +0 -12
  300. package/funcs/leaderboardGetBadges.d.ts +0 -11
  301. package/funcs/leaderboardGetBadges.d.ts.map +0 -1
  302. package/funcs/leaderboardGetBadges.js.map +0 -1
  303. package/funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.d.ts +0 -12
  304. package/funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.d.ts.map +0 -1
  305. package/funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.js.map +0 -1
  306. package/funcs/livenessCheck.d.ts.map +0 -1
  307. package/funcs/locationsGet.d.ts.map +0 -1
  308. package/funcs/locationsGet.js.map +0 -1
  309. package/funcs/sessionCreate.d.ts.map +0 -1
  310. package/funcs/sessionCreate.js.map +0 -1
  311. package/funcs/sessionsDelete.d.ts +0 -12
  312. package/funcs/sessionsGet.js.map +0 -1
  313. package/funcs/settingsGet.d.ts.map +0 -1
  314. package/funcs/settingsGet.js.map +0 -1
  315. package/funcs/settingsSendVerification.js.map +0 -1
  316. package/funcs/settingsSubscribeEmail.d.ts.map +0 -1
  317. package/funcs/settingsSubscribeEmail.js.map +0 -1
  318. package/funcs/settingsUpdate.d.ts +0 -11
  319. package/funcs/settingsUpdate.d.ts.map +0 -1
  320. package/funcs/settingsUpdate.js.map +0 -1
  321. package/funcs/settingsVerifyEmail.js.map +0 -1
  322. package/sdk/accounts.d.ts +0 -7
  323. package/sdk/accounts.d.ts.map +0 -1
  324. package/sdk/accounts.js +0 -16
  325. package/sdk/accounts.js.map +0 -1
  326. package/sdk/connections.d.ts +0 -7
  327. package/sdk/connections.d.ts.map +0 -1
  328. package/sdk/connections.js +0 -16
  329. package/sdk/connections.js.map +0 -1
  330. package/sdk/images.d.ts +0 -8
  331. package/sdk/images.d.ts.map +0 -1
  332. package/sdk/images.js +0 -20
  333. package/sdk/images.js.map +0 -1
  334. package/sdk/locations.d.ts.map +0 -1
  335. package/sdk/locations.js +0 -16
  336. package/sdk/locations.js.map +0 -1
  337. package/sdk/sessions.d.ts +0 -8
  338. package/sdk/sessions.d.ts.map +0 -1
  339. package/sdk/sessions.js +0 -20
  340. package/sdk/sessions.js.map +0 -1
  341. package/sdk/settings.d.ts +0 -12
  342. package/sdk/settings.d.ts.map +0 -1
  343. package/sdk/settings.js +0 -36
  344. package/sdk/settings.js.map +0 -1
  345. package/src/sdk/accounts.ts +0 -22
  346. package/src/sdk/images.ts +0 -32
  347. package/src/sdk/sessions.ts +0 -32
  348. package/src/sdk/settings.ts +0 -80
@@ -2,25 +2,87 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { accountAccountV1GetMeta } from "../funcs/accountAccountV1GetMeta.js";
5
+ import { accountBookmarkBadge } from "../funcs/accountBookmarkBadge.js";
6
+ import { accountConnect } from "../funcs/accountConnect.js";
6
7
  import { accountCreateDeveloperApp } from "../funcs/accountCreateDeveloperApp.js";
7
- import { accountDeleteDeveloperApp } from "../funcs/accountDeleteDeveloperApp.js";
8
+ import { accountCreateSession } from "../funcs/accountCreateSession.js";
9
+ import { accountDeleteConnection } from "../funcs/accountDeleteConnection.js";
8
10
  import { accountDeleteImages } from "../funcs/accountDeleteImages.js";
11
+ import { accountEmailSendVerification } from "../funcs/accountEmailSendVerification.js";
12
+ import { accountEmailSubscription } from "../funcs/accountEmailSubscription.js";
13
+ import { accountEmailVerify } from "../funcs/accountEmailVerify.js";
9
14
  import { accountGetApps } from "../funcs/accountGetApps.js";
15
+ import { accountGetBadgeBookmarks } from "../funcs/accountGetBadgeBookmarks.js";
10
16
  import { accountGetBadges } from "../funcs/accountGetBadges.js";
11
17
  import { accountGetDataPoints } from "../funcs/accountGetDataPoints.js";
12
18
  import { accountGetFriends } from "../funcs/accountGetFriends.js";
19
+ import { accountGetImages } from "../funcs/accountGetImages.js";
13
20
  import { accountGetInfo } from "../funcs/accountGetInfo.js";
14
21
  import { accountGetLeaderboardHistory } from "../funcs/accountGetLeaderboardHistory.js";
22
+ import { accountGetMeta } from "../funcs/accountGetMeta.js";
23
+ import { accountGetOwnedBadges } from "../funcs/accountGetOwnedBadges.js";
24
+ import { accountGetSession } from "../funcs/accountGetSession.js";
25
+ import { accountGetSettings } from "../funcs/accountGetSettings.js";
15
26
  import { accountGetStaff } from "../funcs/accountGetStaff.js";
16
- import { accountUpdateApp } from "../funcs/accountUpdateApp.js";
27
+ import { accountLogin } from "../funcs/accountLogin.js";
28
+ import { accountQueue } from "../funcs/accountQueue.js";
29
+ import { accountReconnect } from "../funcs/accountReconnect.js";
30
+ import { accountUpdateImages } from "../funcs/accountUpdateImages.js";
31
+ import { accountUpdateSettings } from "../funcs/accountUpdateSettings.js";
17
32
  import { accountUploadImages } from "../funcs/accountUploadImages.js";
33
+ import { accountVerifyConnection } from "../funcs/accountVerifyConnection.js";
18
34
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
19
35
  import * as components from "../models/components/index.js";
20
36
  import * as operations from "../models/operations/index.js";
21
37
  import { unwrapAsync } from "../types/fp.js";
38
+ import { Connection } from "./connection.js";
39
+ import { DeveloperApps } from "./developerapps.js";
40
+ import { Roles } from "./roles.js";
41
+ import { Session } from "./session.js";
22
42
 
23
43
  export class Account extends ClientSDK {
44
+ private _developerApps?: DeveloperApps;
45
+ get developerApps(): DeveloperApps {
46
+ return (this._developerApps ??= new DeveloperApps(this._options));
47
+ }
48
+
49
+ private _session?: Session;
50
+ get session(): Session {
51
+ return (this._session ??= new Session(this._options));
52
+ }
53
+
54
+ private _connection?: Connection;
55
+ get connection(): Connection {
56
+ return (this._connection ??= new Connection(this._options));
57
+ }
58
+
59
+ private _roles?: Roles;
60
+ get roles(): Roles {
61
+ return (this._roles ??= new Roles(this._options));
62
+ }
63
+
64
+ async bookmarkBadge(
65
+ request: components.V1AccountBadgeBookmarkRequestBody,
66
+ options?: RequestOptions,
67
+ ): Promise<operations.AccountV1BookmarkBadgeResponse> {
68
+ return unwrapAsync(accountBookmarkBadge(
69
+ this,
70
+ request,
71
+ options,
72
+ ));
73
+ }
74
+
75
+ async connect(
76
+ request: components.V1ConnectRequestBody,
77
+ options?: RequestOptions,
78
+ ): Promise<operations.AccountV1ConnectionConnectResponse> {
79
+ return unwrapAsync(accountConnect(
80
+ this,
81
+ request,
82
+ options,
83
+ ));
84
+ }
85
+
24
86
  async createDeveloperApp(
25
87
  request: components.V1DeveloperAppCreateRequestBody,
26
88
  options?: RequestOptions,
@@ -32,11 +94,22 @@ export class Account extends ClientSDK {
32
94
  ));
33
95
  }
34
96
 
35
- async deleteDeveloperApp(
36
- request: components.V1AccountDeveloperAppDeleteRequestBody,
97
+ async createSession(
98
+ request: operations.AccountV1SessionCreateRequest,
99
+ options?: RequestOptions,
100
+ ): Promise<operations.AccountV1SessionCreateResponse> {
101
+ return unwrapAsync(accountCreateSession(
102
+ this,
103
+ request,
104
+ options,
105
+ ));
106
+ }
107
+
108
+ async deleteConnection(
109
+ request: components.V1DeleteConnectionRequestBody,
37
110
  options?: RequestOptions,
38
- ): Promise<operations.AccountV1SettingsDeveloperAppDeleteResponse> {
39
- return unwrapAsync(accountDeleteDeveloperApp(
111
+ ): Promise<operations.AccountV1ConnectionDeleteConnectionResponse> {
112
+ return unwrapAsync(accountDeleteConnection(
40
113
  this,
41
114
  request,
42
115
  options,
@@ -54,11 +127,33 @@ export class Account extends ClientSDK {
54
127
  ));
55
128
  }
56
129
 
57
- async updateApp(
58
- request: components.V1AccountDeveloperAppUpdateRequestBody,
130
+ async emailSendVerification(
131
+ request: operations.AccountV1SettingsEmailSendVerificationRequest,
59
132
  options?: RequestOptions,
60
- ): Promise<operations.AccountV1SettingsDeveloperAppUpdateResponse> {
61
- return unwrapAsync(accountUpdateApp(
133
+ ): Promise<operations.AccountV1SettingsEmailSendVerificationResponse> {
134
+ return unwrapAsync(accountEmailSendVerification(
135
+ this,
136
+ request,
137
+ options,
138
+ ));
139
+ }
140
+
141
+ async emailSubscription(
142
+ request: operations.AccountV1SettingsEmailSubscribeRequest,
143
+ options?: RequestOptions,
144
+ ): Promise<operations.AccountV1SettingsEmailSubscribeResponse> {
145
+ return unwrapAsync(accountEmailSubscription(
146
+ this,
147
+ request,
148
+ options,
149
+ ));
150
+ }
151
+
152
+ async emailVerify(
153
+ request: components.V1VerifyEmailRequestBody,
154
+ options?: RequestOptions,
155
+ ): Promise<operations.AccountV1SettingsEmailVerifyResponse> {
156
+ return unwrapAsync(accountEmailVerify(
62
157
  this,
63
158
  request,
64
159
  options,
@@ -76,6 +171,15 @@ export class Account extends ClientSDK {
76
171
  ));
77
172
  }
78
173
 
174
+ async getBadgeBookmarks(
175
+ options?: RequestOptions,
176
+ ): Promise<operations.AccountV1GetBadgeBookmarksResponse> {
177
+ return unwrapAsync(accountGetBadgeBookmarks(
178
+ this,
179
+ options,
180
+ ));
181
+ }
182
+
79
183
  async getBadges(
80
184
  request: components.V1BadgesRequestBody,
81
185
  options?: RequestOptions,
@@ -109,6 +213,15 @@ export class Account extends ClientSDK {
109
213
  ));
110
214
  }
111
215
 
216
+ async getImages(
217
+ options?: RequestOptions,
218
+ ): Promise<operations.AccountV1ImagesGetResponse> {
219
+ return unwrapAsync(accountGetImages(
220
+ this,
221
+ options,
222
+ ));
223
+ }
224
+
112
225
  async getInfo(
113
226
  request: components.AccountSearch,
114
227
  options?: RequestOptions,
@@ -131,17 +244,44 @@ export class Account extends ClientSDK {
131
244
  ));
132
245
  }
133
246
 
134
- async accountV1GetMeta(
247
+ async getMeta(
135
248
  request: components.AccountSearch,
136
249
  options?: RequestOptions,
137
250
  ): Promise<operations.AccountV1GetMetaResponse> {
138
- return unwrapAsync(accountAccountV1GetMeta(
251
+ return unwrapAsync(accountGetMeta(
139
252
  this,
140
253
  request,
141
254
  options,
142
255
  ));
143
256
  }
144
257
 
258
+ async getOwnedBadges(
259
+ options?: RequestOptions,
260
+ ): Promise<operations.AccountV1GetOwnedBadgesResponse> {
261
+ return unwrapAsync(accountGetOwnedBadges(
262
+ this,
263
+ options,
264
+ ));
265
+ }
266
+
267
+ async getSession(
268
+ options?: RequestOptions,
269
+ ): Promise<operations.AccountV1SessionGetResponse> {
270
+ return unwrapAsync(accountGetSession(
271
+ this,
272
+ options,
273
+ ));
274
+ }
275
+
276
+ async getSettings(
277
+ options?: RequestOptions,
278
+ ): Promise<operations.AccountV1SettingsGetResponse> {
279
+ return unwrapAsync(accountGetSettings(
280
+ this,
281
+ options,
282
+ ));
283
+ }
284
+
145
285
  async getStaff(
146
286
  options?: RequestOptions,
147
287
  ): Promise<operations.AccountV1GetStaffResponse> {
@@ -151,6 +291,61 @@ export class Account extends ClientSDK {
151
291
  ));
152
292
  }
153
293
 
294
+ async login(
295
+ request: operations.AccountV1SessionLoginRequest,
296
+ options?: RequestOptions,
297
+ ): Promise<operations.AccountV1SessionLoginResponse> {
298
+ return unwrapAsync(accountLogin(
299
+ this,
300
+ request,
301
+ options,
302
+ ));
303
+ }
304
+
305
+ async queue(
306
+ request: components.V1AccountQueueRequestBody,
307
+ options?: RequestOptions,
308
+ ): Promise<operations.AccountV1QueueResponse> {
309
+ return unwrapAsync(accountQueue(
310
+ this,
311
+ request,
312
+ options,
313
+ ));
314
+ }
315
+
316
+ async reconnect(
317
+ request: components.V1ReconnectRequestBody,
318
+ options?: RequestOptions,
319
+ ): Promise<operations.AccountV1ConnectionReconnectResponse> {
320
+ return unwrapAsync(accountReconnect(
321
+ this,
322
+ request,
323
+ options,
324
+ ));
325
+ }
326
+
327
+ async updateImages(
328
+ request: components.V1UpdateImageRequestBody,
329
+ options?: RequestOptions,
330
+ ): Promise<operations.AccountV1ImagesUpdateResponse> {
331
+ return unwrapAsync(accountUpdateImages(
332
+ this,
333
+ request,
334
+ options,
335
+ ));
336
+ }
337
+
338
+ async updateSettings(
339
+ request: operations.AccountV1SettingsUpdateRequest,
340
+ options?: RequestOptions,
341
+ ): Promise<operations.AccountV1SettingsUpdateResponse> {
342
+ return unwrapAsync(accountUpdateSettings(
343
+ this,
344
+ request,
345
+ options,
346
+ ));
347
+ }
348
+
154
349
  async uploadImages(
155
350
  request: components.V1UploadImagesRequestBody,
156
351
  options?: RequestOptions,
@@ -161,4 +356,15 @@ export class Account extends ClientSDK {
161
356
  options,
162
357
  ));
163
358
  }
359
+
360
+ async verifyConnection(
361
+ request: components.V1VerifyConnectionRequestBody,
362
+ options?: RequestOptions,
363
+ ): Promise<operations.AccountV1ConnectionVerifyConnectionResponse> {
364
+ return unwrapAsync(accountVerifyConnection(
365
+ this,
366
+ request,
367
+ options,
368
+ ));
369
+ }
164
370
  }
package/src/sdk/admin.ts CHANGED
@@ -2,16 +2,23 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { adminAdminV1RemoveVanity } from "../funcs/adminAdminV1RemoveVanity.js";
6
5
  import { adminGetAccount } from "../funcs/adminGetAccount.js";
6
+ import { adminRemoveVanity } from "../funcs/adminRemoveVanity.js";
7
+ import { adminUpdateEvent } from "../funcs/adminUpdateEvent.js";
7
8
  import { adminUpdateResources } from "../funcs/adminUpdateResources.js";
8
9
  import { adminUpdateRoles } from "../funcs/adminUpdateRoles.js";
9
10
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
10
11
  import * as components from "../models/components/index.js";
11
12
  import * as operations from "../models/operations/index.js";
12
13
  import { unwrapAsync } from "../types/fp.js";
14
+ import { Events } from "./events.js";
13
15
 
14
16
  export class Admin extends ClientSDK {
17
+ private _events?: Events;
18
+ get events(): Events {
19
+ return (this._events ??= new Events(this._options));
20
+ }
21
+
15
22
  async getAccount(
16
23
  request: components.AccountSearch,
17
24
  options?: RequestOptions,
@@ -23,11 +30,22 @@ export class Admin extends ClientSDK {
23
30
  ));
24
31
  }
25
32
 
26
- async adminV1RemoveVanity(
33
+ async removeVanity(
27
34
  request: components.AccountSearch,
28
35
  options?: RequestOptions,
29
36
  ): Promise<operations.AdminV1RemoveVanityResponse> {
30
- return unwrapAsync(adminAdminV1RemoveVanity(
37
+ return unwrapAsync(adminRemoveVanity(
38
+ this,
39
+ request,
40
+ options,
41
+ ));
42
+ }
43
+
44
+ async updateEvent(
45
+ request: components.V1AdminUpdateEventRequestBody,
46
+ options?: RequestOptions,
47
+ ): Promise<operations.AdminV1UpdateEventResponse> {
48
+ return unwrapAsync(adminUpdateEvent(
31
49
  this,
32
50
  request,
33
51
  options,
package/src/sdk/app.ts CHANGED
@@ -2,18 +2,18 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { appAppV1ListBadges } from "../funcs/appAppV1ListBadges.js";
5
+ import { appListBadges } from "../funcs/appListBadges.js";
6
6
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
7
  import * as components from "../models/components/index.js";
8
8
  import * as operations from "../models/operations/index.js";
9
9
  import { unwrapAsync } from "../types/fp.js";
10
10
 
11
11
  export class App extends ClientSDK {
12
- async appV1ListBadges(
12
+ async listBadges(
13
13
  request: components.V1AppBadgeListRequestBody,
14
14
  options?: RequestOptions,
15
15
  ): Promise<operations.AppV1ListBadgesResponse> {
16
- return unwrapAsync(appAppV1ListBadges(
16
+ return unwrapAsync(appListBadges(
17
17
  this,
18
18
  request,
19
19
  options,
package/src/sdk/badge.ts CHANGED
@@ -2,9 +2,11 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { badgeBadgeV1SearchSuggest } from "../funcs/badgeBadgeV1SearchSuggest.js";
6
- import { badgeBadgeV1TagsSuggest } from "../funcs/badgeBadgeV1TagsSuggest.js";
7
5
  import { badgeGetTags } from "../funcs/badgeGetTags.js";
6
+ import { badgeSearch } from "../funcs/badgeSearch.js";
7
+ import { badgeSuggest } from "../funcs/badgeSuggest.js";
8
+ import { badgeSuggestTags } from "../funcs/badgeSuggestTags.js";
9
+ import { badgeTag } from "../funcs/badgeTag.js";
8
10
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
9
11
  import * as components from "../models/components/index.js";
10
12
  import * as operations from "../models/operations/index.js";
@@ -20,22 +22,44 @@ export class Badge extends ClientSDK {
20
22
  ));
21
23
  }
22
24
 
23
- async badgeV1SearchSuggest(
25
+ async search(
26
+ request: components.V1SearchRequest,
27
+ options?: RequestOptions,
28
+ ): Promise<operations.BadgeV1SearchResponse> {
29
+ return unwrapAsync(badgeSearch(
30
+ this,
31
+ request,
32
+ options,
33
+ ));
34
+ }
35
+
36
+ async suggest(
24
37
  request: components.V1BadgeSearchSuggesttRequestBody,
25
38
  options?: RequestOptions,
26
39
  ): Promise<operations.BadgeV1SearchSuggestResponse> {
27
- return unwrapAsync(badgeBadgeV1SearchSuggest(
40
+ return unwrapAsync(badgeSuggest(
28
41
  this,
29
42
  request,
30
43
  options,
31
44
  ));
32
45
  }
33
46
 
34
- async badgeV1TagsSuggest(
47
+ async suggestTags(
35
48
  request: components.V1BadgeTagsSuggestRequestBody,
36
49
  options?: RequestOptions,
37
50
  ): Promise<operations.BadgeV1TagsSuggestResponse> {
38
- return unwrapAsync(badgeBadgeV1TagsSuggest(
51
+ return unwrapAsync(badgeSuggestTags(
52
+ this,
53
+ request,
54
+ options,
55
+ ));
56
+ }
57
+
58
+ async tag(
59
+ request: components.V1BadgeTagRequestBody,
60
+ options?: RequestOptions,
61
+ ): Promise<operations.BadgeV1TagResponse> {
62
+ return unwrapAsync(badgeTag(
39
63
  this,
40
64
  request,
41
65
  options,
package/src/sdk/badges.ts CHANGED
@@ -2,64 +2,17 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { badgesBookmark } from "../funcs/badgesBookmark.js";
6
- import { badgesGetBookmarks } from "../funcs/badgesGetBookmarks.js";
7
- import { badgesGetOwned } from "../funcs/badgesGetOwned.js";
8
- import { badgesSearch } from "../funcs/badgesSearch.js";
9
- import { badgesTag } from "../funcs/badgesTag.js";
5
+ import { leaderboardBadgesGetList } from "../funcs/leaderboardBadgesGetList.js";
10
6
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
11
- import * as components from "../models/components/index.js";
12
7
  import * as operations from "../models/operations/index.js";
13
8
  import { unwrapAsync } from "../types/fp.js";
14
9
 
15
10
  export class Badges extends ClientSDK {
16
- async bookmark(
17
- request: components.V1AccountBadgeBookmarkRequestBody,
11
+ async getList(
18
12
  options?: RequestOptions,
19
- ): Promise<operations.AccountV1BookmarkBadgeResponse> {
20
- return unwrapAsync(badgesBookmark(
13
+ ): Promise<operations.LeaderboardV1GetBadgesResponse> {
14
+ return unwrapAsync(leaderboardBadgesGetList(
21
15
  this,
22
- request,
23
- options,
24
- ));
25
- }
26
-
27
- async getBookmarks(
28
- options?: RequestOptions,
29
- ): Promise<operations.AccountV1GetBadgeBookmarksResponse> {
30
- return unwrapAsync(badgesGetBookmarks(
31
- this,
32
- options,
33
- ));
34
- }
35
-
36
- async getOwned(
37
- options?: RequestOptions,
38
- ): Promise<operations.AccountV1GetOwnedBadgesResponse> {
39
- return unwrapAsync(badgesGetOwned(
40
- this,
41
- options,
42
- ));
43
- }
44
-
45
- async search(
46
- request: components.V1SearchRequest,
47
- options?: RequestOptions,
48
- ): Promise<operations.BadgeV1SearchResponse> {
49
- return unwrapAsync(badgesSearch(
50
- this,
51
- request,
52
- options,
53
- ));
54
- }
55
-
56
- async tag(
57
- request: components.V1BadgeTagRequestBody,
58
- options?: RequestOptions,
59
- ): Promise<operations.BadgeV1TagResponse> {
60
- return unwrapAsync(badgesTag(
61
- this,
62
- request,
63
16
  options,
64
17
  ));
65
18
  }
@@ -2,54 +2,18 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { connectionDelete } from "../funcs/connectionDelete.js";
6
- import { connectionReconnect } from "../funcs/connectionReconnect.js";
7
- import { connectionUpdate } from "../funcs/connectionUpdate.js";
8
- import { connectionVerify } from "../funcs/connectionVerify.js";
5
+ import { accountConnectionUpdate } from "../funcs/accountConnectionUpdate.js";
9
6
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
10
7
  import * as components from "../models/components/index.js";
11
8
  import * as operations from "../models/operations/index.js";
12
9
  import { unwrapAsync } from "../types/fp.js";
13
10
 
14
11
  export class Connection extends ClientSDK {
15
- async delete(
16
- request: components.V1DeleteConnectionRequestBody,
17
- options?: RequestOptions,
18
- ): Promise<operations.AccountV1ConnectionDeleteConnectionResponse> {
19
- return unwrapAsync(connectionDelete(
20
- this,
21
- request,
22
- options,
23
- ));
24
- }
25
-
26
- async reconnect(
27
- request: components.V1ReconnectRequestBody,
28
- options?: RequestOptions,
29
- ): Promise<operations.AccountV1ConnectionReconnectResponse> {
30
- return unwrapAsync(connectionReconnect(
31
- this,
32
- request,
33
- options,
34
- ));
35
- }
36
-
37
12
  async update(
38
13
  request: components.V1UpdateConnectionRequestBody,
39
14
  options?: RequestOptions,
40
15
  ): Promise<operations.AccountV1ConnectionUpdateConnectionResponse> {
41
- return unwrapAsync(connectionUpdate(
42
- this,
43
- request,
44
- options,
45
- ));
46
- }
47
-
48
- async verify(
49
- request: components.V1VerifyConnectionRequestBody,
50
- options?: RequestOptions,
51
- ): Promise<operations.AccountV1ConnectionVerifyConnectionResponse> {
52
- return unwrapAsync(connectionVerify(
16
+ return unwrapAsync(accountConnectionUpdate(
53
17
  this,
54
18
  request,
55
19
  options,
@@ -0,0 +1,34 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { accountDeveloperAppsDelete } from "../funcs/accountDeveloperAppsDelete.js";
6
+ import { accountDeveloperAppsUpdate } from "../funcs/accountDeveloperAppsUpdate.js";
7
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
+ import * as components from "../models/components/index.js";
9
+ import * as operations from "../models/operations/index.js";
10
+ import { unwrapAsync } from "../types/fp.js";
11
+
12
+ export class DeveloperApps extends ClientSDK {
13
+ async delete(
14
+ request: components.V1AccountDeveloperAppDeleteRequestBody,
15
+ options?: RequestOptions,
16
+ ): Promise<operations.AccountV1SettingsDeveloperAppDeleteResponse> {
17
+ return unwrapAsync(accountDeveloperAppsDelete(
18
+ this,
19
+ request,
20
+ options,
21
+ ));
22
+ }
23
+
24
+ async update(
25
+ request: components.V1AccountDeveloperAppUpdateRequestBody,
26
+ options?: RequestOptions,
27
+ ): Promise<operations.AccountV1SettingsDeveloperAppUpdateResponse> {
28
+ return unwrapAsync(accountDeveloperAppsUpdate(
29
+ this,
30
+ request,
31
+ options,
32
+ ));
33
+ }
34
+ }
package/src/sdk/events.ts CHANGED
@@ -2,10 +2,8 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { eventsGet } from "../funcs/eventsGet.js";
6
- import { eventsUpdate } from "../funcs/eventsUpdate.js";
5
+ import { adminEventsGet } from "../funcs/adminEventsGet.js";
7
6
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
- import * as components from "../models/components/index.js";
9
7
  import * as operations from "../models/operations/index.js";
10
8
  import { unwrapAsync } from "../types/fp.js";
11
9
 
@@ -13,20 +11,9 @@ export class Events extends ClientSDK {
13
11
  async get(
14
12
  options?: RequestOptions,
15
13
  ): Promise<operations.AdminV1GetEventsResponse> {
16
- return unwrapAsync(eventsGet(
14
+ return unwrapAsync(adminEventsGet(
17
15
  this,
18
16
  options,
19
17
  ));
20
18
  }
21
-
22
- async update(
23
- request: components.V1AdminUpdateEventRequestBody,
24
- options?: RequestOptions,
25
- ): Promise<operations.AdminV1UpdateEventResponse> {
26
- return unwrapAsync(eventsUpdate(
27
- this,
28
- request,
29
- options,
30
- ));
31
- }
32
19
  }
@@ -3,15 +3,20 @@
3
3
  */
4
4
 
5
5
  import { leaderboardGetAccount } from "../funcs/leaderboardGetAccount.js";
6
- import { leaderboardGetBadges } from "../funcs/leaderboardGetBadges.js";
6
+ import { leaderboardGetAccountMeta } from "../funcs/leaderboardGetAccountMeta.js";
7
7
  import { leaderboardGetGroup } from "../funcs/leaderboardGetGroup.js";
8
- import { leaderboardLeaderboardV1GetLeaderboardAccountMeta } from "../funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.js";
9
8
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
10
9
  import * as components from "../models/components/index.js";
11
10
  import * as operations from "../models/operations/index.js";
12
11
  import { unwrapAsync } from "../types/fp.js";
12
+ import { Badges } from "./badges.js";
13
13
 
14
14
  export class Leaderboard extends ClientSDK {
15
+ private _badges?: Badges;
16
+ get badges(): Badges {
17
+ return (this._badges ??= new Badges(this._options));
18
+ }
19
+
15
20
  async getAccount(
16
21
  request: components.V1AccountLeaderboardRequestBody,
17
22
  options?: RequestOptions,
@@ -23,26 +28,17 @@ export class Leaderboard extends ClientSDK {
23
28
  ));
24
29
  }
25
30
 
26
- async leaderboardV1GetLeaderboardAccountMeta(
31
+ async getAccountMeta(
27
32
  request: components.V1LeaderboardAccountMetaRequestBody,
28
33
  options?: RequestOptions,
29
34
  ): Promise<operations.LeaderboardV1GetLeaderboardAccountMetaResponse> {
30
- return unwrapAsync(leaderboardLeaderboardV1GetLeaderboardAccountMeta(
35
+ return unwrapAsync(leaderboardGetAccountMeta(
31
36
  this,
32
37
  request,
33
38
  options,
34
39
  ));
35
40
  }
36
41
 
37
- async getBadges(
38
- options?: RequestOptions,
39
- ): Promise<operations.LeaderboardV1GetBadgesResponse> {
40
- return unwrapAsync(leaderboardGetBadges(
41
- this,
42
- options,
43
- ));
44
- }
45
-
46
42
  async getGroup(
47
43
  request: components.V1GroupLeaderboardRequestBody,
48
44
  options?: RequestOptions,