@steamsets/client-ts 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (316) hide show
  1. package/README.md +24 -28
  2. package/docs/sdks/account/README.md +96 -185
  3. package/docs/sdks/connection/README.md +24 -28
  4. package/docs/sdks/data/README.md +8 -9
  5. package/docs/sdks/liveness/README.md +2 -2
  6. package/docs/sdks/location/README.md +8 -9
  7. package/docs/sdks/session/README.md +18 -20
  8. package/docs/sdks/settings/README.md +46 -128
  9. package/funcs/accountAccountV1ConnectionConnect.d.ts +1 -1
  10. package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
  11. package/funcs/accountAccountV1ConnectionConnect.js +5 -12
  12. package/funcs/accountAccountV1ConnectionConnect.js.map +1 -1
  13. package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts +1 -1
  14. package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  15. package/funcs/accountAccountV1ConnectionDeleteConnection.js +5 -12
  16. package/funcs/accountAccountV1ConnectionDeleteConnection.js.map +1 -1
  17. package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts +1 -1
  18. package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  19. package/funcs/accountAccountV1ConnectionUpdateConnection.js +5 -12
  20. package/funcs/accountAccountV1ConnectionUpdateConnection.js.map +1 -1
  21. package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts +1 -1
  22. package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  23. package/funcs/accountAccountV1ConnectionVerifyConnection.js +5 -12
  24. package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +1 -1
  25. package/funcs/accountAccountV1GetStaff.d.ts +1 -1
  26. package/funcs/accountAccountV1GetStaff.d.ts.map +1 -1
  27. package/funcs/accountAccountV1GetStaff.js +5 -12
  28. package/funcs/accountAccountV1GetStaff.js.map +1 -1
  29. package/funcs/accountAccountV1SessionCreate.js +3 -3
  30. package/funcs/accountAccountV1SessionCreate.js.map +1 -1
  31. package/funcs/accountAccountV1SessionDelete.d.ts +1 -1
  32. package/funcs/accountAccountV1SessionDelete.d.ts.map +1 -1
  33. package/funcs/accountAccountV1SessionDelete.js +5 -12
  34. package/funcs/accountAccountV1SessionDelete.js.map +1 -1
  35. package/funcs/accountAccountV1SessionGet.d.ts +1 -1
  36. package/funcs/accountAccountV1SessionGet.d.ts.map +1 -1
  37. package/funcs/accountAccountV1SessionGet.js +5 -12
  38. package/funcs/accountAccountV1SessionGet.js.map +1 -1
  39. package/funcs/accountAccountV1SessionLogin.js +3 -3
  40. package/funcs/accountAccountV1SessionLogin.js.map +1 -1
  41. package/funcs/accountAccountV1SettingsDeleteImages.d.ts +1 -1
  42. package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -1
  43. package/funcs/accountAccountV1SettingsDeleteImages.js +5 -12
  44. package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -1
  45. package/funcs/accountAccountV1SettingsGet.d.ts +1 -1
  46. package/funcs/accountAccountV1SettingsGet.d.ts.map +1 -1
  47. package/funcs/accountAccountV1SettingsGet.js +5 -12
  48. package/funcs/accountAccountV1SettingsGet.js.map +1 -1
  49. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts +1 -1
  50. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  51. package/funcs/accountAccountV1SettingsSendEmailVerification.js +5 -12
  52. package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
  53. package/funcs/accountAccountV1SettingsUpdate.d.ts +1 -1
  54. package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
  55. package/funcs/accountAccountV1SettingsUpdate.js +5 -12
  56. package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
  57. package/funcs/accountAccountV1SettingsUpdateImage.d.ts +1 -1
  58. package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -1
  59. package/funcs/accountAccountV1SettingsUpdateImage.js +5 -12
  60. package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -1
  61. package/funcs/accountAccountV1SettingsUploadImages.d.ts +1 -1
  62. package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -1
  63. package/funcs/accountAccountV1SettingsUploadImages.js +5 -12
  64. package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -1
  65. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +1 -1
  66. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  67. package/funcs/accountAccountV1SettingsVerfyEmail.js +5 -12
  68. package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
  69. package/funcs/connectionAccountV1ConnectionConnect.d.ts +1 -1
  70. package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
  71. package/funcs/connectionAccountV1ConnectionConnect.js +5 -12
  72. package/funcs/connectionAccountV1ConnectionConnect.js.map +1 -1
  73. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts +1 -1
  74. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  75. package/funcs/connectionAccountV1ConnectionDeleteConnection.js +5 -12
  76. package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +1 -1
  77. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts +1 -1
  78. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  79. package/funcs/connectionAccountV1ConnectionUpdateConnection.js +5 -12
  80. package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +1 -1
  81. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts +1 -1
  82. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  83. package/funcs/connectionAccountV1ConnectionVerifyConnection.js +5 -12
  84. package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
  85. package/funcs/dataAccountV1GetStaff.d.ts +1 -1
  86. package/funcs/dataAccountV1GetStaff.d.ts.map +1 -1
  87. package/funcs/dataAccountV1GetStaff.js +5 -12
  88. package/funcs/dataAccountV1GetStaff.js.map +1 -1
  89. package/funcs/livenessLiveness.js +3 -3
  90. package/funcs/livenessLiveness.js.map +1 -1
  91. package/funcs/locationLocation.d.ts +1 -1
  92. package/funcs/locationLocation.d.ts.map +1 -1
  93. package/funcs/locationLocation.js +5 -12
  94. package/funcs/locationLocation.js.map +1 -1
  95. package/funcs/sessionAccountV1SessionCreate.js +3 -3
  96. package/funcs/sessionAccountV1SessionCreate.js.map +1 -1
  97. package/funcs/sessionAccountV1SessionDelete.d.ts +1 -1
  98. package/funcs/sessionAccountV1SessionDelete.d.ts.map +1 -1
  99. package/funcs/sessionAccountV1SessionDelete.js +5 -12
  100. package/funcs/sessionAccountV1SessionDelete.js.map +1 -1
  101. package/funcs/sessionAccountV1SessionGet.d.ts +1 -1
  102. package/funcs/sessionAccountV1SessionGet.d.ts.map +1 -1
  103. package/funcs/sessionAccountV1SessionGet.js +5 -12
  104. package/funcs/sessionAccountV1SessionGet.js.map +1 -1
  105. package/funcs/sessionAccountV1SessionLogin.js +3 -3
  106. package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
  107. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +1 -1
  108. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -1
  109. package/funcs/settingsAccountV1SettingsDeleteImages.js +5 -12
  110. package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -1
  111. package/funcs/settingsAccountV1SettingsGet.d.ts +1 -1
  112. package/funcs/settingsAccountV1SettingsGet.d.ts.map +1 -1
  113. package/funcs/settingsAccountV1SettingsGet.js +5 -12
  114. package/funcs/settingsAccountV1SettingsGet.js.map +1 -1
  115. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts +1 -1
  116. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  117. package/funcs/settingsAccountV1SettingsSendEmailVerification.js +5 -12
  118. package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
  119. package/funcs/settingsAccountV1SettingsUpdate.d.ts +1 -1
  120. package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
  121. package/funcs/settingsAccountV1SettingsUpdate.js +5 -12
  122. package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
  123. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +1 -1
  124. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -1
  125. package/funcs/settingsAccountV1SettingsUpdateImage.js +5 -12
  126. package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -1
  127. package/funcs/settingsAccountV1SettingsUploadImages.d.ts +1 -1
  128. package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -1
  129. package/funcs/settingsAccountV1SettingsUploadImages.js +5 -12
  130. package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -1
  131. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +1 -1
  132. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  133. package/funcs/settingsAccountV1SettingsVerfyEmail.js +5 -12
  134. package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
  135. package/lib/config.d.ts +4 -4
  136. package/lib/config.d.ts.map +1 -1
  137. package/lib/config.js +3 -3
  138. package/lib/security.js +3 -3
  139. package/lib/security.js.map +1 -1
  140. package/models/components/index.d.ts +0 -1
  141. package/models/components/index.d.ts.map +1 -1
  142. package/models/components/index.js +0 -1
  143. package/models/components/index.js.map +1 -1
  144. package/models/components/security.d.ts +2 -2
  145. package/models/components/security.d.ts.map +1 -1
  146. package/models/components/security.js +2 -2
  147. package/models/components/security.js.map +1 -1
  148. package/models/operations/accountv1connectionconnect.d.ts +0 -23
  149. package/models/operations/accountv1connectionconnect.d.ts.map +1 -1
  150. package/models/operations/accountv1connectionconnect.js +1 -20
  151. package/models/operations/accountv1connectionconnect.js.map +1 -1
  152. package/models/operations/accountv1connectiondeleteconnection.d.ts +0 -23
  153. package/models/operations/accountv1connectiondeleteconnection.d.ts.map +1 -1
  154. package/models/operations/accountv1connectiondeleteconnection.js +1 -20
  155. package/models/operations/accountv1connectiondeleteconnection.js.map +1 -1
  156. package/models/operations/accountv1connectionupdateconnection.d.ts +0 -23
  157. package/models/operations/accountv1connectionupdateconnection.d.ts.map +1 -1
  158. package/models/operations/accountv1connectionupdateconnection.js +1 -20
  159. package/models/operations/accountv1connectionupdateconnection.js.map +1 -1
  160. package/models/operations/accountv1connectionverifyconnection.d.ts +0 -23
  161. package/models/operations/accountv1connectionverifyconnection.d.ts.map +1 -1
  162. package/models/operations/accountv1connectionverifyconnection.js +1 -20
  163. package/models/operations/accountv1connectionverifyconnection.js.map +1 -1
  164. package/models/operations/accountv1getstaff.d.ts +0 -23
  165. package/models/operations/accountv1getstaff.d.ts.map +1 -1
  166. package/models/operations/accountv1getstaff.js +1 -20
  167. package/models/operations/accountv1getstaff.js.map +1 -1
  168. package/models/operations/accountv1sessiondelete.d.ts +0 -23
  169. package/models/operations/accountv1sessiondelete.d.ts.map +1 -1
  170. package/models/operations/accountv1sessiondelete.js +1 -20
  171. package/models/operations/accountv1sessiondelete.js.map +1 -1
  172. package/models/operations/accountv1sessionget.d.ts +0 -23
  173. package/models/operations/accountv1sessionget.d.ts.map +1 -1
  174. package/models/operations/accountv1sessionget.js +1 -20
  175. package/models/operations/accountv1sessionget.js.map +1 -1
  176. package/models/operations/accountv1settingsdeleteimages.d.ts +0 -23
  177. package/models/operations/accountv1settingsdeleteimages.d.ts.map +1 -1
  178. package/models/operations/accountv1settingsdeleteimages.js +1 -20
  179. package/models/operations/accountv1settingsdeleteimages.js.map +1 -1
  180. package/models/operations/accountv1settingsget.d.ts +0 -23
  181. package/models/operations/accountv1settingsget.d.ts.map +1 -1
  182. package/models/operations/accountv1settingsget.js +1 -20
  183. package/models/operations/accountv1settingsget.js.map +1 -1
  184. package/models/operations/accountv1settingssendemailverification.d.ts +0 -23
  185. package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -1
  186. package/models/operations/accountv1settingssendemailverification.js +1 -20
  187. package/models/operations/accountv1settingssendemailverification.js.map +1 -1
  188. package/models/operations/accountv1settingsupdate.d.ts +0 -23
  189. package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
  190. package/models/operations/accountv1settingsupdate.js +1 -20
  191. package/models/operations/accountv1settingsupdate.js.map +1 -1
  192. package/models/operations/accountv1settingsupdateimage.d.ts +0 -23
  193. package/models/operations/accountv1settingsupdateimage.d.ts.map +1 -1
  194. package/models/operations/accountv1settingsupdateimage.js +1 -20
  195. package/models/operations/accountv1settingsupdateimage.js.map +1 -1
  196. package/models/operations/accountv1settingsuploadimages.d.ts +0 -23
  197. package/models/operations/accountv1settingsuploadimages.d.ts.map +1 -1
  198. package/models/operations/accountv1settingsuploadimages.js +1 -20
  199. package/models/operations/accountv1settingsuploadimages.js.map +1 -1
  200. package/models/operations/accountv1settingsverfyemail.d.ts +0 -23
  201. package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -1
  202. package/models/operations/accountv1settingsverfyemail.js +1 -20
  203. package/models/operations/accountv1settingsverfyemail.js.map +1 -1
  204. package/models/operations/index.d.ts +0 -1
  205. package/models/operations/index.d.ts.map +1 -1
  206. package/models/operations/index.js +0 -1
  207. package/models/operations/index.js.map +1 -1
  208. package/models/operations/location.d.ts +0 -23
  209. package/models/operations/location.d.ts.map +1 -1
  210. package/models/operations/location.js +1 -20
  211. package/models/operations/location.js.map +1 -1
  212. package/package.json +1 -2
  213. package/sdk/account.d.ts +14 -18
  214. package/sdk/account.d.ts.map +1 -1
  215. package/sdk/account.js +28 -35
  216. package/sdk/account.js.map +1 -1
  217. package/sdk/connection.d.ts +4 -4
  218. package/sdk/connection.d.ts.map +1 -1
  219. package/sdk/connection.js +8 -8
  220. package/sdk/connection.js.map +1 -1
  221. package/sdk/data.d.ts +1 -1
  222. package/sdk/data.d.ts.map +1 -1
  223. package/sdk/data.js +2 -2
  224. package/sdk/data.js.map +1 -1
  225. package/sdk/location.d.ts +1 -1
  226. package/sdk/location.d.ts.map +1 -1
  227. package/sdk/location.js +2 -2
  228. package/sdk/location.js.map +1 -1
  229. package/sdk/session.d.ts +2 -2
  230. package/sdk/session.d.ts.map +1 -1
  231. package/sdk/session.js +4 -4
  232. package/sdk/session.js.map +1 -1
  233. package/sdk/settings.d.ts +7 -11
  234. package/sdk/settings.d.ts.map +1 -1
  235. package/sdk/settings.js +14 -21
  236. package/sdk/settings.js.map +1 -1
  237. package/src/funcs/accountAccountV1ConnectionConnect.ts +5 -13
  238. package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +5 -13
  239. package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +5 -13
  240. package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +5 -13
  241. package/src/funcs/accountAccountV1GetStaff.ts +5 -13
  242. package/src/funcs/accountAccountV1SessionCreate.ts +3 -3
  243. package/src/funcs/accountAccountV1SessionDelete.ts +5 -13
  244. package/src/funcs/accountAccountV1SessionGet.ts +5 -13
  245. package/src/funcs/accountAccountV1SessionLogin.ts +3 -3
  246. package/src/funcs/accountAccountV1SettingsDeleteImages.ts +5 -13
  247. package/src/funcs/accountAccountV1SettingsGet.ts +5 -13
  248. package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +5 -13
  249. package/src/funcs/accountAccountV1SettingsUpdate.ts +5 -13
  250. package/src/funcs/accountAccountV1SettingsUpdateImage.ts +5 -13
  251. package/src/funcs/accountAccountV1SettingsUploadImages.ts +5 -13
  252. package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +5 -13
  253. package/src/funcs/connectionAccountV1ConnectionConnect.ts +5 -13
  254. package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +5 -13
  255. package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +5 -13
  256. package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +5 -13
  257. package/src/funcs/dataAccountV1GetStaff.ts +5 -13
  258. package/src/funcs/livenessLiveness.ts +3 -3
  259. package/src/funcs/locationLocation.ts +5 -13
  260. package/src/funcs/sessionAccountV1SessionCreate.ts +3 -3
  261. package/src/funcs/sessionAccountV1SessionDelete.ts +5 -13
  262. package/src/funcs/sessionAccountV1SessionGet.ts +5 -13
  263. package/src/funcs/sessionAccountV1SessionLogin.ts +3 -3
  264. package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +5 -13
  265. package/src/funcs/settingsAccountV1SettingsGet.ts +5 -13
  266. package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +5 -13
  267. package/src/funcs/settingsAccountV1SettingsUpdate.ts +5 -13
  268. package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +5 -13
  269. package/src/funcs/settingsAccountV1SettingsUploadImages.ts +5 -13
  270. package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +5 -13
  271. package/src/lib/config.ts +4 -4
  272. package/src/lib/security.ts +3 -3
  273. package/src/models/components/index.ts +0 -1
  274. package/src/models/components/security.ts +4 -4
  275. package/src/models/operations/accountv1connectionconnect.ts +0 -41
  276. package/src/models/operations/accountv1connectiondeleteconnection.ts +0 -44
  277. package/src/models/operations/accountv1connectionupdateconnection.ts +0 -44
  278. package/src/models/operations/accountv1connectionverifyconnection.ts +0 -44
  279. package/src/models/operations/accountv1getstaff.ts +0 -40
  280. package/src/models/operations/accountv1sessiondelete.ts +0 -40
  281. package/src/models/operations/accountv1sessionget.ts +0 -40
  282. package/src/models/operations/accountv1settingsdeleteimages.ts +0 -42
  283. package/src/models/operations/accountv1settingsget.ts +0 -40
  284. package/src/models/operations/accountv1settingssendemailverification.ts +0 -45
  285. package/src/models/operations/accountv1settingsupdate.ts +0 -40
  286. package/src/models/operations/accountv1settingsupdateimage.ts +0 -42
  287. package/src/models/operations/accountv1settingsuploadimages.ts +0 -42
  288. package/src/models/operations/accountv1settingsverfyemail.ts +0 -42
  289. package/src/models/operations/index.ts +0 -1
  290. package/src/models/operations/location.ts +0 -40
  291. package/src/sdk/account.ts +0 -43
  292. package/src/sdk/connection.ts +0 -8
  293. package/src/sdk/data.ts +0 -2
  294. package/src/sdk/location.ts +0 -2
  295. package/src/sdk/session.ts +0 -4
  296. package/src/sdk/settings.ts +0 -29
  297. package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts +0 -13
  298. package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts.map +0 -1
  299. package/funcs/accountAccountV1SettingsGenerateApiKey.js +0 -92
  300. package/funcs/accountAccountV1SettingsGenerateApiKey.js.map +0 -1
  301. package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts +0 -13
  302. package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts.map +0 -1
  303. package/funcs/settingsAccountV1SettingsGenerateApiKey.js +0 -92
  304. package/funcs/settingsAccountV1SettingsGenerateApiKey.js.map +0 -1
  305. package/models/components/v1generateapikeyresponsebody.d.ts +0 -33
  306. package/models/components/v1generateapikeyresponsebody.d.ts.map +0 -1
  307. package/models/components/v1generateapikeyresponsebody.js +0 -61
  308. package/models/components/v1generateapikeyresponsebody.js.map +0 -1
  309. package/models/operations/accountv1settingsgenerateapikey.d.ts +0 -54
  310. package/models/operations/accountv1settingsgenerateapikey.d.ts.map +0 -1
  311. package/models/operations/accountv1settingsgenerateapikey.js +0 -85
  312. package/models/operations/accountv1settingsgenerateapikey.js.map +0 -1
  313. package/src/funcs/accountAccountV1SettingsGenerateApiKey.ts +0 -120
  314. package/src/funcs/settingsAccountV1SettingsGenerateApiKey.ts +0 -120
  315. package/src/models/components/v1generateapikeyresponsebody.ts +0 -64
  316. package/src/models/operations/accountv1settingsgenerateapikey.ts +0 -114
