@steamsets/client-ts 0.15.0 → 0.15.4

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 (357) hide show
  1. package/FUNCTIONS.md +4 -4
  2. package/README.md +60 -115
  3. package/docs/sdks/account/README.md +47 -904
  4. package/docs/sdks/admin/README.md +10 -171
  5. package/docs/sdks/badge/README.md +0 -302
  6. package/docs/sdks/badges/README.md +302 -0
  7. package/docs/sdks/connection/README.md +5 -5
  8. package/docs/sdks/{event → events}/README.md +12 -12
  9. package/docs/sdks/external/README.md +5 -5
  10. package/docs/sdks/images/README.md +10 -10
  11. package/docs/sdks/internal/README.md +30 -1206
  12. package/docs/sdks/settings/README.md +20 -20
  13. package/docs/sdks/stats/README.md +5 -5
  14. package/docs/sdks/steamsets/README.md +0 -78
  15. package/docs/sdks/webhooks/README.md +84 -0
  16. package/funcs/adminUpdateResources.d.ts +11 -0
  17. package/funcs/adminUpdateResources.d.ts.map +1 -0
  18. package/funcs/{adminAdminV1UpdateResources.js → adminUpdateResources.js} +3 -3
  19. package/funcs/adminUpdateResources.js.map +1 -0
  20. package/funcs/{accountAccountV1SettingsEmailSendVerification.d.ts → adminUpdateRoles.d.ts} +3 -2
  21. package/funcs/adminUpdateRoles.d.ts.map +1 -0
  22. package/funcs/{adminAdminV1UpdateRoles.js → adminUpdateRoles.js} +3 -3
  23. package/funcs/adminUpdateRoles.js.map +1 -0
  24. package/funcs/{eventAdminV1UpdateEvent.d.ts → badgesBookmark.d.ts} +2 -2
  25. package/funcs/badgesBookmark.d.ts.map +1 -0
  26. package/funcs/{badgeAccountV1BookmarkBadge.js → badgesBookmark.js} +3 -3
  27. package/funcs/badgesBookmark.js.map +1 -0
  28. package/funcs/{internalAccountV1ConnectionReconnect.d.ts → badgesGetBookmarks.d.ts} +2 -3
  29. package/funcs/badgesGetBookmarks.d.ts.map +1 -0
  30. package/funcs/{badgeAccountV1GetBadgeBookmarks.js → badgesGetBookmarks.js} +3 -3
  31. package/funcs/badgesGetBookmarks.js.map +1 -0
  32. package/funcs/{adminAdminV1GetEvents.d.ts → badgesGetOwned.d.ts} +2 -2
  33. package/funcs/badgesGetOwned.d.ts.map +1 -0
  34. package/funcs/{badgeAccountV1GetOwnedBadges.js → badgesGetOwned.js} +3 -3
  35. package/funcs/badgesGetOwned.js.map +1 -0
  36. package/funcs/{badgeBadgeV1Search.d.ts → badgesSearch.d.ts} +2 -2
  37. package/funcs/badgesSearch.d.ts.map +1 -0
  38. package/funcs/{badgeBadgeV1Search.js → badgesSearch.js} +3 -3
  39. package/funcs/badgesSearch.js.map +1 -0
  40. package/funcs/{adminAdminV1UpdateEvent.d.ts → connectionReconnect.d.ts} +2 -2
  41. package/funcs/connectionReconnect.d.ts.map +1 -0
  42. package/funcs/{accountAccountV1ConnectionReconnect.js → connectionReconnect.js} +3 -3
  43. package/funcs/connectionReconnect.js.map +1 -0
  44. package/funcs/{imagesAccountV1ImagesGet.d.ts → eventsGet.d.ts} +2 -2
  45. package/funcs/eventsGet.d.ts.map +1 -0
  46. package/funcs/{eventAdminV1GetEvents.js → eventsGet.js} +3 -3
  47. package/funcs/eventsGet.js.map +1 -0
  48. package/funcs/eventsUpdate.d.ts +11 -0
  49. package/funcs/eventsUpdate.d.ts.map +1 -0
  50. package/funcs/{eventAdminV1UpdateEvent.js → eventsUpdate.js} +3 -3
  51. package/funcs/eventsUpdate.js.map +1 -0
  52. package/funcs/{internalAccountV1ImagesGet.d.ts → externalGet.d.ts} +2 -2
  53. package/funcs/externalGet.d.ts.map +1 -0
  54. package/funcs/{statsStatsV1StatsGet.js → externalGet.js} +3 -3
  55. package/funcs/externalGet.js.map +1 -0
  56. package/funcs/{internalBadgeV1Search.d.ts → imagesGet.d.ts} +2 -3
  57. package/funcs/imagesGet.d.ts.map +1 -0
  58. package/funcs/{imagesAccountV1ImagesGet.js → imagesGet.js} +3 -3
  59. package/funcs/imagesGet.js.map +1 -0
  60. package/funcs/imagesUpdate.d.ts +11 -0
  61. package/funcs/imagesUpdate.d.ts.map +1 -0
  62. package/funcs/{imagesAccountV1ImagesUpdate.js → imagesUpdate.js} +3 -3
  63. package/funcs/imagesUpdate.js.map +1 -0
  64. package/funcs/{accountAccountV1SettingsEmailSubscribe.d.ts → settingsSendVerification.d.ts} +2 -2
  65. package/funcs/settingsSendVerification.d.ts.map +1 -0
  66. package/funcs/{accountAccountV1SettingsEmailSendVerification.js → settingsSendVerification.js} +3 -3
  67. package/funcs/settingsSendVerification.js.map +1 -0
  68. package/funcs/{badgeAccountV1BookmarkBadge.d.ts → settingsSubscribeEmail.d.ts} +2 -3
  69. package/funcs/settingsSubscribeEmail.d.ts.map +1 -0
  70. package/funcs/{accountAccountV1SettingsEmailSubscribe.js → settingsSubscribeEmail.js} +3 -3
  71. package/funcs/settingsSubscribeEmail.js.map +1 -0
  72. package/funcs/settingsUpdateRole.d.ts +11 -0
  73. package/funcs/{badgeBadgeV1Search.d.ts.map → settingsUpdateRole.d.ts.map} +1 -1
  74. package/funcs/{accountAccountV1SettingsUpdateRole.js → settingsUpdateRole.js} +3 -3
  75. package/funcs/{badgeBadgeV1Search.js.map → settingsUpdateRole.js.map} +1 -1
  76. package/funcs/{adminAdminV1UpdateRoles.d.ts → settingsVerifyEmail.d.ts} +2 -2
  77. package/funcs/settingsVerifyEmail.d.ts.map +1 -0
  78. package/funcs/{accountAccountV1SettingsEmailVerify.js → settingsVerifyEmail.js} +3 -3
  79. package/funcs/settingsVerifyEmail.js.map +1 -0
  80. package/funcs/{accountAccountV1ImagesGet.d.ts → statsGet.d.ts} +2 -2
  81. package/funcs/statsGet.d.ts.map +1 -0
  82. package/funcs/{externalStatsV1StatsGet.js → statsGet.js} +3 -3
  83. package/funcs/statsGet.js.map +1 -0
  84. package/funcs/{resendWebhook.d.ts → webhooksResend.d.ts} +2 -2
  85. package/funcs/webhooksResend.d.ts.map +1 -0
  86. package/funcs/{resendWebhook.js → webhooksResend.js} +3 -3
  87. package/funcs/webhooksResend.js.map +1 -0
  88. package/jsr.json +1 -1
  89. package/lib/config.d.ts +2 -2
  90. package/lib/config.js +2 -2
  91. package/package.json +1 -1
  92. package/sdk/account.d.ts +0 -11
  93. package/sdk/account.d.ts.map +1 -1
  94. package/sdk/account.js +0 -44
  95. package/sdk/account.js.map +1 -1
  96. package/sdk/admin.d.ts +2 -4
  97. package/sdk/admin.d.ts.map +1 -1
  98. package/sdk/admin.js +6 -14
  99. package/sdk/admin.js.map +1 -1
  100. package/sdk/badge.d.ts +0 -5
  101. package/sdk/badge.d.ts.map +1 -1
  102. package/sdk/badge.js +0 -16
  103. package/sdk/badge.js.map +1 -1
  104. package/sdk/badges.d.ts +4 -0
  105. package/sdk/badges.d.ts.map +1 -1
  106. package/sdk/badges.js +16 -0
  107. package/sdk/badges.js.map +1 -1
  108. package/sdk/connection.d.ts +1 -1
  109. package/sdk/connection.d.ts.map +1 -1
  110. package/sdk/connection.js +3 -3
  111. package/sdk/connection.js.map +1 -1
  112. package/sdk/events.d.ts +8 -0
  113. package/sdk/events.d.ts.map +1 -0
  114. package/sdk/events.js +20 -0
  115. package/sdk/events.js.map +1 -0
  116. package/sdk/external.d.ts +1 -1
  117. package/sdk/external.d.ts.map +1 -1
  118. package/sdk/external.js +3 -3
  119. package/sdk/external.js.map +1 -1
  120. package/sdk/images.d.ts +2 -2
  121. package/sdk/images.d.ts.map +1 -1
  122. package/sdk/images.js +6 -6
  123. package/sdk/images.js.map +1 -1
  124. package/sdk/internal.d.ts +0 -15
  125. package/sdk/internal.d.ts.map +1 -1
  126. package/sdk/internal.js +0 -60
  127. package/sdk/internal.js.map +1 -1
  128. package/sdk/sdk.d.ts +13 -12
  129. package/sdk/sdk.d.ts.map +1 -1
  130. package/sdk/sdk.js +13 -14
  131. package/sdk/sdk.js.map +1 -1
  132. package/sdk/settings.d.ts +4 -4
  133. package/sdk/settings.d.ts.map +1 -1
  134. package/sdk/settings.js +12 -12
  135. package/sdk/settings.js.map +1 -1
  136. package/sdk/stats.d.ts +1 -1
  137. package/sdk/stats.d.ts.map +1 -1
  138. package/sdk/stats.js +3 -3
  139. package/sdk/stats.js.map +1 -1
  140. package/sdk/webhooks.d.ts +6 -0
  141. package/sdk/webhooks.d.ts.map +1 -0
  142. package/sdk/webhooks.js +16 -0
  143. package/sdk/webhooks.js.map +1 -0
  144. package/src/funcs/{adminAdminV1UpdateResources.ts → adminUpdateResources.ts} +1 -1
  145. package/src/funcs/{adminAdminV1UpdateRoles.ts → adminUpdateRoles.ts} +1 -1
  146. package/src/funcs/{badgeAccountV1BookmarkBadge.ts → badgesBookmark.ts} +1 -1
  147. package/src/funcs/{badgeAccountV1GetBadgeBookmarks.ts → badgesGetBookmarks.ts} +1 -1
  148. package/src/funcs/{badgeAccountV1GetOwnedBadges.ts → badgesGetOwned.ts} +1 -1
  149. package/src/funcs/{badgeBadgeV1Search.ts → badgesSearch.ts} +1 -1
  150. package/src/funcs/{accountAccountV1ConnectionReconnect.ts → connectionReconnect.ts} +1 -1
  151. package/src/funcs/{adminAdminV1GetEvents.ts → eventsGet.ts} +1 -1
  152. package/src/funcs/{adminAdminV1UpdateEvent.ts → eventsUpdate.ts} +1 -1
  153. package/src/funcs/{statsStatsV1StatsGet.ts → externalGet.ts} +1 -1
  154. package/src/funcs/{imagesAccountV1ImagesGet.ts → imagesGet.ts} +1 -1
  155. package/src/funcs/{imagesAccountV1ImagesUpdate.ts → imagesUpdate.ts} +1 -1
  156. package/src/funcs/{accountAccountV1SettingsEmailSendVerification.ts → settingsSendVerification.ts} +1 -1
  157. package/src/funcs/{accountAccountV1SettingsEmailSubscribe.ts → settingsSubscribeEmail.ts} +1 -1
  158. package/src/funcs/{accountAccountV1SettingsUpdateRole.ts → settingsUpdateRole.ts} +1 -1
  159. package/src/funcs/{accountAccountV1SettingsEmailVerify.ts → settingsVerifyEmail.ts} +1 -1
  160. package/src/funcs/{externalStatsV1StatsGet.ts → statsGet.ts} +1 -1
  161. package/src/funcs/{resendWebhook.ts → webhooksResend.ts} +1 -1
  162. package/src/lib/config.ts +2 -2
  163. package/src/sdk/account.ts +0 -126
  164. package/src/sdk/admin.ts +6 -28
  165. package/src/sdk/badge.ts +0 -45
  166. package/src/sdk/badges.ts +44 -0
  167. package/src/sdk/connection.ts +3 -3
  168. package/src/sdk/{event.ts → events.ts} +7 -7
  169. package/src/sdk/external.ts +3 -3
  170. package/src/sdk/images.ts +6 -6
  171. package/src/sdk/internal.ts +0 -172
  172. package/src/sdk/sdk.ts +20 -28
  173. package/src/sdk/settings.ts +12 -12
  174. package/src/sdk/stats.ts +3 -3
  175. package/src/sdk/webhooks.ts +21 -0
  176. package/funcs/accountAccountV1ConnectionReconnect.d.ts +0 -11
  177. package/funcs/accountAccountV1ConnectionReconnect.d.ts.map +0 -1
  178. package/funcs/accountAccountV1ConnectionReconnect.js.map +0 -1
  179. package/funcs/accountAccountV1GetBadgeBookmarks.d.ts +0 -10
  180. package/funcs/accountAccountV1GetBadgeBookmarks.d.ts.map +0 -1
  181. package/funcs/accountAccountV1GetBadgeBookmarks.js +0 -102
  182. package/funcs/accountAccountV1GetBadgeBookmarks.js.map +0 -1
  183. package/funcs/accountAccountV1GetOwnedBadges.d.ts +0 -10
  184. package/funcs/accountAccountV1GetOwnedBadges.d.ts.map +0 -1
  185. package/funcs/accountAccountV1GetOwnedBadges.js +0 -102
  186. package/funcs/accountAccountV1GetOwnedBadges.js.map +0 -1
  187. package/funcs/accountAccountV1ImagesGet.d.ts.map +0 -1
  188. package/funcs/accountAccountV1ImagesGet.js +0 -100
  189. package/funcs/accountAccountV1ImagesGet.js.map +0 -1
  190. package/funcs/accountAccountV1ImagesUpdate.d.ts +0 -11
  191. package/funcs/accountAccountV1ImagesUpdate.d.ts.map +0 -1
  192. package/funcs/accountAccountV1ImagesUpdate.js +0 -113
  193. package/funcs/accountAccountV1ImagesUpdate.js.map +0 -1
  194. package/funcs/accountAccountV1SettingsEmailSendVerification.d.ts.map +0 -1
  195. package/funcs/accountAccountV1SettingsEmailSendVerification.js.map +0 -1
  196. package/funcs/accountAccountV1SettingsEmailSubscribe.d.ts.map +0 -1
  197. package/funcs/accountAccountV1SettingsEmailSubscribe.js.map +0 -1
  198. package/funcs/accountAccountV1SettingsEmailVerify.d.ts +0 -11
  199. package/funcs/accountAccountV1SettingsEmailVerify.d.ts.map +0 -1
  200. package/funcs/accountAccountV1SettingsEmailVerify.js.map +0 -1
  201. package/funcs/accountAccountV1SettingsUpdateRole.d.ts +0 -11
  202. package/funcs/accountAccountV1SettingsUpdateRole.d.ts.map +0 -1
  203. package/funcs/accountAccountV1SettingsUpdateRole.js.map +0 -1
  204. package/funcs/accountAdminV1UpdateResources.d.ts +0 -11
  205. package/funcs/accountAdminV1UpdateResources.d.ts.map +0 -1
  206. package/funcs/accountAdminV1UpdateResources.js +0 -111
  207. package/funcs/accountAdminV1UpdateResources.js.map +0 -1
  208. package/funcs/accountAdminV1UpdateRoles.d.ts +0 -11
  209. package/funcs/accountAdminV1UpdateRoles.d.ts.map +0 -1
  210. package/funcs/accountAdminV1UpdateRoles.js +0 -111
  211. package/funcs/accountAdminV1UpdateRoles.js.map +0 -1
  212. package/funcs/adminAdminV1GetEvents.d.ts.map +0 -1
  213. package/funcs/adminAdminV1GetEvents.js +0 -102
  214. package/funcs/adminAdminV1GetEvents.js.map +0 -1
  215. package/funcs/adminAdminV1UpdateEvent.d.ts.map +0 -1
  216. package/funcs/adminAdminV1UpdateEvent.js +0 -113
  217. package/funcs/adminAdminV1UpdateEvent.js.map +0 -1
  218. package/funcs/adminAdminV1UpdateResources.d.ts +0 -11
  219. package/funcs/adminAdminV1UpdateResources.d.ts.map +0 -1
  220. package/funcs/adminAdminV1UpdateResources.js.map +0 -1
  221. package/funcs/adminAdminV1UpdateRoles.d.ts.map +0 -1
  222. package/funcs/adminAdminV1UpdateRoles.js.map +0 -1
  223. package/funcs/badgeAccountV1BookmarkBadge.d.ts.map +0 -1
  224. package/funcs/badgeAccountV1BookmarkBadge.js.map +0 -1
  225. package/funcs/badgeAccountV1GetBadgeBookmarks.d.ts +0 -10
  226. package/funcs/badgeAccountV1GetBadgeBookmarks.d.ts.map +0 -1
  227. package/funcs/badgeAccountV1GetBadgeBookmarks.js.map +0 -1
  228. package/funcs/badgeAccountV1GetOwnedBadges.d.ts +0 -10
  229. package/funcs/badgeAccountV1GetOwnedBadges.d.ts.map +0 -1
  230. package/funcs/badgeAccountV1GetOwnedBadges.js.map +0 -1
  231. package/funcs/connectionAccountV1ConnectionReconnect.d.ts +0 -11
  232. package/funcs/connectionAccountV1ConnectionReconnect.d.ts.map +0 -1
  233. package/funcs/connectionAccountV1ConnectionReconnect.js +0 -113
  234. package/funcs/connectionAccountV1ConnectionReconnect.js.map +0 -1
  235. package/funcs/eventAdminV1GetEvents.d.ts +0 -10
  236. package/funcs/eventAdminV1GetEvents.d.ts.map +0 -1
  237. package/funcs/eventAdminV1GetEvents.js.map +0 -1
  238. package/funcs/eventAdminV1UpdateEvent.d.ts.map +0 -1
  239. package/funcs/eventAdminV1UpdateEvent.js.map +0 -1
  240. package/funcs/externalStatsV1StatsGet.d.ts +0 -10
  241. package/funcs/externalStatsV1StatsGet.d.ts.map +0 -1
  242. package/funcs/externalStatsV1StatsGet.js.map +0 -1
  243. package/funcs/imagesAccountV1ImagesGet.d.ts.map +0 -1
  244. package/funcs/imagesAccountV1ImagesGet.js.map +0 -1
  245. package/funcs/imagesAccountV1ImagesUpdate.d.ts +0 -11
  246. package/funcs/imagesAccountV1ImagesUpdate.d.ts.map +0 -1
  247. package/funcs/imagesAccountV1ImagesUpdate.js.map +0 -1
  248. package/funcs/internalAccountV1BookmarkBadge.d.ts +0 -11
  249. package/funcs/internalAccountV1BookmarkBadge.d.ts.map +0 -1
  250. package/funcs/internalAccountV1BookmarkBadge.js +0 -113
  251. package/funcs/internalAccountV1BookmarkBadge.js.map +0 -1
  252. package/funcs/internalAccountV1ConnectionReconnect.d.ts.map +0 -1
  253. package/funcs/internalAccountV1ConnectionReconnect.js +0 -113
  254. package/funcs/internalAccountV1ConnectionReconnect.js.map +0 -1
  255. package/funcs/internalAccountV1GetBadgeBookmarks.d.ts +0 -10
  256. package/funcs/internalAccountV1GetBadgeBookmarks.d.ts.map +0 -1
  257. package/funcs/internalAccountV1GetBadgeBookmarks.js +0 -102
  258. package/funcs/internalAccountV1GetBadgeBookmarks.js.map +0 -1
  259. package/funcs/internalAccountV1GetOwnedBadges.d.ts +0 -10
  260. package/funcs/internalAccountV1GetOwnedBadges.d.ts.map +0 -1
  261. package/funcs/internalAccountV1GetOwnedBadges.js +0 -102
  262. package/funcs/internalAccountV1GetOwnedBadges.js.map +0 -1
  263. package/funcs/internalAccountV1ImagesGet.d.ts.map +0 -1
  264. package/funcs/internalAccountV1ImagesGet.js +0 -100
  265. package/funcs/internalAccountV1ImagesGet.js.map +0 -1
  266. package/funcs/internalAccountV1ImagesUpdate.d.ts +0 -11
  267. package/funcs/internalAccountV1ImagesUpdate.d.ts.map +0 -1
  268. package/funcs/internalAccountV1ImagesUpdate.js +0 -113
  269. package/funcs/internalAccountV1ImagesUpdate.js.map +0 -1
  270. package/funcs/internalAccountV1SettingsEmailSendVerification.d.ts +0 -10
  271. package/funcs/internalAccountV1SettingsEmailSendVerification.d.ts.map +0 -1
  272. package/funcs/internalAccountV1SettingsEmailSendVerification.js +0 -111
  273. package/funcs/internalAccountV1SettingsEmailSendVerification.js.map +0 -1
  274. package/funcs/internalAccountV1SettingsEmailSubscribe.d.ts +0 -10
  275. package/funcs/internalAccountV1SettingsEmailSubscribe.d.ts.map +0 -1
  276. package/funcs/internalAccountV1SettingsEmailSubscribe.js +0 -113
  277. package/funcs/internalAccountV1SettingsEmailSubscribe.js.map +0 -1
  278. package/funcs/internalAccountV1SettingsEmailVerify.d.ts +0 -11
  279. package/funcs/internalAccountV1SettingsEmailVerify.d.ts.map +0 -1
  280. package/funcs/internalAccountV1SettingsEmailVerify.js +0 -113
  281. package/funcs/internalAccountV1SettingsEmailVerify.js.map +0 -1
  282. package/funcs/internalAccountV1SettingsUpdateRole.d.ts +0 -11
  283. package/funcs/internalAccountV1SettingsUpdateRole.d.ts.map +0 -1
  284. package/funcs/internalAccountV1SettingsUpdateRole.js +0 -113
  285. package/funcs/internalAccountV1SettingsUpdateRole.js.map +0 -1
  286. package/funcs/internalAdminV1GetEvents.d.ts +0 -10
  287. package/funcs/internalAdminV1GetEvents.d.ts.map +0 -1
  288. package/funcs/internalAdminV1GetEvents.js +0 -102
  289. package/funcs/internalAdminV1GetEvents.js.map +0 -1
  290. package/funcs/internalAdminV1UpdateEvent.d.ts +0 -11
  291. package/funcs/internalAdminV1UpdateEvent.d.ts.map +0 -1
  292. package/funcs/internalAdminV1UpdateEvent.js +0 -113
  293. package/funcs/internalAdminV1UpdateEvent.js.map +0 -1
  294. package/funcs/internalAdminV1UpdateResources.d.ts +0 -11
  295. package/funcs/internalAdminV1UpdateResources.d.ts.map +0 -1
  296. package/funcs/internalAdminV1UpdateResources.js +0 -111
  297. package/funcs/internalAdminV1UpdateResources.js.map +0 -1
  298. package/funcs/internalAdminV1UpdateRoles.d.ts +0 -11
  299. package/funcs/internalAdminV1UpdateRoles.d.ts.map +0 -1
  300. package/funcs/internalAdminV1UpdateRoles.js +0 -111
  301. package/funcs/internalAdminV1UpdateRoles.js.map +0 -1
  302. package/funcs/internalBadgeV1Search.d.ts.map +0 -1
  303. package/funcs/internalBadgeV1Search.js +0 -113
  304. package/funcs/internalBadgeV1Search.js.map +0 -1
  305. package/funcs/resendWebhook.d.ts.map +0 -1
  306. package/funcs/resendWebhook.js.map +0 -1
  307. package/funcs/settingsAccountV1SettingsEmailSendVerification.d.ts +0 -10
  308. package/funcs/settingsAccountV1SettingsEmailSendVerification.d.ts.map +0 -1
  309. package/funcs/settingsAccountV1SettingsEmailSendVerification.js +0 -111
  310. package/funcs/settingsAccountV1SettingsEmailSendVerification.js.map +0 -1
  311. package/funcs/settingsAccountV1SettingsEmailSubscribe.d.ts +0 -10
  312. package/funcs/settingsAccountV1SettingsEmailSubscribe.d.ts.map +0 -1
  313. package/funcs/settingsAccountV1SettingsEmailSubscribe.js +0 -113
  314. package/funcs/settingsAccountV1SettingsEmailSubscribe.js.map +0 -1
  315. package/funcs/settingsAccountV1SettingsEmailVerify.d.ts +0 -11
  316. package/funcs/settingsAccountV1SettingsEmailVerify.d.ts.map +0 -1
  317. package/funcs/settingsAccountV1SettingsEmailVerify.js +0 -113
  318. package/funcs/settingsAccountV1SettingsEmailVerify.js.map +0 -1
  319. package/funcs/settingsAccountV1SettingsUpdateRole.d.ts +0 -11
  320. package/funcs/settingsAccountV1SettingsUpdateRole.d.ts.map +0 -1
  321. package/funcs/settingsAccountV1SettingsUpdateRole.js +0 -113
  322. package/funcs/settingsAccountV1SettingsUpdateRole.js.map +0 -1
  323. package/funcs/statsStatsV1StatsGet.d.ts +0 -10
  324. package/funcs/statsStatsV1StatsGet.d.ts.map +0 -1
  325. package/funcs/statsStatsV1StatsGet.js.map +0 -1
  326. package/sdk/event.d.ts +0 -8
  327. package/sdk/event.d.ts.map +0 -1
  328. package/sdk/event.js +0 -20
  329. package/sdk/event.js.map +0 -1
  330. package/src/funcs/accountAccountV1GetBadgeBookmarks.ts +0 -132
  331. package/src/funcs/accountAccountV1GetOwnedBadges.ts +0 -132
  332. package/src/funcs/accountAccountV1ImagesGet.ts +0 -127
  333. package/src/funcs/accountAccountV1ImagesUpdate.ts +0 -149
  334. package/src/funcs/accountAdminV1UpdateResources.ts +0 -148
  335. package/src/funcs/accountAdminV1UpdateRoles.ts +0 -148
  336. package/src/funcs/connectionAccountV1ConnectionReconnect.ts +0 -149
  337. package/src/funcs/eventAdminV1GetEvents.ts +0 -132
  338. package/src/funcs/eventAdminV1UpdateEvent.ts +0 -150
  339. package/src/funcs/internalAccountV1BookmarkBadge.ts +0 -150
  340. package/src/funcs/internalAccountV1ConnectionReconnect.ts +0 -149
  341. package/src/funcs/internalAccountV1GetBadgeBookmarks.ts +0 -132
  342. package/src/funcs/internalAccountV1GetOwnedBadges.ts +0 -132
  343. package/src/funcs/internalAccountV1ImagesGet.ts +0 -127
  344. package/src/funcs/internalAccountV1ImagesUpdate.ts +0 -149
  345. package/src/funcs/internalAccountV1SettingsEmailSendVerification.ts +0 -156
  346. package/src/funcs/internalAccountV1SettingsEmailSubscribe.ts +0 -160
  347. package/src/funcs/internalAccountV1SettingsEmailVerify.ts +0 -149
  348. package/src/funcs/internalAccountV1SettingsUpdateRole.ts +0 -149
  349. package/src/funcs/internalAdminV1GetEvents.ts +0 -132
  350. package/src/funcs/internalAdminV1UpdateEvent.ts +0 -150
  351. package/src/funcs/internalAdminV1UpdateResources.ts +0 -148
  352. package/src/funcs/internalAdminV1UpdateRoles.ts +0 -148
  353. package/src/funcs/internalBadgeV1Search.ts +0 -149
  354. package/src/funcs/settingsAccountV1SettingsEmailSendVerification.ts +0 -156
  355. package/src/funcs/settingsAccountV1SettingsEmailSubscribe.ts +0 -160
  356. package/src/funcs/settingsAccountV1SettingsEmailVerify.ts +0 -149
  357. package/src/funcs/settingsAccountV1SettingsUpdateRole.ts +0 -149
