@steamsets/client-ts 0.7.0 → 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.
Files changed (184) hide show
  1. package/README.md +36 -3
  2. package/docs/sdks/account/README.md +146 -36
  3. package/docs/sdks/app/README.md +14 -0
  4. package/docs/sdks/connection/README.md +24 -8
  5. package/docs/sdks/data/README.md +57 -4
  6. package/docs/sdks/liveness/README.md +6 -2
  7. package/docs/sdks/location/README.md +6 -2
  8. package/docs/sdks/public/README.md +51 -2
  9. package/docs/sdks/session/README.md +24 -8
  10. package/docs/sdks/settings/README.md +48 -16
  11. package/funcs/accountAccountV1GetApps.d.ts +1 -1
  12. package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
  13. package/funcs/accountAccountV1GetApps.js +17 -5
  14. package/funcs/accountAccountV1GetApps.js.map +1 -1
  15. package/funcs/accountAccountV1GetBadges.d.ts +1 -1
  16. package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
  17. package/funcs/accountAccountV1GetBadges.js +17 -5
  18. package/funcs/accountAccountV1GetBadges.js.map +1 -1
  19. package/funcs/accountAccountV1GetDataPoints.d.ts +1 -1
  20. package/funcs/accountAccountV1GetDataPoints.d.ts.map +1 -1
  21. package/funcs/accountAccountV1GetDataPoints.js +17 -5
  22. package/funcs/accountAccountV1GetDataPoints.js.map +1 -1
  23. package/funcs/accountAccountV1GetFriends.d.ts +1 -1
  24. package/funcs/accountAccountV1GetFriends.d.ts.map +1 -1
  25. package/funcs/accountAccountV1GetFriends.js +17 -5
  26. package/funcs/accountAccountV1GetFriends.js.map +1 -1
  27. package/funcs/accountAccountV1GetInfo.d.ts +1 -1
  28. package/funcs/accountAccountV1GetInfo.d.ts.map +1 -1
  29. package/funcs/accountAccountV1GetInfo.js +17 -5
  30. package/funcs/accountAccountV1GetInfo.js.map +1 -1
  31. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts +1 -1
  32. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -1
  33. package/funcs/accountAccountV1GetLeaderboardHistory.js +17 -5
  34. package/funcs/accountAccountV1GetLeaderboardHistory.js.map +1 -1
  35. package/funcs/appAccountV1Queue.d.ts +1 -1
  36. package/funcs/appAccountV1Queue.d.ts.map +1 -1
  37. package/funcs/appAccountV1Queue.js +17 -5
  38. package/funcs/appAccountV1Queue.js.map +1 -1
  39. package/funcs/appAppV1Get.d.ts +1 -1
  40. package/funcs/appAppV1Get.d.ts.map +1 -1
  41. package/funcs/appAppV1Get.js +17 -5
  42. package/funcs/appAppV1Get.js.map +1 -1
  43. package/funcs/dataAccountV1GetApps.d.ts +1 -1
  44. package/funcs/dataAccountV1GetApps.d.ts.map +1 -1
  45. package/funcs/dataAccountV1GetApps.js +17 -5
  46. package/funcs/dataAccountV1GetApps.js.map +1 -1
  47. package/funcs/dataAccountV1GetBadges.d.ts +1 -1
  48. package/funcs/dataAccountV1GetBadges.d.ts.map +1 -1
  49. package/funcs/dataAccountV1GetBadges.js +17 -5
  50. package/funcs/dataAccountV1GetBadges.js.map +1 -1
  51. package/funcs/dataAccountV1GetDataPoints.d.ts +1 -1
  52. package/funcs/dataAccountV1GetDataPoints.d.ts.map +1 -1
  53. package/funcs/dataAccountV1GetDataPoints.js +17 -5
  54. package/funcs/dataAccountV1GetDataPoints.js.map +1 -1
  55. package/funcs/dataAccountV1GetFriends.d.ts +1 -1
  56. package/funcs/dataAccountV1GetFriends.d.ts.map +1 -1
  57. package/funcs/dataAccountV1GetFriends.js +17 -5
  58. package/funcs/dataAccountV1GetFriends.js.map +1 -1
  59. package/funcs/dataAccountV1GetInfo.d.ts +1 -1
  60. package/funcs/dataAccountV1GetInfo.d.ts.map +1 -1
  61. package/funcs/dataAccountV1GetInfo.js +17 -5
  62. package/funcs/dataAccountV1GetInfo.js.map +1 -1
  63. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts +1 -1
  64. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -1
  65. package/funcs/dataAccountV1GetLeaderboardHistory.js +17 -5
  66. package/funcs/dataAccountV1GetLeaderboardHistory.js.map +1 -1
  67. package/funcs/dataAccountV1Queue.d.ts +1 -1
  68. package/funcs/dataAccountV1Queue.d.ts.map +1 -1
  69. package/funcs/dataAccountV1Queue.js +17 -5
  70. package/funcs/dataAccountV1Queue.js.map +1 -1
  71. package/funcs/publicAccountV1GetApps.d.ts +1 -1
  72. package/funcs/publicAccountV1GetApps.d.ts.map +1 -1
  73. package/funcs/publicAccountV1GetApps.js +17 -5
  74. package/funcs/publicAccountV1GetApps.js.map +1 -1
  75. package/funcs/publicAccountV1GetBadges.d.ts +1 -1
  76. package/funcs/publicAccountV1GetBadges.d.ts.map +1 -1
  77. package/funcs/publicAccountV1GetBadges.js +17 -5
  78. package/funcs/publicAccountV1GetBadges.js.map +1 -1
  79. package/funcs/publicAccountV1GetDataPoints.d.ts +1 -1
  80. package/funcs/publicAccountV1GetDataPoints.d.ts.map +1 -1
  81. package/funcs/publicAccountV1GetDataPoints.js +17 -5
  82. package/funcs/publicAccountV1GetDataPoints.js.map +1 -1
  83. package/funcs/publicAccountV1GetFriends.d.ts +1 -1
  84. package/funcs/publicAccountV1GetFriends.d.ts.map +1 -1
  85. package/funcs/publicAccountV1GetFriends.js +17 -5
  86. package/funcs/publicAccountV1GetFriends.js.map +1 -1
  87. package/funcs/publicAccountV1GetInfo.d.ts +1 -1
  88. package/funcs/publicAccountV1GetInfo.d.ts.map +1 -1
  89. package/funcs/publicAccountV1GetInfo.js +17 -5
  90. package/funcs/publicAccountV1GetInfo.js.map +1 -1
  91. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts +1 -1
  92. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -1
  93. package/funcs/publicAccountV1GetLeaderboardHistory.js +17 -5
  94. package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -1
  95. package/funcs/publicAccountV1Queue.d.ts +1 -1
  96. package/funcs/publicAccountV1Queue.d.ts.map +1 -1
  97. package/funcs/publicAccountV1Queue.js +17 -5
  98. package/funcs/publicAccountV1Queue.js.map +1 -1
  99. package/lib/config.d.ts +2 -2
  100. package/lib/config.js +2 -2
  101. package/models/operations/accountv1getapps.d.ts +25 -0
  102. package/models/operations/accountv1getapps.d.ts.map +1 -1
  103. package/models/operations/accountv1getapps.js +22 -1
  104. package/models/operations/accountv1getapps.js.map +1 -1
  105. package/models/operations/accountv1getbadges.d.ts +25 -0
  106. package/models/operations/accountv1getbadges.d.ts.map +1 -1
  107. package/models/operations/accountv1getbadges.js +22 -1
  108. package/models/operations/accountv1getbadges.js.map +1 -1
  109. package/models/operations/accountv1getdatapoints.d.ts +25 -0
  110. package/models/operations/accountv1getdatapoints.d.ts.map +1 -1
  111. package/models/operations/accountv1getdatapoints.js +22 -1
  112. package/models/operations/accountv1getdatapoints.js.map +1 -1
  113. package/models/operations/accountv1getfriends.d.ts +25 -0
  114. package/models/operations/accountv1getfriends.d.ts.map +1 -1
  115. package/models/operations/accountv1getfriends.js +22 -1
  116. package/models/operations/accountv1getfriends.js.map +1 -1
  117. package/models/operations/accountv1getinfo.d.ts +25 -0
  118. package/models/operations/accountv1getinfo.d.ts.map +1 -1
  119. package/models/operations/accountv1getinfo.js +22 -1
  120. package/models/operations/accountv1getinfo.js.map +1 -1
  121. package/models/operations/accountv1getleaderboardhistory.d.ts +25 -0
  122. package/models/operations/accountv1getleaderboardhistory.d.ts.map +1 -1
  123. package/models/operations/accountv1getleaderboardhistory.js +22 -1
  124. package/models/operations/accountv1getleaderboardhistory.js.map +1 -1
  125. package/models/operations/accountv1queue.d.ts +25 -0
  126. package/models/operations/accountv1queue.d.ts.map +1 -1
  127. package/models/operations/accountv1queue.js +22 -1
  128. package/models/operations/accountv1queue.js.map +1 -1
  129. package/models/operations/appv1get.d.ts +25 -0
  130. package/models/operations/appv1get.d.ts.map +1 -1
  131. package/models/operations/appv1get.js +22 -1
  132. package/models/operations/appv1get.js.map +1 -1
  133. package/package.json +1 -1
  134. package/sdk/account.d.ts +6 -6
  135. package/sdk/account.d.ts.map +1 -1
  136. package/sdk/account.js +12 -12
  137. package/sdk/account.js.map +1 -1
  138. package/sdk/app.d.ts +2 -2
  139. package/sdk/app.d.ts.map +1 -1
  140. package/sdk/app.js +4 -4
  141. package/sdk/app.js.map +1 -1
  142. package/sdk/data.d.ts +7 -7
  143. package/sdk/data.d.ts.map +1 -1
  144. package/sdk/data.js +14 -14
  145. package/sdk/data.js.map +1 -1
  146. package/sdk/public.d.ts +7 -7
  147. package/sdk/public.d.ts.map +1 -1
  148. package/sdk/public.js +14 -14
  149. package/sdk/public.js.map +1 -1
  150. package/src/funcs/accountAccountV1GetApps.ts +18 -5
  151. package/src/funcs/accountAccountV1GetBadges.ts +18 -5
  152. package/src/funcs/accountAccountV1GetDataPoints.ts +18 -5
  153. package/src/funcs/accountAccountV1GetFriends.ts +18 -5
  154. package/src/funcs/accountAccountV1GetInfo.ts +18 -5
  155. package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +18 -5
  156. package/src/funcs/appAccountV1Queue.ts +18 -5
  157. package/src/funcs/appAppV1Get.ts +18 -5
  158. package/src/funcs/dataAccountV1GetApps.ts +18 -5
  159. package/src/funcs/dataAccountV1GetBadges.ts +18 -5
  160. package/src/funcs/dataAccountV1GetDataPoints.ts +18 -5
  161. package/src/funcs/dataAccountV1GetFriends.ts +18 -5
  162. package/src/funcs/dataAccountV1GetInfo.ts +18 -5
  163. package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +18 -5
  164. package/src/funcs/dataAccountV1Queue.ts +18 -5
  165. package/src/funcs/publicAccountV1GetApps.ts +18 -5
  166. package/src/funcs/publicAccountV1GetBadges.ts +18 -5
  167. package/src/funcs/publicAccountV1GetDataPoints.ts +18 -5
  168. package/src/funcs/publicAccountV1GetFriends.ts +18 -5
  169. package/src/funcs/publicAccountV1GetInfo.ts +18 -5
  170. package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +18 -5
  171. package/src/funcs/publicAccountV1Queue.ts +18 -5
  172. package/src/lib/config.ts +2 -2
  173. package/src/models/operations/accountv1getapps.ts +44 -0
  174. package/src/models/operations/accountv1getbadges.ts +44 -0
  175. package/src/models/operations/accountv1getdatapoints.ts +44 -0
  176. package/src/models/operations/accountv1getfriends.ts +44 -0
  177. package/src/models/operations/accountv1getinfo.ts +44 -0
  178. package/src/models/operations/accountv1getleaderboardhistory.ts +46 -0
  179. package/src/models/operations/accountv1queue.ts +44 -0
  180. package/src/models/operations/appv1get.ts +44 -0
  181. package/src/sdk/account.ts +12 -0
  182. package/src/sdk/app.ts +4 -0
  183. package/src/sdk/data.ts +14 -0
  184. package/src/sdk/public.ts +14 -0
