@steamsets/client-ts 0.8.0 → 0.8.1

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 (301) hide show
  1. package/README.md +24 -24
  2. package/docs/sdks/account/README.md +119 -104
  3. package/docs/sdks/connection/README.md +28 -24
  4. package/docs/sdks/data/README.md +9 -8
  5. package/docs/sdks/liveness/README.md +2 -2
  6. package/docs/sdks/location/README.md +9 -8
  7. package/docs/sdks/session/README.md +20 -18
  8. package/docs/sdks/settings/README.md +62 -54
  9. package/funcs/accountAccountV1ConnectionConnect.d.ts +1 -1
  10. package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
  11. package/funcs/accountAccountV1ConnectionConnect.js +12 -5
  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 +12 -5
  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 +12 -5
  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 +12 -5
  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 +12 -5
  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 +12 -5
  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 +12 -5
  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 +12 -5
  44. package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -1
  45. package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts +1 -1
  46. package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts.map +1 -1
  47. package/funcs/accountAccountV1SettingsGenerateApiKey.js +12 -5
  48. package/funcs/accountAccountV1SettingsGenerateApiKey.js.map +1 -1
  49. package/funcs/accountAccountV1SettingsGet.d.ts +1 -1
  50. package/funcs/accountAccountV1SettingsGet.d.ts.map +1 -1
  51. package/funcs/accountAccountV1SettingsGet.js +12 -5
  52. package/funcs/accountAccountV1SettingsGet.js.map +1 -1
  53. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts +1 -1
  54. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  55. package/funcs/accountAccountV1SettingsSendEmailVerification.js +12 -5
  56. package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
  57. package/funcs/accountAccountV1SettingsUpdate.d.ts +1 -1
  58. package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
  59. package/funcs/accountAccountV1SettingsUpdate.js +12 -5
  60. package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
  61. package/funcs/accountAccountV1SettingsUpdateImage.d.ts +1 -1
  62. package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -1
  63. package/funcs/accountAccountV1SettingsUpdateImage.js +12 -5
  64. package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -1
  65. package/funcs/accountAccountV1SettingsUploadImages.d.ts +1 -1
  66. package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -1
  67. package/funcs/accountAccountV1SettingsUploadImages.js +12 -5
  68. package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -1
  69. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +1 -1
  70. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  71. package/funcs/accountAccountV1SettingsVerfyEmail.js +12 -5
  72. package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
  73. package/funcs/connectionAccountV1ConnectionConnect.d.ts +1 -1
  74. package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
  75. package/funcs/connectionAccountV1ConnectionConnect.js +12 -5
  76. package/funcs/connectionAccountV1ConnectionConnect.js.map +1 -1
  77. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts +1 -1
  78. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  79. package/funcs/connectionAccountV1ConnectionDeleteConnection.js +12 -5
  80. package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +1 -1
  81. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts +1 -1
  82. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  83. package/funcs/connectionAccountV1ConnectionUpdateConnection.js +12 -5
  84. package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +1 -1
  85. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts +1 -1
  86. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  87. package/funcs/connectionAccountV1ConnectionVerifyConnection.js +12 -5
  88. package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
  89. package/funcs/dataAccountV1GetStaff.d.ts +1 -1
  90. package/funcs/dataAccountV1GetStaff.d.ts.map +1 -1
  91. package/funcs/dataAccountV1GetStaff.js +12 -5
  92. package/funcs/dataAccountV1GetStaff.js.map +1 -1
  93. package/funcs/livenessLiveness.js +3 -3
  94. package/funcs/livenessLiveness.js.map +1 -1
  95. package/funcs/locationLocation.d.ts +1 -1
  96. package/funcs/locationLocation.d.ts.map +1 -1
  97. package/funcs/locationLocation.js +12 -5
  98. package/funcs/locationLocation.js.map +1 -1
  99. package/funcs/sessionAccountV1SessionCreate.js +3 -3
  100. package/funcs/sessionAccountV1SessionCreate.js.map +1 -1
  101. package/funcs/sessionAccountV1SessionDelete.d.ts +1 -1
  102. package/funcs/sessionAccountV1SessionDelete.d.ts.map +1 -1
  103. package/funcs/sessionAccountV1SessionDelete.js +12 -5
  104. package/funcs/sessionAccountV1SessionDelete.js.map +1 -1
  105. package/funcs/sessionAccountV1SessionGet.d.ts +1 -1
  106. package/funcs/sessionAccountV1SessionGet.d.ts.map +1 -1
  107. package/funcs/sessionAccountV1SessionGet.js +12 -5
  108. package/funcs/sessionAccountV1SessionGet.js.map +1 -1
  109. package/funcs/sessionAccountV1SessionLogin.js +3 -3
  110. package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
  111. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +1 -1
  112. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -1
  113. package/funcs/settingsAccountV1SettingsDeleteImages.js +12 -5
  114. package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -1
  115. package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts +1 -1
  116. package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts.map +1 -1
  117. package/funcs/settingsAccountV1SettingsGenerateApiKey.js +12 -5
  118. package/funcs/settingsAccountV1SettingsGenerateApiKey.js.map +1 -1
  119. package/funcs/settingsAccountV1SettingsGet.d.ts +1 -1
  120. package/funcs/settingsAccountV1SettingsGet.d.ts.map +1 -1
  121. package/funcs/settingsAccountV1SettingsGet.js +12 -5
  122. package/funcs/settingsAccountV1SettingsGet.js.map +1 -1
  123. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts +1 -1
  124. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  125. package/funcs/settingsAccountV1SettingsSendEmailVerification.js +12 -5
  126. package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
  127. package/funcs/settingsAccountV1SettingsUpdate.d.ts +1 -1
  128. package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
  129. package/funcs/settingsAccountV1SettingsUpdate.js +12 -5
  130. package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
  131. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +1 -1
  132. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -1
  133. package/funcs/settingsAccountV1SettingsUpdateImage.js +12 -5
  134. package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -1
  135. package/funcs/settingsAccountV1SettingsUploadImages.d.ts +1 -1
  136. package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -1
  137. package/funcs/settingsAccountV1SettingsUploadImages.js +12 -5
  138. package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -1
  139. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +1 -1
  140. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  141. package/funcs/settingsAccountV1SettingsVerfyEmail.js +12 -5
  142. package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
  143. package/lib/config.d.ts +3 -3
  144. package/lib/config.d.ts.map +1 -1
  145. package/lib/config.js +2 -2
  146. package/lib/security.js +3 -3
  147. package/lib/security.js.map +1 -1
  148. package/models/components/security.d.ts +2 -2
  149. package/models/components/security.d.ts.map +1 -1
  150. package/models/components/security.js +2 -2
  151. package/models/components/security.js.map +1 -1
  152. package/models/operations/accountv1connectionconnect.d.ts +23 -0
  153. package/models/operations/accountv1connectionconnect.d.ts.map +1 -1
  154. package/models/operations/accountv1connectionconnect.js +20 -1
  155. package/models/operations/accountv1connectionconnect.js.map +1 -1
  156. package/models/operations/accountv1connectiondeleteconnection.d.ts +23 -0
  157. package/models/operations/accountv1connectiondeleteconnection.d.ts.map +1 -1
  158. package/models/operations/accountv1connectiondeleteconnection.js +20 -1
  159. package/models/operations/accountv1connectiondeleteconnection.js.map +1 -1
  160. package/models/operations/accountv1connectionupdateconnection.d.ts +23 -0
  161. package/models/operations/accountv1connectionupdateconnection.d.ts.map +1 -1
  162. package/models/operations/accountv1connectionupdateconnection.js +20 -1
  163. package/models/operations/accountv1connectionupdateconnection.js.map +1 -1
  164. package/models/operations/accountv1connectionverifyconnection.d.ts +23 -0
  165. package/models/operations/accountv1connectionverifyconnection.d.ts.map +1 -1
  166. package/models/operations/accountv1connectionverifyconnection.js +20 -1
  167. package/models/operations/accountv1connectionverifyconnection.js.map +1 -1
  168. package/models/operations/accountv1getstaff.d.ts +23 -0
  169. package/models/operations/accountv1getstaff.d.ts.map +1 -1
  170. package/models/operations/accountv1getstaff.js +20 -1
  171. package/models/operations/accountv1getstaff.js.map +1 -1
  172. package/models/operations/accountv1sessiondelete.d.ts +23 -0
  173. package/models/operations/accountv1sessiondelete.d.ts.map +1 -1
  174. package/models/operations/accountv1sessiondelete.js +20 -1
  175. package/models/operations/accountv1sessiondelete.js.map +1 -1
  176. package/models/operations/accountv1sessionget.d.ts +23 -0
  177. package/models/operations/accountv1sessionget.d.ts.map +1 -1
  178. package/models/operations/accountv1sessionget.js +20 -1
  179. package/models/operations/accountv1sessionget.js.map +1 -1
  180. package/models/operations/accountv1settingsdeleteimages.d.ts +23 -0
  181. package/models/operations/accountv1settingsdeleteimages.d.ts.map +1 -1
  182. package/models/operations/accountv1settingsdeleteimages.js +20 -1
  183. package/models/operations/accountv1settingsdeleteimages.js.map +1 -1
  184. package/models/operations/accountv1settingsgenerateapikey.d.ts +23 -0
  185. package/models/operations/accountv1settingsgenerateapikey.d.ts.map +1 -1
  186. package/models/operations/accountv1settingsgenerateapikey.js +20 -1
  187. package/models/operations/accountv1settingsgenerateapikey.js.map +1 -1
  188. package/models/operations/accountv1settingsget.d.ts +23 -0
  189. package/models/operations/accountv1settingsget.d.ts.map +1 -1
  190. package/models/operations/accountv1settingsget.js +20 -1
  191. package/models/operations/accountv1settingsget.js.map +1 -1
  192. package/models/operations/accountv1settingssendemailverification.d.ts +23 -0
  193. package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -1
  194. package/models/operations/accountv1settingssendemailverification.js +20 -1
  195. package/models/operations/accountv1settingssendemailverification.js.map +1 -1
  196. package/models/operations/accountv1settingsupdate.d.ts +23 -0
  197. package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
  198. package/models/operations/accountv1settingsupdate.js +20 -1
  199. package/models/operations/accountv1settingsupdate.js.map +1 -1
  200. package/models/operations/accountv1settingsupdateimage.d.ts +23 -0
  201. package/models/operations/accountv1settingsupdateimage.d.ts.map +1 -1
  202. package/models/operations/accountv1settingsupdateimage.js +20 -1
  203. package/models/operations/accountv1settingsupdateimage.js.map +1 -1
  204. package/models/operations/accountv1settingsuploadimages.d.ts +23 -0
  205. package/models/operations/accountv1settingsuploadimages.d.ts.map +1 -1
  206. package/models/operations/accountv1settingsuploadimages.js +20 -1
  207. package/models/operations/accountv1settingsuploadimages.js.map +1 -1
  208. package/models/operations/accountv1settingsverfyemail.d.ts +23 -0
  209. package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -1
  210. package/models/operations/accountv1settingsverfyemail.js +20 -1
  211. package/models/operations/accountv1settingsverfyemail.js.map +1 -1
  212. package/models/operations/location.d.ts +23 -0
  213. package/models/operations/location.d.ts.map +1 -1
  214. package/models/operations/location.js +20 -1
  215. package/models/operations/location.js.map +1 -1
  216. package/package.json +1 -1
  217. package/sdk/account.d.ts +15 -15
  218. package/sdk/account.d.ts.map +1 -1
  219. package/sdk/account.js +30 -30
  220. package/sdk/account.js.map +1 -1
  221. package/sdk/connection.d.ts +4 -4
  222. package/sdk/connection.d.ts.map +1 -1
  223. package/sdk/connection.js +8 -8
  224. package/sdk/connection.js.map +1 -1
  225. package/sdk/data.d.ts +1 -1
  226. package/sdk/data.d.ts.map +1 -1
  227. package/sdk/data.js +2 -2
  228. package/sdk/data.js.map +1 -1
  229. package/sdk/location.d.ts +1 -1
  230. package/sdk/location.d.ts.map +1 -1
  231. package/sdk/location.js +2 -2
  232. package/sdk/location.js.map +1 -1
  233. package/sdk/session.d.ts +2 -2
  234. package/sdk/session.d.ts.map +1 -1
  235. package/sdk/session.js +4 -4
  236. package/sdk/session.js.map +1 -1
  237. package/sdk/settings.d.ts +8 -8
  238. package/sdk/settings.d.ts.map +1 -1
  239. package/sdk/settings.js +16 -16
  240. package/sdk/settings.js.map +1 -1
  241. package/src/funcs/accountAccountV1ConnectionConnect.ts +13 -5
  242. package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +13 -5
  243. package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +13 -5
  244. package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +13 -5
  245. package/src/funcs/accountAccountV1GetStaff.ts +13 -5
  246. package/src/funcs/accountAccountV1SessionCreate.ts +3 -3
  247. package/src/funcs/accountAccountV1SessionDelete.ts +13 -5
  248. package/src/funcs/accountAccountV1SessionGet.ts +13 -5
  249. package/src/funcs/accountAccountV1SessionLogin.ts +3 -3
  250. package/src/funcs/accountAccountV1SettingsDeleteImages.ts +13 -5
  251. package/src/funcs/accountAccountV1SettingsGenerateApiKey.ts +13 -5
  252. package/src/funcs/accountAccountV1SettingsGet.ts +13 -5
  253. package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +13 -5
  254. package/src/funcs/accountAccountV1SettingsUpdate.ts +13 -5
  255. package/src/funcs/accountAccountV1SettingsUpdateImage.ts +13 -5
  256. package/src/funcs/accountAccountV1SettingsUploadImages.ts +13 -5
  257. package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +13 -5
  258. package/src/funcs/connectionAccountV1ConnectionConnect.ts +13 -5
  259. package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +13 -5
  260. package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +13 -5
  261. package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +13 -5
  262. package/src/funcs/dataAccountV1GetStaff.ts +13 -5
  263. package/src/funcs/livenessLiveness.ts +3 -3
  264. package/src/funcs/locationLocation.ts +13 -5
  265. package/src/funcs/sessionAccountV1SessionCreate.ts +3 -3
  266. package/src/funcs/sessionAccountV1SessionDelete.ts +13 -5
  267. package/src/funcs/sessionAccountV1SessionGet.ts +13 -5
  268. package/src/funcs/sessionAccountV1SessionLogin.ts +3 -3
  269. package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +13 -5
  270. package/src/funcs/settingsAccountV1SettingsGenerateApiKey.ts +13 -5
  271. package/src/funcs/settingsAccountV1SettingsGet.ts +13 -5
  272. package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +13 -5
  273. package/src/funcs/settingsAccountV1SettingsUpdate.ts +13 -5
  274. package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +13 -5
  275. package/src/funcs/settingsAccountV1SettingsUploadImages.ts +13 -5
  276. package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +13 -5
  277. package/src/lib/config.ts +3 -3
  278. package/src/lib/security.ts +3 -3
  279. package/src/models/components/security.ts +4 -4
  280. package/src/models/operations/accountv1connectionconnect.ts +41 -0
  281. package/src/models/operations/accountv1connectiondeleteconnection.ts +44 -0
  282. package/src/models/operations/accountv1connectionupdateconnection.ts +44 -0
  283. package/src/models/operations/accountv1connectionverifyconnection.ts +44 -0
  284. package/src/models/operations/accountv1getstaff.ts +40 -0
  285. package/src/models/operations/accountv1sessiondelete.ts +40 -0
  286. package/src/models/operations/accountv1sessionget.ts +40 -0
  287. package/src/models/operations/accountv1settingsdeleteimages.ts +42 -0
  288. package/src/models/operations/accountv1settingsgenerateapikey.ts +42 -0
  289. package/src/models/operations/accountv1settingsget.ts +40 -0
  290. package/src/models/operations/accountv1settingssendemailverification.ts +45 -0
  291. package/src/models/operations/accountv1settingsupdate.ts +40 -0
  292. package/src/models/operations/accountv1settingsupdateimage.ts +42 -0
  293. package/src/models/operations/accountv1settingsuploadimages.ts +42 -0
  294. package/src/models/operations/accountv1settingsverfyemail.ts +42 -0
  295. package/src/models/operations/location.ts +40 -0
  296. package/src/sdk/account.ts +30 -0
  297. package/src/sdk/connection.ts +8 -0
  298. package/src/sdk/data.ts +2 -0
  299. package/src/sdk/location.ts +2 -0
  300. package/src/sdk/session.ts +4 -0
  301. package/src/sdk/settings.ts +16 -0