@@ -21,14 +21,14 @@ Connect a new Social Provider
21
21
  ```typescript
22
22
  import { SteamSets } from "@steamsets/client-ts";
23
23
 
24
- const steamSets = new SteamSets();
24
+ const steamSets = new SteamSets({
25
+ session: "<YOUR_BEARER_TOKEN_HERE>",
26
+ });
25
27
 
26
28
  async function run() {
27
29
  const result = await steamSets.connection.accountV1ConnectionConnect({
28
30
  code: "123456",
29
31
  provider: "discord",
30
- }, {
31
- session: "<YOUR_BEARER_TOKEN_HERE>",
32
32
  });
33
33
 
34
34
  // Handle the result
@@ -48,14 +48,14 @@ import { connectionAccountV1ConnectionConnect } from "@steamsets/client-ts/funcs
48
48
 
49
49
  // Use `SteamSetsCore` for best tree-shaking performance.
50
50
  // You can create one instance of it to use across an application.
51
- const steamSets = new SteamSetsCore();
51
+ const steamSets = new SteamSetsCore({
52
+ session: "<YOUR_BEARER_TOKEN_HERE>",
53
+ });
52
54
 
53
55
  async function run() {
54
56
  const res = await connectionAccountV1ConnectionConnect(steamSets, {
55
57
  code: "123456",
56
58
  provider: "discord",
57
- }, {
58
- session: "<YOUR_BEARER_TOKEN_HERE>",
59
59
  });
60
60
 
61
61
  if (!res.ok) {
@@ -76,7 +76,6 @@ run();
76
76
  | Parameter | Type | Required | Description |
77
77
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
78
78
  | `request` | [components.V1ConnectRequestBody](../../models/components/v1connectrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
79
- | `security` | [operations.AccountV1ConnectionConnectSecurity](../../models/operations/accountv1connectionconnectsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
80
79
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
81
80
  | `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. |
