@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.
- package/README.md +24 -24
- package/docs/sdks/account/README.md +119 -104
- package/docs/sdks/connection/README.md +28 -24
- package/docs/sdks/data/README.md +9 -8
- package/docs/sdks/liveness/README.md +2 -2
- package/docs/sdks/location/README.md +9 -8
- package/docs/sdks/session/README.md +20 -18
- package/docs/sdks/settings/README.md +62 -54
- package/funcs/accountAccountV1ConnectionConnect.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionConnect.js +12 -5
- package/funcs/accountAccountV1ConnectionConnect.js.map +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.js +12 -5
- package/funcs/accountAccountV1ConnectionDeleteConnection.js.map +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.js +12 -5
- package/funcs/accountAccountV1ConnectionUpdateConnection.js.map +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.js +12 -5
- package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +1 -1
- package/funcs/accountAccountV1GetStaff.d.ts +1 -1
- package/funcs/accountAccountV1GetStaff.d.ts.map +1 -1
- package/funcs/accountAccountV1GetStaff.js +12 -5
- package/funcs/accountAccountV1GetStaff.js.map +1 -1
- package/funcs/accountAccountV1SessionCreate.js +3 -3
- package/funcs/accountAccountV1SessionCreate.js.map +1 -1
- package/funcs/accountAccountV1SessionDelete.d.ts +1 -1
- package/funcs/accountAccountV1SessionDelete.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionDelete.js +12 -5
- package/funcs/accountAccountV1SessionDelete.js.map +1 -1
- package/funcs/accountAccountV1SessionGet.d.ts +1 -1
- package/funcs/accountAccountV1SessionGet.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionGet.js +12 -5
- package/funcs/accountAccountV1SessionGet.js.map +1 -1
- package/funcs/accountAccountV1SessionLogin.js +3 -3
- package/funcs/accountAccountV1SessionLogin.js.map +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.js +12 -5
- package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -1
- package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts +1 -1
- package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsGenerateApiKey.js +12 -5
- package/funcs/accountAccountV1SettingsGenerateApiKey.js.map +1 -1
- package/funcs/accountAccountV1SettingsGet.d.ts +1 -1
- package/funcs/accountAccountV1SettingsGet.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsGet.js +12 -5
- package/funcs/accountAccountV1SettingsGet.js.map +1 -1
- package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts +1 -1
- package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsSendEmailVerification.js +12 -5
- package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
- package/funcs/accountAccountV1SettingsUpdate.d.ts +1 -1
- package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUpdate.js +12 -5
- package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.js +12 -5
- package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.d.ts +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.js +12 -5
- package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.js +12 -5
- package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.js +12 -5
- package/funcs/connectionAccountV1ConnectionConnect.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.js +12 -5
- package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.js +12 -5
- package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.js +12 -5
- package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
- package/funcs/dataAccountV1GetStaff.d.ts +1 -1
- package/funcs/dataAccountV1GetStaff.d.ts.map +1 -1
- package/funcs/dataAccountV1GetStaff.js +12 -5
- package/funcs/dataAccountV1GetStaff.js.map +1 -1
- package/funcs/livenessLiveness.js +3 -3
- package/funcs/livenessLiveness.js.map +1 -1
- package/funcs/locationLocation.d.ts +1 -1
- package/funcs/locationLocation.d.ts.map +1 -1
- package/funcs/locationLocation.js +12 -5
- package/funcs/locationLocation.js.map +1 -1
- package/funcs/sessionAccountV1SessionCreate.js +3 -3
- package/funcs/sessionAccountV1SessionCreate.js.map +1 -1
- package/funcs/sessionAccountV1SessionDelete.d.ts +1 -1
- package/funcs/sessionAccountV1SessionDelete.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionDelete.js +12 -5
- package/funcs/sessionAccountV1SessionDelete.js.map +1 -1
- package/funcs/sessionAccountV1SessionGet.d.ts +1 -1
- package/funcs/sessionAccountV1SessionGet.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionGet.js +12 -5
- package/funcs/sessionAccountV1SessionGet.js.map +1 -1
- package/funcs/sessionAccountV1SessionLogin.js +3 -3
- package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.js +12 -5
- package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -1
- package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsGenerateApiKey.js +12 -5
- package/funcs/settingsAccountV1SettingsGenerateApiKey.js.map +1 -1
- package/funcs/settingsAccountV1SettingsGet.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsGet.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsGet.js +12 -5
- package/funcs/settingsAccountV1SettingsGet.js.map +1 -1
- package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsSendEmailVerification.js +12 -5
- package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.js +12 -5
- package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.js +12 -5
- package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.js +12 -5
- package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.js +12 -5
- package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +2 -2
- package/lib/security.js +3 -3
- package/lib/security.js.map +1 -1
- package/models/components/security.d.ts +2 -2
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +2 -2
- package/models/components/security.js.map +1 -1
- package/models/operations/accountv1connectionconnect.d.ts +23 -0
- package/models/operations/accountv1connectionconnect.d.ts.map +1 -1
- package/models/operations/accountv1connectionconnect.js +20 -1
- package/models/operations/accountv1connectionconnect.js.map +1 -1
- package/models/operations/accountv1connectiondeleteconnection.d.ts +23 -0
- package/models/operations/accountv1connectiondeleteconnection.d.ts.map +1 -1
- package/models/operations/accountv1connectiondeleteconnection.js +20 -1
- package/models/operations/accountv1connectiondeleteconnection.js.map +1 -1
- package/models/operations/accountv1connectionupdateconnection.d.ts +23 -0
- package/models/operations/accountv1connectionupdateconnection.d.ts.map +1 -1
- package/models/operations/accountv1connectionupdateconnection.js +20 -1
- package/models/operations/accountv1connectionupdateconnection.js.map +1 -1
- package/models/operations/accountv1connectionverifyconnection.d.ts +23 -0
- package/models/operations/accountv1connectionverifyconnection.d.ts.map +1 -1
- package/models/operations/accountv1connectionverifyconnection.js +20 -1
- package/models/operations/accountv1connectionverifyconnection.js.map +1 -1
- package/models/operations/accountv1getstaff.d.ts +23 -0
- package/models/operations/accountv1getstaff.d.ts.map +1 -1
- package/models/operations/accountv1getstaff.js +20 -1
- package/models/operations/accountv1getstaff.js.map +1 -1
- package/models/operations/accountv1sessiondelete.d.ts +23 -0
- package/models/operations/accountv1sessiondelete.d.ts.map +1 -1
- package/models/operations/accountv1sessiondelete.js +20 -1
- package/models/operations/accountv1sessiondelete.js.map +1 -1
- package/models/operations/accountv1sessionget.d.ts +23 -0
- package/models/operations/accountv1sessionget.d.ts.map +1 -1
- package/models/operations/accountv1sessionget.js +20 -1
- package/models/operations/accountv1sessionget.js.map +1 -1
- package/models/operations/accountv1settingsdeleteimages.d.ts +23 -0
- package/models/operations/accountv1settingsdeleteimages.d.ts.map +1 -1
- package/models/operations/accountv1settingsdeleteimages.js +20 -1
- package/models/operations/accountv1settingsdeleteimages.js.map +1 -1
- package/models/operations/accountv1settingsgenerateapikey.d.ts +23 -0
- package/models/operations/accountv1settingsgenerateapikey.d.ts.map +1 -1
- package/models/operations/accountv1settingsgenerateapikey.js +20 -1
- package/models/operations/accountv1settingsgenerateapikey.js.map +1 -1
- package/models/operations/accountv1settingsget.d.ts +23 -0
- package/models/operations/accountv1settingsget.d.ts.map +1 -1
- package/models/operations/accountv1settingsget.js +20 -1
- package/models/operations/accountv1settingsget.js.map +1 -1
- package/models/operations/accountv1settingssendemailverification.d.ts +23 -0
- package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -1
- package/models/operations/accountv1settingssendemailverification.js +20 -1
- package/models/operations/accountv1settingssendemailverification.js.map +1 -1
- package/models/operations/accountv1settingsupdate.d.ts +23 -0
- package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
- package/models/operations/accountv1settingsupdate.js +20 -1
- package/models/operations/accountv1settingsupdate.js.map +1 -1
- package/models/operations/accountv1settingsupdateimage.d.ts +23 -0
- package/models/operations/accountv1settingsupdateimage.d.ts.map +1 -1
- package/models/operations/accountv1settingsupdateimage.js +20 -1
- package/models/operations/accountv1settingsupdateimage.js.map +1 -1
- package/models/operations/accountv1settingsuploadimages.d.ts +23 -0
- package/models/operations/accountv1settingsuploadimages.d.ts.map +1 -1
- package/models/operations/accountv1settingsuploadimages.js +20 -1
- package/models/operations/accountv1settingsuploadimages.js.map +1 -1
- package/models/operations/accountv1settingsverfyemail.d.ts +23 -0
- package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -1
- package/models/operations/accountv1settingsverfyemail.js +20 -1
- package/models/operations/accountv1settingsverfyemail.js.map +1 -1
- package/models/operations/location.d.ts +23 -0
- package/models/operations/location.d.ts.map +1 -1
- package/models/operations/location.js +20 -1
- package/models/operations/location.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +15 -15
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +30 -30
- package/sdk/account.js.map +1 -1
- package/sdk/connection.d.ts +4 -4
- package/sdk/connection.d.ts.map +1 -1
- package/sdk/connection.js +8 -8
- package/sdk/connection.js.map +1 -1
- package/sdk/data.d.ts +1 -1
- package/sdk/data.d.ts.map +1 -1
- package/sdk/data.js +2 -2
- package/sdk/data.js.map +1 -1
- package/sdk/location.d.ts +1 -1
- package/sdk/location.d.ts.map +1 -1
- package/sdk/location.js +2 -2
- package/sdk/location.js.map +1 -1
- package/sdk/session.d.ts +2 -2
- package/sdk/session.d.ts.map +1 -1
- package/sdk/session.js +4 -4
- package/sdk/session.js.map +1 -1
- package/sdk/settings.d.ts +8 -8
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +16 -16
- package/sdk/settings.js.map +1 -1
- package/src/funcs/accountAccountV1ConnectionConnect.ts +13 -5
- package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +13 -5
- package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +13 -5
- package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +13 -5
- package/src/funcs/accountAccountV1GetStaff.ts +13 -5
- package/src/funcs/accountAccountV1SessionCreate.ts +3 -3
- package/src/funcs/accountAccountV1SessionDelete.ts +13 -5
- package/src/funcs/accountAccountV1SessionGet.ts +13 -5
- package/src/funcs/accountAccountV1SessionLogin.ts +3 -3
- package/src/funcs/accountAccountV1SettingsDeleteImages.ts +13 -5
- package/src/funcs/accountAccountV1SettingsGenerateApiKey.ts +13 -5
- package/src/funcs/accountAccountV1SettingsGet.ts +13 -5
- package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +13 -5
- package/src/funcs/accountAccountV1SettingsUpdate.ts +13 -5
- package/src/funcs/accountAccountV1SettingsUpdateImage.ts +13 -5
- package/src/funcs/accountAccountV1SettingsUploadImages.ts +13 -5
- package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +13 -5
- package/src/funcs/connectionAccountV1ConnectionConnect.ts +13 -5
- package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +13 -5
- package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +13 -5
- package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +13 -5
- package/src/funcs/dataAccountV1GetStaff.ts +13 -5
- package/src/funcs/livenessLiveness.ts +3 -3
- package/src/funcs/locationLocation.ts +13 -5
- package/src/funcs/sessionAccountV1SessionCreate.ts +3 -3
- package/src/funcs/sessionAccountV1SessionDelete.ts +13 -5
- package/src/funcs/sessionAccountV1SessionGet.ts +13 -5
- package/src/funcs/sessionAccountV1SessionLogin.ts +3 -3
- package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsGenerateApiKey.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsGet.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsUpdate.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsUploadImages.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +13 -5
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +3 -3
- package/src/models/components/security.ts +4 -4
- package/src/models/operations/accountv1connectionconnect.ts +41 -0
- package/src/models/operations/accountv1connectiondeleteconnection.ts +44 -0
- package/src/models/operations/accountv1connectionupdateconnection.ts +44 -0
- package/src/models/operations/accountv1connectionverifyconnection.ts +44 -0
- package/src/models/operations/accountv1getstaff.ts +40 -0
- package/src/models/operations/accountv1sessiondelete.ts +40 -0
- package/src/models/operations/accountv1sessionget.ts +40 -0
- package/src/models/operations/accountv1settingsdeleteimages.ts +42 -0
- package/src/models/operations/accountv1settingsgenerateapikey.ts +42 -0
- package/src/models/operations/accountv1settingsget.ts +40 -0
- package/src/models/operations/accountv1settingssendemailverification.ts +45 -0
- package/src/models/operations/accountv1settingsupdate.ts +40 -0
- package/src/models/operations/accountv1settingsupdateimage.ts +42 -0
- package/src/models/operations/accountv1settingsuploadimages.ts +42 -0
- package/src/models/operations/accountv1settingsverfyemail.ts +42 -0
- package/src/models/operations/location.ts +40 -0
- package/src/sdk/account.ts +30 -0
- package/src/sdk/connection.ts +8 -0
- package/src/sdk/data.ts +2 -0
- package/src/sdk/location.ts +2 -0
- package/src/sdk/session.ts +4 -0
- 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. |
|
package/docs/sdks/data/README.md
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
287
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
286
288
|
});
|
|
287
289
|
|
|
288
290
|
async function run() {
|