@@ -40,14 +40,14 @@ Connect a new Social Provider
40
40
  ```typescript
41
41
  import { SteamSets } from "@steamsets/client-ts";
42
42
 
43
- const steamSets = new SteamSets({
44
- session: "<YOUR_BEARER_TOKEN_HERE>",
45
- });
43
+ const steamSets = new SteamSets();
46
44
 
47
45
  async function run() {
48
46
  const result = await steamSets.account.accountV1ConnectionConnect({
49
47
  code: "123456",
50
48
  provider: "discord",
49
+ }, {
50
+ session: "<YOUR_BEARER_TOKEN_HERE>",
51
51
  });
52
52
 
53
53
  // Handle the result
@@ -67,14 +67,14 @@ import { accountAccountV1ConnectionConnect } from "@steamsets/client-ts/funcs/ac
67
67
 
68
68
  // Use `SteamSetsCore` for best tree-shaking performance.
69
69
  // You can create one instance of it to use across an application.
70
- const steamSets = new SteamSetsCore({
71
- session: "<YOUR_BEARER_TOKEN_HERE>",
72
- });
70
+ const steamSets = new SteamSetsCore();
73
71
 
74
72
  async function run() {
75
73
  const res = await accountAccountV1ConnectionConnect(steamSets, {
76
74
  code: "123456",
77
75
  provider: "discord",
76
+ }, {
77
+ session: "<YOUR_BEARER_TOKEN_HERE>",
78
78
  });
79
79
 
80
80
  if (!res.ok) {
@@ -95,6 +95,7 @@ run();
95
95
  | Parameter | Type | Required | Description |
96
96
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
97
97
  | `request` | [components.V1ConnectRequestBody](../../models/components/v1connectrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
98
+ | `security` | [operations.AccountV1ConnectionConnectSecurity](../../models/operations/accountv1connectionconnectsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
98
99
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
99
100
  | `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