82
81
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -102,13 +101,13 @@ Remove a connection
102
101
  ```typescript
103
102
  import { SteamSets } from "@steamsets/client-ts";
104
103
 
105
- const steamSets = new SteamSets();
104
+ const steamSets = new SteamSets({
105
+ session: "<YOUR_BEARER_TOKEN_HERE>",
106
+ });
106
107
 
107
108
  async function run() {
108
109
  const result = await steamSets.connection.accountV1ConnectionDeleteConnection({
109
110
  connectionId: "123456",
110
- }, {
111
- session: "<YOUR_BEARER_TOKEN_HERE>",
112
111
  });
113
112
 
114
113
  // Handle the result
@@ -128,13 +127,13 @@ import { connectionAccountV1ConnectionDeleteConnection } from "@steamsets/client
128
127
 
129
128
  // Use `SteamSetsCore` for best tree-shaking performance.
130
129
  // You can create one instance of it to use across an application.
131
- const steamSets = new SteamSetsCore();
130
+ const steamSets = new SteamSetsCore({
131
+ session: "<YOUR_BEARER_TOKEN_HERE>",
132
+ });
132
133
 
133
134
  async function run() {
134
135
  const res = await connectionAccountV1ConnectionDeleteConnection(steamSets, {
135
136
  connectionId: "123456",
136
- }, {
137
- session: "<YOUR_BEARER_TOKEN_HERE>",
138
137
  });
139
138
 
140
139
  if (!res.ok) {
@@ -155,7 +154,6 @@ run();
155
154
  | Parameter | Type | Required | Description |
156
155
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
157
156
  | `request` | [components.V1DeleteConnectionRequestBody](../../models/components/v1deleteconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
158
- | `security` | [operations.AccountV1ConnectionDeleteConnectionSecurity](../../models/operations/accountv1connectiondeleteconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
159
157
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
160
158
  | `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. |
161
159
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -181,14 +179,14 @@ Make a connection visible/invisible
181
179
  ```typescript
182
180
  import { SteamSets } from "@steamsets/client-ts";
183
181
 
184
- const steamSets = new SteamSets();
182
+ const steamSets = new SteamSets({
183
+ session: "<YOUR_BEARER_TOKEN_HERE>",
184
+ });
185
185
 
186
186
  async function run() {
187
187
  const result = await steamSets.connection.accountV1ConnectionUpdateConnection({
188
188
  connectionId: "123456",
189
189
  hidden: true,
190
- }, {
191
- session: "<YOUR_BEARER_TOKEN_HERE>",
192
190
  });
193
191
 
194
192
  // Handle the result
@@ -208,14 +206,14 @@ import { connectionAccountV1ConnectionUpdateConnection } from "@steamsets/client
208
206
 
209
207
  // Use `SteamSetsCore` for best tree-shaking performance.
210
208
  // You can create one instance of it to use across an application.
211
- const steamSets = new SteamSetsCore();
209
+ const steamSets = new SteamSetsCore({
210
+ session: "<YOUR_BEARER_TOKEN_HERE>",
211
+ });
212
212
 
213
213
  async function run() {
214
214
  const res = await connectionAccountV1ConnectionUpdateConnection(steamSets, {
215
215
  connectionId: "123456",
216
216
  hidden: true,
217
- }, {
218
- session: "<YOUR_BEARER_TOKEN_HERE>",
219
217
  });
220
218
 
221
219
  if (!res.ok) {
@@ -236,7 +234,6 @@ run();
236
234
  | Parameter | Type | Required | Description |
237
235
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
238
236
  | `request` | [components.V1UpdateConnectionRequestBody](../../models/components/v1updateconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
239
- | `security` | [operations.AccountV1ConnectionUpdateConnectionSecurity](../../models/operations/accountv1connectionupdateconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
240
237
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
241
238
  | `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. |