@@ -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 { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
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 publicAccountV1GetFriends(
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 publicAccountV1GetFriends(
75
76
  ),
76
77
  });
77
78
 
78
- const session$ = await extractSecurity(client$.options$.session);
79
- const security$ = session$ == null ? {} : { session: session$ };
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: client$.options$.session,
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 { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
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 publicAccountV1GetInfo(
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 publicAccountV1GetInfo(
63
64
  Accept: "application/json",
64
65
  });
65
66
 
66
- const session$ = await extractSecurity(client$.options$.session);
67
- const security$ = session$ == null ? {} : { session: session$ };
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: client$.options$.session,
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 { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
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 publicAccountV1GetLeaderboardHistory(
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 publicAccountV1GetLeaderboardHistory(
79
80
  ),
80
81
  });
81
82
 
82
- const session$ = await extractSecurity(client$.options$.session);
83
- const security$ = session$ == null ? {} : { session: session$ };
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: client$.options$.session,
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 { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
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 publicAccountV1Queue(
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 publicAccountV1Queue(
74
75
  ),
75
76
  });
76
77
 
77
- const session$ = await extractSecurity(client$.options$.session);
78
- const security$ = session$ == null ? {} : { session: session$ };
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: client$.options$.session,
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/lib/config.ts CHANGED
@@ -55,8 +55,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
55
55
  export const SDK_METADATA = {
56
56
  language: "typescript",
57
57
  openapiDocVersion: "1.0.0",
58
- sdkVersion: "0.7.0",
58
+ sdkVersion: "0.8.0",
59
59
  genVersion: "2.415.6",
60
60
  userAgent:
61
- "speakeasy-sdk/typescript 0.7.0 2.415.6 1.0.0 @steamsets/client-ts",
61
+ "speakeasy-sdk/typescript 0.8.0 2.415.6 1.0.0 @steamsets/client-ts",
62
62
  } as const;
@@ -6,6 +6,11 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1GetAppsSecurity = {
10
+ apiKey: string;
11
+ session: string;
12
+ };
13
+
9
14
  export type AccountV1GetAppsRequest = {
10
15
  xForwardedFor?: string | undefined;
11
16
  userAgent?: string | undefined;
@@ -22,6 +27,45 @@ export type AccountV1GetAppsResponse = {
22
27
  | undefined;
23
28
  };
24
29
 
30
+ /** @internal */
31
+ export const AccountV1GetAppsSecurity$inboundSchema: z.ZodType<
32
+ AccountV1GetAppsSecurity,
33
+ z.ZodTypeDef,
34
+ unknown
35
+ > = z.object({
36
+ apiKey: z.string(),
37
+ session: z.string(),
38
+ });
39
+
40
+ /** @internal */
41
+ export type AccountV1GetAppsSecurity$Outbound = {
42
+ apiKey: string;
43
+ session: string;
44
+ };
45
+
46
+ /** @internal */
47
+ export const AccountV1GetAppsSecurity$outboundSchema: z.ZodType<
48
+ AccountV1GetAppsSecurity$Outbound,
49
+ z.ZodTypeDef,
50
+ AccountV1GetAppsSecurity
51
+ > = z.object({
52
+ apiKey: z.string(),
53
+ session: z.string(),
54
+ });
55
+
56
+ /**
57
+ * @internal
58
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
59
+ */
60
+ export namespace AccountV1GetAppsSecurity$ {
61
+ /** @deprecated use `AccountV1GetAppsSecurity$inboundSchema` instead. */
62
+ export const inboundSchema = AccountV1GetAppsSecurity$inboundSchema;
63
+ /** @deprecated use `AccountV1GetAppsSecurity$outboundSchema` instead. */
64
+ export const outboundSchema = AccountV1GetAppsSecurity$outboundSchema;
65
+ /** @deprecated use `AccountV1GetAppsSecurity$Outbound` instead. */
66
+ export type Outbound = AccountV1GetAppsSecurity$Outbound;
67
+ }
68
+
25
69
  /** @internal */
26
70
  export const AccountV1GetAppsRequest$inboundSchema: z.ZodType<
27
71
  AccountV1GetAppsRequest,
@@ -6,6 +6,11 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1GetBadgesSecurity = {
10
+ apiKey: string;
11
+ session: string;
12
+ };
13
+
9
14
  export type AccountV1GetBadgesRequest = {
10
15
  xForwardedFor?: string | undefined;
11
16
  userAgent?: string | undefined;
@@ -20,6 +25,45 @@ export type AccountV1GetBadgesResponse = {
20
25
  v1BadgesResponseBody?: components.V1BadgesResponseBody | undefined;
21
26
  };
22
27
 
28
+ /** @internal */
29
+ export const AccountV1GetBadgesSecurity$inboundSchema: z.ZodType<
30
+ AccountV1GetBadgesSecurity,
31
+ z.ZodTypeDef,
32
+ unknown
33
+ > = z.object({
34
+ apiKey: z.string(),
35
+ session: z.string(),
36
+ });
37
+
38
+ /** @internal */
39
+ export type AccountV1GetBadgesSecurity$Outbound = {
40
+ apiKey: string;
41
+ session: string;
42
+ };
43
+
44
+ /** @internal */
45
+ export const AccountV1GetBadgesSecurity$outboundSchema: z.ZodType<
46
+ AccountV1GetBadgesSecurity$Outbound,
47
+ z.ZodTypeDef,
48
+ AccountV1GetBadgesSecurity
49
+ > = z.object({
50
+ apiKey: z.string(),
51
+ session: z.string(),
52
+ });
53
+
54
+ /**
55
+ * @internal
56
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
57
+ */
58
+ export namespace AccountV1GetBadgesSecurity$ {
59
+ /** @deprecated use `AccountV1GetBadgesSecurity$inboundSchema` instead. */
60
+ export const inboundSchema = AccountV1GetBadgesSecurity$inboundSchema;
61
+ /** @deprecated use `AccountV1GetBadgesSecurity$outboundSchema` instead. */
62
+ export const outboundSchema = AccountV1GetBadgesSecurity$outboundSchema;
63
+ /** @deprecated use `AccountV1GetBadgesSecurity$Outbound` instead. */
64
+ export type Outbound = AccountV1GetBadgesSecurity$Outbound;
65
+ }
66
+
23
67
  /** @internal */
24
68
  export const AccountV1GetBadgesRequest$inboundSchema: z.ZodType<
25
69
  AccountV1GetBadgesRequest,
@@ -6,6 +6,11 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1GetDataPointsSecurity = {
10
+ apiKey: string;
11
+ session: string;
12
+ };
13
+
9
14
  export type AccountV1GetDataPointsRequest = {
10
15
  xForwardedFor?: string | undefined;
11
16
  userAgent?: string | undefined;
@@ -22,6 +27,45 @@ export type AccountV1GetDataPointsResponse = {
22
27
  | undefined;
23
28
  };
24
29
 
30
+ /** @internal */
31
+ export const AccountV1GetDataPointsSecurity$inboundSchema: z.ZodType<
32
+ AccountV1GetDataPointsSecurity,
33
+ z.ZodTypeDef,
34
+ unknown
35
+ > = z.object({
36
+ apiKey: z.string(),
37
+ session: z.string(),
38
+ });
39
+
40
+ /** @internal */
41
+ export type AccountV1GetDataPointsSecurity$Outbound = {
42
+ apiKey: string;
43
+ session: string;
44
+ };
45
+
46
+ /** @internal */
47
+ export const AccountV1GetDataPointsSecurity$outboundSchema: z.ZodType<
48
+ AccountV1GetDataPointsSecurity$Outbound,
49
+ z.ZodTypeDef,
50
+ AccountV1GetDataPointsSecurity
51
+ > = z.object({
52
+ apiKey: z.string(),
53
+ session: z.string(),
54
+ });
55
+
56
+ /**
57
+ * @internal
58
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
59
+ */
60
+ export namespace AccountV1GetDataPointsSecurity$ {
61
+ /** @deprecated use `AccountV1GetDataPointsSecurity$inboundSchema` instead. */
62
+ export const inboundSchema = AccountV1GetDataPointsSecurity$inboundSchema;
63
+ /** @deprecated use `AccountV1GetDataPointsSecurity$outboundSchema` instead. */
64
+ export const outboundSchema = AccountV1GetDataPointsSecurity$outboundSchema;
65
+ /** @deprecated use `AccountV1GetDataPointsSecurity$Outbound` instead. */
66
+ export type Outbound = AccountV1GetDataPointsSecurity$Outbound;
67
+ }
68
+
25
69
  /** @internal */
26
70
  export const AccountV1GetDataPointsRequest$inboundSchema: z.ZodType<
27
71
  AccountV1GetDataPointsRequest,
@@ -6,6 +6,11 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1GetFriendsSecurity = {
10
+ apiKey: string;
11
+ session: string;
12
+ };
13
+
9
14
  export type AccountV1GetFriendsRequest = {
10
15
  xForwardedFor?: string | undefined;
11
16
  userAgent?: string | undefined;
@@ -22,6 +27,45 @@ export type AccountV1GetFriendsResponse = {
22
27
  | undefined;
23
28
  };
24
29
 
30
+ /** @internal */
31
+ export const AccountV1GetFriendsSecurity$inboundSchema: z.ZodType<
32
+ AccountV1GetFriendsSecurity,
33
+ z.ZodTypeDef,
34
+ unknown
35
+ > = z.object({
36
+ apiKey: z.string(),
37
+ session: z.string(),
38
+ });
39
+
40
+ /** @internal */
41
+ export type AccountV1GetFriendsSecurity$Outbound = {
42
+ apiKey: string;
43
+ session: string;
44
+ };
45
+
46
+ /** @internal */
47
+ export const AccountV1GetFriendsSecurity$outboundSchema: z.ZodType<
48
+ AccountV1GetFriendsSecurity$Outbound,
49
+ z.ZodTypeDef,
50
+ AccountV1GetFriendsSecurity
51
+ > = z.object({
52
+ apiKey: z.string(),
53
+ session: z.string(),
54
+ });
55
+
56
+ /**
57
+ * @internal
58
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
59
+ */
60
+ export namespace AccountV1GetFriendsSecurity$ {
61
+ /** @deprecated use `AccountV1GetFriendsSecurity$inboundSchema` instead. */
62
+ export const inboundSchema = AccountV1GetFriendsSecurity$inboundSchema;
63
+ /** @deprecated use `AccountV1GetFriendsSecurity$outboundSchema` instead. */
64
+ export const outboundSchema = AccountV1GetFriendsSecurity$outboundSchema;
65
+ /** @deprecated use `AccountV1GetFriendsSecurity$Outbound` instead. */
66
+ export type Outbound = AccountV1GetFriendsSecurity$Outbound;
67
+ }
68
+
25
69
  /** @internal */
26
70
  export const AccountV1GetFriendsRequest$inboundSchema: z.ZodType<
27
71
  AccountV1GetFriendsRequest,
@@ -6,6 +6,11 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1GetInfoSecurity = {
10
+ apiKey: string;
11
+ session: string;
12
+ };
13
+
9
14
  export type AccountV1GetInfoResponse = {
10
15
  httpMeta: components.HTTPMetadata;
11
16
  /**
@@ -14,6 +19,45 @@ export type AccountV1GetInfoResponse = {
14
19
  accountInfoBody?: components.AccountInfoBody | undefined;
15
20
  };
16
21
 
22
+ /** @internal */
23
+ export const AccountV1GetInfoSecurity$inboundSchema: z.ZodType<
24
+ AccountV1GetInfoSecurity,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z.object({
28
+ apiKey: z.string(),
29
+ session: z.string(),
30
+ });
31
+
32
+ /** @internal */
33
+ export type AccountV1GetInfoSecurity$Outbound = {
34
+ apiKey: string;
35
+ session: string;
36
+ };
37
+
38
+ /** @internal */
39
+ export const AccountV1GetInfoSecurity$outboundSchema: z.ZodType<
40
+ AccountV1GetInfoSecurity$Outbound,
41
+ z.ZodTypeDef,
42
+ AccountV1GetInfoSecurity
43
+ > = z.object({
44
+ apiKey: z.string(),
45
+ session: z.string(),
46
+ });
47
+
48
+ /**
49
+ * @internal
50
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
51
+ */
52
+ export namespace AccountV1GetInfoSecurity$ {
53
+ /** @deprecated use `AccountV1GetInfoSecurity$inboundSchema` instead. */
54
+ export const inboundSchema = AccountV1GetInfoSecurity$inboundSchema;
55
+ /** @deprecated use `AccountV1GetInfoSecurity$outboundSchema` instead. */
56
+ export const outboundSchema = AccountV1GetInfoSecurity$outboundSchema;
57
+ /** @deprecated use `AccountV1GetInfoSecurity$Outbound` instead. */
58
+ export type Outbound = AccountV1GetInfoSecurity$Outbound;
59
+ }
60
+
17
61
  /** @internal */
18
62
  export const AccountV1GetInfoResponse$inboundSchema: z.ZodType<
19
63
  AccountV1GetInfoResponse,
@@ -6,6 +6,11 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1GetLeaderboardHistorySecurity = {
10
+ apiKey: string;
11
+ session: string;
12
+ };
13
+
9
14
  export type AccountV1GetLeaderboardHistoryRequest = {
10
15
  xForwardedFor?: string | undefined;
11
16
  userAgent?: string | undefined;
@@ -22,6 +27,47 @@ export type AccountV1GetLeaderboardHistoryResponse = {
22
27
  | undefined;
23
28
  };
24
29
 
30
+ /** @internal */
31
+ export const AccountV1GetLeaderboardHistorySecurity$inboundSchema: z.ZodType<
32
+ AccountV1GetLeaderboardHistorySecurity,
33
+ z.ZodTypeDef,
34
+ unknown
35
+ > = z.object({
36
+ apiKey: z.string(),
37
+ session: z.string(),
38
+ });
39
+
40
+ /** @internal */
41
+ export type AccountV1GetLeaderboardHistorySecurity$Outbound = {
42
+ apiKey: string;
43
+ session: string;
44
+ };
45
+
46
+ /** @internal */
47
+ export const AccountV1GetLeaderboardHistorySecurity$outboundSchema: z.ZodType<
48
+ AccountV1GetLeaderboardHistorySecurity$Outbound,
49
+ z.ZodTypeDef,
50
+ AccountV1GetLeaderboardHistorySecurity
51
+ > = z.object({
52
+ apiKey: z.string(),
53
+ session: z.string(),
54
+ });
55
+
56
+ /**
57
+ * @internal
58
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
59
+ */
60
+ export namespace AccountV1GetLeaderboardHistorySecurity$ {
61
+ /** @deprecated use `AccountV1GetLeaderboardHistorySecurity$inboundSchema` instead. */
62
+ export const inboundSchema =
63
+ AccountV1GetLeaderboardHistorySecurity$inboundSchema;
64
+ /** @deprecated use `AccountV1GetLeaderboardHistorySecurity$outboundSchema` instead. */
65
+ export const outboundSchema =
66
+ AccountV1GetLeaderboardHistorySecurity$outboundSchema;
67
+ /** @deprecated use `AccountV1GetLeaderboardHistorySecurity$Outbound` instead. */
68
+ export type Outbound = AccountV1GetLeaderboardHistorySecurity$Outbound;
69
+ }
70
+
25
71
  /** @internal */
26
72
  export const AccountV1GetLeaderboardHistoryRequest$inboundSchema: z.ZodType<
27
73
  AccountV1GetLeaderboardHistoryRequest,
@@ -6,6 +6,11 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1QueueSecurity = {
10
+ apiKey: string;
11
+ session: string;
12
+ };
13
+
9
14
  export type AccountV1QueueRequest = {
10
15
  xForwardedFor?: string | undefined;
11
16
  userAgent?: string | undefined;
@@ -17,6 +22,45 @@ export type AccountV1QueueResponse = {
17
22
  headers: { [k: string]: Array<string> };
18
23
  };
19
24
 
25
+ /** @internal */
26
+ export const AccountV1QueueSecurity$inboundSchema: z.ZodType<
27
+ AccountV1QueueSecurity,
28
+ z.ZodTypeDef,
29
+ unknown
30
+ > = z.object({
31
+ apiKey: z.string(),
32
+ session: z.string(),
33
+ });
34
+
35
+ /** @internal */
36
+ export type AccountV1QueueSecurity$Outbound = {
37
+ apiKey: string;
38
+ session: string;
39
+ };
40
+
41
+ /** @internal */
42
+ export const AccountV1QueueSecurity$outboundSchema: z.ZodType<
43
+ AccountV1QueueSecurity$Outbound,
44
+ z.ZodTypeDef,
45
+ AccountV1QueueSecurity
46
+ > = z.object({
47
+ apiKey: z.string(),
48
+ session: z.string(),
49
+ });
50
+
51
+ /**
52
+ * @internal
53
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
54
+ */
55
+ export namespace AccountV1QueueSecurity$ {
56
+ /** @deprecated use `AccountV1QueueSecurity$inboundSchema` instead. */
57
+ export const inboundSchema = AccountV1QueueSecurity$inboundSchema;
58
+ /** @deprecated use `AccountV1QueueSecurity$outboundSchema` instead. */
59
+ export const outboundSchema = AccountV1QueueSecurity$outboundSchema;
60
+ /** @deprecated use `AccountV1QueueSecurity$Outbound` instead. */
61
+ export type Outbound = AccountV1QueueSecurity$Outbound;
62
+ }
63
+
20
64
  /** @internal */
21
65
  export const AccountV1QueueRequest$inboundSchema: z.ZodType<
22
66
  AccountV1QueueRequest,
@@ -6,6 +6,11 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AppV1GetSecurity = {
10
+ apiKey: string;
11
+ session: string;
12
+ };
13
+
9
14
  export type AppV1GetResponse = {
10
15
  httpMeta: components.HTTPMetadata;
11
16
  /**
@@ -14,6 +19,45 @@ export type AppV1GetResponse = {
14
19
  v1AppResponseBody?: components.V1AppResponseBody | undefined;
15
20
  };
16
21
 
22
+ /** @internal */
23
+ export const AppV1GetSecurity$inboundSchema: z.ZodType<
24
+ AppV1GetSecurity,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z.object({
28
+ apiKey: z.string(),
29
+ session: z.string(),
30
+ });
31
+
32
+ /** @internal */
33
+ export type AppV1GetSecurity$Outbound = {
34
+ apiKey: string;
35
+ session: string;
36
+ };
37
+
38
+ /** @internal */
39
+ export const AppV1GetSecurity$outboundSchema: z.ZodType<
40
+ AppV1GetSecurity$Outbound,
41
+ z.ZodTypeDef,
42
+ AppV1GetSecurity
43
+ > = z.object({
44
+ apiKey: z.string(),
45
+ session: z.string(),
46
+ });
47
+
48
+ /**
49
+ * @internal
50
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
51
+ */
52
+ export namespace AppV1GetSecurity$ {
53
+ /** @deprecated use `AppV1GetSecurity$inboundSchema` instead. */
54
+ export const inboundSchema = AppV1GetSecurity$inboundSchema;
55
+ /** @deprecated use `AppV1GetSecurity$outboundSchema` instead. */
56
+ export const outboundSchema = AppV1GetSecurity$outboundSchema;
57
+ /** @deprecated use `AppV1GetSecurity$Outbound` instead. */
58
+ export type Outbound = AppV1GetSecurity$Outbound;
59
+ }
60
+
17
61
  /** @internal */
18
62
  export const AppV1GetResponse$inboundSchema: z.ZodType<
19
63
  AppV1GetResponse,