@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
@@ -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({
25
- session: "<YOUR_BEARER_TOKEN_HERE>",
26
- });
24
+ const steamSets = new SteamSets();
27
25
 
28
26
  async function run() {
29
27
  const result = await steamSets.connection.accountV1ConnectionConnect({
30
28
  code: "123456",
31
29
  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({
52
- session: "<YOUR_BEARER_TOKEN_HERE>",
53
- });
51
+ const steamSets = new SteamSetsCore();
54
52
 
55
53
  async function run() {
56
54
  const res = await connectionAccountV1ConnectionConnect(steamSets, {
57
55
  code: "123456",
58
56
  provider: "discord",
57
+ }, {
58
+ session: "<YOUR_BEARER_TOKEN_HERE>",
59
59
  });
60
60
 
61
61
  if (!res.ok) {
@@ -76,6 +76,7 @@ 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. |
79
80
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
80
81
  | `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. |
81
82
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -101,13 +102,13 @@ Remove a connection
101
102
  ```typescript
102
103
  import { SteamSets } from "@steamsets/client-ts";
103
104
 
104
- const steamSets = new SteamSets({
105
- session: "<YOUR_BEARER_TOKEN_HERE>",
106
- });
105
+ const steamSets = new SteamSets();
107
106
 
108
107
  async function run() {
109
108
  const result = await steamSets.connection.accountV1ConnectionDeleteConnection({
110
109
  connectionId: "123456",
110
+ }, {
111
+ session: "<YOUR_BEARER_TOKEN_HERE>",
111
112
  });
112
113
 
113
114
  // Handle the result
@@ -127,13 +128,13 @@ import { connectionAccountV1ConnectionDeleteConnection } from "@steamsets/client
127
128
 
128
129
  // Use `SteamSetsCore` for best tree-shaking performance.
129
130
  // You can create one instance of it to use across an application.
130
- const steamSets = new SteamSetsCore({
131
- session: "<YOUR_BEARER_TOKEN_HERE>",
132
- });
131
+ const steamSets = new SteamSetsCore();
133
132
 
134
133
  async function run() {
135
134
  const res = await connectionAccountV1ConnectionDeleteConnection(steamSets, {
136
135
  connectionId: "123456",
136
+ }, {
137
+ session: "<YOUR_BEARER_TOKEN_HERE>",
137
138
  });
138
139
 
139
140
  if (!res.ok) {
@@ -154,6 +155,7 @@ run();
154
155
  | Parameter | Type | Required | Description |
155
156
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
156
157
  | `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. |
157
159
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
158
160
  | `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. |
159
161
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -179,14 +181,14 @@ Make a connection visible/invisible
179
181
  ```typescript
180
182
  import { SteamSets } from "@steamsets/client-ts";
181
183
 
182
- const steamSets = new SteamSets({
183
- session: "<YOUR_BEARER_TOKEN_HERE>",
184
- });
184
+ const steamSets = new SteamSets();
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>",
190
192
  });
191
193
 
192
194
  // Handle the result
@@ -206,14 +208,14 @@ import { connectionAccountV1ConnectionUpdateConnection } from "@steamsets/client
206
208
 
207
209
  // Use `SteamSetsCore` for best tree-shaking performance.
208
210
  // You can create one instance of it to use across an application.
209
- const steamSets = new SteamSetsCore({
210
- session: "<YOUR_BEARER_TOKEN_HERE>",
211
- });
211
+ const steamSets = new SteamSetsCore();
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>",
217
219
  });
218
220
 
219
221
  if (!res.ok) {
@@ -234,6 +236,7 @@ run();
234
236
  | Parameter | Type | Required | Description |
235
237
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
236
238
  | `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. |
237
240
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
238
241
  | `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. |
239
242
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -259,13 +262,13 @@ Verify a domain connection only atm
259
262
  ```typescript
260
263
  import { SteamSets } from "@steamsets/client-ts";
261
264
 
262
- const steamSets = new SteamSets({
263
- session: "<YOUR_BEARER_TOKEN_HERE>",
264
- });
265
+ const steamSets = new SteamSets();
265
266
 
266
267
  async function run() {
267
268
  const result = await steamSets.connection.accountV1ConnectionVerifyConnection({
268
269
  connectionId: "123456",
270
+ }, {
271
+ session: "<YOUR_BEARER_TOKEN_HERE>",
269
272
  });
270
273
 
271
274
  // Handle the result
@@ -285,13 +288,13 @@ import { connectionAccountV1ConnectionVerifyConnection } from "@steamsets/client
285
288
 
286
289
  // Use `SteamSetsCore` for best tree-shaking performance.
287
290
  // You can create one instance of it to use across an application.
288
- const steamSets = new SteamSetsCore({
289
- session: "<YOUR_BEARER_TOKEN_HERE>",
290
- });
291
+ const steamSets = new SteamSetsCore();
291
292
 
292
293
  async function run() {
293
294
  const res = await connectionAccountV1ConnectionVerifyConnection(steamSets, {
294
295
  connectionId: "123456",
296
+ }, {
297
+ session: "<YOUR_BEARER_TOKEN_HERE>",
295
298
  });
296
299
 
297
300
  if (!res.ok) {
@@ -312,6 +315,7 @@ run();
312
315
  | Parameter | Type | Required | Description |
313
316
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
314
317
  | `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. |
315
319
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
316
320
  | `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. |
317
321
  | `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({
511
- session: "<YOUR_BEARER_TOKEN_HERE>",
512
- });
510
+ const steamSets = new SteamSets();
513
511
 
514
512
  async function run() {
515
- const result = await steamSets.data.accountV1GetStaff();
513
+ const result = await steamSets.data.accountV1GetStaff({
514
+ session: "<YOUR_BEARER_TOKEN_HERE>",
515
+ });
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({
535
- session: "<YOUR_BEARER_TOKEN_HERE>",
536
- });
534
+ const steamSets = new SteamSetsCore();
537
535
 
538
536
  async function run() {
539
- const res = await dataAccountV1GetStaff(steamSets);
537
+ const res = await dataAccountV1GetStaff(steamSets, {
538
+ session: "<YOUR_BEARER_TOKEN_HERE>",
539
+ });
540
540
 
541
541
  if (!res.ok) {
542
542
  throw res.error;
@@ -555,6 +555,7 @@ 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. |
558
559
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
559
560
  | `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. |
560
561
  | `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
- session: "<YOUR_BEARER_TOKEN_HERE>",
22
+ apiKey: "<YOUR_API_KEY_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
- session: "<YOUR_BEARER_TOKEN_HERE>",
46
+ apiKey: "<YOUR_API_KEY_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({
20
- session: "<YOUR_BEARER_TOKEN_HERE>",
21
- });
19
+ const steamSets = new SteamSets();
22
20
 
23
21
  async function run() {
24
- const result = await steamSets.location.location();
22
+ const result = await steamSets.location.location({
23
+ session: "<YOUR_BEARER_TOKEN_HERE>",
24
+ });
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({
44
- session: "<YOUR_BEARER_TOKEN_HERE>",
45
- });
43
+ const steamSets = new SteamSetsCore();
46
44
 
47
45
  async function run() {
48
- const res = await locationLocation(steamSets);
46
+ const res = await locationLocation(steamSets, {
47
+ session: "<YOUR_BEARER_TOKEN_HERE>",
48
+ });
49
49
 
50
50
  if (!res.ok) {
51
51
  throw res.error;
@@ -64,6 +64,7 @@ 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. |
67
68
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
68
69
  | `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. |
69
70
  | `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
- session: "<YOUR_BEARER_TOKEN_HERE>",
23
+ apiKey: "<YOUR_API_KEY_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
- session: "<YOUR_BEARER_TOKEN_HERE>",
47
+ apiKey: "<YOUR_API_KEY_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({
97
- session: "<YOUR_BEARER_TOKEN_HERE>",
98
- });
96
+ const steamSets = new SteamSets();
99
97
 
100
98
  async function run() {
101
99
  const result = await steamSets.session.accountV1SessionDelete({
102
100
  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({
123
- session: "<YOUR_BEARER_TOKEN_HERE>",
124
- });
122
+ const steamSets = new SteamSetsCore();
125
123
 
126
124
  async function run() {
127
125
  const res = await sessionAccountV1SessionDelete(steamSets, {
128
126
  sessionId: "123456",
127
+ }, {
128
+ session: "<YOUR_BEARER_TOKEN_HERE>",
129
129
  });
130
130
 
131
131
  if (!res.ok) {
@@ -146,6 +146,7 @@ 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. |
149
150
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
150
151
  | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
151
152
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -171,12 +172,12 @@ Gets all session data
171
172
  ```typescript
172
173
  import { SteamSets } from "@steamsets/client-ts";
173
174
 
174
- const steamSets = new SteamSets({
175
- session: "<YOUR_BEARER_TOKEN_HERE>",
176
- });
175
+ const steamSets = new SteamSets();
177
176
 
178
177
  async function run() {
179
- const result = await steamSets.session.accountV1SessionGet();
178
+ const result = await steamSets.session.accountV1SessionGet({
179
+ session: "<YOUR_BEARER_TOKEN_HERE>",
180
+ });
180
181
 
181
182
  // Handle the result
182
183
  console.log(result)
@@ -195,12 +196,12 @@ import { sessionAccountV1SessionGet } from "@steamsets/client-ts/funcs/sessionAc
195
196
 
196
197
  // Use `SteamSetsCore` for best tree-shaking performance.
197
198
  // You can create one instance of it to use across an application.
198
- const steamSets = new SteamSetsCore({
199
- session: "<YOUR_BEARER_TOKEN_HERE>",
200
- });
199
+ const steamSets = new SteamSetsCore();
201
200
 
202
201
  async function run() {
203
- const res = await sessionAccountV1SessionGet(steamSets);
202
+ const res = await sessionAccountV1SessionGet(steamSets, {
203
+ session: "<YOUR_BEARER_TOKEN_HERE>",
204
+ });
204
205
 
205
206
  if (!res.ok) {
206
207
  throw res.error;
@@ -219,6 +220,7 @@ run();
219
220
 
220
221
  | Parameter | Type | Required | Description |
221
222
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
223
+ | `security` | [operations.AccountV1SessionGetSecurity](../../models/operations/accountv1sessiongetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
222
224
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
223
225
  | `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. |
224
226
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -245,7 +247,7 @@ Logs a user in and creates a new session
245
247
  import { SteamSets } from "@steamsets/client-ts";
246
248
 
247
249
  const steamSets = new SteamSets({
248
- session: "<YOUR_BEARER_TOKEN_HERE>",
250
+ apiKey: "<YOUR_API_KEY_HERE>",
249
251
  });
250
252
 
251
253
  async function run() {
@@ -282,7 +284,7 @@ import { sessionAccountV1SessionLogin } from "@steamsets/client-ts/funcs/session
282
284
  // Use `SteamSetsCore` for best tree-shaking performance.
283
285
  // You can create one instance of it to use across an application.
284
286
  const steamSets = new SteamSetsCore({
285
- session: "<YOUR_BEARER_TOKEN_HERE>",
287
+ apiKey: "<YOUR_API_KEY_HERE>",
286
288
  });
287
289
 
288
290
  async function run() {