242
239
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -262,13 +259,13 @@ Verify a domain connection only atm
262
259
  ```typescript
263
260
  import { SteamSets } from "@steamsets/client-ts";
264
261
 
265
- const steamSets = new SteamSets();
262
+ const steamSets = new SteamSets({
263
+ session: "<YOUR_BEARER_TOKEN_HERE>",
264
+ });
266
265
 
267
266
  async function run() {
268
267
  const result = await steamSets.connection.accountV1ConnectionVerifyConnection({
269
268
  connectionId: "123456",
270
- }, {
271
- session: "<YOUR_BEARER_TOKEN_HERE>",
272
269
  });
273
270
 
274
271
  // Handle the result
@@ -288,13 +285,13 @@ import { connectionAccountV1ConnectionVerifyConnection } from "@steamsets/client
288
285
 
289
286
  // Use `SteamSetsCore` for best tree-shaking performance.
290
287
  // You can create one instance of it to use across an application.
291
- const steamSets = new SteamSetsCore();
288
+ const steamSets = new SteamSetsCore({
289
+ session: "<YOUR_BEARER_TOKEN_HERE>",
290
+ });
292
291
 
293
292
  async function run() {
294
293
  const res = await connectionAccountV1ConnectionVerifyConnection(steamSets, {
295
294
  connectionId: "123456",
296
- }, {
297
- session: "<YOUR_BEARER_TOKEN_HERE>",
298
295
  });
299
296
 
300
297
  if (!res.ok) {
@@ -315,7 +312,6 @@ run();
315
312
  | Parameter | Type | Required | Description |
316
313
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
317
314
  | `request` | [components.V1VerifyConnectionRequestBody](../../models/components/v1verifyconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
318
- | `security` | [operations.AccountV1ConnectionVerifyConnectionSecurity](../../models/operations/accountv1connectionverifyconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
319
315
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
320
316
  | `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. |
