@steamsets/client-ts 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (384) hide show
  1. package/README.md +15 -43
  2. package/docs/sdks/account/README.md +108 -170
  3. package/docs/sdks/app/README.md +4 -16
  4. package/docs/sdks/connection/README.md +24 -28
  5. package/docs/sdks/data/README.md +22 -65
  6. package/docs/sdks/liveness/README.md +2 -8
  7. package/docs/sdks/location/README.md +8 -9
  8. package/docs/sdks/public/README.md +14 -56
  9. package/docs/sdks/session/README.md +18 -32
  10. package/docs/sdks/settings/README.md +46 -53
  11. package/funcs/accountAccountV1ConnectionConnect.d.ts +1 -1
  12. package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
  13. package/funcs/accountAccountV1ConnectionConnect.js +5 -12
  14. package/funcs/accountAccountV1ConnectionConnect.js.map +1 -1
  15. package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts +1 -1
  16. package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  17. package/funcs/accountAccountV1ConnectionDeleteConnection.js +5 -12
  18. package/funcs/accountAccountV1ConnectionDeleteConnection.js.map +1 -1
  19. package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts +1 -1
  20. package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  21. package/funcs/accountAccountV1ConnectionUpdateConnection.js +5 -12
  22. package/funcs/accountAccountV1ConnectionUpdateConnection.js.map +1 -1
  23. package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts +1 -1
  24. package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  25. package/funcs/accountAccountV1ConnectionVerifyConnection.js +5 -12
  26. package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +1 -1
  27. package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
  28. package/funcs/accountAccountV1GetApps.js +3 -2
  29. package/funcs/accountAccountV1GetApps.js.map +1 -1
  30. package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
  31. package/funcs/accountAccountV1GetBadges.js +3 -2
  32. package/funcs/accountAccountV1GetBadges.js.map +1 -1
  33. package/funcs/accountAccountV1GetDataPoints.d.ts.map +1 -1
  34. package/funcs/accountAccountV1GetDataPoints.js +3 -2
  35. package/funcs/accountAccountV1GetDataPoints.js.map +1 -1
  36. package/funcs/accountAccountV1GetFriends.d.ts.map +1 -1
  37. package/funcs/accountAccountV1GetFriends.js +3 -2
  38. package/funcs/accountAccountV1GetFriends.js.map +1 -1
  39. package/funcs/accountAccountV1GetInfo.d.ts.map +1 -1
  40. package/funcs/accountAccountV1GetInfo.js +3 -2
  41. package/funcs/accountAccountV1GetInfo.js.map +1 -1
  42. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -1
  43. package/funcs/accountAccountV1GetLeaderboardHistory.js +3 -2
  44. package/funcs/accountAccountV1GetLeaderboardHistory.js.map +1 -1
  45. package/funcs/accountAccountV1GetStaff.d.ts +1 -1
  46. package/funcs/accountAccountV1GetStaff.d.ts.map +1 -1
  47. package/funcs/accountAccountV1GetStaff.js +5 -12
  48. package/funcs/accountAccountV1GetStaff.js.map +1 -1
  49. package/funcs/accountAccountV1SessionCreate.d.ts.map +1 -1
  50. package/funcs/accountAccountV1SessionCreate.js +3 -2
  51. package/funcs/accountAccountV1SessionCreate.js.map +1 -1
  52. package/funcs/accountAccountV1SessionDelete.d.ts +1 -1
  53. package/funcs/accountAccountV1SessionDelete.d.ts.map +1 -1
  54. package/funcs/accountAccountV1SessionDelete.js +5 -12
  55. package/funcs/accountAccountV1SessionDelete.js.map +1 -1
  56. package/funcs/accountAccountV1SessionGet.d.ts +1 -1
  57. package/funcs/accountAccountV1SessionGet.d.ts.map +1 -1
  58. package/funcs/accountAccountV1SessionGet.js +5 -12
  59. package/funcs/accountAccountV1SessionGet.js.map +1 -1
  60. package/funcs/accountAccountV1SessionLogin.d.ts.map +1 -1
  61. package/funcs/accountAccountV1SessionLogin.js +3 -2
  62. package/funcs/accountAccountV1SessionLogin.js.map +1 -1
  63. package/funcs/accountAccountV1SettingsDeleteImages.d.ts +1 -1
  64. package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -1
  65. package/funcs/accountAccountV1SettingsDeleteImages.js +5 -12
  66. package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -1
  67. package/funcs/accountAccountV1SettingsGet.d.ts +1 -1
  68. package/funcs/accountAccountV1SettingsGet.d.ts.map +1 -1
  69. package/funcs/accountAccountV1SettingsGet.js +5 -12
  70. package/funcs/accountAccountV1SettingsGet.js.map +1 -1
  71. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts +1 -1
  72. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  73. package/funcs/accountAccountV1SettingsSendEmailVerification.js +5 -12
  74. package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
  75. package/funcs/accountAccountV1SettingsUpdate.d.ts +1 -1
  76. package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
  77. package/funcs/accountAccountV1SettingsUpdate.js +5 -12
  78. package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
  79. package/funcs/accountAccountV1SettingsUpdateImage.d.ts +1 -1
  80. package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -1
  81. package/funcs/accountAccountV1SettingsUpdateImage.js +5 -12
  82. package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -1
  83. package/funcs/accountAccountV1SettingsUploadImages.d.ts +1 -1
  84. package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -1
  85. package/funcs/accountAccountV1SettingsUploadImages.js +5 -12
  86. package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -1
  87. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +1 -1
  88. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  89. package/funcs/accountAccountV1SettingsVerfyEmail.js +5 -12
  90. package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
  91. package/funcs/appAccountV1Queue.d.ts.map +1 -1
  92. package/funcs/appAccountV1Queue.js +3 -2
  93. package/funcs/appAccountV1Queue.js.map +1 -1
  94. package/funcs/appAppV1Get.d.ts.map +1 -1
  95. package/funcs/appAppV1Get.js +3 -2
  96. package/funcs/appAppV1Get.js.map +1 -1
  97. package/funcs/connectionAccountV1ConnectionConnect.d.ts +1 -1
  98. package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
  99. package/funcs/connectionAccountV1ConnectionConnect.js +5 -12
  100. package/funcs/connectionAccountV1ConnectionConnect.js.map +1 -1
  101. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts +1 -1
  102. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  103. package/funcs/connectionAccountV1ConnectionDeleteConnection.js +5 -12
  104. package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +1 -1
  105. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts +1 -1
  106. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  107. package/funcs/connectionAccountV1ConnectionUpdateConnection.js +5 -12
  108. package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +1 -1
  109. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts +1 -1
  110. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  111. package/funcs/connectionAccountV1ConnectionVerifyConnection.js +5 -12
  112. package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
  113. package/funcs/dataAccountV1GetApps.d.ts.map +1 -1
  114. package/funcs/dataAccountV1GetApps.js +3 -2
  115. package/funcs/dataAccountV1GetApps.js.map +1 -1
  116. package/funcs/dataAccountV1GetBadges.d.ts.map +1 -1
  117. package/funcs/dataAccountV1GetBadges.js +3 -2
  118. package/funcs/dataAccountV1GetBadges.js.map +1 -1
  119. package/funcs/dataAccountV1GetDataPoints.d.ts.map +1 -1
  120. package/funcs/dataAccountV1GetDataPoints.js +3 -2
  121. package/funcs/dataAccountV1GetDataPoints.js.map +1 -1
  122. package/funcs/dataAccountV1GetFriends.d.ts.map +1 -1
  123. package/funcs/dataAccountV1GetFriends.js +3 -2
  124. package/funcs/dataAccountV1GetFriends.js.map +1 -1
  125. package/funcs/dataAccountV1GetInfo.d.ts.map +1 -1
  126. package/funcs/dataAccountV1GetInfo.js +3 -2
  127. package/funcs/dataAccountV1GetInfo.js.map +1 -1
  128. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -1
  129. package/funcs/dataAccountV1GetLeaderboardHistory.js +3 -2
  130. package/funcs/dataAccountV1GetLeaderboardHistory.js.map +1 -1
  131. package/funcs/dataAccountV1GetStaff.d.ts +1 -1
  132. package/funcs/dataAccountV1GetStaff.d.ts.map +1 -1
  133. package/funcs/dataAccountV1GetStaff.js +5 -12
  134. package/funcs/dataAccountV1GetStaff.js.map +1 -1
  135. package/funcs/dataAccountV1Queue.d.ts.map +1 -1
  136. package/funcs/dataAccountV1Queue.js +3 -2
  137. package/funcs/dataAccountV1Queue.js.map +1 -1
  138. package/funcs/livenessLiveness.d.ts.map +1 -1
  139. package/funcs/livenessLiveness.js +3 -2
  140. package/funcs/livenessLiveness.js.map +1 -1
  141. package/funcs/locationLocation.d.ts +1 -1
  142. package/funcs/locationLocation.d.ts.map +1 -1
  143. package/funcs/locationLocation.js +5 -12
  144. package/funcs/locationLocation.js.map +1 -1
  145. package/funcs/publicAccountV1GetApps.d.ts.map +1 -1
  146. package/funcs/publicAccountV1GetApps.js +3 -2
  147. package/funcs/publicAccountV1GetApps.js.map +1 -1
  148. package/funcs/publicAccountV1GetBadges.d.ts.map +1 -1
  149. package/funcs/publicAccountV1GetBadges.js +3 -2
  150. package/funcs/publicAccountV1GetBadges.js.map +1 -1
  151. package/funcs/publicAccountV1GetDataPoints.d.ts.map +1 -1
  152. package/funcs/publicAccountV1GetDataPoints.js +3 -2
  153. package/funcs/publicAccountV1GetDataPoints.js.map +1 -1
  154. package/funcs/publicAccountV1GetFriends.d.ts.map +1 -1
  155. package/funcs/publicAccountV1GetFriends.js +3 -2
  156. package/funcs/publicAccountV1GetFriends.js.map +1 -1
  157. package/funcs/publicAccountV1GetInfo.d.ts.map +1 -1
  158. package/funcs/publicAccountV1GetInfo.js +3 -2
  159. package/funcs/publicAccountV1GetInfo.js.map +1 -1
  160. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -1
  161. package/funcs/publicAccountV1GetLeaderboardHistory.js +3 -2
  162. package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -1
  163. package/funcs/publicAccountV1Queue.d.ts.map +1 -1
  164. package/funcs/publicAccountV1Queue.js +3 -2
  165. package/funcs/publicAccountV1Queue.js.map +1 -1
  166. package/funcs/sessionAccountV1SessionCreate.d.ts.map +1 -1
  167. package/funcs/sessionAccountV1SessionCreate.js +3 -2
  168. package/funcs/sessionAccountV1SessionCreate.js.map +1 -1
  169. package/funcs/sessionAccountV1SessionDelete.d.ts +1 -1
  170. package/funcs/sessionAccountV1SessionDelete.d.ts.map +1 -1
  171. package/funcs/sessionAccountV1SessionDelete.js +5 -12
  172. package/funcs/sessionAccountV1SessionDelete.js.map +1 -1
  173. package/funcs/sessionAccountV1SessionGet.d.ts +1 -1
  174. package/funcs/sessionAccountV1SessionGet.d.ts.map +1 -1
  175. package/funcs/sessionAccountV1SessionGet.js +5 -12
  176. package/funcs/sessionAccountV1SessionGet.js.map +1 -1
  177. package/funcs/sessionAccountV1SessionLogin.d.ts.map +1 -1
  178. package/funcs/sessionAccountV1SessionLogin.js +3 -2
  179. package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
  180. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +1 -1
  181. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -1
  182. package/funcs/settingsAccountV1SettingsDeleteImages.js +5 -12
  183. package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -1
  184. package/funcs/settingsAccountV1SettingsGet.d.ts +1 -1
  185. package/funcs/settingsAccountV1SettingsGet.d.ts.map +1 -1
  186. package/funcs/settingsAccountV1SettingsGet.js +5 -12
  187. package/funcs/settingsAccountV1SettingsGet.js.map +1 -1
  188. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts +1 -1
  189. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  190. package/funcs/settingsAccountV1SettingsSendEmailVerification.js +5 -12
  191. package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
  192. package/funcs/settingsAccountV1SettingsUpdate.d.ts +1 -1
  193. package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
  194. package/funcs/settingsAccountV1SettingsUpdate.js +5 -12
  195. package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
  196. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +1 -1
  197. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -1
  198. package/funcs/settingsAccountV1SettingsUpdateImage.js +5 -12
  199. package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -1
  200. package/funcs/settingsAccountV1SettingsUploadImages.d.ts +1 -1
  201. package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -1
  202. package/funcs/settingsAccountV1SettingsUploadImages.js +5 -12
  203. package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -1
  204. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +1 -1
  205. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  206. package/funcs/settingsAccountV1SettingsVerfyEmail.js +5 -12
  207. package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
  208. package/lib/config.d.ts +3 -7
  209. package/lib/config.d.ts.map +1 -1
  210. package/lib/config.js +2 -2
  211. package/lib/config.js.map +1 -1
  212. package/lib/security.d.ts +2 -4
  213. package/lib/security.d.ts.map +1 -1
  214. package/lib/security.js +0 -8
  215. package/lib/security.js.map +1 -1
  216. package/models/components/security.d.ts +0 -2
  217. package/models/components/security.d.ts.map +1 -1
  218. package/models/components/security.js +0 -2
  219. package/models/components/security.js.map +1 -1
  220. package/models/operations/accountv1connectionconnect.d.ts +0 -23
  221. package/models/operations/accountv1connectionconnect.d.ts.map +1 -1
  222. package/models/operations/accountv1connectionconnect.js +1 -20
  223. package/models/operations/accountv1connectionconnect.js.map +1 -1
  224. package/models/operations/accountv1connectiondeleteconnection.d.ts +0 -23
  225. package/models/operations/accountv1connectiondeleteconnection.d.ts.map +1 -1
  226. package/models/operations/accountv1connectiondeleteconnection.js +1 -20
  227. package/models/operations/accountv1connectiondeleteconnection.js.map +1 -1
  228. package/models/operations/accountv1connectionupdateconnection.d.ts +0 -23
  229. package/models/operations/accountv1connectionupdateconnection.d.ts.map +1 -1
  230. package/models/operations/accountv1connectionupdateconnection.js +1 -20
  231. package/models/operations/accountv1connectionupdateconnection.js.map +1 -1
  232. package/models/operations/accountv1connectionverifyconnection.d.ts +0 -23
  233. package/models/operations/accountv1connectionverifyconnection.d.ts.map +1 -1
  234. package/models/operations/accountv1connectionverifyconnection.js +1 -20
  235. package/models/operations/accountv1connectionverifyconnection.js.map +1 -1
  236. package/models/operations/accountv1getstaff.d.ts +0 -23
  237. package/models/operations/accountv1getstaff.d.ts.map +1 -1
  238. package/models/operations/accountv1getstaff.js +1 -20
  239. package/models/operations/accountv1getstaff.js.map +1 -1
  240. package/models/operations/accountv1sessiondelete.d.ts +0 -23
  241. package/models/operations/accountv1sessiondelete.d.ts.map +1 -1
  242. package/models/operations/accountv1sessiondelete.js +1 -20
  243. package/models/operations/accountv1sessiondelete.js.map +1 -1
  244. package/models/operations/accountv1sessionget.d.ts +0 -23
  245. package/models/operations/accountv1sessionget.d.ts.map +1 -1
  246. package/models/operations/accountv1sessionget.js +1 -20
  247. package/models/operations/accountv1sessionget.js.map +1 -1
  248. package/models/operations/accountv1settingsdeleteimages.d.ts +0 -23
  249. package/models/operations/accountv1settingsdeleteimages.d.ts.map +1 -1
  250. package/models/operations/accountv1settingsdeleteimages.js +1 -20
  251. package/models/operations/accountv1settingsdeleteimages.js.map +1 -1
  252. package/models/operations/accountv1settingsget.d.ts +0 -23
  253. package/models/operations/accountv1settingsget.d.ts.map +1 -1
  254. package/models/operations/accountv1settingsget.js +1 -20
  255. package/models/operations/accountv1settingsget.js.map +1 -1
  256. package/models/operations/accountv1settingssendemailverification.d.ts +0 -23
  257. package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -1
  258. package/models/operations/accountv1settingssendemailverification.js +1 -20
  259. package/models/operations/accountv1settingssendemailverification.js.map +1 -1
  260. package/models/operations/accountv1settingsupdate.d.ts +0 -23
  261. package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
  262. package/models/operations/accountv1settingsupdate.js +1 -20
  263. package/models/operations/accountv1settingsupdate.js.map +1 -1
  264. package/models/operations/accountv1settingsupdateimage.d.ts +0 -23
  265. package/models/operations/accountv1settingsupdateimage.d.ts.map +1 -1
  266. package/models/operations/accountv1settingsupdateimage.js +1 -20
  267. package/models/operations/accountv1settingsupdateimage.js.map +1 -1
  268. package/models/operations/accountv1settingsuploadimages.d.ts +0 -23
  269. package/models/operations/accountv1settingsuploadimages.d.ts.map +1 -1
  270. package/models/operations/accountv1settingsuploadimages.js +1 -20
  271. package/models/operations/accountv1settingsuploadimages.js.map +1 -1
  272. package/models/operations/accountv1settingsverfyemail.d.ts +0 -23
  273. package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -1
  274. package/models/operations/accountv1settingsverfyemail.js +1 -20
  275. package/models/operations/accountv1settingsverfyemail.js.map +1 -1
  276. package/models/operations/location.d.ts +0 -23
  277. package/models/operations/location.d.ts.map +1 -1
  278. package/models/operations/location.js +1 -20
  279. package/models/operations/location.js.map +1 -1
  280. package/package.json +1 -1
  281. package/sdk/account.d.ts +14 -14
  282. package/sdk/account.d.ts.map +1 -1
  283. package/sdk/account.js +28 -28
  284. package/sdk/account.js.map +1 -1
  285. package/sdk/connection.d.ts +4 -4
  286. package/sdk/connection.d.ts.map +1 -1
  287. package/sdk/connection.js +8 -8
  288. package/sdk/connection.js.map +1 -1
  289. package/sdk/data.d.ts +1 -1
  290. package/sdk/data.d.ts.map +1 -1
  291. package/sdk/data.js +2 -2
  292. package/sdk/data.js.map +1 -1
  293. package/sdk/location.d.ts +1 -1
  294. package/sdk/location.d.ts.map +1 -1
  295. package/sdk/location.js +2 -2
  296. package/sdk/location.js.map +1 -1
  297. package/sdk/session.d.ts +2 -2
  298. package/sdk/session.d.ts.map +1 -1
  299. package/sdk/session.js +4 -4
  300. package/sdk/session.js.map +1 -1
  301. package/sdk/settings.d.ts +7 -7
  302. package/sdk/settings.d.ts.map +1 -1
  303. package/sdk/settings.js +14 -14
  304. package/sdk/settings.js.map +1 -1
  305. package/src/funcs/accountAccountV1ConnectionConnect.ts +5 -13
  306. package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +5 -13
  307. package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +5 -13
  308. package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +5 -13
  309. package/src/funcs/accountAccountV1GetApps.ts +3 -2
  310. package/src/funcs/accountAccountV1GetBadges.ts +3 -2
  311. package/src/funcs/accountAccountV1GetDataPoints.ts +3 -2
  312. package/src/funcs/accountAccountV1GetFriends.ts +3 -2
  313. package/src/funcs/accountAccountV1GetInfo.ts +3 -2
  314. package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +3 -2
  315. package/src/funcs/accountAccountV1GetStaff.ts +5 -13
  316. package/src/funcs/accountAccountV1SessionCreate.ts +3 -2
  317. package/src/funcs/accountAccountV1SessionDelete.ts +5 -13
  318. package/src/funcs/accountAccountV1SessionGet.ts +5 -13
  319. package/src/funcs/accountAccountV1SessionLogin.ts +3 -2
  320. package/src/funcs/accountAccountV1SettingsDeleteImages.ts +5 -13
  321. package/src/funcs/accountAccountV1SettingsGet.ts +5 -13
  322. package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +5 -13
  323. package/src/funcs/accountAccountV1SettingsUpdate.ts +5 -13
  324. package/src/funcs/accountAccountV1SettingsUpdateImage.ts +5 -13
  325. package/src/funcs/accountAccountV1SettingsUploadImages.ts +5 -13
  326. package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +5 -13
  327. package/src/funcs/appAccountV1Queue.ts +3 -2
  328. package/src/funcs/appAppV1Get.ts +3 -2
  329. package/src/funcs/connectionAccountV1ConnectionConnect.ts +5 -13
  330. package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +5 -13
  331. package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +5 -13
  332. package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +5 -13
  333. package/src/funcs/dataAccountV1GetApps.ts +3 -2
  334. package/src/funcs/dataAccountV1GetBadges.ts +3 -2
  335. package/src/funcs/dataAccountV1GetDataPoints.ts +3 -2
  336. package/src/funcs/dataAccountV1GetFriends.ts +3 -2
  337. package/src/funcs/dataAccountV1GetInfo.ts +3 -2
  338. package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +3 -2
  339. package/src/funcs/dataAccountV1GetStaff.ts +5 -13
  340. package/src/funcs/dataAccountV1Queue.ts +3 -2
  341. package/src/funcs/livenessLiveness.ts +3 -2
  342. package/src/funcs/locationLocation.ts +5 -13
  343. package/src/funcs/publicAccountV1GetApps.ts +3 -2
  344. package/src/funcs/publicAccountV1GetBadges.ts +3 -2
  345. package/src/funcs/publicAccountV1GetDataPoints.ts +3 -2
  346. package/src/funcs/publicAccountV1GetFriends.ts +3 -2
  347. package/src/funcs/publicAccountV1GetInfo.ts +3 -2
  348. package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +3 -2
  349. package/src/funcs/publicAccountV1Queue.ts +3 -2
  350. package/src/funcs/sessionAccountV1SessionCreate.ts +3 -2
  351. package/src/funcs/sessionAccountV1SessionDelete.ts +5 -13
  352. package/src/funcs/sessionAccountV1SessionGet.ts +5 -13
  353. package/src/funcs/sessionAccountV1SessionLogin.ts +3 -2
  354. package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +5 -13
  355. package/src/funcs/settingsAccountV1SettingsGet.ts +5 -13
  356. package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +5 -13
  357. package/src/funcs/settingsAccountV1SettingsUpdate.ts +5 -13
  358. package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +5 -13
  359. package/src/funcs/settingsAccountV1SettingsUploadImages.ts +5 -13
  360. package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +5 -13
  361. package/src/lib/config.ts +3 -7
  362. package/src/lib/security.ts +2 -11
  363. package/src/models/components/security.ts +0 -4
  364. package/src/models/operations/accountv1connectionconnect.ts +0 -41
  365. package/src/models/operations/accountv1connectiondeleteconnection.ts +0 -44
  366. package/src/models/operations/accountv1connectionupdateconnection.ts +0 -44
  367. package/src/models/operations/accountv1connectionverifyconnection.ts +0 -44
  368. package/src/models/operations/accountv1getstaff.ts +0 -40
  369. package/src/models/operations/accountv1sessiondelete.ts +0 -40
  370. package/src/models/operations/accountv1sessionget.ts +0 -40
  371. package/src/models/operations/accountv1settingsdeleteimages.ts +0 -42
  372. package/src/models/operations/accountv1settingsget.ts +0 -40
  373. package/src/models/operations/accountv1settingssendemailverification.ts +0 -45
  374. package/src/models/operations/accountv1settingsupdate.ts +0 -40
  375. package/src/models/operations/accountv1settingsupdateimage.ts +0 -42
  376. package/src/models/operations/accountv1settingsuploadimages.ts +0 -42
  377. package/src/models/operations/accountv1settingsverfyemail.ts +0 -42
  378. package/src/models/operations/location.ts +0 -40
  379. package/src/sdk/account.ts +0 -28
  380. package/src/sdk/connection.ts +0 -8
  381. package/src/sdk/data.ts +0 -2
  382. package/src/sdk/location.ts +0 -2
  383. package/src/sdk/session.ts +0 -4
  384. package/src/sdk/settings.ts +0 -14
@@ -39,14 +39,14 @@ Connect a new Social Provider
39
39
  ```typescript
40
40
  import { SteamSets } from "@steamsets/client-ts";
41
41
 
42
- const steamSets = new SteamSets();
42
+ const steamSets = new SteamSets({
43
+ session: "<YOUR_BEARER_TOKEN_HERE>",
44
+ });
43
45
 
44
46
  async function run() {
45
47
  const result = await steamSets.account.accountV1ConnectionConnect({
46
48
  code: "123456",
47
49
  provider: "discord",
48
- }, {
49
- session: "<YOUR_BEARER_TOKEN_HERE>",
50
50
  });
51
51
 
52
52
  // Handle the result
@@ -66,14 +66,14 @@ import { accountAccountV1ConnectionConnect } from "@steamsets/client-ts/funcs/ac
66
66
 
67
67
  // Use `SteamSetsCore` for best tree-shaking performance.
68
68
  // You can create one instance of it to use across an application.
69
- const steamSets = new SteamSetsCore();
69
+ const steamSets = new SteamSetsCore({
70
+ session: "<YOUR_BEARER_TOKEN_HERE>",
71
+ });
70
72
 
71
73
  async function run() {
72
74
  const res = await accountAccountV1ConnectionConnect(steamSets, {
73
75
  code: "123456",
74
76
  provider: "discord",
75
- }, {
76
- session: "<YOUR_BEARER_TOKEN_HERE>",
77
77
  });
78
78
 
79
79
  if (!res.ok) {
@@ -94,7 +94,6 @@ run();
94
94
  | Parameter | Type | Required | Description |
95
95
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
96
96
  | `request` | [components.V1ConnectRequestBody](../../models/components/v1connectrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
97
- | `security` | [operations.AccountV1ConnectionConnectSecurity](../../models/operations/accountv1connectionconnectsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
98
97
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
99
98
  | `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. |
