@steamsets/client-ts 0.22.2 → 0.22.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/README.md +4 -0
  2. package/docs/sdks/account/README.md +153 -0
  3. package/funcs/accountAccountV1SessionLogout.d.ts +11 -0
  4. package/funcs/accountAccountV1SessionLogout.d.ts.map +1 -0
  5. package/funcs/accountAccountV1SessionLogout.js +105 -0
  6. package/funcs/accountAccountV1SessionLogout.js.map +1 -0
  7. package/funcs/accountAccountV1SessionRefresh.d.ts +11 -0
  8. package/funcs/accountAccountV1SessionRefresh.d.ts.map +1 -0
  9. package/funcs/accountAccountV1SessionRefresh.js +124 -0
  10. package/funcs/accountAccountV1SessionRefresh.js.map +1 -0
  11. package/jsr.json +1 -1
  12. package/lib/config.d.ts +3 -3
  13. package/lib/config.js +3 -3
  14. package/lib/sdks.d.ts.map +1 -1
  15. package/lib/sdks.js +2 -8
  16. package/lib/sdks.js.map +1 -1
  17. package/models/components/index.d.ts +2 -0
  18. package/models/components/index.d.ts.map +1 -1
  19. package/models/components/index.js +2 -0
  20. package/models/components/index.js.map +1 -1
  21. package/models/components/v1loginresponsebody.d.ts +15 -0
  22. package/models/components/v1loginresponsebody.d.ts.map +1 -1
  23. package/models/components/v1loginresponsebody.js +6 -0
  24. package/models/components/v1loginresponsebody.js.map +1 -1
  25. package/models/components/v1refreshsessionbody.d.ts +52 -0
  26. package/models/components/v1refreshsessionbody.d.ts.map +1 -0
  27. package/models/components/v1refreshsessionbody.js +76 -0
  28. package/models/components/v1refreshsessionbody.js.map +1 -0
  29. package/models/components/v1refreshsessionrequestbody.d.ts +32 -0
  30. package/models/components/v1refreshsessionrequestbody.d.ts.map +1 -0
  31. package/models/components/v1refreshsessionrequestbody.js +59 -0
  32. package/models/components/v1refreshsessionrequestbody.js.map +1 -0
  33. package/models/operations/accountv1sessionlogout.d.ts +30 -0
  34. package/models/operations/accountv1sessionlogout.d.ts.map +1 -0
  35. package/models/operations/accountv1sessionlogout.js +69 -0
  36. package/models/operations/accountv1sessionlogout.js.map +1 -0
  37. package/models/operations/accountv1sessionrefresh.d.ts +64 -0
  38. package/models/operations/accountv1sessionrefresh.d.ts.map +1 -0
  39. package/models/operations/accountv1sessionrefresh.js +118 -0
  40. package/models/operations/accountv1sessionrefresh.js.map +1 -0
  41. package/models/operations/index.d.ts +2 -0
  42. package/models/operations/index.d.ts.map +1 -1
  43. package/models/operations/index.js +2 -0
  44. package/models/operations/index.js.map +1 -1
  45. package/package.json +1 -1
  46. package/sdk/account.d.ts +2 -0
  47. package/sdk/account.d.ts.map +1 -1
  48. package/sdk/account.js +8 -0
  49. package/sdk/account.js.map +1 -1
  50. package/src/funcs/accountAccountV1SessionLogout.ts +158 -0
  51. package/src/funcs/accountAccountV1SessionRefresh.ts +190 -0
  52. package/src/lib/config.ts +3 -3
  53. package/src/lib/sdks.ts +2 -7
  54. package/src/models/components/index.ts +2 -0
  55. package/src/models/components/v1loginresponsebody.ts +25 -0
  56. package/src/models/components/v1refreshsessionbody.ts +110 -0
  57. package/src/models/components/v1refreshsessionrequestbody.ts +71 -0
  58. package/src/models/operations/accountv1sessionlogout.ts +78 -0
  59. package/src/models/operations/accountv1sessionrefresh.ts +171 -0
  60. package/src/models/operations/index.ts +2 -0
  61. package/src/sdk/account.ts +22 -0