321
317
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -507,12 +507,12 @@ Get Staff Members and their info
507
507
  ```typescript
508
508
  import { SteamSets } from "@steamsets/client-ts";
509
509
 
510
- const steamSets = new SteamSets();
510
+ const steamSets = new SteamSets({
511
+ session: "<YOUR_BEARER_TOKEN_HERE>",
512
+ });
511
513
 
512
514
  async function run() {
513
- const result = await steamSets.data.accountV1GetStaff({
514
- session: "<YOUR_BEARER_TOKEN_HERE>",
515
- });
515
+ const result = await steamSets.data.accountV1GetStaff();
516
516
 
517
517
  // Handle the result
518
518
  console.log(result)
@@ -531,12 +531,12 @@ import { dataAccountV1GetStaff } from "@steamsets/client-ts/funcs/dataAccountV1G
531
531
 
532
532
  // Use `SteamSetsCore` for best tree-shaking performance.
533
533
  // You can create one instance of it to use across an application.
534
- const steamSets = new SteamSetsCore();
534
+ const steamSets = new SteamSetsCore({
535
+ session: "<YOUR_BEARER_TOKEN_HERE>",
536
+ });
535
537
 
536
538
  async function run() {
537
- const res = await dataAccountV1GetStaff(steamSets, {
538
- session: "<YOUR_BEARER_TOKEN_HERE>",
539
- });
539
+ const res = await dataAccountV1GetStaff(steamSets);
540
540
 
541
541
  if (!res.ok) {
542
542
  throw res.error;
@@ -555,7 +555,6 @@ run();
555
555
 
556
556
  | Parameter | Type | Required | Description |
557
557
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
558
- | `security` | [operations.AccountV1GetStaffSecurity](../../models/operations/accountv1getstaffsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
559
558
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
560
559
  | `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. |
561
560
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -19,7 +19,7 @@ This endpoint checks if the service is alive.
19
19
  import { SteamSets } from "@steamsets/client-ts";
20
20
 
21
21
  const steamSets = new SteamSets({
22
- apiKey: "<YOUR_API_KEY_HERE>",
22
+ session: "<YOUR_BEARER_TOKEN_HERE>",
23
23
  });
24
24
 
25
25
  async function run() {
@@ -43,7 +43,7 @@ import { livenessLiveness } from "@steamsets/client-ts/funcs/livenessLiveness.js
43
43
  // Use `SteamSetsCore` for best tree-shaking performance.
44
44
  // You can create one instance of it to use across an application.
45
45
  const steamSets = new SteamSetsCore({
46
- apiKey: "<YOUR_API_KEY_HERE>",
46
+ session: "<YOUR_BEARER_TOKEN_HERE>",
47
47
  });
48
48
 
49
49
  async function run() {
@@ -16,12 +16,12 @@ Get all of our available locations
16
16
  ```typescript
17
17
  import { SteamSets } from "@steamsets/client-ts";
18
18
 
19
- const steamSets = new SteamSets();
19
+ const steamSets = new SteamSets({
20
+ session: "<YOUR_BEARER_TOKEN_HERE>",
21
+ });
20
22
 
21
23
  async function run() {
22
- const result = await steamSets.location.location({
23
- session: "<YOUR_BEARER_TOKEN_HERE>",
24
- });
24
+ const result = await steamSets.location.location();
25
25
 
26
26
  // Handle the result
27
27
  console.log(result)
@@ -40,12 +40,12 @@ import { locationLocation } from "@steamsets/client-ts/funcs/locationLocation.js
40
40
 
41
41
  // Use `SteamSetsCore` for best tree-shaking performance.
42
42
  // You can create one instance of it to use across an application.
43
- const steamSets = new SteamSetsCore();
43
+ const steamSets = new SteamSetsCore({
44
+ session: "<YOUR_BEARER_TOKEN_HERE>",
45
+ });
44
46
 
45
47
  async function run() {
46
- const res = await locationLocation(steamSets, {
47
- session: "<YOUR_BEARER_TOKEN_HERE>",
48
- });
48
+ const res = await locationLocation(steamSets);
49
49
 
50
50
  if (!res.ok) {
51
51
  throw res.error;
@@ -64,7 +64,6 @@ run();
64
64
 
65
65
  | Parameter | Type | Required | Description |
66
66
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
67
- | `security` | [operations.LocationSecurity](../../models/operations/locationsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
68
67
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
69
68
  | `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. |
70
69
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -20,7 +20,7 @@ Create a new session for non logged in users
20
20
  import { SteamSets } from "@steamsets/client-ts";
21
21
 
22
22
  const steamSets = new SteamSets({
23
- apiKey: "<YOUR_API_KEY_HERE>",
23
+ session: "<YOUR_BEARER_TOKEN_HERE>",
24
24
  });
25
25
 
26
26
  async function run() {
@@ -44,7 +44,7 @@ import { sessionAccountV1SessionCreate } from "@steamsets/client-ts/funcs/sessio
44
44
  // Use `SteamSetsCore` for best tree-shaking performance.
45
45
  // You can create one instance of it to use across an application.
46
46
  const steamSets = new SteamSetsCore({
47
- apiKey: "<YOUR_API_KEY_HERE>",
47
+ session: "<YOUR_BEARER_TOKEN_HERE>",
48
48
  });
49
49
 
50
50
  async function run() {
@@ -93,13 +93,13 @@ Deletes a session, can also be used to logout
93
93
  ```typescript
94
94
  import { SteamSets } from "@steamsets/client-ts";
95
95
 
96
- const steamSets = new SteamSets();
96
+ const steamSets = new SteamSets({
97
+ session: "<YOUR_BEARER_TOKEN_HERE>",
98
+ });
97
99
 
98
100
  async function run() {
99
101
  const result = await steamSets.session.accountV1SessionDelete({
100
102
  sessionId: "123456",
101
- }, {
102
- session: "<YOUR_BEARER_TOKEN_HERE>",
103
103
  });
104
104
 
105
105
  // Handle the result
@@ -119,13 +119,13 @@ import { sessionAccountV1SessionDelete } from "@steamsets/client-ts/funcs/sessio
119
119
 
120
120
  // Use `SteamSetsCore` for best tree-shaking performance.
121
121
  // You can create one instance of it to use across an application.
122
- const steamSets = new SteamSetsCore();
122
+ const steamSets = new SteamSetsCore({
123
+ session: "<YOUR_BEARER_TOKEN_HERE>",
124
+ });
123
125
 
124
126
  async function run() {
125
127
  const res = await sessionAccountV1SessionDelete(steamSets, {
126
128
  sessionId: "123456",
127
- }, {
128
- session: "<YOUR_BEARER_TOKEN_HERE>",
129
129
  });
130
130
 
131
131
  if (!res.ok) {
@@ -146,7 +146,6 @@ run();
146
146
  | Parameter | Type | Required | Description |
147
147
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
148
148
  | `request` | [components.V1DeleteSessionRequestBody](../../models/components/v1deletesessionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
149
- | `security` | [operations.AccountV1SessionDeleteSecurity](../../models/operations/accountv1sessiondeletesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
150
149
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
151
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. |
152
151
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -172,12 +171,12 @@ Gets all session data
172
171
  ```typescript
173
172
  import { SteamSets } from "@steamsets/client-ts";
174
173
 
175
- const steamSets = new SteamSets();
174
+ const steamSets = new SteamSets({
175
+ session: "<YOUR_BEARER_TOKEN_HERE>",
176
+ });
176
177
 
177
178
  async function run() {
178
- const result = await steamSets.session.accountV1SessionGet({
179
- session: "<YOUR_BEARER_TOKEN_HERE>",
180
- });
179
+ const result = await steamSets.session.accountV1SessionGet();
181
180
 
182
181
  // Handle the result
183
182
  console.log(result)
@@ -196,12 +195,12 @@ import { sessionAccountV1SessionGet } from "@steamsets/client-ts/funcs/sessionAc
196
195
 
197
196
  // Use `SteamSetsCore` for best tree-shaking performance.
198
197
  // You can create one instance of it to use across an application.
199
- const steamSets = new SteamSetsCore();
198
+ const steamSets = new SteamSetsCore({
199
+ session: "<YOUR_BEARER_TOKEN_HERE>",
200
+ });
200
201
 
201
202
  async function run() {
202
- const res = await sessionAccountV1SessionGet(steamSets, {
203
- session: "<YOUR_BEARER_TOKEN_HERE>",
204
- });
203
+ const res = await sessionAccountV1SessionGet(steamSets);
205
204
 
206
205
  if (!res.ok) {
207
206
  throw res.error;
@@ -220,7 +219,6 @@ run();
220
219
 
221
220
  | Parameter | Type | Required | Description |
222
221
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
223
- | `security` | [operations.AccountV1SessionGetSecurity](../../models/operations/accountv1sessiongetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
224
222
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
225
223
  | `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. |
226
224
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -247,7 +245,7 @@ Logs a user in and creates a new session
247
245
  import { SteamSets } from "@steamsets/client-ts";
248
246
 
249
247
  const steamSets = new SteamSets({
250
- apiKey: "<YOUR_API_KEY_HERE>",
248
+ session: "<YOUR_BEARER_TOKEN_HERE>",
251
249
  });
252
250
 
253
251
  async function run() {
@@ -284,7 +282,7 @@ import { sessionAccountV1SessionLogin } from "@steamsets/client-ts/funcs/session
284
282
  // Use `SteamSetsCore` for best tree-shaking performance.
285
283
  // You can create one instance of it to use across an application.
286
284
  const steamSets = new SteamSetsCore({
287
- apiKey: "<YOUR_API_KEY_HERE>",
285
+ session: "<YOUR_BEARER_TOKEN_HERE>",
288
286
  });
289
287
 
290
288
  async function run() {