@steamsets/client-ts 0.4.1 → 0.5.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.
Files changed (92) hide show
  1. package/README.md +4 -37
  2. package/docs/sdks/account/README.md +95 -13
  3. package/docs/sdks/session/README.md +81 -7
  4. package/funcs/accountAccountV1GetApps.d.ts +1 -2
  5. package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
  6. package/funcs/accountAccountV1GetApps.js +6 -3
  7. package/funcs/accountAccountV1GetApps.js.map +1 -1
  8. package/funcs/accountAccountV1GetBadges.d.ts +1 -2
  9. package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
  10. package/funcs/accountAccountV1GetBadges.js +6 -3
  11. package/funcs/accountAccountV1GetBadges.js.map +1 -1
  12. package/funcs/accountAccountV1SessionCreate.d.ts +13 -0
  13. package/funcs/accountAccountV1SessionCreate.d.ts.map +1 -0
  14. package/funcs/accountAccountV1SessionCreate.js +112 -0
  15. package/funcs/accountAccountV1SessionCreate.js.map +1 -0
  16. package/funcs/accountAccountV1SessionLogin.d.ts +1 -1
  17. package/funcs/accountAccountV1SessionLogin.d.ts.map +1 -1
  18. package/funcs/accountAccountV1SessionLogin.js +5 -12
  19. package/funcs/accountAccountV1SessionLogin.js.map +1 -1
  20. package/funcs/sessionAccountV1SessionCreate.d.ts +13 -0
  21. package/funcs/sessionAccountV1SessionCreate.d.ts.map +1 -0
  22. package/funcs/sessionAccountV1SessionCreate.js +112 -0
  23. package/funcs/sessionAccountV1SessionCreate.js.map +1 -0
  24. package/funcs/sessionAccountV1SessionLogin.d.ts +1 -1
  25. package/funcs/sessionAccountV1SessionLogin.d.ts.map +1 -1
  26. package/funcs/sessionAccountV1SessionLogin.js +5 -12
  27. package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
  28. package/lib/config.d.ts +2 -2
  29. package/lib/config.js +2 -2
  30. package/models/components/accountsearchvanitystruct.d.ts +4 -4
  31. package/models/components/accountsearchvanitystruct.d.ts.map +1 -1
  32. package/models/components/accountsearchvanitystruct.js +4 -4
  33. package/models/components/accountsearchvanitystruct.js.map +1 -1
  34. package/models/components/index.d.ts +1 -0
  35. package/models/components/index.d.ts.map +1 -1
  36. package/models/components/index.js +1 -0
  37. package/models/components/index.js.map +1 -1
  38. package/models/components/security.d.ts +2 -2
  39. package/models/components/security.d.ts.map +1 -1
  40. package/models/components/security.js +2 -2
  41. package/models/components/security.js.map +1 -1
  42. package/models/components/v1createsessionbody.d.ts +33 -0
  43. package/models/components/v1createsessionbody.d.ts.map +1 -0
  44. package/models/components/v1createsessionbody.js +65 -0
  45. package/models/components/v1createsessionbody.js.map +1 -0
  46. package/models/operations/accountv1getapps.d.ts +25 -0
  47. package/models/operations/accountv1getapps.d.ts.map +1 -1
  48. package/models/operations/accountv1getapps.js +36 -1
  49. package/models/operations/accountv1getapps.js.map +1 -1
  50. package/models/operations/accountv1getbadges.d.ts +25 -0
  51. package/models/operations/accountv1getbadges.d.ts.map +1 -1
  52. package/models/operations/accountv1getbadges.js +36 -1
  53. package/models/operations/accountv1getbadges.js.map +1 -1
  54. package/models/operations/accountv1sessioncreate.d.ts +60 -0
  55. package/models/operations/accountv1sessioncreate.d.ts.map +1 -0
  56. package/models/operations/accountv1sessioncreate.js +111 -0
  57. package/models/operations/accountv1sessioncreate.js.map +1 -0
  58. package/models/operations/accountv1sessionlogin.d.ts +0 -23
  59. package/models/operations/accountv1sessionlogin.d.ts.map +1 -1
  60. package/models/operations/accountv1sessionlogin.js +1 -20
  61. package/models/operations/accountv1sessionlogin.js.map +1 -1
  62. package/models/operations/index.d.ts +1 -0
  63. package/models/operations/index.d.ts.map +1 -1
  64. package/models/operations/index.js +1 -0
  65. package/models/operations/index.js.map +1 -1
  66. package/package.json +1 -1
  67. package/sdk/account.d.ts +7 -3
  68. package/sdk/account.d.ts.map +1 -1
  69. package/sdk/account.js +9 -2
  70. package/sdk/account.js.map +1 -1
  71. package/sdk/session.d.ts +5 -1
  72. package/sdk/session.d.ts.map +1 -1
  73. package/sdk/session.js +9 -2
  74. package/sdk/session.js.map +1 -1
  75. package/src/funcs/accountAccountV1GetApps.ts +8 -5
  76. package/src/funcs/accountAccountV1GetBadges.ts +8 -5
  77. package/src/funcs/accountAccountV1SessionCreate.ts +146 -0
  78. package/src/funcs/accountAccountV1SessionLogin.ts +5 -13
  79. package/src/funcs/sessionAccountV1SessionCreate.ts +146 -0
  80. package/src/funcs/sessionAccountV1SessionLogin.ts +5 -13
  81. package/src/lib/config.ts +2 -2
  82. package/src/models/components/accountsearchvanitystruct.ts +8 -8
  83. package/src/models/components/index.ts +1 -0
  84. package/src/models/components/security.ts +4 -4
  85. package/src/models/components/v1createsessionbody.ts +68 -0
  86. package/src/models/operations/accountv1getapps.ts +58 -0
  87. package/src/models/operations/accountv1getbadges.ts +58 -0
  88. package/src/models/operations/accountv1sessioncreate.ts +138 -0
  89. package/src/models/operations/accountv1sessionlogin.ts +0 -40
  90. package/src/models/operations/index.ts +1 -0
  91. package/src/sdk/account.ts +14 -4
  92. package/src/sdk/session.ts +12 -2