@@ -8,10 +8,8 @@ Admin related operations, stay away from these.
8
8
  ### Available Operations
9
9
 
10
10
  * [getAccount](#getaccount)
11
- * [adminV1GetEvents](#adminv1getevents)
12
- * [adminV1UpdateEvent](#adminv1updateevent)
13
- * [adminV1UpdateResources](#adminv1updateresources)
14
- * [adminV1UpdateRoles](#adminv1updateroles)
11
+ * [updateResources](#updateresources)
12
+ * [updateRoles](#updateroles)
15
13
 
16
14
  ## getAccount
17
15
 
@@ -85,7 +83,7 @@ run();
85
83
  | errors.ErrorModel | 500 | application/problem+json |
86
84
  | errors.SDKError | 4XX, 5XX | \*/\* |
87
85
 
88
- ## adminV1GetEvents
86
+ ## updateResources
89
87
 
90
88
  ### Example Usage
91
89
 
@@ -97,166 +95,7 @@ const steamSets = new SteamSets({
97
95
  });
98
96
 
99
97
  async function run() {
100
- const result = await steamSets.admin.adminV1GetEvents();
101
-
102
- // Handle the result
103
- console.log(result);
104
- }
105
-
106
- run();
107
- ```
108
-
109
- ### Standalone function
110
-
111
- The standalone function version of this method:
112
-
113
- ```typescript
114
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
115
- import { adminAdminV1GetEvents } from "@steamsets/client-ts/funcs/adminAdminV1GetEvents.js";
116
-
117
- // Use `SteamSetsCore` for best tree-shaking performance.
118
- // You can create one instance of it to use across an application.
119
- const steamSets = new SteamSetsCore({
120
- token: "<YOUR_BEARER_TOKEN_HERE>",
121
- });
122
-
123
- async function run() {
124
- const res = await adminAdminV1GetEvents(steamSets);
125
-
126
- if (!res.ok) {
127
- throw res.error;
128
- }
129
-
130
- const { value: result } = res;
131
-
132
- // Handle the result
133
- console.log(result);
134
- }
135
-
136
- run();
137
- ```
138
-
139
- ### Parameters
140
-
141
- | Parameter | Type | Required | Description |
142
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
143
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
144
- | `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. |
145
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
146
-
147
- ### Response
148
-
149
- **Promise\<[operations.AdminV1GetEventsResponse](../../models/operations/adminv1geteventsresponse.md)\>**
150
-
151
- ### Errors
152
-
153
- | Error Type | Status Code | Content Type |
154
- | ------------------------ | ------------------------ | ------------------------ |
155
- | errors.ErrorModel | 403, 404, 429 | application/problem+json |
156
- | errors.ErrorModel | 500 | application/problem+json |
157
- | errors.SDKError | 4XX, 5XX | \*/\* |
158
-
159
- ## adminV1UpdateEvent
160
-
161
- ### Example Usage
162
-
163
- ```typescript
164
- import { SteamSets } from "@steamsets/client-ts";
165
-
166
- const steamSets = new SteamSets({
167
- token: "<YOUR_BEARER_TOKEN_HERE>",
168
- });
169
-
170
- async function run() {
171
- const result = await steamSets.admin.adminV1UpdateEvent({
172
- eventId: "evt_123456",
173
- mappings: [
174
- {
175
- appId: 730,
176
- steamId: 76561198842603730,
177
- },
178
- ],
179
- });
180
-
181
- // Handle the result
182
- console.log(result);
183
- }
184
-
185
- run();
186
- ```
187
-
188
- ### Standalone function
189
-
190
- The standalone function version of this method:
191
-
192
- ```typescript
193
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
194
- import { adminAdminV1UpdateEvent } from "@steamsets/client-ts/funcs/adminAdminV1UpdateEvent.js";
195
-
196
- // Use `SteamSetsCore` for best tree-shaking performance.
197
- // You can create one instance of it to use across an application.
198
- const steamSets = new SteamSetsCore({
199
- token: "<YOUR_BEARER_TOKEN_HERE>",
200
- });
201
-
202
- async function run() {
203
- const res = await adminAdminV1UpdateEvent(steamSets, {
204
- eventId: "evt_123456",
205
- mappings: [
206
- {
207
- appId: 730,
208
- steamId: 76561198842603730,
209
- },
210
- ],
211
- });
212
-
213
- if (!res.ok) {
214
- throw res.error;
215
- }
216
-
217
- const { value: result } = res;
218
-
219
- // Handle the result
220
- console.log(result);
221
- }
222
-
223
- run();
224
- ```
225
-
226
- ### Parameters
227
-
228
- | Parameter | Type | Required | Description |
229
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
230
- | `request` | [components.V1AdminUpdateEventRequestBody](../../models/components/v1adminupdateeventrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
231
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
232
- | `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. |
233
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
234
-
235
- ### Response
236
-
237
- **Promise\<[operations.AdminV1UpdateEventResponse](../../models/operations/adminv1updateeventresponse.md)\>**
238
-
239
- ### Errors
240
-
241
- | Error Type | Status Code | Content Type |
242
- | ------------------------ | ------------------------ | ------------------------ |
243
- | errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
244
- | errors.ErrorModel | 500 | application/problem+json |
245
- | errors.SDKError | 4XX, 5XX | \*/\* |
246
-
247
- ## adminV1UpdateResources
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.admin.adminV1UpdateResources({
98
+ const result = await steamSets.admin.updateResources({
260
99
  newResources: [
261
100
  {
262
101
  resource: "max_leaderboard_entries",
@@ -282,7 +121,7 @@ The standalone function version of this method:
282
121
 
283
122
  ```typescript
284
123
  import { SteamSetsCore } from "@steamsets/client-ts/core.js";
285
- import { adminAdminV1UpdateResources } from "@steamsets/client-ts/funcs/adminAdminV1UpdateResources.js";
124
+ import { adminUpdateResources } from "@steamsets/client-ts/funcs/adminUpdateResources.js";
286
125
 
287
126
  // Use `SteamSetsCore` for best tree-shaking performance.
288
127
  // You can create one instance of it to use across an application.
@@ -291,7 +130,7 @@ const steamSets = new SteamSetsCore({
291
130
  });
292
131
 
293
132
  async function run() {
294
- const res = await adminAdminV1UpdateResources(steamSets, {
133
+ const res = await adminUpdateResources(steamSets, {
295
134
  newResources: [
296
135
  {
297
136
  resource: "max_leaderboard_entries",
@@ -338,7 +177,7 @@ run();
338
177
  | errors.ErrorModel | 500 | application/problem+json |
339
178
  | errors.SDKError | 4XX, 5XX | \*/\* |
340
179
 
341
- ## adminV1UpdateRoles
180
+ ## updateRoles
342
181
 
343
182
  ### Example Usage
344
183
 
@@ -350,7 +189,7 @@ const steamSets = new SteamSets({
350
189
  });
351
190
 
352
191
  async function run() {
353
- const result = await steamSets.admin.adminV1UpdateRoles({
192
+ const result = await steamSets.admin.updateRoles({
354
193
  roles: [
355
194
 
356
195
  ],
@@ -369,7 +208,7 @@ The standalone function version of this method:
369
208
 
370
209
  ```typescript
371
210
  import { SteamSetsCore } from "@steamsets/client-ts/core.js";
372
- import { adminAdminV1UpdateRoles } from "@steamsets/client-ts/funcs/adminAdminV1UpdateRoles.js";
211
+ import { adminUpdateRoles } from "@steamsets/client-ts/funcs/adminUpdateRoles.js";
373
212
 
374
213
  // Use `SteamSetsCore` for best tree-shaking performance.
375
214
  // You can create one instance of it to use across an application.
@@ -378,7 +217,7 @@ const steamSets = new SteamSetsCore({
378
217
  });
379
218
 
380
219
  async function run() {
381
- const res = await adminAdminV1UpdateRoles(steamSets, {
220
+ const res = await adminUpdateRoles(steamSets, {
382
221
  roles: [
383
222
 
384
223
  ],
@@ -7,231 +7,7 @@ Any request that is related to steam badges, mostly badge search/tagging related
7
7
 
8
8
  ### Available Operations
9
9
 
10
- * [accountV1BookmarkBadge](#accountv1bookmarkbadge)
11
- * [accountV1GetBadgeBookmarks](#accountv1getbadgebookmarks)
12
- * [accountV1GetOwnedBadges](#accountv1getownedbadges)
13
10
  * [getTags](#gettags)
14
- * [badgeV1Search](#badgev1search)
15
-
16
- ## accountV1BookmarkBadge
17
-
18
- ### Example Usage
19
-
20
- ```typescript
21
- import { SteamSets } from "@steamsets/client-ts";
22
-
23
- const steamSets = new SteamSets({
24
- token: "<YOUR_BEARER_TOKEN_HERE>",
25
- });
26
-
27
- async function run() {
28
- const result = await steamSets.badge.accountV1BookmarkBadge({
29
- badgeId: "bdg_123",
30
- bookmark: true,
31
- });
32
-
33
- // Handle the result
34
- console.log(result);
35
- }
36
-
37
- run();
38
- ```
39
-
40
- ### Standalone function
41
-
42
- The standalone function version of this method:
43
-
44
- ```typescript
45
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
46
- import { badgeAccountV1BookmarkBadge } from "@steamsets/client-ts/funcs/badgeAccountV1BookmarkBadge.js";
47
-
48
- // Use `SteamSetsCore` for best tree-shaking performance.
49
- // You can create one instance of it to use across an application.
50
- const steamSets = new SteamSetsCore({
51
- token: "<YOUR_BEARER_TOKEN_HERE>",
52
- });
53
-
54
- async function run() {
55
- const res = await badgeAccountV1BookmarkBadge(steamSets, {
56
- badgeId: "bdg_123",
57
- bookmark: true,
58
- });
59
-
60
- if (!res.ok) {
61
- throw res.error;
62
- }
63
-
64
- const { value: result } = res;
65
-
66
- // Handle the result
67
- console.log(result);
68
- }
69
-
70
- run();
71
- ```
72
-
73
- ### Parameters
74
-
75
- | Parameter | Type | Required | Description |
76
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
77
- | `request` | [components.V1AccountBadgeBookmarkRequestBody](../../models/components/v1accountbadgebookmarkrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
78
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
79
- | `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. |
80
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
81
-
82
- ### Response
83
-
84
- **Promise\<[operations.AccountV1BookmarkBadgeResponse](../../models/operations/accountv1bookmarkbadgeresponse.md)\>**
85
-
86
- ### Errors
87
-
88
- | Error Type | Status Code | Content Type |
89
- | ------------------------ | ------------------------ | ------------------------ |
90
- | errors.ErrorModel | 403, 404, 422 | application/problem+json |
91
- | errors.ErrorModel | 500 | application/problem+json |
92
- | errors.SDKError | 4XX, 5XX | \*/\* |
93
-
94
- ## accountV1GetBadgeBookmarks
95
-
96
- ### Example Usage
97
-
98
- ```typescript
99
- import { SteamSets } from "@steamsets/client-ts";
100
-
101
- const steamSets = new SteamSets({
102
- token: "<YOUR_BEARER_TOKEN_HERE>",
103
- });
104
-
105
- async function run() {
106
- const result = await steamSets.badge.accountV1GetBadgeBookmarks();
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 { badgeAccountV1GetBadgeBookmarks } from "@steamsets/client-ts/funcs/badgeAccountV1GetBadgeBookmarks.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 badgeAccountV1GetBadgeBookmarks(steamSets);
131
-
132
- if (!res.ok) {
133
- throw res.error;
134
- }
135
-
136
- const { value: result } = res;
137
-
138
- // Handle the result
139
- console.log(result);
140
- }
141
-
142
- run();
143
- ```
144
-
145
- ### Parameters
146
-
147
- | Parameter | Type | Required | Description |
148
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
149
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
150
- | `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. |
151
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
152
-
153
- ### Response
154
-
155
- **Promise\<[operations.AccountV1GetBadgeBookmarksResponse](../../models/operations/accountv1getbadgebookmarksresponse.md)\>**
156
-
157
- ### Errors
158
-
159
- | Error Type | Status Code | Content Type |
160
- | ------------------------ | ------------------------ | ------------------------ |
161
- | errors.ErrorModel | 403, 404 | application/problem+json |
162
- | errors.ErrorModel | 500 | application/problem+json |
163
- | errors.SDKError | 4XX, 5XX | \*/\* |
164
-
165
- ## accountV1GetOwnedBadges
166
-
167
- ### Example Usage
168
-
169
- ```typescript
170
- import { SteamSets } from "@steamsets/client-ts";
171
-
172
- const steamSets = new SteamSets({
173
- token: "<YOUR_BEARER_TOKEN_HERE>",
174
- });
175
-
176
- async function run() {
177
- const result = await steamSets.badge.accountV1GetOwnedBadges();
178
-
179
- // Handle the result
180
- console.log(result);
181
- }
182
-
183
- run();
184
- ```
185
-
186
- ### Standalone function
187
-
188
- The standalone function version of this method:
189
-
190
- ```typescript
191
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
192
- import { badgeAccountV1GetOwnedBadges } from "@steamsets/client-ts/funcs/badgeAccountV1GetOwnedBadges.js";
193
-
194
- // Use `SteamSetsCore` for best tree-shaking performance.
195
- // You can create one instance of it to use across an application.
196
- const steamSets = new SteamSetsCore({
197
- token: "<YOUR_BEARER_TOKEN_HERE>",
198
- });
199
-
200
- async function run() {
201
- const res = await badgeAccountV1GetOwnedBadges(steamSets);
202
-
203
- if (!res.ok) {
204
- throw res.error;
205
- }
206
-
207
- const { value: result } = res;
208
-
209
- // Handle the result
210
- console.log(result);
211
- }
212
-
213
- run();
214
- ```
215
-
216
- ### Parameters
217
-
218
- | Parameter | Type | Required | Description |
219
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
220
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
221
- | `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. |
222
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
223
-
224
- ### Response
225
-
226
- **Promise\<[operations.AccountV1GetOwnedBadgesResponse](../../models/operations/accountv1getownedbadgesresponse.md)\>**
227
-
228
- ### Errors
229
-
230
- | Error Type | Status Code | Content Type |
231
- | ------------------------ | ------------------------ | ------------------------ |
232
- | errors.ErrorModel | 403, 404 | application/problem+json |
233
- | errors.ErrorModel | 500 | application/problem+json |
234
- | errors.SDKError | 4XX, 5XX | \*/\* |
235
11
 
236
12
  ## getTags
237
13
 
@@ -302,82 +78,4 @@ run();
302
78
  | ------------------------ | ------------------------ | ------------------------ |
303
79
  | errors.ErrorModel | 403, 404 | application/problem+json |
304
80
  | errors.ErrorModel | 500 | application/problem+json |
305
- | errors.SDKError | 4XX, 5XX | \*/\* |
306
-
307
- ## badgeV1Search
308
-
309
- ### Example Usage
310
-
311
- ```typescript
312
- import { SteamSets } from "@steamsets/client-ts";
313
-
314
- const steamSets = new SteamSets({
315
- token: "<YOUR_BEARER_TOKEN_HERE>",
316
- });
317
-
318
- async function run() {
319
- const result = await steamSets.badge.badgeV1Search({
320
- filter: "<value>",
321
- query: "<value>",
322
- });
323
-
324
- // Handle the result
325
- console.log(result);
326
- }
327
-
328
- run();
329
- ```
330
-
331
- ### Standalone function
332
-
333
- The standalone function version of this method:
334
-
335
- ```typescript
336
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
337
- import { badgeBadgeV1Search } from "@steamsets/client-ts/funcs/badgeBadgeV1Search.js";
338
-
339
- // Use `SteamSetsCore` for best tree-shaking performance.
340
- // You can create one instance of it to use across an application.
341
- const steamSets = new SteamSetsCore({
342
- token: "<YOUR_BEARER_TOKEN_HERE>",
343
- });
344
-
345
- async function run() {
346
- const res = await badgeBadgeV1Search(steamSets, {
347
- filter: "<value>",
348
- query: "<value>",
349
- });
350
-
351
- if (!res.ok) {
352
- throw res.error;
353
- }
354
-
355
- const { value: result } = res;
356
-
357
- // Handle the result
358
- console.log(result);
359
- }
360
-
361
- run();
362
- ```
363
-
364
- ### Parameters
365
-
366
- | Parameter | Type | Required | Description |
367
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
368
- | `request` | [components.V1SearchRequest](../../models/components/v1searchrequest.md) | :heavy_check_mark: | The request object to use for the request. |
369
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
370
- | `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. |
371
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
372
-
373
- ### Response
374
-
375
- **Promise\<[operations.BadgeV1SearchResponse](../../models/operations/badgev1searchresponse.md)\>**
376
-
377
- ### Errors
378
-
379
- | Error Type | Status Code | Content Type |
380
- | ------------------------ | ------------------------ | ------------------------ |
381
- | errors.ErrorModel | 403, 404, 422 | application/problem+json |
382
- | errors.ErrorModel | 500 | application/problem+json |
383
81
  | errors.SDKError | 4XX, 5XX | \*/\* |