101
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -121,7 +122,7 @@ Create a new session for non logged in users
121
122
  import { SteamSets } from "@steamsets/client-ts";
122
123
 
123
124
  const steamSets = new SteamSets({
124
- session: "<YOUR_BEARER_TOKEN_HERE>",
125
+ apiKey: "<YOUR_API_KEY_HERE>",
125
126
  });
126
127
 
127
128
  async function run() {
@@ -145,7 +146,7 @@ import { accountAccountV1SessionCreate } from "@steamsets/client-ts/funcs/accoun
145
146
  // Use `SteamSetsCore` for best tree-shaking performance.
146
147
  // You can create one instance of it to use across an application.
147
148
  const steamSets = new SteamSetsCore({
148
- session: "<YOUR_BEARER_TOKEN_HERE>",
149
+ apiKey: "<YOUR_API_KEY_HERE>",
149
150
  });
150
151
 
151
152
  async function run() {
@@ -194,13 +195,13 @@ Remove a connection
194
195
  ```typescript
195
196
  import { SteamSets } from "@steamsets/client-ts";
196
197
 
197
- const steamSets = new SteamSets({
198
- session: "<YOUR_BEARER_TOKEN_HERE>",
199
- });
198
+ const steamSets = new SteamSets();
200
199
 
201
200
  async function run() {
202
201
  const result = await steamSets.account.accountV1ConnectionDeleteConnection({
203
202
  connectionId: "123456",
203
+ }, {
204
+ session: "<YOUR_BEARER_TOKEN_HERE>",
204
205
  });
205
206
 
206
207
  // Handle the result
@@ -220,13 +221,13 @@ import { accountAccountV1ConnectionDeleteConnection } from "@steamsets/client-ts
220
221
 
221
222
  // Use `SteamSetsCore` for best tree-shaking performance.
222
223
  // You can create one instance of it to use across an application.
223
- const steamSets = new SteamSetsCore({
224
- session: "<YOUR_BEARER_TOKEN_HERE>",
225
- });
224
+ const steamSets = new SteamSetsCore();
226
225
 
227
226
  async function run() {
228
227
  const res = await accountAccountV1ConnectionDeleteConnection(steamSets, {
229
228
  connectionId: "123456",
229
+ }, {
230
+ session: "<YOUR_BEARER_TOKEN_HERE>",
230
231
  });
231
232
 
232
233
  if (!res.ok) {
@@ -247,6 +248,7 @@ run();
247
248
  | Parameter | Type | Required | Description |
248
249
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
249
250
  | `request` | [components.V1DeleteConnectionRequestBody](../../models/components/v1deleteconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
251
+ | `security` | [operations.AccountV1ConnectionDeleteConnectionSecurity](../../models/operations/accountv1connectiondeleteconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
250
252
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
251
253
  | `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. |
252
254
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -272,15 +274,15 @@ Delete mulitple imagest
272
274
  ```typescript
273
275
  import { SteamSets } from "@steamsets/client-ts";
274
276
 
275
- const steamSets = new SteamSets({
276
- session: "<YOUR_BEARER_TOKEN_HERE>",
277
- });
277
+ const steamSets = new SteamSets();
278
278
 
279
279
  async function run() {
280
280
  const result = await steamSets.account.accountV1SettingsDeleteImages({
281
281
  imageIds: [
282
282
  "<value>",
283
283
  ],
284
+ }, {
285
+ session: "<YOUR_BEARER_TOKEN_HERE>",
284
286
  });
285
287
 
286
288
  // Handle the result
@@ -300,15 +302,15 @@ import { accountAccountV1SettingsDeleteImages } from "@steamsets/client-ts/funcs
300
302
 
301
303
  // Use `SteamSetsCore` for best tree-shaking performance.
302
304
  // You can create one instance of it to use across an application.
303
- const steamSets = new SteamSetsCore({
304
- session: "<YOUR_BEARER_TOKEN_HERE>",
305
- });
305
+ const steamSets = new SteamSetsCore();
306
306
 
307
307
  async function run() {
308
308
  const res = await accountAccountV1SettingsDeleteImages(steamSets, {
309
309
  imageIds: [
310
310
  "<value>",
311
311
  ],
312
+ }, {
313
+ session: "<YOUR_BEARER_TOKEN_HERE>",
312
314
  });
313
315
 
314
316
  if (!res.ok) {
@@ -329,6 +331,7 @@ run();
329
331
  | Parameter | Type | Required | Description |
330
332
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
331
333
  | `request` | [components.V1DeleteImagesRequestBody](../../models/components/v1deleteimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
334
+ | `security` | [operations.AccountV1SettingsDeleteImagesSecurity](../../models/operations/accountv1settingsdeleteimagessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
332
335
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
333
336
  | `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. |
334
337
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -354,13 +357,13 @@ Deletes a session, can also be used to logout
354
357
  ```typescript
355
358
  import { SteamSets } from "@steamsets/client-ts";
356
359
 
357
- const steamSets = new SteamSets({
358
- session: "<YOUR_BEARER_TOKEN_HERE>",
359
- });
360
+ const steamSets = new SteamSets();
360
361
 
361
362
  async function run() {
362
363
  const result = await steamSets.account.accountV1SessionDelete({
363
364
  sessionId: "123456",
365
+ }, {
366
+ session: "<YOUR_BEARER_TOKEN_HERE>",
364
367
  });
365
368
 
366
369
  // Handle the result
@@ -380,13 +383,13 @@ import { accountAccountV1SessionDelete } from "@steamsets/client-ts/funcs/accoun
380
383
 
381
384
  // Use `SteamSetsCore` for best tree-shaking performance.
382
385
  // You can create one instance of it to use across an application.
383
- const steamSets = new SteamSetsCore({
384
- session: "<YOUR_BEARER_TOKEN_HERE>",
385
- });
386
+ const steamSets = new SteamSetsCore();
386
387
 
387
388
  async function run() {
388
389
  const res = await accountAccountV1SessionDelete(steamSets, {
389
390
  sessionId: "123456",
391
+ }, {
392
+ session: "<YOUR_BEARER_TOKEN_HERE>",
390
393
  });
391
394
 
392
395
  if (!res.ok) {
@@ -407,6 +410,7 @@ run();
407
410
  | Parameter | Type | Required | Description |
408
411
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
409
412
  | `request` | [components.V1DeleteSessionRequestBody](../../models/components/v1deletesessionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
413
+ | `security` | [operations.AccountV1SessionDeleteSecurity](../../models/operations/accountv1sessiondeletesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
410
414
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
411
415
  | `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. |
412
416
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -432,12 +436,12 @@ Generate a new API key for the account
432
436
  ```typescript
433
437
  import { SteamSets } from "@steamsets/client-ts";
434
438
 
435
- const steamSets = new SteamSets({
436
- session: "<YOUR_BEARER_TOKEN_HERE>",
437
- });
439
+ const steamSets = new SteamSets();
438
440
 
439
441
  async function run() {
440
- const result = await steamSets.account.accountV1SettingsGenerateApiKey();
442
+ const result = await steamSets.account.accountV1SettingsGenerateApiKey({
443
+ session: "<YOUR_BEARER_TOKEN_HERE>",
444
+ });
441
445
 
442
446
  // Handle the result
443
447
  console.log(result)
@@ -456,12 +460,12 @@ import { accountAccountV1SettingsGenerateApiKey } from "@steamsets/client-ts/fun
456
460
 
457
461
  // Use `SteamSetsCore` for best tree-shaking performance.
458
462
  // You can create one instance of it to use across an application.
459
- const steamSets = new SteamSetsCore({
460
- session: "<YOUR_BEARER_TOKEN_HERE>",
461
- });
463
+ const steamSets = new SteamSetsCore();
462
464
 
463
465
  async function run() {
464
- const res = await accountAccountV1SettingsGenerateApiKey(steamSets);
466
+ const res = await accountAccountV1SettingsGenerateApiKey(steamSets, {
467
+ session: "<YOUR_BEARER_TOKEN_HERE>",
468
+ });
465
469
 
466
470
  if (!res.ok) {
467
471
  throw res.error;
@@ -480,6 +484,7 @@ run();
480
484
 
481
485
  | Parameter | Type | Required | Description |
482
486
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
487
+ | `security` | [operations.AccountV1SettingsGenerateApiKeySecurity](../../models/operations/accountv1settingsgenerateapikeysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
483
488
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
484
489
  | `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. |
485
490
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -987,12 +992,12 @@ Gets all session data
987
992
  ```typescript
988
993
  import { SteamSets } from "@steamsets/client-ts";
989
994
 
990
- const steamSets = new SteamSets({
991
- session: "<YOUR_BEARER_TOKEN_HERE>",
992
- });
995
+ const steamSets = new SteamSets();
993
996
 
994
997
  async function run() {
995
- const result = await steamSets.account.accountV1SessionGet();
998
+ const result = await steamSets.account.accountV1SessionGet({
999
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1000
+ });
996
1001
 
997
1002
  // Handle the result
998
1003
  console.log(result)
@@ -1011,12 +1016,12 @@ import { accountAccountV1SessionGet } from "@steamsets/client-ts/funcs/accountAc
1011
1016
 
1012
1017
  // Use `SteamSetsCore` for best tree-shaking performance.
1013
1018
  // You can create one instance of it to use across an application.
1014
- const steamSets = new SteamSetsCore({
1015
- session: "<YOUR_BEARER_TOKEN_HERE>",
1016
- });
1019
+ const steamSets = new SteamSetsCore();
1017
1020
 
1018
1021
  async function run() {
1019
- const res = await accountAccountV1SessionGet(steamSets);
1022
+ const res = await accountAccountV1SessionGet(steamSets, {
1023
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1024
+ });
1020
1025
 
1021
1026
  if (!res.ok) {
1022
1027
  throw res.error;
@@ -1035,6 +1040,7 @@ run();
1035
1040
 
1036
1041
  | Parameter | Type | Required | Description |
1037
1042
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1043
+ | `security` | [operations.AccountV1SessionGetSecurity](../../models/operations/accountv1sessiongetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1038
1044
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1039
1045
  | `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. |
1040
1046
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1060,12 +1066,12 @@ Gets all settings for the account
1060
1066
  ```typescript
1061
1067
  import { SteamSets } from "@steamsets/client-ts";
1062
1068
 
1063
- const steamSets = new SteamSets({
1064
- session: "<YOUR_BEARER_TOKEN_HERE>",
1065
- });
1069
+ const steamSets = new SteamSets();
1066
1070
 
1067
1071
  async function run() {
1068
- const result = await steamSets.account.accountV1SettingsGet();
1072
+ const result = await steamSets.account.accountV1SettingsGet({
1073
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1074
+ });
1069
1075
 
1070
1076
  // Handle the result
1071
1077
  console.log(result)
@@ -1084,12 +1090,12 @@ import { accountAccountV1SettingsGet } from "@steamsets/client-ts/funcs/accountA
1084
1090
 
1085
1091
  // Use `SteamSetsCore` for best tree-shaking performance.
1086
1092
  // You can create one instance of it to use across an application.
1087
- const steamSets = new SteamSetsCore({
1088
- session: "<YOUR_BEARER_TOKEN_HERE>",
1089
- });
1093
+ const steamSets = new SteamSetsCore();
1090
1094
 
1091
1095
  async function run() {
1092
- const res = await accountAccountV1SettingsGet(steamSets);
1096
+ const res = await accountAccountV1SettingsGet(steamSets, {
1097
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1098
+ });
1093
1099
 
1094
1100
  if (!res.ok) {
1095
1101
  throw res.error;
@@ -1108,6 +1114,7 @@ run();
1108
1114
 
1109
1115
  | Parameter | Type | Required | Description |
1110
1116
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1117
+ | `security` | [operations.AccountV1SettingsGetSecurity](../../models/operations/accountv1settingsgetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1111
1118
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1112
1119
  | `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. |
1113
1120
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1133,12 +1140,12 @@ Get Staff Members and their info
1133
1140
  ```typescript
1134
1141
  import { SteamSets } from "@steamsets/client-ts";
1135
1142
 
1136
- const steamSets = new SteamSets({
1137
- session: "<YOUR_BEARER_TOKEN_HERE>",
1138
- });
1143
+ const steamSets = new SteamSets();
1139
1144
 
1140
1145
  async function run() {
1141
- const result = await steamSets.account.accountV1GetStaff();
1146
+ const result = await steamSets.account.accountV1GetStaff({
1147
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1148
+ });
1142
1149
 
1143
1150
  // Handle the result
1144
1151
  console.log(result)
@@ -1157,12 +1164,12 @@ import { accountAccountV1GetStaff } from "@steamsets/client-ts/funcs/accountAcco
1157
1164
 
1158
1165
  // Use `SteamSetsCore` for best tree-shaking performance.
1159
1166
  // You can create one instance of it to use across an application.
1160
- const steamSets = new SteamSetsCore({
1161
- session: "<YOUR_BEARER_TOKEN_HERE>",
1162
- });
1167
+ const steamSets = new SteamSetsCore();
1163
1168
 
1164
1169
  async function run() {
1165
- const res = await accountAccountV1GetStaff(steamSets);
1170
+ const res = await accountAccountV1GetStaff(steamSets, {
1171
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1172
+ });
1166
1173
 
1167
1174
  if (!res.ok) {
1168
1175
  throw res.error;
@@ -1181,6 +1188,7 @@ run();
1181
1188
 
1182
1189
  | Parameter | Type | Required | Description |
1183
1190
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1191
+ | `security` | [operations.AccountV1GetStaffSecurity](../../models/operations/accountv1getstaffsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1184
1192
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1185
1193
  | `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. |
1186
1194
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1207,7 +1215,7 @@ Logs a user in and creates a new session
1207
1215
  import { SteamSets } from "@steamsets/client-ts";
1208
1216
 
1209
1217
  const steamSets = new SteamSets({
1210
- session: "<YOUR_BEARER_TOKEN_HERE>",
1218
+ apiKey: "<YOUR_API_KEY_HERE>",
1211
1219
  });
1212
1220
 
1213
1221
  async function run() {
@@ -1244,7 +1252,7 @@ import { accountAccountV1SessionLogin } from "@steamsets/client-ts/funcs/account
1244
1252
  // Use `SteamSetsCore` for best tree-shaking performance.
1245
1253
  // You can create one instance of it to use across an application.
1246
1254
  const steamSets = new SteamSetsCore({
1247
- session: "<YOUR_BEARER_TOKEN_HERE>",
1255
+ apiKey: "<YOUR_API_KEY_HERE>",
1248
1256
  });
1249
1257
 
1250
1258
  async function run() {
@@ -1306,12 +1314,12 @@ Resend the verification code for an email
1306
1314
  ```typescript
1307
1315
  import { SteamSets } from "@steamsets/client-ts";
1308
1316
 
1309
- const steamSets = new SteamSets({
1310
- session: "<YOUR_BEARER_TOKEN_HERE>",
1311
- });
1317
+ const steamSets = new SteamSets();
1312
1318
 
1313
1319
  async function run() {
1314
- const result = await steamSets.account.accountV1SettingsSendEmailVerification({});
1320
+ const result = await steamSets.account.accountV1SettingsSendEmailVerification({}, {
1321
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1322
+ });
1315
1323
 
1316
1324
  // Handle the result
1317
1325
  console.log(result)
@@ -1330,12 +1338,12 @@ import { accountAccountV1SettingsSendEmailVerification } from "@steamsets/client
1330
1338
 
1331
1339
  // Use `SteamSetsCore` for best tree-shaking performance.
1332
1340
  // You can create one instance of it to use across an application.
1333
- const steamSets = new SteamSetsCore({
1334
- session: "<YOUR_BEARER_TOKEN_HERE>",
1335
- });
1341
+ const steamSets = new SteamSetsCore();
1336
1342
 
1337
1343
  async function run() {
1338
- const res = await accountAccountV1SettingsSendEmailVerification(steamSets, {});
1344
+ const res = await accountAccountV1SettingsSendEmailVerification(steamSets, {}, {
1345
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1346
+ });
1339
1347
 
1340
1348
  if (!res.ok) {
1341
1349
  throw res.error;
@@ -1355,6 +1363,7 @@ run();
1355
1363
  | Parameter | Type | Required | Description |
1356
1364
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1357
1365
  | `request` | [operations.AccountV1SettingsSendEmailVerificationRequest](../../models/operations/accountv1settingssendemailverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1366
+ | `security` | [operations.AccountV1SettingsSendEmailVerificationSecurity](../../models/operations/accountv1settingssendemailverificationsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1358
1367
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1359
1368
  | `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. |
1360
1369
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1380,14 +1389,14 @@ Make a connection visible/invisible
1380
1389
  ```typescript
1381
1390
  import { SteamSets } from "@steamsets/client-ts";
1382
1391
 
1383
- const steamSets = new SteamSets({
1384
- session: "<YOUR_BEARER_TOKEN_HERE>",
1385
- });
1392
+ const steamSets = new SteamSets();
1386
1393
 
1387
1394
  async function run() {
1388
1395
  const result = await steamSets.account.accountV1ConnectionUpdateConnection({
1389
1396
  connectionId: "123456",
1390
1397
  hidden: true,
1398
+ }, {
1399
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1391
1400
  });
1392
1401
 
1393
1402
  // Handle the result
@@ -1407,14 +1416,14 @@ import { accountAccountV1ConnectionUpdateConnection } from "@steamsets/client-ts
1407
1416
 
1408
1417
  // Use `SteamSetsCore` for best tree-shaking performance.
1409
1418
  // You can create one instance of it to use across an application.
1410
- const steamSets = new SteamSetsCore({
1411
- session: "<YOUR_BEARER_TOKEN_HERE>",
1412
- });
1419
+ const steamSets = new SteamSetsCore();
1413
1420
 
1414
1421
  async function run() {
1415
1422
  const res = await accountAccountV1ConnectionUpdateConnection(steamSets, {
1416
1423
  connectionId: "123456",
1417
1424
  hidden: true,
1425
+ }, {
1426
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1418
1427
  });
1419
1428
 
1420
1429
  if (!res.ok) {
@@ -1435,6 +1444,7 @@ run();
1435
1444
  | Parameter | Type | Required | Description |
1436
1445
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1437
1446
  | `request` | [components.V1UpdateConnectionRequestBody](../../models/components/v1updateconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1447
+ | `security` | [operations.AccountV1ConnectionUpdateConnectionSecurity](../../models/operations/accountv1connectionupdateconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1438
1448
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1439
1449
  | `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. |
1440
1450
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1460,14 +1470,14 @@ Update one of the uploaded images
1460
1470
  ```typescript
1461
1471
  import { SteamSets } from "@steamsets/client-ts";
1462
1472
 
1463
- const steamSets = new SteamSets({
1464
- session: "<YOUR_BEARER_TOKEN_HERE>",
1465
- });
1473
+ const steamSets = new SteamSets();
1466
1474
 
1467
1475
  async function run() {
1468
1476
  const result = await steamSets.account.accountV1SettingsUpdateImage({
1469
1477
  active: true,
1470
1478
  imageId: "123456",
1479
+ }, {
1480
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1471
1481
  });
1472
1482
 
1473
1483
  // Handle the result
@@ -1487,14 +1497,14 @@ import { accountAccountV1SettingsUpdateImage } from "@steamsets/client-ts/funcs/
1487
1497
 
1488
1498
  // Use `SteamSetsCore` for best tree-shaking performance.
1489
1499
  // You can create one instance of it to use across an application.
1490
- const steamSets = new SteamSetsCore({
1491
- session: "<YOUR_BEARER_TOKEN_HERE>",
1492
- });
1500
+ const steamSets = new SteamSetsCore();
1493
1501
 
1494
1502
  async function run() {
1495
1503
  const res = await accountAccountV1SettingsUpdateImage(steamSets, {
1496
1504
  active: true,
1497
1505
  imageId: "123456",
1506
+ }, {
1507
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1498
1508
  });
1499
1509
 
1500
1510
  if (!res.ok) {
@@ -1515,6 +1525,7 @@ run();
1515
1525
  | Parameter | Type | Required | Description |
1516
1526
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1517
1527
  | `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1528
+ | `security` | [operations.AccountV1SettingsUpdateImageSecurity](../../models/operations/accountv1settingsupdateimagesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1518
1529
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1519
1530
  | `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. |
1520
1531
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1540,9 +1551,7 @@ Update settings for the logged in account
1540
1551
  ```typescript
1541
1552
  import { SteamSets } from "@steamsets/client-ts";
1542
1553
 
1543
- const steamSets = new SteamSets({
1544
- session: "<YOUR_BEARER_TOKEN_HERE>",
1545
- });
1554
+ const steamSets = new SteamSets();
1546
1555
 
1547
1556
  async function run() {
1548
1557
  const result = await steamSets.account.accountV1SettingsUpdate({
@@ -1561,6 +1570,8 @@ async function run() {
1561
1570
  theme: "dark",
1562
1571
  vanity: "flo",
1563
1572
  },
1573
+ }, {
1574
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1564
1575
  });
1565
1576
 
1566
1577
  // Handle the result
@@ -1580,9 +1591,7 @@ import { accountAccountV1SettingsUpdate } from "@steamsets/client-ts/funcs/accou
1580
1591
 
1581
1592
  // Use `SteamSetsCore` for best tree-shaking performance.
1582
1593
  // You can create one instance of it to use across an application.
1583
- const steamSets = new SteamSetsCore({
1584
- session: "<YOUR_BEARER_TOKEN_HERE>",
1585
- });
1594
+ const steamSets = new SteamSetsCore();
1586
1595
 
1587
1596
  async function run() {
1588
1597
  const res = await accountAccountV1SettingsUpdate(steamSets, {
@@ -1601,6 +1610,8 @@ async function run() {
1601
1610
  theme: "dark",
1602
1611
  vanity: "flo",
1603
1612
  },
1613
+ }, {
1614
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1604
1615
  });
1605
1616
 
1606
1617
  if (!res.ok) {
@@ -1621,6 +1632,7 @@ run();
1621
1632
  | Parameter | Type | Required | Description |
1622
1633
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1623
1634
  | `request` | [operations.AccountV1SettingsUpdateRequest](../../models/operations/accountv1settingsupdaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
1635
+ | `security` | [operations.AccountV1SettingsUpdateSecurity](../../models/operations/accountv1settingsupdatesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1624
1636
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1625
1637
  | `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. |
1626
1638
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1646,9 +1658,7 @@ Multi Upload Endpoint for images
1646
1658
  ```typescript
1647
1659
  import { SteamSets } from "@steamsets/client-ts";
1648
1660
 
1649
- const steamSets = new SteamSets({
1650
- session: "<YOUR_BEARER_TOKEN_HERE>",
1651
- });
1661
+ const steamSets = new SteamSets();
1652
1662
 
1653
1663
  async function run() {
1654
1664
  const result = await steamSets.account.accountV1SettingsUploadImages({
@@ -1658,6 +1668,8 @@ async function run() {
1658
1668
  type: "avatar",
1659
1669
  },
1660
1670
  ],
1671
+ }, {
1672
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1661
1673
  });
1662
1674
 
1663
1675
  // Handle the result
@@ -1677,9 +1689,7 @@ import { accountAccountV1SettingsUploadImages } from "@steamsets/client-ts/funcs
1677
1689
 
1678
1690
  // Use `SteamSetsCore` for best tree-shaking performance.
1679
1691
  // You can create one instance of it to use across an application.
1680
- const steamSets = new SteamSetsCore({
1681
- session: "<YOUR_BEARER_TOKEN_HERE>",
1682
- });
1692
+ const steamSets = new SteamSetsCore();
1683
1693
 
1684
1694
  async function run() {
1685
1695
  const res = await accountAccountV1SettingsUploadImages(steamSets, {
@@ -1689,6 +1699,8 @@ async function run() {
1689
1699
  type: "avatar",
1690
1700
  },
1691
1701
  ],
1702
+ }, {
1703
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1692
1704
  });
1693
1705
 
1694
1706
  if (!res.ok) {
@@ -1709,6 +1721,7 @@ run();
1709
1721
  | Parameter | Type | Required | Description |
1710
1722
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1711
1723
  | `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1724
+ | `security` | [operations.AccountV1SettingsUploadImagesSecurity](../../models/operations/accountv1settingsuploadimagessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1712
1725
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1713
1726
  | `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. |
1714
1727
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1734,13 +1747,13 @@ Verify a domain connection only atm
1734
1747
  ```typescript
1735
1748
  import { SteamSets } from "@steamsets/client-ts";
1736
1749
 
1737
- const steamSets = new SteamSets({
1738
- session: "<YOUR_BEARER_TOKEN_HERE>",
1739
- });
1750
+ const steamSets = new SteamSets();
1740
1751
 
1741
1752
  async function run() {
1742
1753
  const result = await steamSets.account.accountV1ConnectionVerifyConnection({
1743
1754
  connectionId: "123456",
1755
+ }, {
1756
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1744
1757
  });
1745
1758
 
1746
1759
  // Handle the result
@@ -1760,13 +1773,13 @@ import { accountAccountV1ConnectionVerifyConnection } from "@steamsets/client-ts
1760
1773
 
1761
1774
  // Use `SteamSetsCore` for best tree-shaking performance.
1762
1775
  // You can create one instance of it to use across an application.
1763
- const steamSets = new SteamSetsCore({
1764
- session: "<YOUR_BEARER_TOKEN_HERE>",
1765
- });
1776
+ const steamSets = new SteamSetsCore();
1766
1777
 
1767
1778
  async function run() {
1768
1779
  const res = await accountAccountV1ConnectionVerifyConnection(steamSets, {
1769
1780
  connectionId: "123456",
1781
+ }, {
1782
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1770
1783
  });
1771
1784
 
1772
1785
  if (!res.ok) {
@@ -1787,6 +1800,7 @@ run();
1787
1800
  | Parameter | Type | Required | Description |
1788
1801
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1789
1802
  | `request` | [components.V1VerifyConnectionRequestBody](../../models/components/v1verifyconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1803
+ | `security` | [operations.AccountV1ConnectionVerifyConnectionSecurity](../../models/operations/accountv1connectionverifyconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1790
1804
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1791
1805
  | `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. |
1792
1806
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -1812,13 +1826,13 @@ Verify the email by passing in the code the user should've gotten
1812
1826
  ```typescript
1813
1827
  import { SteamSets } from "@steamsets/client-ts";
1814
1828
 
1815
- const steamSets = new SteamSets({
1816
- session: "<YOUR_BEARER_TOKEN_HERE>",
1817
- });
1829
+ const steamSets = new SteamSets();
1818
1830
 
1819
1831
  async function run() {
1820
1832
  const result = await steamSets.account.accountV1SettingsVerfyEmail({
1821
1833
  code: "123456",
1834
+ }, {
1835
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1822
1836
  });
1823
1837
 
1824
1838
  // Handle the result
@@ -1838,13 +1852,13 @@ import { accountAccountV1SettingsVerfyEmail } from "@steamsets/client-ts/funcs/a
1838
1852
 
1839
1853
  // Use `SteamSetsCore` for best tree-shaking performance.
1840
1854
  // You can create one instance of it to use across an application.
1841
- const steamSets = new SteamSetsCore({
1842
- session: "<YOUR_BEARER_TOKEN_HERE>",
1843
- });
1855
+ const steamSets = new SteamSetsCore();
1844
1856
 
1845
1857
  async function run() {
1846
1858
  const res = await accountAccountV1SettingsVerfyEmail(steamSets, {
1847
1859
  code: "123456",
1860
+ }, {
1861
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1848
1862
  });
1849
1863
 
1850
1864
  if (!res.ok) {
@@ -1865,6 +1879,7 @@ run();
1865
1879
  | Parameter | Type | Required | Description |
1866
1880
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1867
1881
  | `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1882
+ | `security` | [operations.AccountV1SettingsVerfyEmailSecurity](../../models/operations/accountv1settingsverfyemailsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
1868
1883
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1869
1884
  | `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. |
1870
1885
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |