@steamsets/client-ts 0.3.2 → 0.4.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 +37 -0
- package/docs/sdks/account/README.md +48 -46
- package/docs/sdks/connection/README.md +7 -8
- package/docs/sdks/liveness/README.md +1 -2
- package/docs/sdks/session/README.md +14 -12
- package/docs/sdks/settings/README.md +17 -16
- package/docs/sdks/steamsets/README.md +1 -5
- package/funcs/accountAccountV1GetApps.d.ts +1 -1
- package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
- package/funcs/accountAccountV1GetApps.js +14 -3
- 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 +14 -3
- package/funcs/accountAccountV1GetBadges.js.map +1 -1
- package/funcs/accountAccountV1SessionLogin.d.ts +1 -1
- package/funcs/accountAccountV1SessionLogin.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionLogin.js +12 -5
- package/funcs/accountAccountV1SessionLogin.js.map +1 -1
- package/funcs/sessionAccountV1SessionLogin.d.ts +1 -1
- package/funcs/sessionAccountV1SessionLogin.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionLogin.js +12 -5
- package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/accountsearch.d.ts +29 -0
- package/models/components/accountsearch.d.ts.map +1 -0
- package/models/components/accountsearch.js +54 -0
- package/models/components/accountsearch.js.map +1 -0
- package/models/components/accountsearchidstruct.d.ts +33 -0
- package/models/components/accountsearchidstruct.d.ts.map +1 -0
- package/models/components/accountsearchidstruct.js +52 -0
- package/models/components/accountsearchidstruct.js.map +1 -0
- package/models/components/accountsearchvanitystruct.d.ts +65 -0
- package/models/components/accountsearchvanitystruct.d.ts.map +1 -0
- package/models/components/accountsearchvanitystruct.js +74 -0
- package/models/components/accountsearchvanitystruct.js.map +1 -0
- package/models/components/emailnotification.d.ts +8 -8
- package/models/components/emailnotification.d.ts.map +1 -1
- package/models/components/emailnotification.js +13 -13
- package/models/components/emailnotification.js.map +1 -1
- package/models/components/index.d.ts +3 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -0
- package/models/components/index.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/accountv1sessionlogin.d.ts +23 -0
- package/models/operations/accountv1sessionlogin.d.ts.map +1 -1
- package/models/operations/accountv1sessionlogin.js +20 -1
- package/models/operations/accountv1sessionlogin.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +3 -3
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +6 -6
- package/sdk/account.js.map +1 -1
- package/sdk/session.d.ts +1 -1
- package/sdk/session.d.ts.map +1 -1
- package/sdk/session.js +2 -2
- package/sdk/session.js.map +1 -1
- package/src/funcs/accountAccountV1GetApps.ts +20 -2
- package/src/funcs/accountAccountV1GetBadges.ts +20 -2
- package/src/funcs/accountAccountV1SessionLogin.ts +13 -5
- package/src/funcs/sessionAccountV1SessionLogin.ts +13 -5
- package/src/lib/config.ts +3 -3
- package/src/models/components/accountsearch.ts +58 -0
- package/src/models/components/accountsearchidstruct.ts +55 -0
- package/src/models/components/accountsearchvanitystruct.ts +85 -0
- package/src/models/components/emailnotification.ts +14 -12
- package/src/models/components/index.ts +3 -0
- package/src/models/components/security.ts +4 -4
- package/src/models/operations/accountv1sessionlogin.ts +40 -0
- package/src/sdk/account.ts +9 -4
- package/src/sdk/session.ts +2 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
AccountSearchIDStruct,
|
|
7
|
+
AccountSearchIDStruct$inboundSchema,
|
|
8
|
+
AccountSearchIDStruct$Outbound,
|
|
9
|
+
AccountSearchIDStruct$outboundSchema,
|
|
10
|
+
} from "./accountsearchidstruct.js";
|
|
11
|
+
import {
|
|
12
|
+
AccountSearchVanityStruct,
|
|
13
|
+
AccountSearchVanityStruct$inboundSchema,
|
|
14
|
+
AccountSearchVanityStruct$Outbound,
|
|
15
|
+
AccountSearchVanityStruct$outboundSchema,
|
|
16
|
+
} from "./accountsearchvanitystruct.js";
|
|
17
|
+
import * as z from "zod";
|
|
18
|
+
|
|
19
|
+
export type AccountSearch = {
|
|
20
|
+
id?: AccountSearchIDStruct | undefined;
|
|
21
|
+
vanity?: AccountSearchVanityStruct | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const AccountSearch$inboundSchema: z.ZodType<AccountSearch, z.ZodTypeDef, unknown> =
|
|
26
|
+
z.object({
|
|
27
|
+
id: AccountSearchIDStruct$inboundSchema.optional(),
|
|
28
|
+
vanity: AccountSearchVanityStruct$inboundSchema.optional(),
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type AccountSearch$Outbound = {
|
|
33
|
+
id?: AccountSearchIDStruct$Outbound | undefined;
|
|
34
|
+
vanity?: AccountSearchVanityStruct$Outbound | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const AccountSearch$outboundSchema: z.ZodType<
|
|
39
|
+
AccountSearch$Outbound,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
AccountSearch
|
|
42
|
+
> = z.object({
|
|
43
|
+
id: AccountSearchIDStruct$outboundSchema.optional(),
|
|
44
|
+
vanity: AccountSearchVanityStruct$outboundSchema.optional(),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
50
|
+
*/
|
|
51
|
+
export namespace AccountSearch$ {
|
|
52
|
+
/** @deprecated use `AccountSearch$inboundSchema` instead. */
|
|
53
|
+
export const inboundSchema = AccountSearch$inboundSchema;
|
|
54
|
+
/** @deprecated use `AccountSearch$outboundSchema` instead. */
|
|
55
|
+
export const outboundSchema = AccountSearch$outboundSchema;
|
|
56
|
+
/** @deprecated use `AccountSearch$Outbound` instead. */
|
|
57
|
+
export type Outbound = AccountSearch$Outbound;
|
|
58
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export type AccountSearchIDStruct = {
|
|
8
|
+
/**
|
|
9
|
+
* Account ID to search for
|
|
10
|
+
*/
|
|
11
|
+
accountId?: number | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* SteamID64 to search for
|
|
14
|
+
*/
|
|
15
|
+
steamId64?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const AccountSearchIDStruct$inboundSchema: z.ZodType<
|
|
20
|
+
AccountSearchIDStruct,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
accountId: z.number().int().optional(),
|
|
25
|
+
steamId64: z.string().optional(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type AccountSearchIDStruct$Outbound = {
|
|
30
|
+
accountId?: number | undefined;
|
|
31
|
+
steamId64?: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const AccountSearchIDStruct$outboundSchema: z.ZodType<
|
|
36
|
+
AccountSearchIDStruct$Outbound,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
AccountSearchIDStruct
|
|
39
|
+
> = z.object({
|
|
40
|
+
accountId: z.number().int().optional(),
|
|
41
|
+
steamId64: z.string().optional(),
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
+
*/
|
|
48
|
+
export namespace AccountSearchIDStruct$ {
|
|
49
|
+
/** @deprecated use `AccountSearchIDStruct$inboundSchema` instead. */
|
|
50
|
+
export const inboundSchema = AccountSearchIDStruct$inboundSchema;
|
|
51
|
+
/** @deprecated use `AccountSearchIDStruct$outboundSchema` instead. */
|
|
52
|
+
export const outboundSchema = AccountSearchIDStruct$outboundSchema;
|
|
53
|
+
/** @deprecated use `AccountSearchIDStruct$Outbound` instead. */
|
|
54
|
+
export type Outbound = AccountSearchIDStruct$Outbound;
|
|
55
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
6
|
+
import * as z from "zod";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Which type of vanity to search for
|
|
10
|
+
*/
|
|
11
|
+
export const Type = {
|
|
12
|
+
Steam: "steam",
|
|
13
|
+
Internal: "internal",
|
|
14
|
+
} as const;
|
|
15
|
+
/**
|
|
16
|
+
* Which type of vanity to search for
|
|
17
|
+
*/
|
|
18
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
19
|
+
|
|
20
|
+
export type AccountSearchVanityStruct = {
|
|
21
|
+
/**
|
|
22
|
+
* Which type of vanity to search for
|
|
23
|
+
*/
|
|
24
|
+
type?: Type | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Vanity to search for
|
|
27
|
+
*/
|
|
28
|
+
value?: string | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(Type);
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> = Type$inboundSchema;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
+
*/
|
|
41
|
+
export namespace Type$ {
|
|
42
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
43
|
+
export const inboundSchema = Type$inboundSchema;
|
|
44
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
45
|
+
export const outboundSchema = Type$outboundSchema;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const AccountSearchVanityStruct$inboundSchema: z.ZodType<
|
|
50
|
+
AccountSearchVanityStruct,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
unknown
|
|
53
|
+
> = z.object({
|
|
54
|
+
type: Type$inboundSchema.optional(),
|
|
55
|
+
value: z.string().optional(),
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export type AccountSearchVanityStruct$Outbound = {
|
|
60
|
+
type?: string | undefined;
|
|
61
|
+
value?: string | undefined;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export const AccountSearchVanityStruct$outboundSchema: z.ZodType<
|
|
66
|
+
AccountSearchVanityStruct$Outbound,
|
|
67
|
+
z.ZodTypeDef,
|
|
68
|
+
AccountSearchVanityStruct
|
|
69
|
+
> = z.object({
|
|
70
|
+
type: Type$outboundSchema.optional(),
|
|
71
|
+
value: z.string().optional(),
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
77
|
+
*/
|
|
78
|
+
export namespace AccountSearchVanityStruct$ {
|
|
79
|
+
/** @deprecated use `AccountSearchVanityStruct$inboundSchema` instead. */
|
|
80
|
+
export const inboundSchema = AccountSearchVanityStruct$inboundSchema;
|
|
81
|
+
/** @deprecated use `AccountSearchVanityStruct$outboundSchema` instead. */
|
|
82
|
+
export const outboundSchema = AccountSearchVanityStruct$outboundSchema;
|
|
83
|
+
/** @deprecated use `AccountSearchVanityStruct$Outbound` instead. */
|
|
84
|
+
export type Outbound = AccountSearchVanityStruct$Outbound;
|
|
85
|
+
}
|
|
@@ -8,13 +8,13 @@ import * as z from "zod";
|
|
|
8
8
|
/**
|
|
9
9
|
* The type of email notifications
|
|
10
10
|
*/
|
|
11
|
-
export const
|
|
11
|
+
export const EmailNotificationType = {
|
|
12
12
|
Login: "login",
|
|
13
13
|
} as const;
|
|
14
14
|
/**
|
|
15
15
|
* The type of email notifications
|
|
16
16
|
*/
|
|
17
|
-
export type
|
|
17
|
+
export type EmailNotificationType = ClosedEnum<typeof EmailNotificationType>;
|
|
18
18
|
|
|
19
19
|
export type EmailNotification = {
|
|
20
20
|
/**
|
|
@@ -24,31 +24,33 @@ export type EmailNotification = {
|
|
|
24
24
|
/**
|
|
25
25
|
* The type of email notifications
|
|
26
26
|
*/
|
|
27
|
-
type:
|
|
27
|
+
type: EmailNotificationType;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
/** @internal */
|
|
31
|
-
export const
|
|
31
|
+
export const EmailNotificationType$inboundSchema: z.ZodNativeEnum<typeof EmailNotificationType> =
|
|
32
|
+
z.nativeEnum(EmailNotificationType);
|
|
32
33
|
|
|
33
34
|
/** @internal */
|
|
34
|
-
export const
|
|
35
|
+
export const EmailNotificationType$outboundSchema: z.ZodNativeEnum<typeof EmailNotificationType> =
|
|
36
|
+
EmailNotificationType$inboundSchema;
|
|
35
37
|
|
|
36
38
|
/**
|
|
37
39
|
* @internal
|
|
38
40
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
39
41
|
*/
|
|
40
|
-
export namespace
|
|
41
|
-
/** @deprecated use `
|
|
42
|
-
export const inboundSchema =
|
|
43
|
-
/** @deprecated use `
|
|
44
|
-
export const outboundSchema =
|
|
42
|
+
export namespace EmailNotificationType$ {
|
|
43
|
+
/** @deprecated use `EmailNotificationType$inboundSchema` instead. */
|
|
44
|
+
export const inboundSchema = EmailNotificationType$inboundSchema;
|
|
45
|
+
/** @deprecated use `EmailNotificationType$outboundSchema` instead. */
|
|
46
|
+
export const outboundSchema = EmailNotificationType$outboundSchema;
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
/** @internal */
|
|
48
50
|
export const EmailNotification$inboundSchema: z.ZodType<EmailNotification, z.ZodTypeDef, unknown> =
|
|
49
51
|
z.object({
|
|
50
52
|
enabled: z.boolean(),
|
|
51
|
-
type:
|
|
53
|
+
type: EmailNotificationType$inboundSchema,
|
|
52
54
|
});
|
|
53
55
|
|
|
54
56
|
/** @internal */
|
|
@@ -64,7 +66,7 @@ export const EmailNotification$outboundSchema: z.ZodType<
|
|
|
64
66
|
EmailNotification
|
|
65
67
|
> = z.object({
|
|
66
68
|
enabled: z.boolean(),
|
|
67
|
-
type:
|
|
69
|
+
type: EmailNotificationType$outboundSchema,
|
|
68
70
|
});
|
|
69
71
|
|
|
70
72
|
/**
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
export * from "./accountsearch.js";
|
|
6
|
+
export * from "./accountsearchidstruct.js";
|
|
7
|
+
export * from "./accountsearchvanitystruct.js";
|
|
5
8
|
export * from "./connection.js";
|
|
6
9
|
export * from "./emailnotification.js";
|
|
7
10
|
export * from "./errordetail.js";
|
|
@@ -5,23 +5,23 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
|
|
7
7
|
export type Security = {
|
|
8
|
-
session
|
|
8
|
+
session?: string | undefined;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
/** @internal */
|
|
12
12
|
export const Security$inboundSchema: z.ZodType<Security, z.ZodTypeDef, unknown> = z.object({
|
|
13
|
-
session: z.string(),
|
|
13
|
+
session: z.string().optional(),
|
|
14
14
|
});
|
|
15
15
|
|
|
16
16
|
/** @internal */
|
|
17
17
|
export type Security$Outbound = {
|
|
18
|
-
session
|
|
18
|
+
session?: string | undefined;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
/** @internal */
|
|
22
22
|
export const Security$outboundSchema: z.ZodType<Security$Outbound, z.ZodTypeDef, Security> =
|
|
23
23
|
z.object({
|
|
24
|
-
session: z.string(),
|
|
24
|
+
session: z.string().optional(),
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
/**
|
|
@@ -6,12 +6,52 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
6
6
|
import * as components from "../components/index.js";
|
|
7
7
|
import * as z from "zod";
|
|
8
8
|
|
|
9
|
+
export type AccountV1SessionLoginSecurity = {
|
|
10
|
+
anonymous: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
9
13
|
export type AccountV1SessionLoginRequest = {
|
|
10
14
|
userAgent?: string | undefined;
|
|
11
15
|
xForwardedFor?: string | undefined;
|
|
12
16
|
loginRequestBody: components.LoginRequestBody;
|
|
13
17
|
};
|
|
14
18
|
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const AccountV1SessionLoginSecurity$inboundSchema: z.ZodType<
|
|
21
|
+
AccountV1SessionLoginSecurity,
|
|
22
|
+
z.ZodTypeDef,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
anonymous: z.string(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type AccountV1SessionLoginSecurity$Outbound = {
|
|
30
|
+
anonymous: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const AccountV1SessionLoginSecurity$outboundSchema: z.ZodType<
|
|
35
|
+
AccountV1SessionLoginSecurity$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
AccountV1SessionLoginSecurity
|
|
38
|
+
> = z.object({
|
|
39
|
+
anonymous: z.string(),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
|
+
*/
|
|
46
|
+
export namespace AccountV1SessionLoginSecurity$ {
|
|
47
|
+
/** @deprecated use `AccountV1SessionLoginSecurity$inboundSchema` instead. */
|
|
48
|
+
export const inboundSchema = AccountV1SessionLoginSecurity$inboundSchema;
|
|
49
|
+
/** @deprecated use `AccountV1SessionLoginSecurity$outboundSchema` instead. */
|
|
50
|
+
export const outboundSchema = AccountV1SessionLoginSecurity$outboundSchema;
|
|
51
|
+
/** @deprecated use `AccountV1SessionLoginSecurity$Outbound` instead. */
|
|
52
|
+
export type Outbound = AccountV1SessionLoginSecurity$Outbound;
|
|
53
|
+
}
|
|
54
|
+
|
|
15
55
|
/** @internal */
|
|
16
56
|
export const AccountV1SessionLoginRequest$inboundSchema: z.ZodType<
|
|
17
57
|
AccountV1SessionLoginRequest,
|
package/src/sdk/account.ts
CHANGED
|
@@ -78,16 +78,20 @@ export class Account extends ClientSDK {
|
|
|
78
78
|
* Get Account Apps
|
|
79
79
|
*/
|
|
80
80
|
async accountV1GetApps(
|
|
81
|
+
request: components.AccountSearch,
|
|
81
82
|
options?: RequestOptions
|
|
82
83
|
): Promise<components.V1AccountsAppsResponseBody> {
|
|
83
|
-
return unwrapAsync(accountAccountV1GetApps(this, options));
|
|
84
|
+
return unwrapAsync(accountAccountV1GetApps(this, request, options));
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
/**
|
|
87
88
|
* Get Account Badges
|
|
88
89
|
*/
|
|
89
|
-
async accountV1GetBadges(
|
|
90
|
-
|
|
90
|
+
async accountV1GetBadges(
|
|
91
|
+
request: components.AccountSearch,
|
|
92
|
+
options?: RequestOptions
|
|
93
|
+
): Promise<components.V1BadgesResponseBody> {
|
|
94
|
+
return unwrapAsync(accountAccountV1GetBadges(this, request, options));
|
|
91
95
|
}
|
|
92
96
|
|
|
93
97
|
/**
|
|
@@ -109,9 +113,10 @@ export class Account extends ClientSDK {
|
|
|
109
113
|
*/
|
|
110
114
|
async accountV1SessionLogin(
|
|
111
115
|
request: operations.AccountV1SessionLoginRequest,
|
|
116
|
+
security: operations.AccountV1SessionLoginSecurity,
|
|
112
117
|
options?: RequestOptions
|
|
113
118
|
): Promise<components.V1LoginResponseBody> {
|
|
114
|
-
return unwrapAsync(accountAccountV1SessionLogin(this, request, options));
|
|
119
|
+
return unwrapAsync(accountAccountV1SessionLogin(this, request, security, options));
|
|
115
120
|
}
|
|
116
121
|
|
|
117
122
|
/**
|
package/src/sdk/session.ts
CHANGED
|
@@ -33,8 +33,9 @@ export class Session extends ClientSDK {
|
|
|
33
33
|
*/
|
|
34
34
|
async accountV1SessionLogin(
|
|
35
35
|
request: operations.AccountV1SessionLoginRequest,
|
|
36
|
+
security: operations.AccountV1SessionLoginSecurity,
|
|
36
37
|
options?: RequestOptions
|
|
37
38
|
): Promise<components.V1LoginResponseBody> {
|
|
38
|
-
return unwrapAsync(sessionAccountV1SessionLogin(this, request, options));
|
|
39
|
+
return unwrapAsync(sessionAccountV1SessionLogin(this, request, security, options));
|
|
39
40
|
}
|
|
40
41
|
}
|