@@ -5,23 +5,23 @@
5
5
  import * as z from "zod";
6
6
 
7
7
  export type Security = {
8
- session?: string | undefined;
8
+ session: string;
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().optional(),
13
+ session: z.string(),
14
14
  });
15
15
 
16
16
  /** @internal */
17
17
  export type Security$Outbound = {
18
- session?: string | undefined;
18
+ session: string;
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().optional(),
24
+ session: z.string(),
25
25
  });
26
26
 
27
27
  /**
@@ -0,0 +1,68 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import * as z from "zod";
7
+
8
+ export type V1CreateSessionBody = {
9
+ /**
10
+ * A URL to the JSON Schema for this object.
11
+ */
12
+ dollarSchema?: string | undefined;
13
+ /**
14
+ * The session id
15
+ */
16
+ sessionId: string;
17
+ };
18
+
19
+ /** @internal */
20
+ export const V1CreateSessionBody$inboundSchema: z.ZodType<
21
+ V1CreateSessionBody,
22
+ z.ZodTypeDef,
23
+ unknown
24
+ > = z
25
+ .object({
26
+ $schema: z.string().optional(),
27
+ sessionId: z.string(),
28
+ })
29
+ .transform((v) => {
30
+ return remap$(v, {
31
+ $schema: "dollarSchema",
32
+ });
33
+ });
34
+
35
+ /** @internal */
36
+ export type V1CreateSessionBody$Outbound = {
37
+ $schema?: string | undefined;
38
+ sessionId: string;
39
+ };
40
+
41
+ /** @internal */
42
+ export const V1CreateSessionBody$outboundSchema: z.ZodType<
43
+ V1CreateSessionBody$Outbound,
44
+ z.ZodTypeDef,
45
+ V1CreateSessionBody
46
+ > = z
47
+ .object({
48
+ dollarSchema: z.string().optional(),
49
+ sessionId: z.string(),
50
+ })
51
+ .transform((v) => {
52
+ return remap$(v, {
53
+ dollarSchema: "$schema",
54
+ });
55
+ });
56
+
57
+ /**
58
+ * @internal
59
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
60
+ */
61
+ export namespace V1CreateSessionBody$ {
62
+ /** @deprecated use `V1CreateSessionBody$inboundSchema` instead. */
63
+ export const inboundSchema = V1CreateSessionBody$inboundSchema;
64
+ /** @deprecated use `V1CreateSessionBody$outboundSchema` instead. */
65
+ export const outboundSchema = V1CreateSessionBody$outboundSchema;
66
+ /** @deprecated use `V1CreateSessionBody$Outbound` instead. */
67
+ export type Outbound = V1CreateSessionBody$Outbound;
68
+ }
@@ -6,6 +6,11 @@ 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 AccountV1GetAppsRequest = {
10
+ xForwardedFor?: string | undefined;
11
+ accountSearch: components.AccountSearch;
12
+ };
13
+
9
14
  export type AccountV1GetAppsResponse = {
10
15
  httpMeta: components.HTTPMetadata;
11
16
  /**
@@ -14,6 +19,59 @@ export type AccountV1GetAppsResponse = {
14
19
  v1AccountsAppsResponseBody?: components.V1AccountsAppsResponseBody | undefined;
15
20
  };
16
21
 
22
+ /** @internal */
23
+ export const AccountV1GetAppsRequest$inboundSchema: z.ZodType<
24
+ AccountV1GetAppsRequest,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z
28
+ .object({
29
+ "X-Forwarded-For": z.string().optional(),
30
+ AccountSearch: components.AccountSearch$inboundSchema,
31
+ })
32
+ .transform((v) => {
33
+ return remap$(v, {
34
+ "X-Forwarded-For": "xForwardedFor",
35
+ AccountSearch: "accountSearch",
36
+ });
37
+ });
38
+
39
+ /** @internal */
40
+ export type AccountV1GetAppsRequest$Outbound = {
41
+ "X-Forwarded-For"?: string | undefined;
42
+ AccountSearch: components.AccountSearch$Outbound;
43
+ };
44
+
45
+ /** @internal */
46
+ export const AccountV1GetAppsRequest$outboundSchema: z.ZodType<
47
+ AccountV1GetAppsRequest$Outbound,
48
+ z.ZodTypeDef,
49
+ AccountV1GetAppsRequest
50
+ > = z
51
+ .object({
52
+ xForwardedFor: z.string().optional(),
53
+ accountSearch: components.AccountSearch$outboundSchema,
54
+ })
55
+ .transform((v) => {
56
+ return remap$(v, {
57
+ xForwardedFor: "X-Forwarded-For",
58
+ accountSearch: "AccountSearch",
59
+ });
60
+ });
61
+
62
+ /**
63
+ * @internal
64
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
+ */
66
+ export namespace AccountV1GetAppsRequest$ {
67
+ /** @deprecated use `AccountV1GetAppsRequest$inboundSchema` instead. */
68
+ export const inboundSchema = AccountV1GetAppsRequest$inboundSchema;
69
+ /** @deprecated use `AccountV1GetAppsRequest$outboundSchema` instead. */
70
+ export const outboundSchema = AccountV1GetAppsRequest$outboundSchema;
71
+ /** @deprecated use `AccountV1GetAppsRequest$Outbound` instead. */
72
+ export type Outbound = AccountV1GetAppsRequest$Outbound;
73
+ }
74
+
17
75
  /** @internal */
18
76
  export const AccountV1GetAppsResponse$inboundSchema: z.ZodType<
19
77
  AccountV1GetAppsResponse,
@@ -6,6 +6,11 @@ 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 AccountV1GetBadgesRequest = {
10
+ xForwardedFor?: string | undefined;
11
+ accountSearch: components.AccountSearch;
12
+ };
13
+
9
14
  export type AccountV1GetBadgesResponse = {
10
15
  httpMeta: components.HTTPMetadata;
11
16
  /**
@@ -14,6 +19,59 @@ export type AccountV1GetBadgesResponse = {
14
19
  v1BadgesResponseBody?: components.V1BadgesResponseBody | undefined;
15
20
  };
16
21
 
22
+ /** @internal */
23
+ export const AccountV1GetBadgesRequest$inboundSchema: z.ZodType<
24
+ AccountV1GetBadgesRequest,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z
28
+ .object({
29
+ "X-Forwarded-For": z.string().optional(),
30
+ AccountSearch: components.AccountSearch$inboundSchema,
31
+ })
32
+ .transform((v) => {
33
+ return remap$(v, {
34
+ "X-Forwarded-For": "xForwardedFor",
35
+ AccountSearch: "accountSearch",
36
+ });
37
+ });
38
+
39
+ /** @internal */
40
+ export type AccountV1GetBadgesRequest$Outbound = {
41
+ "X-Forwarded-For"?: string | undefined;
42
+ AccountSearch: components.AccountSearch$Outbound;
43
+ };
44
+
45
+ /** @internal */
46
+ export const AccountV1GetBadgesRequest$outboundSchema: z.ZodType<
47
+ AccountV1GetBadgesRequest$Outbound,
48
+ z.ZodTypeDef,
49
+ AccountV1GetBadgesRequest
50
+ > = z
51
+ .object({
52
+ xForwardedFor: z.string().optional(),
53
+ accountSearch: components.AccountSearch$outboundSchema,
54
+ })
55
+ .transform((v) => {
56
+ return remap$(v, {
57
+ xForwardedFor: "X-Forwarded-For",
58
+ accountSearch: "AccountSearch",
59
+ });
60
+ });
61
+
62
+ /**
63
+ * @internal
64
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
+ */
66
+ export namespace AccountV1GetBadgesRequest$ {
67
+ /** @deprecated use `AccountV1GetBadgesRequest$inboundSchema` instead. */
68
+ export const inboundSchema = AccountV1GetBadgesRequest$inboundSchema;
69
+ /** @deprecated use `AccountV1GetBadgesRequest$outboundSchema` instead. */
70
+ export const outboundSchema = AccountV1GetBadgesRequest$outboundSchema;
71
+ /** @deprecated use `AccountV1GetBadgesRequest$Outbound` instead. */
72
+ export type Outbound = AccountV1GetBadgesRequest$Outbound;
73
+ }
74
+
17
75
  /** @internal */
18
76
  export const AccountV1GetBadgesResponse$inboundSchema: z.ZodType<
19
77
  AccountV1GetBadgesResponse,
@@ -0,0 +1,138 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import * as components from "../components/index.js";
7
+ import * as z from "zod";
8
+
9
+ export type AccountV1SessionCreateRequest = {
10
+ userAgent?: string | undefined;
11
+ xForwardedFor?: string | undefined;
12
+ xFingerprint?: string | undefined;
13
+ xSigned?: string | undefined;
14
+ };
15
+
16
+ export type AccountV1SessionCreateResponse = {
17
+ httpMeta: components.HTTPMetadata;
18
+ /**
19
+ * OK
20
+ */
21
+ v1CreateSessionBody?: components.V1CreateSessionBody | undefined;
22
+ };
23
+
24
+ /** @internal */
25
+ export const AccountV1SessionCreateRequest$inboundSchema: z.ZodType<
26
+ AccountV1SessionCreateRequest,
27
+ z.ZodTypeDef,
28
+ unknown
29
+ > = z
30
+ .object({
31
+ "User-Agent": z.string().optional(),
32
+ "X-Forwarded-For": z.string().optional(),
33
+ "X-Fingerprint": z.string().optional(),
34
+ "X-Signed": z.string().optional(),
35
+ })
36
+ .transform((v) => {
37
+ return remap$(v, {
38
+ "User-Agent": "userAgent",
39
+ "X-Forwarded-For": "xForwardedFor",
40
+ "X-Fingerprint": "xFingerprint",
41
+ "X-Signed": "xSigned",
42
+ });
43
+ });
44
+
45
+ /** @internal */
46
+ export type AccountV1SessionCreateRequest$Outbound = {
47
+ "User-Agent"?: string | undefined;
48
+ "X-Forwarded-For"?: string | undefined;
49
+ "X-Fingerprint"?: string | undefined;
50
+ "X-Signed"?: string | undefined;
51
+ };
52
+
53
+ /** @internal */
54
+ export const AccountV1SessionCreateRequest$outboundSchema: z.ZodType<
55
+ AccountV1SessionCreateRequest$Outbound,
56
+ z.ZodTypeDef,
57
+ AccountV1SessionCreateRequest
58
+ > = z
59
+ .object({
60
+ userAgent: z.string().optional(),
61
+ xForwardedFor: z.string().optional(),
62
+ xFingerprint: z.string().optional(),
63
+ xSigned: z.string().optional(),
64
+ })
65
+ .transform((v) => {
66
+ return remap$(v, {
67
+ userAgent: "User-Agent",
68
+ xForwardedFor: "X-Forwarded-For",
69
+ xFingerprint: "X-Fingerprint",
70
+ xSigned: "X-Signed",
71
+ });
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 AccountV1SessionCreateRequest$ {
79
+ /** @deprecated use `AccountV1SessionCreateRequest$inboundSchema` instead. */
80
+ export const inboundSchema = AccountV1SessionCreateRequest$inboundSchema;
81
+ /** @deprecated use `AccountV1SessionCreateRequest$outboundSchema` instead. */
82
+ export const outboundSchema = AccountV1SessionCreateRequest$outboundSchema;
83
+ /** @deprecated use `AccountV1SessionCreateRequest$Outbound` instead. */
84
+ export type Outbound = AccountV1SessionCreateRequest$Outbound;
85
+ }
86
+
87
+ /** @internal */
88
+ export const AccountV1SessionCreateResponse$inboundSchema: z.ZodType<
89
+ AccountV1SessionCreateResponse,
90
+ z.ZodTypeDef,
91
+ unknown
92
+ > = z
93
+ .object({
94
+ HttpMeta: components.HTTPMetadata$inboundSchema,
95
+ V1CreateSessionBody: components.V1CreateSessionBody$inboundSchema.optional(),
96
+ })
97
+ .transform((v) => {
98
+ return remap$(v, {
99
+ HttpMeta: "httpMeta",
100
+ V1CreateSessionBody: "v1CreateSessionBody",
101
+ });
102
+ });
103
+
104
+ /** @internal */
105
+ export type AccountV1SessionCreateResponse$Outbound = {
106
+ HttpMeta: components.HTTPMetadata$Outbound;
107
+ V1CreateSessionBody?: components.V1CreateSessionBody$Outbound | undefined;
108
+ };
109
+
110
+ /** @internal */
111
+ export const AccountV1SessionCreateResponse$outboundSchema: z.ZodType<
112
+ AccountV1SessionCreateResponse$Outbound,
113
+ z.ZodTypeDef,
114
+ AccountV1SessionCreateResponse
115
+ > = z
116
+ .object({
117
+ httpMeta: components.HTTPMetadata$outboundSchema,
118
+ v1CreateSessionBody: components.V1CreateSessionBody$outboundSchema.optional(),
119
+ })
120
+ .transform((v) => {
121
+ return remap$(v, {
122
+ httpMeta: "HttpMeta",
123
+ v1CreateSessionBody: "V1CreateSessionBody",
124
+ });
125
+ });
126
+
127
+ /**
128
+ * @internal
129
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
130
+ */
131
+ export namespace AccountV1SessionCreateResponse$ {
132
+ /** @deprecated use `AccountV1SessionCreateResponse$inboundSchema` instead. */
133
+ export const inboundSchema = AccountV1SessionCreateResponse$inboundSchema;
134
+ /** @deprecated use `AccountV1SessionCreateResponse$outboundSchema` instead. */
135
+ export const outboundSchema = AccountV1SessionCreateResponse$outboundSchema;
136
+ /** @deprecated use `AccountV1SessionCreateResponse$Outbound` instead. */
137
+ export type Outbound = AccountV1SessionCreateResponse$Outbound;
138
+ }
@@ -6,10 +6,6 @@ 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
-
13
9
  export type AccountV1SessionLoginRequest = {
14
10
  userAgent?: string | undefined;
15
11
  xForwardedFor?: string | undefined;
@@ -24,42 +20,6 @@ export type AccountV1SessionLoginResponse = {
24
20
  v1LoginResponseBody?: components.V1LoginResponseBody | undefined;
25
21
  };
26
22
 
27
- /** @internal */
28
- export const AccountV1SessionLoginSecurity$inboundSchema: z.ZodType<
29
- AccountV1SessionLoginSecurity,
30
- z.ZodTypeDef,
31
- unknown
32
- > = z.object({
33
- anonymous: z.string(),
34
- });
35
-
36
- /** @internal */
37
- export type AccountV1SessionLoginSecurity$Outbound = {
38
- anonymous: string;
39
- };
40
-
41
- /** @internal */
42
- export const AccountV1SessionLoginSecurity$outboundSchema: z.ZodType<
43
- AccountV1SessionLoginSecurity$Outbound,
44
- z.ZodTypeDef,
45
- AccountV1SessionLoginSecurity
46
- > = z.object({
47
- anonymous: z.string(),
48
- });
49
-
50
- /**
51
- * @internal
52
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
53
- */
54
- export namespace AccountV1SessionLoginSecurity$ {
55
- /** @deprecated use `AccountV1SessionLoginSecurity$inboundSchema` instead. */
56
- export const inboundSchema = AccountV1SessionLoginSecurity$inboundSchema;
57
- /** @deprecated use `AccountV1SessionLoginSecurity$outboundSchema` instead. */
58
- export const outboundSchema = AccountV1SessionLoginSecurity$outboundSchema;
59
- /** @deprecated use `AccountV1SessionLoginSecurity$Outbound` instead. */
60
- export type Outbound = AccountV1SessionLoginSecurity$Outbound;
61
- }
62
-
63
23
  /** @internal */
64
24
  export const AccountV1SessionLoginRequest$inboundSchema: z.ZodType<
65
25
  AccountV1SessionLoginRequest,
@@ -8,6 +8,7 @@ export * from "./accountv1connectionupdateconnection.js";
8
8
  export * from "./accountv1connectionverifyconnection.js";
9
9
  export * from "./accountv1getapps.js";
10
10
  export * from "./accountv1getbadges.js";
11
+ export * from "./accountv1sessioncreate.js";
11
12
  export * from "./accountv1sessiondelete.js";
12
13
  export * from "./accountv1sessionget.js";
13
14
  export * from "./accountv1sessionlogin.js";
@@ -8,6 +8,7 @@ import { accountAccountV1ConnectionUpdateConnection } from "../funcs/accountAcco
8
8
  import { accountAccountV1ConnectionVerifyConnection } from "../funcs/accountAccountV1ConnectionVerifyConnection.js";
9
9
  import { accountAccountV1GetApps } from "../funcs/accountAccountV1GetApps.js";
10
10
  import { accountAccountV1GetBadges } from "../funcs/accountAccountV1GetBadges.js";
11
+ import { accountAccountV1SessionCreate } from "../funcs/accountAccountV1SessionCreate.js";
11
12
  import { accountAccountV1SessionDelete } from "../funcs/accountAccountV1SessionDelete.js";
12
13
  import { accountAccountV1SessionGet } from "../funcs/accountAccountV1SessionGet.js";
13
14
  import { accountAccountV1SessionLogin } from "../funcs/accountAccountV1SessionLogin.js";
@@ -78,7 +79,7 @@ export class Account extends ClientSDK {
78
79
  * Get Account Apps
79
80
  */
80
81
  async accountV1GetApps(
81
- request: components.AccountSearch,
82
+ request: operations.AccountV1GetAppsRequest,
82
83
  options?: RequestOptions
83
84
  ): Promise<operations.AccountV1GetAppsResponse> {
84
85
  return unwrapAsync(accountAccountV1GetApps(this, request, options));
@@ -88,7 +89,7 @@ export class Account extends ClientSDK {
88
89
  * Get Account Badges
89
90
  */
90
91
  async accountV1GetBadges(
91
- request: components.AccountSearch,
92
+ request: operations.AccountV1GetBadgesRequest,
92
93
  options?: RequestOptions
93
94
  ): Promise<operations.AccountV1GetBadgesResponse> {
94
95
  return unwrapAsync(accountAccountV1GetBadges(this, request, options));
@@ -117,10 +118,9 @@ export class Account extends ClientSDK {
117
118
  */
118
119
  async accountV1SessionLogin(
119
120
  request: operations.AccountV1SessionLoginRequest,
120
- security: operations.AccountV1SessionLoginSecurity,
121
121
  options?: RequestOptions
122
122
  ): Promise<operations.AccountV1SessionLoginResponse> {
123
- return unwrapAsync(accountAccountV1SessionLogin(this, request, security, options));
123
+ return unwrapAsync(accountAccountV1SessionLogin(this, request, options));
124
124
  }
125
125
 
126
126
  /**
@@ -192,4 +192,14 @@ export class Account extends ClientSDK {
192
192
  ): Promise<operations.AccountV1SettingsVerfyEmailResponse> {
193
193
  return unwrapAsync(accountAccountV1SettingsVerfyEmail(this, request, options));
194
194
  }
195
+
196
+ /**
197
+ * Create a new session for non logged in users
198
+ */
199
+ async accountV1SessionCreate(
200
+ request: operations.AccountV1SessionCreateRequest,
201
+ options?: RequestOptions
202
+ ): Promise<operations.AccountV1SessionCreateResponse> {
203
+ return unwrapAsync(accountAccountV1SessionCreate(this, request, options));
204
+ }
195
205
  }
@@ -2,6 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ import { sessionAccountV1SessionCreate } from "../funcs/sessionAccountV1SessionCreate.js";
5
6
  import { sessionAccountV1SessionDelete } from "../funcs/sessionAccountV1SessionDelete.js";
6
7
  import { sessionAccountV1SessionGet } from "../funcs/sessionAccountV1SessionGet.js";
7
8
  import { sessionAccountV1SessionLogin } from "../funcs/sessionAccountV1SessionLogin.js";
@@ -35,9 +36,18 @@ export class Session extends ClientSDK {
35
36
  */
36
37
  async accountV1SessionLogin(
37
38
  request: operations.AccountV1SessionLoginRequest,
38
- security: operations.AccountV1SessionLoginSecurity,
39
39
  options?: RequestOptions
40
40
  ): Promise<operations.AccountV1SessionLoginResponse> {
41
- return unwrapAsync(sessionAccountV1SessionLogin(this, request, security, options));
41
+ return unwrapAsync(sessionAccountV1SessionLogin(this, request, options));
42
+ }
43
+
44
+ /**
45
+ * Create a new session for non logged in users
46
+ */
47
+ async accountV1SessionCreate(
48
+ request: operations.AccountV1SessionCreateRequest,
49
+ options?: RequestOptions
50
+ ): Promise<operations.AccountV1SessionCreateResponse> {
51
+ return unwrapAsync(sessionAccountV1SessionCreate(this, request, options));
42
52
  }
43
53
  }