@@ -0,0 +1,110 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type V1RefreshSessionBody = {
12
+ /**
13
+ * A URL to the JSON Schema for this object.
14
+ */
15
+ dollarSchema?: string | undefined;
16
+ /**
17
+ * The expiration time of the refresh token
18
+ */
19
+ refreshExpiresAt: Date;
20
+ /**
21
+ * The refresh token
22
+ */
23
+ refreshToken: string;
24
+ /**
25
+ * The expiration time of the session token
26
+ */
27
+ sessionExpiresAt: Date;
28
+ /**
29
+ * The session token
30
+ */
31
+ sessionToken: string;
32
+ };
33
+
34
+ /** @internal */
35
+ export const V1RefreshSessionBody$inboundSchema: z.ZodType<
36
+ V1RefreshSessionBody,
37
+ z.ZodTypeDef,
38
+ unknown
39
+ > = z.object({
40
+ $schema: z.string().optional(),
41
+ refreshExpiresAt: z.string().datetime({ offset: true }).transform(v =>
42
+ new Date(v)
43
+ ),
44
+ refreshToken: z.string(),
45
+ sessionExpiresAt: z.string().datetime({ offset: true }).transform(v =>
46
+ new Date(v)
47
+ ),
48
+ sessionToken: z.string(),
49
+ }).transform((v) => {
50
+ return remap$(v, {
51
+ "$schema": "dollarSchema",
52
+ });
53
+ });
54
+
55
+ /** @internal */
56
+ export type V1RefreshSessionBody$Outbound = {
57
+ $schema?: string | undefined;
58
+ refreshExpiresAt: string;
59
+ refreshToken: string;
60
+ sessionExpiresAt: string;
61
+ sessionToken: string;
62
+ };
63
+
64
+ /** @internal */
65
+ export const V1RefreshSessionBody$outboundSchema: z.ZodType<
66
+ V1RefreshSessionBody$Outbound,
67
+ z.ZodTypeDef,
68
+ V1RefreshSessionBody
69
+ > = z.object({
70
+ dollarSchema: z.string().optional(),
71
+ refreshExpiresAt: z.date().transform(v => v.toISOString()),
72
+ refreshToken: z.string(),
73
+ sessionExpiresAt: z.date().transform(v => v.toISOString()),
74
+ sessionToken: z.string(),
75
+ }).transform((v) => {
76
+ return remap$(v, {
77
+ dollarSchema: "$schema",
78
+ });
79
+ });
80
+
81
+ /**
82
+ * @internal
83
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
84
+ */
85
+ export namespace V1RefreshSessionBody$ {
86
+ /** @deprecated use `V1RefreshSessionBody$inboundSchema` instead. */
87
+ export const inboundSchema = V1RefreshSessionBody$inboundSchema;
88
+ /** @deprecated use `V1RefreshSessionBody$outboundSchema` instead. */
89
+ export const outboundSchema = V1RefreshSessionBody$outboundSchema;
90
+ /** @deprecated use `V1RefreshSessionBody$Outbound` instead. */
91
+ export type Outbound = V1RefreshSessionBody$Outbound;
92
+ }
93
+
94
+ export function v1RefreshSessionBodyToJSON(
95
+ v1RefreshSessionBody: V1RefreshSessionBody,
96
+ ): string {
97
+ return JSON.stringify(
98
+ V1RefreshSessionBody$outboundSchema.parse(v1RefreshSessionBody),
99
+ );
100
+ }
101
+
102
+ export function v1RefreshSessionBodyFromJSON(
103
+ jsonString: string,
104
+ ): SafeParseResult<V1RefreshSessionBody, SDKValidationError> {
105
+ return safeParse(
106
+ jsonString,
107
+ (x) => V1RefreshSessionBody$inboundSchema.parse(JSON.parse(x)),
108
+ `Failed to parse 'V1RefreshSessionBody' from JSON`,
109
+ );
110
+ }
@@ -0,0 +1,71 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type V1RefreshSessionRequestBody = {
11
+ /**
12
+ * The refresh token
13
+ */
14
+ refreshToken: string;
15
+ };
16
+
17
+ /** @internal */
18
+ export const V1RefreshSessionRequestBody$inboundSchema: z.ZodType<
19
+ V1RefreshSessionRequestBody,
20
+ z.ZodTypeDef,
21
+ unknown
22
+ > = z.object({
23
+ refreshToken: z.string(),
24
+ });
25
+
26
+ /** @internal */
27
+ export type V1RefreshSessionRequestBody$Outbound = {
28
+ refreshToken: string;
29
+ };
30
+
31
+ /** @internal */
32
+ export const V1RefreshSessionRequestBody$outboundSchema: z.ZodType<
33
+ V1RefreshSessionRequestBody$Outbound,
34
+ z.ZodTypeDef,
35
+ V1RefreshSessionRequestBody
36
+ > = z.object({
37
+ refreshToken: z.string(),
38
+ });
39
+
40
+ /**
41
+ * @internal
42
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
43
+ */
44
+ export namespace V1RefreshSessionRequestBody$ {
45
+ /** @deprecated use `V1RefreshSessionRequestBody$inboundSchema` instead. */
46
+ export const inboundSchema = V1RefreshSessionRequestBody$inboundSchema;
47
+ /** @deprecated use `V1RefreshSessionRequestBody$outboundSchema` instead. */
48
+ export const outboundSchema = V1RefreshSessionRequestBody$outboundSchema;
49
+ /** @deprecated use `V1RefreshSessionRequestBody$Outbound` instead. */
50
+ export type Outbound = V1RefreshSessionRequestBody$Outbound;
51
+ }
52
+
53
+ export function v1RefreshSessionRequestBodyToJSON(
54
+ v1RefreshSessionRequestBody: V1RefreshSessionRequestBody,
55
+ ): string {
56
+ return JSON.stringify(
57
+ V1RefreshSessionRequestBody$outboundSchema.parse(
58
+ v1RefreshSessionRequestBody,
59
+ ),
60
+ );
61
+ }
62
+
63
+ export function v1RefreshSessionRequestBodyFromJSON(
64
+ jsonString: string,
65
+ ): SafeParseResult<V1RefreshSessionRequestBody, SDKValidationError> {
66
+ return safeParse(
67
+ jsonString,
68
+ (x) => V1RefreshSessionRequestBody$inboundSchema.parse(JSON.parse(x)),
69
+ `Failed to parse 'V1RefreshSessionRequestBody' from JSON`,
70
+ );
71
+ }
@@ -0,0 +1,78 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type AccountV1SessionLogoutResponse = {
13
+ httpMeta: components.HTTPMetadata;
14
+ };
15
+
16
+ /** @internal */
17
+ export const AccountV1SessionLogoutResponse$inboundSchema: z.ZodType<
18
+ AccountV1SessionLogoutResponse,
19
+ z.ZodTypeDef,
20
+ unknown
21
+ > = z.object({
22
+ HttpMeta: components.HTTPMetadata$inboundSchema,
23
+ }).transform((v) => {
24
+ return remap$(v, {
25
+ "HttpMeta": "httpMeta",
26
+ });
27
+ });
28
+
29
+ /** @internal */
30
+ export type AccountV1SessionLogoutResponse$Outbound = {
31
+ HttpMeta: components.HTTPMetadata$Outbound;
32
+ };
33
+
34
+ /** @internal */
35
+ export const AccountV1SessionLogoutResponse$outboundSchema: z.ZodType<
36
+ AccountV1SessionLogoutResponse$Outbound,
37
+ z.ZodTypeDef,
38
+ AccountV1SessionLogoutResponse
39
+ > = z.object({
40
+ httpMeta: components.HTTPMetadata$outboundSchema,
41
+ }).transform((v) => {
42
+ return remap$(v, {
43
+ httpMeta: "HttpMeta",
44
+ });
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 AccountV1SessionLogoutResponse$ {
52
+ /** @deprecated use `AccountV1SessionLogoutResponse$inboundSchema` instead. */
53
+ export const inboundSchema = AccountV1SessionLogoutResponse$inboundSchema;
54
+ /** @deprecated use `AccountV1SessionLogoutResponse$outboundSchema` instead. */
55
+ export const outboundSchema = AccountV1SessionLogoutResponse$outboundSchema;
56
+ /** @deprecated use `AccountV1SessionLogoutResponse$Outbound` instead. */
57
+ export type Outbound = AccountV1SessionLogoutResponse$Outbound;
58
+ }
59
+
60
+ export function accountV1SessionLogoutResponseToJSON(
61
+ accountV1SessionLogoutResponse: AccountV1SessionLogoutResponse,
62
+ ): string {
63
+ return JSON.stringify(
64
+ AccountV1SessionLogoutResponse$outboundSchema.parse(
65
+ accountV1SessionLogoutResponse,
66
+ ),
67
+ );
68
+ }
69
+
70
+ export function accountV1SessionLogoutResponseFromJSON(
71
+ jsonString: string,
72
+ ): SafeParseResult<AccountV1SessionLogoutResponse, SDKValidationError> {
73
+ return safeParse(
74
+ jsonString,
75
+ (x) => AccountV1SessionLogoutResponse$inboundSchema.parse(JSON.parse(x)),
76
+ `Failed to parse 'AccountV1SessionLogoutResponse' from JSON`,
77
+ );
78
+ }
@@ -0,0 +1,171 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type AccountV1SessionRefreshRequest = {
13
+ userAgent?: string | undefined;
14
+ xForwardedFor?: string | undefined;
15
+ v1RefreshSessionRequestBody: components.V1RefreshSessionRequestBody;
16
+ };
17
+
18
+ export type AccountV1SessionRefreshResponse = {
19
+ httpMeta: components.HTTPMetadata;
20
+ /**
21
+ * OK
22
+ */
23
+ v1RefreshSessionBody?: components.V1RefreshSessionBody | undefined;
24
+ };
25
+
26
+ /** @internal */
27
+ export const AccountV1SessionRefreshRequest$inboundSchema: z.ZodType<
28
+ AccountV1SessionRefreshRequest,
29
+ z.ZodTypeDef,
30
+ unknown
31
+ > = z.object({
32
+ "User-Agent": z.string().optional(),
33
+ "X-Forwarded-For": z.string().optional(),
34
+ V1RefreshSessionRequestBody:
35
+ components.V1RefreshSessionRequestBody$inboundSchema,
36
+ }).transform((v) => {
37
+ return remap$(v, {
38
+ "User-Agent": "userAgent",
39
+ "X-Forwarded-For": "xForwardedFor",
40
+ "V1RefreshSessionRequestBody": "v1RefreshSessionRequestBody",
41
+ });
42
+ });
43
+
44
+ /** @internal */
45
+ export type AccountV1SessionRefreshRequest$Outbound = {
46
+ "User-Agent"?: string | undefined;
47
+ "X-Forwarded-For"?: string | undefined;
48
+ V1RefreshSessionRequestBody: components.V1RefreshSessionRequestBody$Outbound;
49
+ };
50
+
51
+ /** @internal */
52
+ export const AccountV1SessionRefreshRequest$outboundSchema: z.ZodType<
53
+ AccountV1SessionRefreshRequest$Outbound,
54
+ z.ZodTypeDef,
55
+ AccountV1SessionRefreshRequest
56
+ > = z.object({
57
+ userAgent: z.string().optional(),
58
+ xForwardedFor: z.string().optional(),
59
+ v1RefreshSessionRequestBody:
60
+ components.V1RefreshSessionRequestBody$outboundSchema,
61
+ }).transform((v) => {
62
+ return remap$(v, {
63
+ userAgent: "User-Agent",
64
+ xForwardedFor: "X-Forwarded-For",
65
+ v1RefreshSessionRequestBody: "V1RefreshSessionRequestBody",
66
+ });
67
+ });
68
+
69
+ /**
70
+ * @internal
71
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
72
+ */
73
+ export namespace AccountV1SessionRefreshRequest$ {
74
+ /** @deprecated use `AccountV1SessionRefreshRequest$inboundSchema` instead. */
75
+ export const inboundSchema = AccountV1SessionRefreshRequest$inboundSchema;
76
+ /** @deprecated use `AccountV1SessionRefreshRequest$outboundSchema` instead. */
77
+ export const outboundSchema = AccountV1SessionRefreshRequest$outboundSchema;
78
+ /** @deprecated use `AccountV1SessionRefreshRequest$Outbound` instead. */
79
+ export type Outbound = AccountV1SessionRefreshRequest$Outbound;
80
+ }
81
+
82
+ export function accountV1SessionRefreshRequestToJSON(
83
+ accountV1SessionRefreshRequest: AccountV1SessionRefreshRequest,
84
+ ): string {
85
+ return JSON.stringify(
86
+ AccountV1SessionRefreshRequest$outboundSchema.parse(
87
+ accountV1SessionRefreshRequest,
88
+ ),
89
+ );
90
+ }
91
+
92
+ export function accountV1SessionRefreshRequestFromJSON(
93
+ jsonString: string,
94
+ ): SafeParseResult<AccountV1SessionRefreshRequest, SDKValidationError> {
95
+ return safeParse(
96
+ jsonString,
97
+ (x) => AccountV1SessionRefreshRequest$inboundSchema.parse(JSON.parse(x)),
98
+ `Failed to parse 'AccountV1SessionRefreshRequest' from JSON`,
99
+ );
100
+ }
101
+
102
+ /** @internal */
103
+ export const AccountV1SessionRefreshResponse$inboundSchema: z.ZodType<
104
+ AccountV1SessionRefreshResponse,
105
+ z.ZodTypeDef,
106
+ unknown
107
+ > = z.object({
108
+ HttpMeta: components.HTTPMetadata$inboundSchema,
109
+ V1RefreshSessionBody: components.V1RefreshSessionBody$inboundSchema
110
+ .optional(),
111
+ }).transform((v) => {
112
+ return remap$(v, {
113
+ "HttpMeta": "httpMeta",
114
+ "V1RefreshSessionBody": "v1RefreshSessionBody",
115
+ });
116
+ });
117
+
118
+ /** @internal */
119
+ export type AccountV1SessionRefreshResponse$Outbound = {
120
+ HttpMeta: components.HTTPMetadata$Outbound;
121
+ V1RefreshSessionBody?: components.V1RefreshSessionBody$Outbound | undefined;
122
+ };
123
+
124
+ /** @internal */
125
+ export const AccountV1SessionRefreshResponse$outboundSchema: z.ZodType<
126
+ AccountV1SessionRefreshResponse$Outbound,
127
+ z.ZodTypeDef,
128
+ AccountV1SessionRefreshResponse
129
+ > = z.object({
130
+ httpMeta: components.HTTPMetadata$outboundSchema,
131
+ v1RefreshSessionBody: components.V1RefreshSessionBody$outboundSchema
132
+ .optional(),
133
+ }).transform((v) => {
134
+ return remap$(v, {
135
+ httpMeta: "HttpMeta",
136
+ v1RefreshSessionBody: "V1RefreshSessionBody",
137
+ });
138
+ });
139
+
140
+ /**
141
+ * @internal
142
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
143
+ */
144
+ export namespace AccountV1SessionRefreshResponse$ {
145
+ /** @deprecated use `AccountV1SessionRefreshResponse$inboundSchema` instead. */
146
+ export const inboundSchema = AccountV1SessionRefreshResponse$inboundSchema;
147
+ /** @deprecated use `AccountV1SessionRefreshResponse$outboundSchema` instead. */
148
+ export const outboundSchema = AccountV1SessionRefreshResponse$outboundSchema;
149
+ /** @deprecated use `AccountV1SessionRefreshResponse$Outbound` instead. */
150
+ export type Outbound = AccountV1SessionRefreshResponse$Outbound;
151
+ }
152
+
153
+ export function accountV1SessionRefreshResponseToJSON(
154
+ accountV1SessionRefreshResponse: AccountV1SessionRefreshResponse,
155
+ ): string {
156
+ return JSON.stringify(
157
+ AccountV1SessionRefreshResponse$outboundSchema.parse(
158
+ accountV1SessionRefreshResponse,
159
+ ),
160
+ );
161
+ }
162
+
163
+ export function accountV1SessionRefreshResponseFromJSON(
164
+ jsonString: string,
165
+ ): SafeParseResult<AccountV1SessionRefreshResponse, SDKValidationError> {
166
+ return safeParse(
167
+ jsonString,
168
+ (x) => AccountV1SessionRefreshResponse$inboundSchema.parse(JSON.parse(x)),
169
+ `Failed to parse 'AccountV1SessionRefreshResponse' from JSON`,
170
+ );
171
+ }
@@ -27,6 +27,8 @@ export * from "./accountv1sessioncreate.js";
27
27
  export * from "./accountv1sessiondelete.js";
28
28
  export * from "./accountv1sessionget.js";
29
29
  export * from "./accountv1sessionlogin.js";
30
+ export * from "./accountv1sessionlogout.js";
31
+ export * from "./accountv1sessionrefresh.js";
30
32
  export * from "./accountv1settingsdeveloperappcreate.js";
31
33
  export * from "./accountv1settingsdeveloperappdelete.js";
32
34
  export * from "./accountv1settingsdeveloperappupdate.js";
@@ -2,6 +2,8 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ import { accountAccountV1SessionLogout } from "../funcs/accountAccountV1SessionLogout.js";
6
+ import { accountAccountV1SessionRefresh } from "../funcs/accountAccountV1SessionRefresh.js";
5
7
  import { accountBookmarkBadge } from "../funcs/accountBookmarkBadge.js";
6
8
  import { accountConnect } from "../funcs/accountConnect.js";
7
9
  import { accountCreateDeveloperApp } from "../funcs/accountCreateDeveloperApp.js";
@@ -302,6 +304,15 @@ export class Account extends ClientSDK {
302
304
  ));
303
305
  }
304
306
 
307
+ async accountV1SessionLogout(
308
+ options?: RequestOptions,
309
+ ): Promise<operations.AccountV1SessionLogoutResponse> {
310
+ return unwrapAsync(accountAccountV1SessionLogout(
311
+ this,
312
+ options,
313
+ ));
314
+ }
315
+
305
316
  async queue(
306
317
  request: components.V1AccountQueueRequestBody,
307
318
  options?: RequestOptions,
@@ -324,6 +335,17 @@ export class Account extends ClientSDK {
324
335
  ));
325
336
  }
326
337
 
338
+ async accountV1SessionRefresh(
339
+ request: operations.AccountV1SessionRefreshRequest,
340
+ options?: RequestOptions,
341
+ ): Promise<operations.AccountV1SessionRefreshResponse> {
342
+ return unwrapAsync(accountAccountV1SessionRefresh(
343
+ this,
344
+ request,
345
+ options,
346
+ ));
347
+ }
348
+
327
349
  async updateImages(
328
350
  request: components.V1UpdateImageRequestBody,
329
351
  options?: RequestOptions,