100
99
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -121,10 +120,7 @@ Create a new session for non logged in users
121
120
  import { SteamSets } from "@steamsets/client-ts";
122
121
 
123
122
  const steamSets = new SteamSets({
124
- security: {
125
- apiKey: "<YOUR_API_KEY_HERE>",
126
- session: "<YOUR_BEARER_TOKEN_HERE>",
127
- },
123
+ session: "<YOUR_BEARER_TOKEN_HERE>",
128
124
  });
129
125
 
130
126
  async function run() {
@@ -148,10 +144,7 @@ import { accountAccountV1SessionCreate } from "@steamsets/client-ts/funcs/accoun
148
144
  // Use `SteamSetsCore` for best tree-shaking performance.
149
145
  // You can create one instance of it to use across an application.
150
146
  const steamSets = new SteamSetsCore({
151
- security: {
152
- apiKey: "<YOUR_API_KEY_HERE>",
153
- session: "<YOUR_BEARER_TOKEN_HERE>",
154
- },
147
+ session: "<YOUR_BEARER_TOKEN_HERE>",
155
148
  });
156
149
 
157
150
  async function run() {
@@ -200,13 +193,13 @@ Remove a connection
200
193
  ```typescript
201
194
  import { SteamSets } from "@steamsets/client-ts";
202
195
 
203
- const steamSets = new SteamSets();
196
+ const steamSets = new SteamSets({
197
+ session: "<YOUR_BEARER_TOKEN_HERE>",
198
+ });
204
199
 
205
200
  async function run() {
206
201
  const result = await steamSets.account.accountV1ConnectionDeleteConnection({
207
202
  connectionId: "123456",
208
- }, {
209
- session: "<YOUR_BEARER_TOKEN_HERE>",
210
203
  });
211
204
 
212
205
  // Handle the result
@@ -226,13 +219,13 @@ import { accountAccountV1ConnectionDeleteConnection } from "@steamsets/client-ts
226
219
 
227
220
  // Use `SteamSetsCore` for best tree-shaking performance.
228
221
  // You can create one instance of it to use across an application.
229
- const steamSets = new SteamSetsCore();
222
+ const steamSets = new SteamSetsCore({
223
+ session: "<YOUR_BEARER_TOKEN_HERE>",
224
+ });
230
225
 
231
226
  async function run() {
232
227
  const res = await accountAccountV1ConnectionDeleteConnection(steamSets, {
233
228
  connectionId: "123456",
234
- }, {
235
- session: "<YOUR_BEARER_TOKEN_HERE>",
236
229
  });
237
230
 
238
231
  if (!res.ok) {
@@ -253,7 +246,6 @@ run();
253
246
  | Parameter | Type | Required | Description |
254
247
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
255
248
  | `request` | [components.V1DeleteConnectionRequestBody](../../models/components/v1deleteconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
256
- | `security` | [operations.AccountV1ConnectionDeleteConnectionSecurity](../../models/operations/accountv1connectiondeleteconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
257
249
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
258
250
  | `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. |
259
251
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -279,15 +271,15 @@ Delete mulitple imagest
279
271
  ```typescript
280
272
  import { SteamSets } from "@steamsets/client-ts";
281
273
 
282
- const steamSets = new SteamSets();
274
+ const steamSets = new SteamSets({
275
+ session: "<YOUR_BEARER_TOKEN_HERE>",
276
+ });
283
277
 
284
278
  async function run() {
285
279
  const result = await steamSets.account.accountV1SettingsDeleteImages({
286
280
  imageIds: [
287
281
  "<value>",
288
282
  ],
289
- }, {
290
- session: "<YOUR_BEARER_TOKEN_HERE>",
291
283
  });
292
284
 
293
285
  // Handle the result
@@ -307,15 +299,15 @@ import { accountAccountV1SettingsDeleteImages } from "@steamsets/client-ts/funcs
307
299
 
308
300
  // Use `SteamSetsCore` for best tree-shaking performance.
309
301
  // You can create one instance of it to use across an application.
310
- const steamSets = new SteamSetsCore();
302
+ const steamSets = new SteamSetsCore({
303
+ session: "<YOUR_BEARER_TOKEN_HERE>",
304
+ });
311
305
 
312
306
  async function run() {
313
307
  const res = await accountAccountV1SettingsDeleteImages(steamSets, {
314
308
  imageIds: [
315
309
  "<value>",
316
310
  ],
317
- }, {
318
- session: "<YOUR_BEARER_TOKEN_HERE>",
319
311
  });
320
312
 
321
313
  if (!res.ok) {
@@ -336,7 +328,6 @@ run();
336
328
  | Parameter | Type | Required | Description |
337
329
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
338
330
  | `request` | [components.V1DeleteImagesRequestBody](../../models/components/v1deleteimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
339
- | `security` | [operations.AccountV1SettingsDeleteImagesSecurity](../../models/operations/accountv1settingsdeleteimagessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
340
331
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
341
332
  | `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. |
342
333
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -362,13 +353,13 @@ Deletes a session, can also be used to logout
362
353
  ```typescript
363
354
  import { SteamSets } from "@steamsets/client-ts";
364
355
 
365
- const steamSets = new SteamSets();
356
+ const steamSets = new SteamSets({
357
+ session: "<YOUR_BEARER_TOKEN_HERE>",
358
+ });
366
359
 
367
360
  async function run() {
368
361
  const result = await steamSets.account.accountV1SessionDelete({
369
362
  sessionId: "123456",
370
- }, {
371
- session: "<YOUR_BEARER_TOKEN_HERE>",
372
363
  });
373
364
 
374
365
  // Handle the result
@@ -388,13 +379,13 @@ import { accountAccountV1SessionDelete } from "@steamsets/client-ts/funcs/accoun
388
379
 
389
380
  // Use `SteamSetsCore` for best tree-shaking performance.
390
381
  // You can create one instance of it to use across an application.
391
- const steamSets = new SteamSetsCore();
382
+ const steamSets = new SteamSetsCore({
383
+ session: "<YOUR_BEARER_TOKEN_HERE>",
384
+ });
392
385
 
393
386
  async function run() {
394
387
  const res = await accountAccountV1SessionDelete(steamSets, {
395
388
  sessionId: "123456",
396
- }, {
397
- session: "<YOUR_BEARER_TOKEN_HERE>",
398
389
  });
399
390
 
400
391
  if (!res.ok) {
@@ -415,7 +406,6 @@ run();
415
406
  | Parameter | Type | Required | Description |
416
407
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
417
408
  | `request` | [components.V1DeleteSessionRequestBody](../../models/components/v1deletesessionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
418
- | `security` | [operations.AccountV1SessionDeleteSecurity](../../models/operations/accountv1sessiondeletesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
419
409
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
420
410
  | `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. |
421
411
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -442,10 +432,7 @@ Get Account Apps
442
432
  import { SteamSets } from "@steamsets/client-ts";
443
433
 
444
434
  const steamSets = new SteamSets({
445
- security: {
446
- apiKey: "<YOUR_API_KEY_HERE>",
447
- session: "<YOUR_BEARER_TOKEN_HERE>",
448
- },
435
+ session: "<YOUR_BEARER_TOKEN_HERE>",
449
436
  });
450
437
 
451
438
  async function run() {
@@ -469,10 +456,7 @@ import { accountAccountV1GetApps } from "@steamsets/client-ts/funcs/accountAccou
469
456
  // Use `SteamSetsCore` for best tree-shaking performance.
470
457
  // You can create one instance of it to use across an application.
471
458
  const steamSets = new SteamSetsCore({
472
- security: {
473
- apiKey: "<YOUR_API_KEY_HERE>",
474
- session: "<YOUR_BEARER_TOKEN_HERE>",
475
- },
459
+ session: "<YOUR_BEARER_TOKEN_HERE>",
476
460
  });
477
461
 
478
462
  async function run() {
@@ -522,10 +506,7 @@ Get Account Badges
522
506
  import { SteamSets } from "@steamsets/client-ts";
523
507
 
524
508
  const steamSets = new SteamSets({
525
- security: {
526
- apiKey: "<YOUR_API_KEY_HERE>",
527
- session: "<YOUR_BEARER_TOKEN_HERE>",
528
- },
509
+ session: "<YOUR_BEARER_TOKEN_HERE>",
529
510
  });
530
511
 
531
512
  async function run() {
@@ -549,10 +530,7 @@ import { accountAccountV1GetBadges } from "@steamsets/client-ts/funcs/accountAcc
549
530
  // Use `SteamSetsCore` for best tree-shaking performance.
550
531
  // You can create one instance of it to use across an application.
551
532
  const steamSets = new SteamSetsCore({
552
- security: {
553
- apiKey: "<YOUR_API_KEY_HERE>",
554
- session: "<YOUR_BEARER_TOKEN_HERE>",
555
- },
533
+ session: "<YOUR_BEARER_TOKEN_HERE>",
556
534
  });
557
535
 
558
536
  async function run() {
@@ -602,10 +580,7 @@ Get Account DataPoints
602
580
  import { SteamSets } from "@steamsets/client-ts";
603
581
 
604
582
  const steamSets = new SteamSets({
605
- security: {
606
- apiKey: "<YOUR_API_KEY_HERE>",
607
- session: "<YOUR_BEARER_TOKEN_HERE>",
608
- },
583
+ session: "<YOUR_BEARER_TOKEN_HERE>",
609
584
  });
610
585
 
611
586
  async function run() {
@@ -629,10 +604,7 @@ import { accountAccountV1GetDataPoints } from "@steamsets/client-ts/funcs/accoun
629
604
  // Use `SteamSetsCore` for best tree-shaking performance.
630
605
  // You can create one instance of it to use across an application.
631
606
  const steamSets = new SteamSetsCore({
632
- security: {
633
- apiKey: "<YOUR_API_KEY_HERE>",
634
- session: "<YOUR_BEARER_TOKEN_HERE>",
635
- },
607
+ session: "<YOUR_BEARER_TOKEN_HERE>",
636
608
  });
637
609
 
638
610
  async function run() {
@@ -682,10 +654,7 @@ Get Account Friends
682
654
  import { SteamSets } from "@steamsets/client-ts";
683
655
 
684
656
  const steamSets = new SteamSets({
685
- security: {
686
- apiKey: "<YOUR_API_KEY_HERE>",
687
- session: "<YOUR_BEARER_TOKEN_HERE>",
688
- },
657
+ session: "<YOUR_BEARER_TOKEN_HERE>",
689
658
  });
690
659
 
691
660
  async function run() {
@@ -709,10 +678,7 @@ import { accountAccountV1GetFriends } from "@steamsets/client-ts/funcs/accountAc
709
678
  // Use `SteamSetsCore` for best tree-shaking performance.
710
679
  // You can create one instance of it to use across an application.
711
680
  const steamSets = new SteamSetsCore({
712
- security: {
713
- apiKey: "<YOUR_API_KEY_HERE>",
714
- session: "<YOUR_BEARER_TOKEN_HERE>",
715
- },
681
+ session: "<YOUR_BEARER_TOKEN_HERE>",
716
682
  });
717
683
 
718
684
  async function run() {
@@ -762,10 +728,7 @@ Get Account Info
762
728
  import { SteamSets } from "@steamsets/client-ts";
763
729
 
764
730
  const steamSets = new SteamSets({
765
- security: {
766
- apiKey: "<YOUR_API_KEY_HERE>",
767
- session: "<YOUR_BEARER_TOKEN_HERE>",
768
- },
731
+ session: "<YOUR_BEARER_TOKEN_HERE>",
769
732
  });
770
733
 
771
734
  async function run() {
@@ -789,10 +752,7 @@ import { accountAccountV1GetInfo } from "@steamsets/client-ts/funcs/accountAccou
789
752
  // Use `SteamSetsCore` for best tree-shaking performance.
790
753
  // You can create one instance of it to use across an application.
791
754
  const steamSets = new SteamSetsCore({
792
- security: {
793
- apiKey: "<YOUR_API_KEY_HERE>",
794
- session: "<YOUR_BEARER_TOKEN_HERE>",
795
- },
755
+ session: "<YOUR_BEARER_TOKEN_HERE>",
796
756
  });
797
757
 
798
758
  async function run() {
@@ -842,10 +802,7 @@ Get Account Leaderboard History
842
802
  import { SteamSets } from "@steamsets/client-ts";
843
803
 
844
804
  const steamSets = new SteamSets({
845
- security: {
846
- apiKey: "<YOUR_API_KEY_HERE>",
847
- session: "<YOUR_BEARER_TOKEN_HERE>",
848
- },
805
+ session: "<YOUR_BEARER_TOKEN_HERE>",
849
806
  });
850
807
 
851
808
  async function run() {
@@ -869,10 +826,7 @@ import { accountAccountV1GetLeaderboardHistory } from "@steamsets/client-ts/func
869
826
  // Use `SteamSetsCore` for best tree-shaking performance.
870
827
  // You can create one instance of it to use across an application.
871
828
  const steamSets = new SteamSetsCore({
872
- security: {
873
- apiKey: "<YOUR_API_KEY_HERE>",
874
- session: "<YOUR_BEARER_TOKEN_HERE>",
875
- },
829
+ session: "<YOUR_BEARER_TOKEN_HERE>",
876
830
  });
877
831
 
878
832
  async function run() {
@@ -921,12 +875,12 @@ Gets all session data
921
875
  ```typescript
922
876
  import { SteamSets } from "@steamsets/client-ts";
923
877
 
924
- const steamSets = new SteamSets();
878
+ const steamSets = new SteamSets({
879
+ session: "<YOUR_BEARER_TOKEN_HERE>",
880
+ });
925
881
 
926
882
  async function run() {
927
- const result = await steamSets.account.accountV1SessionGet({
928
- session: "<YOUR_BEARER_TOKEN_HERE>",
929
- });
883
+ const result = await steamSets.account.accountV1SessionGet();
930
884
 
931
885
  // Handle the result
932
886
  console.log(result)
@@ -945,12 +899,12 @@ import { accountAccountV1SessionGet } from "@steamsets/client-ts/funcs/accountAc
945
899
 
946
900
  // Use `SteamSetsCore` for best tree-shaking performance.
947
901
  // You can create one instance of it to use across an application.
948
- const steamSets = new SteamSetsCore();
902
+ const steamSets = new SteamSetsCore({
903
+ session: "<YOUR_BEARER_TOKEN_HERE>",
904
+ });
949
905
 
950
906
  async function run() {
951
- const res = await accountAccountV1SessionGet(steamSets, {
952
- session: "<YOUR_BEARER_TOKEN_HERE>",
953
- });
907
+ const res = await accountAccountV1SessionGet(steamSets);
954
908
 
955
909
  if (!res.ok) {
956
910
  throw res.error;
@@ -969,7 +923,6 @@ run();
969
923
 
970
924
  | Parameter | Type | Required | Description |
971
925
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
972
- | `security` | [operations.AccountV1SessionGetSecurity](../../models/operations/accountv1sessiongetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
973
926
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
974
927
  | `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. |
975
928
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -995,12 +948,12 @@ Gets all settings for the account
995
948
  ```typescript
996
949
  import { SteamSets } from "@steamsets/client-ts";
997
950
 
998
- const steamSets = new SteamSets();
951
+ const steamSets = new SteamSets({
952
+ session: "<YOUR_BEARER_TOKEN_HERE>",
953
+ });
999
954
 
1000
955
  async function run() {
1001
- const result = await steamSets.account.accountV1SettingsGet({
1002
- session: "<YOUR_BEARER_TOKEN_HERE>",
1003
- });
956
+ const result = await steamSets.account.accountV1SettingsGet();
1004
957
 
1005
958
  // Handle the result
1006
959
  console.log(result)
@@ -1019,12 +972,12 @@ import { accountAccountV1SettingsGet } from "@steamsets/client-ts/funcs/accountA
1019
972
 
1020
973
  // Use `SteamSetsCore` for best tree-shaking performance.
1021
974
  // You can create one instance of it to use across an application.
1022
- const steamSets = new SteamSetsCore();
975
+ const steamSets = new SteamSetsCore({
976
+ session: "<YOUR_BEARER_TOKEN_HERE>",
977
+ });
1023
978
 
1024
979
  async function run() {
1025
- const res = await accountAccountV1SettingsGet(steamSets, {
1026
- session: "<YOUR_BEARER_TOKEN_HERE>",
1027
- });
980
+ const res = await accountAccountV1SettingsGet(steamSets);
1028
981
 
1029
982
  if (!res.ok) {
1030
983
  throw res.error;
@@ -1043,7 +996,6 @@ run();
1043
996
 
1044
997
  | Parameter | Type | Required | Description |
1045
998
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1046
- | `security` | [operations.AccountV1SettingsGetSecurity](../../models/operations/accountv1settingsgetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1047
999
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1048
1000
  | `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. |
1049
1001
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1069,12 +1021,12 @@ Get Staff Members and their info
1069
1021
  ```typescript
1070
1022
  import { SteamSets } from "@steamsets/client-ts";
1071
1023
 
1072
- const steamSets = new SteamSets();
1024
+ const steamSets = new SteamSets({
1025
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1026
+ });
1073
1027
 
1074
1028
  async function run() {
1075
- const result = await steamSets.account.accountV1GetStaff({
1076
- session: "<YOUR_BEARER_TOKEN_HERE>",
1077
- });
1029
+ const result = await steamSets.account.accountV1GetStaff();
1078
1030
 
1079
1031
  // Handle the result
1080
1032
  console.log(result)
@@ -1093,12 +1045,12 @@ import { accountAccountV1GetStaff } from "@steamsets/client-ts/funcs/accountAcco
1093
1045
 
1094
1046
  // Use `SteamSetsCore` for best tree-shaking performance.
1095
1047
  // You can create one instance of it to use across an application.
1096
- const steamSets = new SteamSetsCore();
1048
+ const steamSets = new SteamSetsCore({
1049
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1050
+ });
1097
1051
 
1098
1052
  async function run() {
1099
- const res = await accountAccountV1GetStaff(steamSets, {
1100
- session: "<YOUR_BEARER_TOKEN_HERE>",
1101
- });
1053
+ const res = await accountAccountV1GetStaff(steamSets);
1102
1054
 
1103
1055
  if (!res.ok) {
1104
1056
  throw res.error;
@@ -1117,7 +1069,6 @@ run();
1117
1069
 
1118
1070
  | Parameter | Type | Required | Description |
1119
1071
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1120
- | `security` | [operations.AccountV1GetStaffSecurity](../../models/operations/accountv1getstaffsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1121
1072
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1122
1073
  | `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. |
1123
1074
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1144,10 +1095,7 @@ Logs a user in and creates a new session
1144
1095
  import { SteamSets } from "@steamsets/client-ts";
1145
1096
 
1146
1097
  const steamSets = new SteamSets({
1147
- security: {
1148
- apiKey: "<YOUR_API_KEY_HERE>",
1149
- session: "<YOUR_BEARER_TOKEN_HERE>",
1150
- },
1098
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1151
1099
  });
1152
1100
 
1153
1101
  async function run() {
@@ -1184,10 +1132,7 @@ import { accountAccountV1SessionLogin } from "@steamsets/client-ts/funcs/account
1184
1132
  // Use `SteamSetsCore` for best tree-shaking performance.
1185
1133
  // You can create one instance of it to use across an application.
1186
1134
  const steamSets = new SteamSetsCore({
1187
- security: {
1188
- apiKey: "<YOUR_API_KEY_HERE>",
1189
- session: "<YOUR_BEARER_TOKEN_HERE>",
1190
- },
1135
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1191
1136
  });
1192
1137
 
1193
1138
  async function run() {
@@ -1249,12 +1194,12 @@ Resend the verification code for an email
1249
1194
  ```typescript
1250
1195
  import { SteamSets } from "@steamsets/client-ts";
1251
1196
 
1252
- const steamSets = new SteamSets();
1197
+ const steamSets = new SteamSets({
1198
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1199
+ });
1253
1200
 
1254
1201
  async function run() {
1255
- const result = await steamSets.account.accountV1SettingsSendEmailVerification({}, {
1256
- session: "<YOUR_BEARER_TOKEN_HERE>",
1257
- });
1202
+ const result = await steamSets.account.accountV1SettingsSendEmailVerification({});
1258
1203
 
1259
1204
  // Handle the result
1260
1205
  console.log(result)
@@ -1273,12 +1218,12 @@ import { accountAccountV1SettingsSendEmailVerification } from "@steamsets/client
1273
1218
 
1274
1219
  // Use `SteamSetsCore` for best tree-shaking performance.
1275
1220
  // You can create one instance of it to use across an application.
1276
- const steamSets = new SteamSetsCore();
1221
+ const steamSets = new SteamSetsCore({
1222
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1223
+ });
1277
1224
 
1278
1225
  async function run() {
1279
- const res = await accountAccountV1SettingsSendEmailVerification(steamSets, {}, {
1280
- session: "<YOUR_BEARER_TOKEN_HERE>",
1281
- });
1226
+ const res = await accountAccountV1SettingsSendEmailVerification(steamSets, {});
1282
1227
 
1283
1228
  if (!res.ok) {
1284
1229
  throw res.error;
@@ -1298,7 +1243,6 @@ run();
1298
1243
  | Parameter | Type | Required | Description |
1299
1244
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1300
1245
  | `request` | [operations.AccountV1SettingsSendEmailVerificationRequest](../../models/operations/accountv1settingssendemailverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1301
- | `security` | [operations.AccountV1SettingsSendEmailVerificationSecurity](../../models/operations/accountv1settingssendemailverificationsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1302
1246
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1303
1247
  | `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. |
1304
1248
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1324,14 +1268,14 @@ Make a connection visible/invisible
1324
1268
  ```typescript
1325
1269
  import { SteamSets } from "@steamsets/client-ts";
1326
1270
 
1327
- const steamSets = new SteamSets();
1271
+ const steamSets = new SteamSets({
1272
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1273
+ });
1328
1274
 
1329
1275
  async function run() {
1330
1276
  const result = await steamSets.account.accountV1ConnectionUpdateConnection({
1331
1277
  connectionId: "123456",
1332
1278
  hidden: true,
1333
- }, {
1334
- session: "<YOUR_BEARER_TOKEN_HERE>",
1335
1279
  });
1336
1280
 
1337
1281
  // Handle the result
@@ -1351,14 +1295,14 @@ import { accountAccountV1ConnectionUpdateConnection } from "@steamsets/client-ts
1351
1295
 
1352
1296
  // Use `SteamSetsCore` for best tree-shaking performance.
1353
1297
  // You can create one instance of it to use across an application.
1354
- const steamSets = new SteamSetsCore();
1298
+ const steamSets = new SteamSetsCore({
1299
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1300
+ });
1355
1301
 
1356
1302
  async function run() {
1357
1303
  const res = await accountAccountV1ConnectionUpdateConnection(steamSets, {
1358
1304
  connectionId: "123456",
1359
1305
  hidden: true,
1360
- }, {
1361
- session: "<YOUR_BEARER_TOKEN_HERE>",
1362
1306
  });
1363
1307
 
1364
1308
  if (!res.ok) {
@@ -1379,7 +1323,6 @@ run();
1379
1323
  | Parameter | Type | Required | Description |
1380
1324
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1381
1325
  | `request` | [components.V1UpdateConnectionRequestBody](../../models/components/v1updateconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1382
- | `security` | [operations.AccountV1ConnectionUpdateConnectionSecurity](../../models/operations/accountv1connectionupdateconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1383
1326
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1384
1327
  | `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. |
1385
1328
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1405,14 +1348,14 @@ Update one of the uploaded images
1405
1348
  ```typescript
1406
1349
  import { SteamSets } from "@steamsets/client-ts";
1407
1350
 
1408
- const steamSets = new SteamSets();
1351
+ const steamSets = new SteamSets({
1352
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1353
+ });
1409
1354
 
1410
1355
  async function run() {
1411
1356
  const result = await steamSets.account.accountV1SettingsUpdateImage({
1412
1357
  active: true,
1413
1358
  imageId: "123456",
1414
- }, {
1415
- session: "<YOUR_BEARER_TOKEN_HERE>",
1416
1359
  });
1417
1360
 
1418
1361
  // Handle the result
@@ -1432,14 +1375,14 @@ import { accountAccountV1SettingsUpdateImage } from "@steamsets/client-ts/funcs/
1432
1375
 
1433
1376
  // Use `SteamSetsCore` for best tree-shaking performance.
1434
1377
  // You can create one instance of it to use across an application.
1435
- const steamSets = new SteamSetsCore();
1378
+ const steamSets = new SteamSetsCore({
1379
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1380
+ });
1436
1381
 
1437
1382
  async function run() {
1438
1383
  const res = await accountAccountV1SettingsUpdateImage(steamSets, {
1439
1384
  active: true,
1440
1385
  imageId: "123456",
1441
- }, {
1442
- session: "<YOUR_BEARER_TOKEN_HERE>",
1443
1386
  });
1444
1387
 
1445
1388
  if (!res.ok) {
@@ -1460,7 +1403,6 @@ run();
1460
1403
  | Parameter | Type | Required | Description |
1461
1404
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1462
1405
  | `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1463
- | `security` | [operations.AccountV1SettingsUpdateImageSecurity](../../models/operations/accountv1settingsupdateimagesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1464
1406
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1465
1407
  | `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. |
1466
1408
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1486,7 +1428,9 @@ Update settings for the logged in account
1486
1428
  ```typescript
1487
1429
  import { SteamSets } from "@steamsets/client-ts";
1488
1430
 
1489
- const steamSets = new SteamSets();
1431
+ const steamSets = new SteamSets({
1432
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1433
+ });
1490
1434
 
1491
1435
  async function run() {
1492
1436
  const result = await steamSets.account.accountV1SettingsUpdate({
@@ -1505,8 +1449,6 @@ async function run() {
1505
1449
  theme: "dark",
1506
1450
  vanity: "flo",
1507
1451
  },
1508
- }, {
1509
- session: "<YOUR_BEARER_TOKEN_HERE>",
1510
1452
  });
1511
1453
 
1512
1454
  // Handle the result
@@ -1526,7 +1468,9 @@ import { accountAccountV1SettingsUpdate } from "@steamsets/client-ts/funcs/accou
1526
1468
 
1527
1469
  // Use `SteamSetsCore` for best tree-shaking performance.
1528
1470
  // You can create one instance of it to use across an application.
1529
- const steamSets = new SteamSetsCore();
1471
+ const steamSets = new SteamSetsCore({
1472
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1473
+ });
1530
1474
 
1531
1475
  async function run() {
1532
1476
  const res = await accountAccountV1SettingsUpdate(steamSets, {
@@ -1545,8 +1489,6 @@ async function run() {
1545
1489
  theme: "dark",
1546
1490
  vanity: "flo",
1547
1491
  },
1548
- }, {
1549
- session: "<YOUR_BEARER_TOKEN_HERE>",
1550
1492
  });
1551
1493
 
1552
1494
  if (!res.ok) {
@@ -1567,7 +1509,6 @@ run();
1567
1509
  | Parameter | Type | Required | Description |
1568
1510
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1569
1511
  | `request` | [operations.AccountV1SettingsUpdateRequest](../../models/operations/accountv1settingsupdaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
1570
- | `security` | [operations.AccountV1SettingsUpdateSecurity](../../models/operations/accountv1settingsupdatesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1571
1512
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1572
1513
  | `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. |
1573
1514
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1593,7 +1534,9 @@ Multi Upload Endpoint for images
1593
1534
  ```typescript
1594
1535
  import { SteamSets } from "@steamsets/client-ts";
1595
1536
 
1596
- const steamSets = new SteamSets();
1537
+ const steamSets = new SteamSets({
1538
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1539
+ });
1597
1540
 
1598
1541
  async function run() {
1599
1542
  const result = await steamSets.account.accountV1SettingsUploadImages({
@@ -1603,8 +1546,6 @@ async function run() {
1603
1546
  type: "avatar",
1604
1547
  },
1605
1548
  ],
1606
- }, {
1607
- session: "<YOUR_BEARER_TOKEN_HERE>",
1608
1549
  });
1609
1550
 
1610
1551
  // Handle the result
@@ -1624,7 +1565,9 @@ import { accountAccountV1SettingsUploadImages } from "@steamsets/client-ts/funcs
1624
1565
 
1625
1566
  // Use `SteamSetsCore` for best tree-shaking performance.
1626
1567
  // You can create one instance of it to use across an application.
1627
- const steamSets = new SteamSetsCore();
1568
+ const steamSets = new SteamSetsCore({
1569
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1570
+ });
1628
1571
 
1629
1572
  async function run() {
1630
1573
  const res = await accountAccountV1SettingsUploadImages(steamSets, {
@@ -1634,8 +1577,6 @@ async function run() {
1634
1577
  type: "avatar",
1635
1578
  },
1636
1579
  ],
1637
- }, {
1638
- session: "<YOUR_BEARER_TOKEN_HERE>",
1639
1580
  });
1640
1581
 
1641
1582
  if (!res.ok) {
@@ -1656,7 +1597,6 @@ run();
1656
1597
  | Parameter | Type | Required | Description |
1657
1598
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1658
1599
  | `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1659
- | `security` | [operations.AccountV1SettingsUploadImagesSecurity](../../models/operations/accountv1settingsuploadimagessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1660
1600
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1661
1601
  | `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. |
1662
1602
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1682,13 +1622,13 @@ Verify a domain connection only atm
1682
1622
  ```typescript
1683
1623
  import { SteamSets } from "@steamsets/client-ts";
1684
1624
 
1685
- const steamSets = new SteamSets();
1625
+ const steamSets = new SteamSets({
1626
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1627
+ });
1686
1628
 
1687
1629
  async function run() {
1688
1630
  const result = await steamSets.account.accountV1ConnectionVerifyConnection({
1689
1631
  connectionId: "123456",
1690
- }, {
1691
- session: "<YOUR_BEARER_TOKEN_HERE>",
1692
1632
  });
1693
1633
 
1694
1634
  // Handle the result
@@ -1708,13 +1648,13 @@ import { accountAccountV1ConnectionVerifyConnection } from "@steamsets/client-ts
1708
1648
 
1709
1649
  // Use `SteamSetsCore` for best tree-shaking performance.
1710
1650
  // You can create one instance of it to use across an application.
1711
- const steamSets = new SteamSetsCore();
1651
+ const steamSets = new SteamSetsCore({
1652
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1653
+ });
1712
1654
 
1713
1655
  async function run() {
1714
1656
  const res = await accountAccountV1ConnectionVerifyConnection(steamSets, {
1715
1657
  connectionId: "123456",
1716
- }, {
1717
- session: "<YOUR_BEARER_TOKEN_HERE>",
1718
1658
  });
1719
1659
 
1720
1660
  if (!res.ok) {
@@ -1735,7 +1675,6 @@ run();
1735
1675
  | Parameter | Type | Required | Description |
1736
1676
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1737
1677
  | `request` | [components.V1VerifyConnectionRequestBody](../../models/components/v1verifyconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1738
- | `security` | [operations.AccountV1ConnectionVerifyConnectionSecurity](../../models/operations/accountv1connectionverifyconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1739
1678
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1740
1679
  | `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. |
1741
1680
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1761,13 +1700,13 @@ Verify the email by passing in the code the user should've gotten
1761
1700
  ```typescript
1762
1701
  import { SteamSets } from "@steamsets/client-ts";
1763
1702
 
1764
- const steamSets = new SteamSets();
1703
+ const steamSets = new SteamSets({
1704
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1705
+ });
1765
1706
 
1766
1707
  async function run() {
1767
1708
  const result = await steamSets.account.accountV1SettingsVerfyEmail({
1768
1709
  code: "123456",
1769
- }, {
1770
- session: "<YOUR_BEARER_TOKEN_HERE>",
1771
1710
  });
1772
1711
 
1773
1712
  // Handle the result
@@ -1787,13 +1726,13 @@ import { accountAccountV1SettingsVerfyEmail } from "@steamsets/client-ts/funcs/a
1787
1726
 
1788
1727
  // Use `SteamSetsCore` for best tree-shaking performance.
1789
1728
  // You can create one instance of it to use across an application.
1790
- const steamSets = new SteamSetsCore();
1729
+ const steamSets = new SteamSetsCore({
1730
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1731
+ });
1791
1732
 
1792
1733
  async function run() {
1793
1734
  const res = await accountAccountV1SettingsVerfyEmail(steamSets, {
1794
1735
  code: "123456",
1795
- }, {
1796
- session: "<YOUR_BEARER_TOKEN_HERE>",
1797
1736
  });
1798
1737
 
1799
1738
  if (!res.ok) {
@@ -1814,7 +1753,6 @@ run();
1814
1753
  | Parameter | Type | Required | Description |
1815
1754
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1816
1755
  | `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1817
- | `security` | [operations.AccountV1SettingsVerfyEmailSecurity](../../models/operations/accountv1settingsverfyemailsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1818
1756
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1819
1757
  | `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. |
1820
1758
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |