@steamsets/client-ts 0.7.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -3
- package/docs/sdks/account/README.md +146 -36
- package/docs/sdks/app/README.md +14 -0
- package/docs/sdks/connection/README.md +24 -8
- package/docs/sdks/data/README.md +57 -4
- package/docs/sdks/liveness/README.md +6 -2
- package/docs/sdks/location/README.md +6 -2
- package/docs/sdks/public/README.md +51 -2
- package/docs/sdks/session/README.md +24 -8
- package/docs/sdks/settings/README.md +48 -16
- package/funcs/accountAccountV1GetApps.d.ts +1 -1
- package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
- package/funcs/accountAccountV1GetApps.js +17 -5
- package/funcs/accountAccountV1GetApps.js.map +1 -1
- package/funcs/accountAccountV1GetBadges.d.ts +1 -1
- package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/accountAccountV1GetBadges.js +17 -5
- package/funcs/accountAccountV1GetBadges.js.map +1 -1
- package/funcs/accountAccountV1GetDataPoints.d.ts +1 -1
- package/funcs/accountAccountV1GetDataPoints.d.ts.map +1 -1
- package/funcs/accountAccountV1GetDataPoints.js +17 -5
- package/funcs/accountAccountV1GetDataPoints.js.map +1 -1
- package/funcs/accountAccountV1GetFriends.d.ts +1 -1
- package/funcs/accountAccountV1GetFriends.d.ts.map +1 -1
- package/funcs/accountAccountV1GetFriends.js +17 -5
- package/funcs/accountAccountV1GetFriends.js.map +1 -1
- package/funcs/accountAccountV1GetInfo.d.ts +1 -1
- package/funcs/accountAccountV1GetInfo.d.ts.map +1 -1
- package/funcs/accountAccountV1GetInfo.js +17 -5
- package/funcs/accountAccountV1GetInfo.js.map +1 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.d.ts +1 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.js +17 -5
- package/funcs/accountAccountV1GetLeaderboardHistory.js.map +1 -1
- package/funcs/appAccountV1Queue.d.ts +1 -1
- package/funcs/appAccountV1Queue.d.ts.map +1 -1
- package/funcs/appAccountV1Queue.js +17 -5
- package/funcs/appAccountV1Queue.js.map +1 -1
- package/funcs/appAppV1Get.d.ts +1 -1
- package/funcs/appAppV1Get.d.ts.map +1 -1
- package/funcs/appAppV1Get.js +17 -5
- package/funcs/appAppV1Get.js.map +1 -1
- package/funcs/dataAccountV1GetApps.d.ts +1 -1
- package/funcs/dataAccountV1GetApps.d.ts.map +1 -1
- package/funcs/dataAccountV1GetApps.js +17 -5
- package/funcs/dataAccountV1GetApps.js.map +1 -1
- package/funcs/dataAccountV1GetBadges.d.ts +1 -1
- package/funcs/dataAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/dataAccountV1GetBadges.js +17 -5
- package/funcs/dataAccountV1GetBadges.js.map +1 -1
- package/funcs/dataAccountV1GetDataPoints.d.ts +1 -1
- package/funcs/dataAccountV1GetDataPoints.d.ts.map +1 -1
- package/funcs/dataAccountV1GetDataPoints.js +17 -5
- package/funcs/dataAccountV1GetDataPoints.js.map +1 -1
- package/funcs/dataAccountV1GetFriends.d.ts +1 -1
- package/funcs/dataAccountV1GetFriends.d.ts.map +1 -1
- package/funcs/dataAccountV1GetFriends.js +17 -5
- package/funcs/dataAccountV1GetFriends.js.map +1 -1
- package/funcs/dataAccountV1GetInfo.d.ts +1 -1
- package/funcs/dataAccountV1GetInfo.d.ts.map +1 -1
- package/funcs/dataAccountV1GetInfo.js +17 -5
- package/funcs/dataAccountV1GetInfo.js.map +1 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.d.ts +1 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.js +17 -5
- package/funcs/dataAccountV1GetLeaderboardHistory.js.map +1 -1
- package/funcs/dataAccountV1Queue.d.ts +1 -1
- package/funcs/dataAccountV1Queue.d.ts.map +1 -1
- package/funcs/dataAccountV1Queue.js +17 -5
- package/funcs/dataAccountV1Queue.js.map +1 -1
- package/funcs/publicAccountV1GetApps.d.ts +1 -1
- package/funcs/publicAccountV1GetApps.d.ts.map +1 -1
- package/funcs/publicAccountV1GetApps.js +17 -5
- package/funcs/publicAccountV1GetApps.js.map +1 -1
- package/funcs/publicAccountV1GetBadges.d.ts +1 -1
- package/funcs/publicAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/publicAccountV1GetBadges.js +17 -5
- package/funcs/publicAccountV1GetBadges.js.map +1 -1
- package/funcs/publicAccountV1GetDataPoints.d.ts +1 -1
- package/funcs/publicAccountV1GetDataPoints.d.ts.map +1 -1
- package/funcs/publicAccountV1GetDataPoints.js +17 -5
- package/funcs/publicAccountV1GetDataPoints.js.map +1 -1
- package/funcs/publicAccountV1GetFriends.d.ts +1 -1
- package/funcs/publicAccountV1GetFriends.d.ts.map +1 -1
- package/funcs/publicAccountV1GetFriends.js +17 -5
- package/funcs/publicAccountV1GetFriends.js.map +1 -1
- package/funcs/publicAccountV1GetInfo.d.ts +1 -1
- package/funcs/publicAccountV1GetInfo.d.ts.map +1 -1
- package/funcs/publicAccountV1GetInfo.js +17 -5
- package/funcs/publicAccountV1GetInfo.js.map +1 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.d.ts +1 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.js +17 -5
- package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -1
- package/funcs/publicAccountV1Queue.d.ts +1 -1
- package/funcs/publicAccountV1Queue.d.ts.map +1 -1
- package/funcs/publicAccountV1Queue.js +17 -5
- package/funcs/publicAccountV1Queue.js.map +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/operations/accountv1getapps.d.ts +25 -0
- package/models/operations/accountv1getapps.d.ts.map +1 -1
- package/models/operations/accountv1getapps.js +22 -1
- package/models/operations/accountv1getapps.js.map +1 -1
- package/models/operations/accountv1getbadges.d.ts +25 -0
- package/models/operations/accountv1getbadges.d.ts.map +1 -1
- package/models/operations/accountv1getbadges.js +22 -1
- package/models/operations/accountv1getbadges.js.map +1 -1
- package/models/operations/accountv1getdatapoints.d.ts +25 -0
- package/models/operations/accountv1getdatapoints.d.ts.map +1 -1
- package/models/operations/accountv1getdatapoints.js +22 -1
- package/models/operations/accountv1getdatapoints.js.map +1 -1
- package/models/operations/accountv1getfriends.d.ts +25 -0
- package/models/operations/accountv1getfriends.d.ts.map +1 -1
- package/models/operations/accountv1getfriends.js +22 -1
- package/models/operations/accountv1getfriends.js.map +1 -1
- package/models/operations/accountv1getinfo.d.ts +25 -0
- package/models/operations/accountv1getinfo.d.ts.map +1 -1
- package/models/operations/accountv1getinfo.js +22 -1
- package/models/operations/accountv1getinfo.js.map +1 -1
- package/models/operations/accountv1getleaderboardhistory.d.ts +25 -0
- package/models/operations/accountv1getleaderboardhistory.d.ts.map +1 -1
- package/models/operations/accountv1getleaderboardhistory.js +22 -1
- package/models/operations/accountv1getleaderboardhistory.js.map +1 -1
- package/models/operations/accountv1queue.d.ts +25 -0
- package/models/operations/accountv1queue.d.ts.map +1 -1
- package/models/operations/accountv1queue.js +22 -1
- package/models/operations/accountv1queue.js.map +1 -1
- package/models/operations/appv1get.d.ts +25 -0
- package/models/operations/appv1get.d.ts.map +1 -1
- package/models/operations/appv1get.js +22 -1
- package/models/operations/appv1get.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +6 -6
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +12 -12
- package/sdk/account.js.map +1 -1
- package/sdk/app.d.ts +2 -2
- package/sdk/app.d.ts.map +1 -1
- package/sdk/app.js +4 -4
- package/sdk/app.js.map +1 -1
- package/sdk/data.d.ts +7 -7
- package/sdk/data.d.ts.map +1 -1
- package/sdk/data.js +14 -14
- package/sdk/data.js.map +1 -1
- package/sdk/public.d.ts +7 -7
- package/sdk/public.d.ts.map +1 -1
- package/sdk/public.js +14 -14
- package/sdk/public.js.map +1 -1
- package/src/funcs/accountAccountV1GetApps.ts +18 -5
- package/src/funcs/accountAccountV1GetBadges.ts +18 -5
- package/src/funcs/accountAccountV1GetDataPoints.ts +18 -5
- package/src/funcs/accountAccountV1GetFriends.ts +18 -5
- package/src/funcs/accountAccountV1GetInfo.ts +18 -5
- package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +18 -5
- package/src/funcs/appAccountV1Queue.ts +18 -5
- package/src/funcs/appAppV1Get.ts +18 -5
- package/src/funcs/dataAccountV1GetApps.ts +18 -5
- package/src/funcs/dataAccountV1GetBadges.ts +18 -5
- package/src/funcs/dataAccountV1GetDataPoints.ts +18 -5
- package/src/funcs/dataAccountV1GetFriends.ts +18 -5
- package/src/funcs/dataAccountV1GetInfo.ts +18 -5
- package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +18 -5
- package/src/funcs/dataAccountV1Queue.ts +18 -5
- package/src/funcs/publicAccountV1GetApps.ts +18 -5
- package/src/funcs/publicAccountV1GetBadges.ts +18 -5
- package/src/funcs/publicAccountV1GetDataPoints.ts +18 -5
- package/src/funcs/publicAccountV1GetFriends.ts +18 -5
- package/src/funcs/publicAccountV1GetInfo.ts +18 -5
- package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +18 -5
- package/src/funcs/publicAccountV1Queue.ts +18 -5
- package/src/lib/config.ts +2 -2
- package/src/models/operations/accountv1getapps.ts +44 -0
- package/src/models/operations/accountv1getbadges.ts +44 -0
- package/src/models/operations/accountv1getdatapoints.ts +44 -0
- package/src/models/operations/accountv1getfriends.ts +44 -0
- package/src/models/operations/accountv1getinfo.ts +44 -0
- package/src/models/operations/accountv1getleaderboardhistory.ts +46 -0
- package/src/models/operations/accountv1queue.ts +44 -0
- package/src/models/operations/appv1get.ts +44 -0
- package/src/sdk/account.ts +12 -0
- package/src/sdk/app.ts +4 -0
- package/src/sdk/data.ts +14 -0
- package/src/sdk/public.ts +14 -0
|
@@ -7,7 +7,7 @@ import { encodeJSON as encodeJSON$ } from "../lib/encodings.js";
|
|
|
7
7
|
import * as m$ from "../lib/matchers.js";
|
|
8
8
|
import * as schemas$ from "../lib/schemas.js";
|
|
9
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
|
-
import {
|
|
10
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
11
11
|
import { pathToFunc } from "../lib/url.js";
|
|
12
12
|
import * as components from "../models/components/index.js";
|
|
13
13
|
import {
|
|
@@ -29,6 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
export async function accountAccountV1GetInfo(
|
|
30
30
|
client$: SteamSetsCore,
|
|
31
31
|
request: components.AccountSearch,
|
|
32
|
+
security: operations.AccountV1GetInfoSecurity,
|
|
32
33
|
options?: RequestOptions,
|
|
33
34
|
): Promise<
|
|
34
35
|
Result<
|
|
@@ -63,14 +64,26 @@ export async function accountAccountV1GetInfo(
|
|
|
63
64
|
Accept: "application/json",
|
|
64
65
|
});
|
|
65
66
|
|
|
66
|
-
const
|
|
67
|
-
|
|
67
|
+
const security$: SecurityInput[][] = [
|
|
68
|
+
[
|
|
69
|
+
{
|
|
70
|
+
fieldName: "api-key",
|
|
71
|
+
type: "apiKey:header",
|
|
72
|
+
value: security?.apiKey,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
fieldName: "Authorization",
|
|
76
|
+
type: "http:bearer",
|
|
77
|
+
value: security?.session,
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
];
|
|
81
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
68
82
|
const context = {
|
|
69
83
|
operationID: "account.v1.getInfo",
|
|
70
84
|
oAuth2Scopes: [],
|
|
71
|
-
securitySource:
|
|
85
|
+
securitySource: security,
|
|
72
86
|
};
|
|
73
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
74
87
|
|
|
75
88
|
const requestRes = client$.createRequest$(context, {
|
|
76
89
|
security: securitySettings$,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import * as m$ from "../lib/matchers.js";
|
|
11
11
|
import * as schemas$ from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import {
|
|
13
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
14
14
|
import { pathToFunc } from "../lib/url.js";
|
|
15
15
|
import {
|
|
16
16
|
ConnectionError,
|
|
@@ -31,6 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
export async function accountAccountV1GetLeaderboardHistory(
|
|
32
32
|
client$: SteamSetsCore,
|
|
33
33
|
request: operations.AccountV1GetLeaderboardHistoryRequest,
|
|
34
|
+
security: operations.AccountV1GetLeaderboardHistorySecurity,
|
|
34
35
|
options?: RequestOptions,
|
|
35
36
|
): Promise<
|
|
36
37
|
Result<
|
|
@@ -79,14 +80,26 @@ export async function accountAccountV1GetLeaderboardHistory(
|
|
|
79
80
|
),
|
|
80
81
|
});
|
|
81
82
|
|
|
82
|
-
const
|
|
83
|
-
|
|
83
|
+
const security$: SecurityInput[][] = [
|
|
84
|
+
[
|
|
85
|
+
{
|
|
86
|
+
fieldName: "api-key",
|
|
87
|
+
type: "apiKey:header",
|
|
88
|
+
value: security?.apiKey,
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
fieldName: "Authorization",
|
|
92
|
+
type: "http:bearer",
|
|
93
|
+
value: security?.session,
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
];
|
|
97
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
84
98
|
const context = {
|
|
85
99
|
operationID: "account.v1.getLeaderboardHistory",
|
|
86
100
|
oAuth2Scopes: [],
|
|
87
|
-
securitySource:
|
|
101
|
+
securitySource: security,
|
|
88
102
|
};
|
|
89
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
90
103
|
|
|
91
104
|
const requestRes = client$.createRequest$(context, {
|
|
92
105
|
security: securitySettings$,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import * as m$ from "../lib/matchers.js";
|
|
11
11
|
import * as schemas$ from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import {
|
|
13
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
14
14
|
import { pathToFunc } from "../lib/url.js";
|
|
15
15
|
import {
|
|
16
16
|
ConnectionError,
|
|
@@ -31,6 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
export async function appAccountV1Queue(
|
|
32
32
|
client$: SteamSetsCore,
|
|
33
33
|
request: operations.AccountV1QueueRequest,
|
|
34
|
+
security: operations.AccountV1QueueSecurity,
|
|
34
35
|
options?: RequestOptions,
|
|
35
36
|
): Promise<
|
|
36
37
|
Result<
|
|
@@ -74,14 +75,26 @@ export async function appAccountV1Queue(
|
|
|
74
75
|
),
|
|
75
76
|
});
|
|
76
77
|
|
|
77
|
-
const
|
|
78
|
-
|
|
78
|
+
const security$: SecurityInput[][] = [
|
|
79
|
+
[
|
|
80
|
+
{
|
|
81
|
+
fieldName: "api-key",
|
|
82
|
+
type: "apiKey:header",
|
|
83
|
+
value: security?.apiKey,
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
fieldName: "Authorization",
|
|
87
|
+
type: "http:bearer",
|
|
88
|
+
value: security?.session,
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
];
|
|
92
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
79
93
|
const context = {
|
|
80
94
|
operationID: "account.v1.queue",
|
|
81
95
|
oAuth2Scopes: [],
|
|
82
|
-
securitySource:
|
|
96
|
+
securitySource: security,
|
|
83
97
|
};
|
|
84
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
85
98
|
|
|
86
99
|
const requestRes = client$.createRequest$(context, {
|
|
87
100
|
security: securitySettings$,
|
package/src/funcs/appAppV1Get.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { encodeJSON as encodeJSON$ } from "../lib/encodings.js";
|
|
|
7
7
|
import * as m$ from "../lib/matchers.js";
|
|
8
8
|
import * as schemas$ from "../lib/schemas.js";
|
|
9
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
|
-
import {
|
|
10
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
11
11
|
import { pathToFunc } from "../lib/url.js";
|
|
12
12
|
import * as components from "../models/components/index.js";
|
|
13
13
|
import {
|
|
@@ -29,6 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
export async function appAppV1Get(
|
|
30
30
|
client$: SteamSetsCore,
|
|
31
31
|
request: components.V1AppRequestBody,
|
|
32
|
+
security: operations.AppV1GetSecurity,
|
|
32
33
|
options?: RequestOptions,
|
|
33
34
|
): Promise<
|
|
34
35
|
Result<
|
|
@@ -63,14 +64,26 @@ export async function appAppV1Get(
|
|
|
63
64
|
Accept: "application/json",
|
|
64
65
|
});
|
|
65
66
|
|
|
66
|
-
const
|
|
67
|
-
|
|
67
|
+
const security$: SecurityInput[][] = [
|
|
68
|
+
[
|
|
69
|
+
{
|
|
70
|
+
fieldName: "api-key",
|
|
71
|
+
type: "apiKey:header",
|
|
72
|
+
value: security?.apiKey,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
fieldName: "Authorization",
|
|
76
|
+
type: "http:bearer",
|
|
77
|
+
value: security?.session,
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
];
|
|
81
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
68
82
|
const context = {
|
|
69
83
|
operationID: "app.v1.get",
|
|
70
84
|
oAuth2Scopes: [],
|
|
71
|
-
securitySource:
|
|
85
|
+
securitySource: security,
|
|
72
86
|
};
|
|
73
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
74
87
|
|
|
75
88
|
const requestRes = client$.createRequest$(context, {
|
|
76
89
|
security: securitySettings$,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import * as m$ from "../lib/matchers.js";
|
|
11
11
|
import * as schemas$ from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import {
|
|
13
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
14
14
|
import { pathToFunc } from "../lib/url.js";
|
|
15
15
|
import {
|
|
16
16
|
ConnectionError,
|
|
@@ -31,6 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
export async function dataAccountV1GetApps(
|
|
32
32
|
client$: SteamSetsCore,
|
|
33
33
|
request: operations.AccountV1GetAppsRequest,
|
|
34
|
+
security: operations.AccountV1GetAppsSecurity,
|
|
34
35
|
options?: RequestOptions,
|
|
35
36
|
): Promise<
|
|
36
37
|
Result<
|
|
@@ -74,14 +75,26 @@ export async function dataAccountV1GetApps(
|
|
|
74
75
|
),
|
|
75
76
|
});
|
|
76
77
|
|
|
77
|
-
const
|
|
78
|
-
|
|
78
|
+
const security$: SecurityInput[][] = [
|
|
79
|
+
[
|
|
80
|
+
{
|
|
81
|
+
fieldName: "api-key",
|
|
82
|
+
type: "apiKey:header",
|
|
83
|
+
value: security?.apiKey,
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
fieldName: "Authorization",
|
|
87
|
+
type: "http:bearer",
|
|
88
|
+
value: security?.session,
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
];
|
|
92
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
79
93
|
const context = {
|
|
80
94
|
operationID: "account.v1.getApps",
|
|
81
95
|
oAuth2Scopes: [],
|
|
82
|
-
securitySource:
|
|
96
|
+
securitySource: security,
|
|
83
97
|
};
|
|
84
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
85
98
|
|
|
86
99
|
const requestRes = client$.createRequest$(context, {
|
|
87
100
|
security: securitySettings$,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import * as m$ from "../lib/matchers.js";
|
|
11
11
|
import * as schemas$ from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import {
|
|
13
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
14
14
|
import { pathToFunc } from "../lib/url.js";
|
|
15
15
|
import {
|
|
16
16
|
ConnectionError,
|
|
@@ -31,6 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
export async function dataAccountV1GetBadges(
|
|
32
32
|
client$: SteamSetsCore,
|
|
33
33
|
request: operations.AccountV1GetBadgesRequest,
|
|
34
|
+
security: operations.AccountV1GetBadgesSecurity,
|
|
34
35
|
options?: RequestOptions,
|
|
35
36
|
): Promise<
|
|
36
37
|
Result<
|
|
@@ -75,14 +76,26 @@ export async function dataAccountV1GetBadges(
|
|
|
75
76
|
),
|
|
76
77
|
});
|
|
77
78
|
|
|
78
|
-
const
|
|
79
|
-
|
|
79
|
+
const security$: SecurityInput[][] = [
|
|
80
|
+
[
|
|
81
|
+
{
|
|
82
|
+
fieldName: "api-key",
|
|
83
|
+
type: "apiKey:header",
|
|
84
|
+
value: security?.apiKey,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
fieldName: "Authorization",
|
|
88
|
+
type: "http:bearer",
|
|
89
|
+
value: security?.session,
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
];
|
|
93
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
80
94
|
const context = {
|
|
81
95
|
operationID: "account.v1.getBadges",
|
|
82
96
|
oAuth2Scopes: [],
|
|
83
|
-
securitySource:
|
|
97
|
+
securitySource: security,
|
|
84
98
|
};
|
|
85
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
86
99
|
|
|
87
100
|
const requestRes = client$.createRequest$(context, {
|
|
88
101
|
security: securitySettings$,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import * as m$ from "../lib/matchers.js";
|
|
11
11
|
import * as schemas$ from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import {
|
|
13
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
14
14
|
import { pathToFunc } from "../lib/url.js";
|
|
15
15
|
import {
|
|
16
16
|
ConnectionError,
|
|
@@ -31,6 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
export async function dataAccountV1GetDataPoints(
|
|
32
32
|
client$: SteamSetsCore,
|
|
33
33
|
request: operations.AccountV1GetDataPointsRequest,
|
|
34
|
+
security: operations.AccountV1GetDataPointsSecurity,
|
|
34
35
|
options?: RequestOptions,
|
|
35
36
|
): Promise<
|
|
36
37
|
Result<
|
|
@@ -75,14 +76,26 @@ export async function dataAccountV1GetDataPoints(
|
|
|
75
76
|
),
|
|
76
77
|
});
|
|
77
78
|
|
|
78
|
-
const
|
|
79
|
-
|
|
79
|
+
const security$: SecurityInput[][] = [
|
|
80
|
+
[
|
|
81
|
+
{
|
|
82
|
+
fieldName: "api-key",
|
|
83
|
+
type: "apiKey:header",
|
|
84
|
+
value: security?.apiKey,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
fieldName: "Authorization",
|
|
88
|
+
type: "http:bearer",
|
|
89
|
+
value: security?.session,
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
];
|
|
93
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
80
94
|
const context = {
|
|
81
95
|
operationID: "account.v1.getDataPoints",
|
|
82
96
|
oAuth2Scopes: [],
|
|
83
|
-
securitySource:
|
|
97
|
+
securitySource: security,
|
|
84
98
|
};
|
|
85
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
86
99
|
|
|
87
100
|
const requestRes = client$.createRequest$(context, {
|
|
88
101
|
security: securitySettings$,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import * as m$ from "../lib/matchers.js";
|
|
11
11
|
import * as schemas$ from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import {
|
|
13
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
14
14
|
import { pathToFunc } from "../lib/url.js";
|
|
15
15
|
import {
|
|
16
16
|
ConnectionError,
|
|
@@ -31,6 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
export async function dataAccountV1GetFriends(
|
|
32
32
|
client$: SteamSetsCore,
|
|
33
33
|
request: operations.AccountV1GetFriendsRequest,
|
|
34
|
+
security: operations.AccountV1GetFriendsSecurity,
|
|
34
35
|
options?: RequestOptions,
|
|
35
36
|
): Promise<
|
|
36
37
|
Result<
|
|
@@ -75,14 +76,26 @@ export async function dataAccountV1GetFriends(
|
|
|
75
76
|
),
|
|
76
77
|
});
|
|
77
78
|
|
|
78
|
-
const
|
|
79
|
-
|
|
79
|
+
const security$: SecurityInput[][] = [
|
|
80
|
+
[
|
|
81
|
+
{
|
|
82
|
+
fieldName: "api-key",
|
|
83
|
+
type: "apiKey:header",
|
|
84
|
+
value: security?.apiKey,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
fieldName: "Authorization",
|
|
88
|
+
type: "http:bearer",
|
|
89
|
+
value: security?.session,
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
];
|
|
93
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
80
94
|
const context = {
|
|
81
95
|
operationID: "account.v1.getFriends",
|
|
82
96
|
oAuth2Scopes: [],
|
|
83
|
-
securitySource:
|
|
97
|
+
securitySource: security,
|
|
84
98
|
};
|
|
85
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
86
99
|
|
|
87
100
|
const requestRes = client$.createRequest$(context, {
|
|
88
101
|
security: securitySettings$,
|
|
@@ -7,7 +7,7 @@ import { encodeJSON as encodeJSON$ } from "../lib/encodings.js";
|
|
|
7
7
|
import * as m$ from "../lib/matchers.js";
|
|
8
8
|
import * as schemas$ from "../lib/schemas.js";
|
|
9
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
|
-
import {
|
|
10
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
11
11
|
import { pathToFunc } from "../lib/url.js";
|
|
12
12
|
import * as components from "../models/components/index.js";
|
|
13
13
|
import {
|
|
@@ -29,6 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
export async function dataAccountV1GetInfo(
|
|
30
30
|
client$: SteamSetsCore,
|
|
31
31
|
request: components.AccountSearch,
|
|
32
|
+
security: operations.AccountV1GetInfoSecurity,
|
|
32
33
|
options?: RequestOptions,
|
|
33
34
|
): Promise<
|
|
34
35
|
Result<
|
|
@@ -63,14 +64,26 @@ export async function dataAccountV1GetInfo(
|
|
|
63
64
|
Accept: "application/json",
|
|
64
65
|
});
|
|
65
66
|
|
|
66
|
-
const
|
|
67
|
-
|
|
67
|
+
const security$: SecurityInput[][] = [
|
|
68
|
+
[
|
|
69
|
+
{
|
|
70
|
+
fieldName: "api-key",
|
|
71
|
+
type: "apiKey:header",
|
|
72
|
+
value: security?.apiKey,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
fieldName: "Authorization",
|
|
76
|
+
type: "http:bearer",
|
|
77
|
+
value: security?.session,
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
];
|
|
81
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
68
82
|
const context = {
|
|
69
83
|
operationID: "account.v1.getInfo",
|
|
70
84
|
oAuth2Scopes: [],
|
|
71
|
-
securitySource:
|
|
85
|
+
securitySource: security,
|
|
72
86
|
};
|
|
73
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
74
87
|
|
|
75
88
|
const requestRes = client$.createRequest$(context, {
|
|
76
89
|
security: securitySettings$,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import * as m$ from "../lib/matchers.js";
|
|
11
11
|
import * as schemas$ from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import {
|
|
13
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
14
14
|
import { pathToFunc } from "../lib/url.js";
|
|
15
15
|
import {
|
|
16
16
|
ConnectionError,
|
|
@@ -31,6 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
export async function dataAccountV1GetLeaderboardHistory(
|
|
32
32
|
client$: SteamSetsCore,
|
|
33
33
|
request: operations.AccountV1GetLeaderboardHistoryRequest,
|
|
34
|
+
security: operations.AccountV1GetLeaderboardHistorySecurity,
|
|
34
35
|
options?: RequestOptions,
|
|
35
36
|
): Promise<
|
|
36
37
|
Result<
|
|
@@ -79,14 +80,26 @@ export async function dataAccountV1GetLeaderboardHistory(
|
|
|
79
80
|
),
|
|
80
81
|
});
|
|
81
82
|
|
|
82
|
-
const
|
|
83
|
-
|
|
83
|
+
const security$: SecurityInput[][] = [
|
|
84
|
+
[
|
|
85
|
+
{
|
|
86
|
+
fieldName: "api-key",
|
|
87
|
+
type: "apiKey:header",
|
|
88
|
+
value: security?.apiKey,
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
fieldName: "Authorization",
|
|
92
|
+
type: "http:bearer",
|
|
93
|
+
value: security?.session,
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
];
|
|
97
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
84
98
|
const context = {
|
|
85
99
|
operationID: "account.v1.getLeaderboardHistory",
|
|
86
100
|
oAuth2Scopes: [],
|
|
87
|
-
securitySource:
|
|
101
|
+
securitySource: security,
|
|
88
102
|
};
|
|
89
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
90
103
|
|
|
91
104
|
const requestRes = client$.createRequest$(context, {
|
|
92
105
|
security: securitySettings$,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import * as m$ from "../lib/matchers.js";
|
|
11
11
|
import * as schemas$ from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import {
|
|
13
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
14
14
|
import { pathToFunc } from "../lib/url.js";
|
|
15
15
|
import {
|
|
16
16
|
ConnectionError,
|
|
@@ -31,6 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
export async function dataAccountV1Queue(
|
|
32
32
|
client$: SteamSetsCore,
|
|
33
33
|
request: operations.AccountV1QueueRequest,
|
|
34
|
+
security: operations.AccountV1QueueSecurity,
|
|
34
35
|
options?: RequestOptions,
|
|
35
36
|
): Promise<
|
|
36
37
|
Result<
|
|
@@ -74,14 +75,26 @@ export async function dataAccountV1Queue(
|
|
|
74
75
|
),
|
|
75
76
|
});
|
|
76
77
|
|
|
77
|
-
const
|
|
78
|
-
|
|
78
|
+
const security$: SecurityInput[][] = [
|
|
79
|
+
[
|
|
80
|
+
{
|
|
81
|
+
fieldName: "api-key",
|
|
82
|
+
type: "apiKey:header",
|
|
83
|
+
value: security?.apiKey,
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
fieldName: "Authorization",
|
|
87
|
+
type: "http:bearer",
|
|
88
|
+
value: security?.session,
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
];
|
|
92
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
79
93
|
const context = {
|
|
80
94
|
operationID: "account.v1.queue",
|
|
81
95
|
oAuth2Scopes: [],
|
|
82
|
-
securitySource:
|
|
96
|
+
securitySource: security,
|
|
83
97
|
};
|
|
84
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
85
98
|
|
|
86
99
|
const requestRes = client$.createRequest$(context, {
|
|
87
100
|
security: securitySettings$,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import * as m$ from "../lib/matchers.js";
|
|
11
11
|
import * as schemas$ from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import {
|
|
13
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
14
14
|
import { pathToFunc } from "../lib/url.js";
|
|
15
15
|
import {
|
|
16
16
|
ConnectionError,
|
|
@@ -31,6 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
export async function publicAccountV1GetApps(
|
|
32
32
|
client$: SteamSetsCore,
|
|
33
33
|
request: operations.AccountV1GetAppsRequest,
|
|
34
|
+
security: operations.AccountV1GetAppsSecurity,
|
|
34
35
|
options?: RequestOptions,
|
|
35
36
|
): Promise<
|
|
36
37
|
Result<
|
|
@@ -74,14 +75,26 @@ export async function publicAccountV1GetApps(
|
|
|
74
75
|
),
|
|
75
76
|
});
|
|
76
77
|
|
|
77
|
-
const
|
|
78
|
-
|
|
78
|
+
const security$: SecurityInput[][] = [
|
|
79
|
+
[
|
|
80
|
+
{
|
|
81
|
+
fieldName: "api-key",
|
|
82
|
+
type: "apiKey:header",
|
|
83
|
+
value: security?.apiKey,
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
fieldName: "Authorization",
|
|
87
|
+
type: "http:bearer",
|
|
88
|
+
value: security?.session,
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
];
|
|
92
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
79
93
|
const context = {
|
|
80
94
|
operationID: "account.v1.getApps",
|
|
81
95
|
oAuth2Scopes: [],
|
|
82
|
-
securitySource:
|
|
96
|
+
securitySource: security,
|
|
83
97
|
};
|
|
84
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
85
98
|
|
|
86
99
|
const requestRes = client$.createRequest$(context, {
|
|
87
100
|
security: securitySettings$,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import * as m$ from "../lib/matchers.js";
|
|
11
11
|
import * as schemas$ from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import {
|
|
13
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
14
14
|
import { pathToFunc } from "../lib/url.js";
|
|
15
15
|
import {
|
|
16
16
|
ConnectionError,
|
|
@@ -31,6 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
export async function publicAccountV1GetBadges(
|
|
32
32
|
client$: SteamSetsCore,
|
|
33
33
|
request: operations.AccountV1GetBadgesRequest,
|
|
34
|
+
security: operations.AccountV1GetBadgesSecurity,
|
|
34
35
|
options?: RequestOptions,
|
|
35
36
|
): Promise<
|
|
36
37
|
Result<
|
|
@@ -75,14 +76,26 @@ export async function publicAccountV1GetBadges(
|
|
|
75
76
|
),
|
|
76
77
|
});
|
|
77
78
|
|
|
78
|
-
const
|
|
79
|
-
|
|
79
|
+
const security$: SecurityInput[][] = [
|
|
80
|
+
[
|
|
81
|
+
{
|
|
82
|
+
fieldName: "api-key",
|
|
83
|
+
type: "apiKey:header",
|
|
84
|
+
value: security?.apiKey,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
fieldName: "Authorization",
|
|
88
|
+
type: "http:bearer",
|
|
89
|
+
value: security?.session,
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
];
|
|
93
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
80
94
|
const context = {
|
|
81
95
|
operationID: "account.v1.getBadges",
|
|
82
96
|
oAuth2Scopes: [],
|
|
83
|
-
securitySource:
|
|
97
|
+
securitySource: security,
|
|
84
98
|
};
|
|
85
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
86
99
|
|
|
87
100
|
const requestRes = client$.createRequest$(context, {
|
|
88
101
|
security: securitySettings$,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import * as m$ from "../lib/matchers.js";
|
|
11
11
|
import * as schemas$ from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import {
|
|
13
|
+
import { resolveSecurity, SecurityInput } from "../lib/security.js";
|
|
14
14
|
import { pathToFunc } from "../lib/url.js";
|
|
15
15
|
import {
|
|
16
16
|
ConnectionError,
|
|
@@ -31,6 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
export async function publicAccountV1GetDataPoints(
|
|
32
32
|
client$: SteamSetsCore,
|
|
33
33
|
request: operations.AccountV1GetDataPointsRequest,
|
|
34
|
+
security: operations.AccountV1GetDataPointsSecurity,
|
|
34
35
|
options?: RequestOptions,
|
|
35
36
|
): Promise<
|
|
36
37
|
Result<
|
|
@@ -75,14 +76,26 @@ export async function publicAccountV1GetDataPoints(
|
|
|
75
76
|
),
|
|
76
77
|
});
|
|
77
78
|
|
|
78
|
-
const
|
|
79
|
-
|
|
79
|
+
const security$: SecurityInput[][] = [
|
|
80
|
+
[
|
|
81
|
+
{
|
|
82
|
+
fieldName: "api-key",
|
|
83
|
+
type: "apiKey:header",
|
|
84
|
+
value: security?.apiKey,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
fieldName: "Authorization",
|
|
88
|
+
type: "http:bearer",
|
|
89
|
+
value: security?.session,
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
];
|
|
93
|
+
const securitySettings$ = resolveSecurity(...security$);
|
|
80
94
|
const context = {
|
|
81
95
|
operationID: "account.v1.getDataPoints",
|
|
82
96
|
oAuth2Scopes: [],
|
|
83
|
-
securitySource:
|
|
97
|
+
securitySource: security,
|
|
84
98
|
};
|
|
85
|
-
const securitySettings$ = resolveGlobalSecurity(security$);
|
|
86
99
|
|
|
87
100
|
const requestRes = client$.createRequest$(context, {
|
|
88
101
|
security: securitySettings$,
|