@steamsets/client-ts 0.22.12 → 0.22.13

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 (196) hide show
  1. package/funcs/accountBookmarkBadge.js +1 -1
  2. package/funcs/accountBookmarkBadge.js.map +1 -1
  3. package/funcs/accountConnect.js +1 -1
  4. package/funcs/accountConnect.js.map +1 -1
  5. package/funcs/accountConnectionUpdate.js +1 -1
  6. package/funcs/accountConnectionUpdate.js.map +1 -1
  7. package/funcs/accountCreateDeveloperApp.js +1 -1
  8. package/funcs/accountCreateDeveloperApp.js.map +1 -1
  9. package/funcs/accountCreateSession.js +1 -1
  10. package/funcs/accountCreateSession.js.map +1 -1
  11. package/funcs/accountDeleteConnection.js +1 -1
  12. package/funcs/accountDeleteConnection.js.map +1 -1
  13. package/funcs/accountDeleteImages.js +1 -1
  14. package/funcs/accountDeleteImages.js.map +1 -1
  15. package/funcs/accountDeveloperAppsDelete.js +1 -1
  16. package/funcs/accountDeveloperAppsDelete.js.map +1 -1
  17. package/funcs/accountDeveloperAppsUpdate.js +1 -1
  18. package/funcs/accountDeveloperAppsUpdate.js.map +1 -1
  19. package/funcs/accountEmailSendVerification.js +1 -1
  20. package/funcs/accountEmailSendVerification.js.map +1 -1
  21. package/funcs/accountEmailSubscription.js +1 -1
  22. package/funcs/accountEmailSubscription.js.map +1 -1
  23. package/funcs/accountEmailVerify.js +1 -1
  24. package/funcs/accountEmailVerify.js.map +1 -1
  25. package/funcs/accountGetApps.js +1 -1
  26. package/funcs/accountGetApps.js.map +1 -1
  27. package/funcs/accountGetBadgeBookmarks.js +1 -1
  28. package/funcs/accountGetBadgeBookmarks.js.map +1 -1
  29. package/funcs/accountGetBadges.js +1 -1
  30. package/funcs/accountGetBadges.js.map +1 -1
  31. package/funcs/accountGetDataPoints.js +1 -1
  32. package/funcs/accountGetDataPoints.js.map +1 -1
  33. package/funcs/accountGetFriends.js +1 -1
  34. package/funcs/accountGetFriends.js.map +1 -1
  35. package/funcs/accountGetImages.js +1 -1
  36. package/funcs/accountGetImages.js.map +1 -1
  37. package/funcs/accountGetInfo.js +1 -1
  38. package/funcs/accountGetInfo.js.map +1 -1
  39. package/funcs/accountGetLeaderboardHistory.js +1 -1
  40. package/funcs/accountGetLeaderboardHistory.js.map +1 -1
  41. package/funcs/accountGetMeta.js +1 -1
  42. package/funcs/accountGetMeta.js.map +1 -1
  43. package/funcs/accountGetOwnedBadges.js +1 -1
  44. package/funcs/accountGetOwnedBadges.js.map +1 -1
  45. package/funcs/accountGetSession.js +1 -1
  46. package/funcs/accountGetSession.js.map +1 -1
  47. package/funcs/accountGetSettings.js +1 -1
  48. package/funcs/accountGetSettings.js.map +1 -1
  49. package/funcs/accountGetStaff.js +1 -1
  50. package/funcs/accountGetStaff.js.map +1 -1
  51. package/funcs/accountLogin.js +1 -1
  52. package/funcs/accountLogin.js.map +1 -1
  53. package/funcs/accountLogout.js +1 -1
  54. package/funcs/accountLogout.js.map +1 -1
  55. package/funcs/accountQueue.js +1 -1
  56. package/funcs/accountQueue.js.map +1 -1
  57. package/funcs/accountReconnect.js +1 -1
  58. package/funcs/accountReconnect.js.map +1 -1
  59. package/funcs/accountRefreshSession.js +1 -1
  60. package/funcs/accountRefreshSession.js.map +1 -1
  61. package/funcs/accountRolesUpdate.js +1 -1
  62. package/funcs/accountRolesUpdate.js.map +1 -1
  63. package/funcs/accountSessionDelete.js +1 -1
  64. package/funcs/accountSessionDelete.js.map +1 -1
  65. package/funcs/accountUpdateImages.js +1 -1
  66. package/funcs/accountUpdateImages.js.map +1 -1
  67. package/funcs/accountUpdateSettings.js +1 -1
  68. package/funcs/accountUpdateSettings.js.map +1 -1
  69. package/funcs/accountUploadImages.js +1 -1
  70. package/funcs/accountUploadImages.js.map +1 -1
  71. package/funcs/accountVerifyConnection.js +1 -1
  72. package/funcs/accountVerifyConnection.js.map +1 -1
  73. package/funcs/adminEventsGet.js +1 -1
  74. package/funcs/adminEventsGet.js.map +1 -1
  75. package/funcs/adminGetAccount.js +1 -1
  76. package/funcs/adminGetAccount.js.map +1 -1
  77. package/funcs/adminRemoveVanity.js +1 -1
  78. package/funcs/adminRemoveVanity.js.map +1 -1
  79. package/funcs/adminUpdateEvent.js +1 -1
  80. package/funcs/adminUpdateEvent.js.map +1 -1
  81. package/funcs/adminUpdateResources.js +1 -1
  82. package/funcs/adminUpdateResources.js.map +1 -1
  83. package/funcs/adminUpdateRoles.js +1 -1
  84. package/funcs/adminUpdateRoles.js.map +1 -1
  85. package/funcs/appListBadges.js +1 -1
  86. package/funcs/appListBadges.js.map +1 -1
  87. package/funcs/badgeGetTags.js +1 -1
  88. package/funcs/badgeGetTags.js.map +1 -1
  89. package/funcs/badgeSearch.js +1 -1
  90. package/funcs/badgeSearch.js.map +1 -1
  91. package/funcs/badgeSuggest.js +1 -1
  92. package/funcs/badgeSuggest.js.map +1 -1
  93. package/funcs/badgeSuggestTags.js +1 -1
  94. package/funcs/badgeSuggestTags.js.map +1 -1
  95. package/funcs/badgeTag.js +1 -1
  96. package/funcs/badgeTag.js.map +1 -1
  97. package/funcs/leaderboardBadgesGetList.js +1 -1
  98. package/funcs/leaderboardBadgesGetList.js.map +1 -1
  99. package/funcs/leaderboardGetAccount.js +1 -1
  100. package/funcs/leaderboardGetAccount.js.map +1 -1
  101. package/funcs/leaderboardGetAccountMeta.js +1 -1
  102. package/funcs/leaderboardGetAccountMeta.js.map +1 -1
  103. package/funcs/leaderboardGetGroup.js +1 -1
  104. package/funcs/leaderboardGetGroup.js.map +1 -1
  105. package/funcs/leaderboardGetGroupMeta.js +1 -1
  106. package/funcs/leaderboardGetGroupMeta.js.map +1 -1
  107. package/funcs/livenessGet.js +1 -1
  108. package/funcs/livenessGet.js.map +1 -1
  109. package/funcs/locationGet.js +1 -1
  110. package/funcs/locationGet.js.map +1 -1
  111. package/funcs/statsGet.js +1 -1
  112. package/funcs/statsGet.js.map +1 -1
  113. package/hooks/types.d.ts +1 -1
  114. package/hooks/types.d.ts.map +1 -1
  115. package/jsr.json +1 -1
  116. package/lib/config.d.ts +3 -3
  117. package/lib/config.js +3 -3
  118. package/models/components/badge.d.ts +3 -0
  119. package/models/components/badge.d.ts.map +1 -1
  120. package/models/components/badge.js +12 -0
  121. package/models/components/badge.js.map +1 -1
  122. package/models/components/index.d.ts +1 -0
  123. package/models/components/index.d.ts.map +1 -1
  124. package/models/components/index.js +1 -0
  125. package/models/components/index.js.map +1 -1
  126. package/models/components/v1accountmetaresponsebody.d.ts +2 -0
  127. package/models/components/v1accountmetaresponsebody.d.ts.map +1 -1
  128. package/models/components/v1accountmetaresponsebody.js +4 -0
  129. package/models/components/v1accountmetaresponsebody.js.map +1 -1
  130. package/models/components/vectors.d.ts +29 -0
  131. package/models/components/vectors.d.ts.map +1 -0
  132. package/models/components/vectors.js +59 -0
  133. package/models/components/vectors.js.map +1 -0
  134. package/package.json +1 -1
  135. package/src/funcs/accountBookmarkBadge.ts +1 -1
  136. package/src/funcs/accountConnect.ts +1 -1
  137. package/src/funcs/accountConnectionUpdate.ts +1 -1
  138. package/src/funcs/accountCreateDeveloperApp.ts +1 -1
  139. package/src/funcs/accountCreateSession.ts +1 -1
  140. package/src/funcs/accountDeleteConnection.ts +1 -1
  141. package/src/funcs/accountDeleteImages.ts +1 -1
  142. package/src/funcs/accountDeveloperAppsDelete.ts +1 -1
  143. package/src/funcs/accountDeveloperAppsUpdate.ts +1 -1
  144. package/src/funcs/accountEmailSendVerification.ts +1 -1
  145. package/src/funcs/accountEmailSubscription.ts +1 -1
  146. package/src/funcs/accountEmailVerify.ts +1 -1
  147. package/src/funcs/accountGetApps.ts +1 -1
  148. package/src/funcs/accountGetBadgeBookmarks.ts +1 -1
  149. package/src/funcs/accountGetBadges.ts +1 -1
  150. package/src/funcs/accountGetDataPoints.ts +1 -1
  151. package/src/funcs/accountGetFriends.ts +1 -1
  152. package/src/funcs/accountGetImages.ts +1 -1
  153. package/src/funcs/accountGetInfo.ts +1 -1
  154. package/src/funcs/accountGetLeaderboardHistory.ts +1 -1
  155. package/src/funcs/accountGetMeta.ts +1 -1
  156. package/src/funcs/accountGetOwnedBadges.ts +1 -1
  157. package/src/funcs/accountGetSession.ts +1 -1
  158. package/src/funcs/accountGetSettings.ts +1 -1
  159. package/src/funcs/accountGetStaff.ts +1 -1
  160. package/src/funcs/accountLogin.ts +1 -1
  161. package/src/funcs/accountLogout.ts +1 -1
  162. package/src/funcs/accountQueue.ts +1 -1
  163. package/src/funcs/accountReconnect.ts +1 -1
  164. package/src/funcs/accountRefreshSession.ts +1 -1
  165. package/src/funcs/accountRolesUpdate.ts +1 -1
  166. package/src/funcs/accountSessionDelete.ts +1 -1
  167. package/src/funcs/accountUpdateImages.ts +1 -1
  168. package/src/funcs/accountUpdateSettings.ts +1 -1
  169. package/src/funcs/accountUploadImages.ts +1 -1
  170. package/src/funcs/accountVerifyConnection.ts +1 -1
  171. package/src/funcs/adminEventsGet.ts +1 -1
  172. package/src/funcs/adminGetAccount.ts +1 -1
  173. package/src/funcs/adminRemoveVanity.ts +1 -1
  174. package/src/funcs/adminUpdateEvent.ts +1 -1
  175. package/src/funcs/adminUpdateResources.ts +1 -1
  176. package/src/funcs/adminUpdateRoles.ts +1 -1
  177. package/src/funcs/appListBadges.ts +1 -1
  178. package/src/funcs/badgeGetTags.ts +1 -1
  179. package/src/funcs/badgeSearch.ts +1 -1
  180. package/src/funcs/badgeSuggest.ts +1 -1
  181. package/src/funcs/badgeSuggestTags.ts +1 -1
  182. package/src/funcs/badgeTag.ts +1 -1
  183. package/src/funcs/leaderboardBadgesGetList.ts +1 -1
  184. package/src/funcs/leaderboardGetAccount.ts +1 -1
  185. package/src/funcs/leaderboardGetAccountMeta.ts +1 -1
  186. package/src/funcs/leaderboardGetGroup.ts +1 -1
  187. package/src/funcs/leaderboardGetGroupMeta.ts +1 -1
  188. package/src/funcs/livenessGet.ts +1 -1
  189. package/src/funcs/locationGet.ts +1 -1
  190. package/src/funcs/statsGet.ts +1 -1
  191. package/src/hooks/types.ts +1 -1
  192. package/src/lib/config.ts +3 -3
  193. package/src/models/components/badge.ts +19 -0
  194. package/src/models/components/index.ts +1 -0
  195. package/src/models/components/v1accountmetaresponsebody.ts +6 -0
  196. package/src/models/components/vectors.ts +59 -0
@@ -103,7 +103,7 @@ async function $do(
103
103
  const context = {
104
104
  baseURL: options?.serverURL ?? client._baseURL ?? "",
105
105
  operationID: "account.v1.settings.update",
106
- oAuth2Scopes: [],
106
+ oAuth2Scopes: null,
107
107
 
108
108
  resolvedSecurity: requestSecurity,
109
109
 
@@ -96,7 +96,7 @@ async function $do(
96
96
  const context = {
97
97
  baseURL: options?.serverURL ?? client._baseURL ?? "",
98
98
  operationID: "account.v1.images.upload",
99
- oAuth2Scopes: [],
99
+ oAuth2Scopes: null,
100
100
 
101
101
  resolvedSecurity: requestSecurity,
102
102
 
@@ -97,7 +97,7 @@ async function $do(
97
97
  const context = {
98
98
  baseURL: options?.serverURL ?? client._baseURL ?? "",
99
99
  operationID: "account.v1.connection.verifyConnection",
100
- oAuth2Scopes: [],
100
+ oAuth2Scopes: null,
101
101
 
102
102
  resolvedSecurity: requestSecurity,
103
103
 
@@ -78,7 +78,7 @@ async function $do(
78
78
  const context = {
79
79
  baseURL: options?.serverURL ?? client._baseURL ?? "",
80
80
  operationID: "admin.v1.get-events",
81
- oAuth2Scopes: [],
81
+ oAuth2Scopes: null,
82
82
 
83
83
  resolvedSecurity: requestSecurity,
84
84
 
@@ -96,7 +96,7 @@ async function $do(
96
96
  const context = {
97
97
  baseURL: options?.serverURL ?? client._baseURL ?? "",
98
98
  operationID: "admin.v1.get-account",
99
- oAuth2Scopes: [],
99
+ oAuth2Scopes: null,
100
100
 
101
101
  resolvedSecurity: requestSecurity,
102
102
 
@@ -96,7 +96,7 @@ async function $do(
96
96
  const context = {
97
97
  baseURL: options?.serverURL ?? client._baseURL ?? "",
98
98
  operationID: "admin.v1.remove-vanity",
99
- oAuth2Scopes: [],
99
+ oAuth2Scopes: null,
100
100
 
101
101
  resolvedSecurity: requestSecurity,
102
102
 
@@ -97,7 +97,7 @@ async function $do(
97
97
  const context = {
98
98
  baseURL: options?.serverURL ?? client._baseURL ?? "",
99
99
  operationID: "admin.v1.update-event",
100
- oAuth2Scopes: [],
100
+ oAuth2Scopes: null,
101
101
 
102
102
  resolvedSecurity: requestSecurity,
103
103
 
@@ -97,7 +97,7 @@ async function $do(
97
97
  const context = {
98
98
  baseURL: options?.serverURL ?? client._baseURL ?? "",
99
99
  operationID: "admin.v1.update-resources",
100
- oAuth2Scopes: [],
100
+ oAuth2Scopes: null,
101
101
 
102
102
  resolvedSecurity: requestSecurity,
103
103
 
@@ -97,7 +97,7 @@ async function $do(
97
97
  const context = {
98
98
  baseURL: options?.serverURL ?? client._baseURL ?? "",
99
99
  operationID: "admin.v1.update-roles",
100
- oAuth2Scopes: [],
100
+ oAuth2Scopes: null,
101
101
 
102
102
  resolvedSecurity: requestSecurity,
103
103
 
@@ -96,7 +96,7 @@ async function $do(
96
96
  const context = {
97
97
  baseURL: options?.serverURL ?? client._baseURL ?? "",
98
98
  operationID: "app.v1.listBadges",
99
- oAuth2Scopes: [],
99
+ oAuth2Scopes: null,
100
100
 
101
101
  resolvedSecurity: requestSecurity,
102
102
 
@@ -78,7 +78,7 @@ async function $do(
78
78
  const context = {
79
79
  baseURL: options?.serverURL ?? client._baseURL ?? "",
80
80
  operationID: "badge.v1.tags",
81
- oAuth2Scopes: [],
81
+ oAuth2Scopes: null,
82
82
 
83
83
  resolvedSecurity: requestSecurity,
84
84
 
@@ -96,7 +96,7 @@ async function $do(
96
96
  const context = {
97
97
  baseURL: options?.serverURL ?? client._baseURL ?? "",
98
98
  operationID: "badge.v1.search",
99
- oAuth2Scopes: [],
99
+ oAuth2Scopes: null,
100
100
 
101
101
  resolvedSecurity: requestSecurity,
102
102
 
@@ -97,7 +97,7 @@ async function $do(
97
97
  const context = {
98
98
  baseURL: options?.serverURL ?? client._baseURL ?? "",
99
99
  operationID: "badge.v1.search.suggest",
100
- oAuth2Scopes: [],
100
+ oAuth2Scopes: null,
101
101
 
102
102
  resolvedSecurity: requestSecurity,
103
103
 
@@ -97,7 +97,7 @@ async function $do(
97
97
  const context = {
98
98
  baseURL: options?.serverURL ?? client._baseURL ?? "",
99
99
  operationID: "badge.v1.tags.suggest",
100
- oAuth2Scopes: [],
100
+ oAuth2Scopes: null,
101
101
 
102
102
  resolvedSecurity: requestSecurity,
103
103
 
@@ -96,7 +96,7 @@ async function $do(
96
96
  const context = {
97
97
  baseURL: options?.serverURL ?? client._baseURL ?? "",
98
98
  operationID: "badge.v1.tag",
99
- oAuth2Scopes: [],
99
+ oAuth2Scopes: null,
100
100
 
101
101
  resolvedSecurity: requestSecurity,
102
102
 
@@ -78,7 +78,7 @@ async function $do(
78
78
  const context = {
79
79
  baseURL: options?.serverURL ?? client._baseURL ?? "",
80
80
  operationID: "leaderboard.v1.getBadges",
81
- oAuth2Scopes: [],
81
+ oAuth2Scopes: null,
82
82
 
83
83
  resolvedSecurity: requestSecurity,
84
84
 
@@ -99,7 +99,7 @@ async function $do(
99
99
  const context = {
100
100
  baseURL: options?.serverURL ?? client._baseURL ?? "",
101
101
  operationID: "leaderboard.v1.getAccountLeaderboard",
102
- oAuth2Scopes: [],
102
+ oAuth2Scopes: null,
103
103
 
104
104
  resolvedSecurity: requestSecurity,
105
105
 
@@ -101,7 +101,7 @@ async function $do(
101
101
  const context = {
102
102
  baseURL: options?.serverURL ?? client._baseURL ?? "",
103
103
  operationID: "leaderboard.v1.getAccountLeaderboardMeta",
104
- oAuth2Scopes: [],
104
+ oAuth2Scopes: null,
105
105
 
106
106
  resolvedSecurity: requestSecurity,
107
107
 
@@ -99,7 +99,7 @@ async function $do(
99
99
  const context = {
100
100
  baseURL: options?.serverURL ?? client._baseURL ?? "",
101
101
  operationID: "leaderboard.v1.getGroup",
102
- oAuth2Scopes: [],
102
+ oAuth2Scopes: null,
103
103
 
104
104
  resolvedSecurity: requestSecurity,
105
105
 
@@ -99,7 +99,7 @@ async function $do(
99
99
  const context = {
100
100
  baseURL: options?.serverURL ?? client._baseURL ?? "",
101
101
  operationID: "leaderboard.v1.getGroupLeaderboardMeta",
102
- oAuth2Scopes: [],
102
+ oAuth2Scopes: null,
103
103
 
104
104
  resolvedSecurity: requestSecurity,
105
105
 
@@ -82,7 +82,7 @@ async function $do(
82
82
  const context = {
83
83
  baseURL: options?.serverURL ?? client._baseURL ?? "",
84
84
  operationID: "liveness",
85
- oAuth2Scopes: [],
85
+ oAuth2Scopes: null,
86
86
 
87
87
  resolvedSecurity: requestSecurity,
88
88
 
@@ -78,7 +78,7 @@ async function $do(
78
78
  const context = {
79
79
  baseURL: options?.serverURL ?? client._baseURL ?? "",
80
80
  operationID: "location.v1.location.get",
81
- oAuth2Scopes: [],
81
+ oAuth2Scopes: null,
82
82
 
83
83
  resolvedSecurity: requestSecurity,
84
84
 
@@ -78,7 +78,7 @@ async function $do(
78
78
  const context = {
79
79
  baseURL: options?.serverURL ?? client._baseURL ?? "",
80
80
  operationID: "stats.v1.stats.get",
81
- oAuth2Scopes: [],
81
+ oAuth2Scopes: null,
82
82
 
83
83
  resolvedSecurity: requestSecurity,
84
84
 
@@ -9,7 +9,7 @@ import { SecurityState } from "../lib/security.js";
9
9
  export type HookContext = {
10
10
  baseURL: string | URL;
11
11
  operationID: string;
12
- oAuth2Scopes?: string[];
12
+ oAuth2Scopes: string[] | null;
13
13
  securitySource?: any | (() => Promise<any>);
14
14
  retryConfig: RetryConfig;
15
15
  resolvedSecurity: SecurityState | null;
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.22.12",
59
- genVersion: "2.558.5",
58
+ sdkVersion: "0.22.13",
59
+ genVersion: "2.562.2",
60
60
  userAgent:
61
- "speakeasy-sdk/typescript 0.22.12 2.558.5 1.0.0 @steamsets/client-ts",
61
+ "speakeasy-sdk/typescript 0.22.13 2.562.2 1.0.0 @steamsets/client-ts",
62
62
  } as const;
@@ -3,11 +3,19 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import { safeParse } from "../../lib/schemas.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ Vectors,
12
+ Vectors$inboundSchema,
13
+ Vectors$Outbound,
14
+ Vectors$outboundSchema,
15
+ } from "./vectors.js";
9
16
 
10
17
  export type Badge = {
18
+ vectors: Vectors;
11
19
  appId: number;
12
20
  appImage: string;
13
21
  appName: string;
@@ -32,6 +40,7 @@ export type Badge = {
32
40
  /** @internal */
33
41
  export const Badge$inboundSchema: z.ZodType<Badge, z.ZodTypeDef, unknown> = z
34
42
  .object({
43
+ _vectors: Vectors$inboundSchema,
35
44
  appId: z.number().int(),
36
45
  appImage: z.string(),
37
46
  appName: z.string(),
@@ -51,10 +60,15 @@ export const Badge$inboundSchema: z.ZodType<Badge, z.ZodTypeDef, unknown> = z
51
60
  scarcity: z.number().int(),
52
61
  steamId: z.number().int(),
53
62
  xp: z.number(),
63
+ }).transform((v) => {
64
+ return remap$(v, {
65
+ "_vectors": "vectors",
66
+ });
54
67
  });
55
68
 
56
69
  /** @internal */
57
70
  export type Badge$Outbound = {
71
+ _vectors: Vectors$Outbound;
58
72
  appId: number;
59
73
  appImage: string;
60
74
  appName: string;
@@ -82,6 +96,7 @@ export const Badge$outboundSchema: z.ZodType<
82
96
  z.ZodTypeDef,
83
97
  Badge
84
98
  > = z.object({
99
+ vectors: Vectors$outboundSchema,
85
100
  appId: z.number().int(),
86
101
  appImage: z.string(),
87
102
  appName: z.string(),
@@ -101,6 +116,10 @@ export const Badge$outboundSchema: z.ZodType<
101
116
  scarcity: z.number().int(),
102
117
  steamId: z.number().int(),
103
118
  xp: z.number(),
119
+ }).transform((v) => {
120
+ return remap$(v, {
121
+ vectors: "_vectors",
122
+ });
104
123
  });
105
124
 
106
125
  /**
@@ -141,3 +141,4 @@ export * from "./v1verifyconnectionrequestbody.js";
141
141
  export * from "./v1verifyconnectionresponsebody.js";
142
142
  export * from "./v1verifyemailrequestbody.js";
143
143
  export * from "./vanitystruct.js";
144
+ export * from "./vectors.js";
@@ -13,6 +13,7 @@ export type V1AccountMetaResponseBody = {
13
13
  * A URL to the JSON Schema for this object.
14
14
  */
15
15
  dollarSchema?: string | undefined;
16
+ steamAvatarHashOfTheAccount: string;
16
17
  description: string;
17
18
  /**
18
19
  * Use this + cdn.steamsets.com/og/account/steamId.png as url
@@ -28,18 +29,21 @@ export const V1AccountMetaResponseBody$inboundSchema: z.ZodType<
28
29
  unknown
29
30
  > = z.object({
30
31
  $schema: z.string().optional(),
32
+ "Steam Avatar hash of the account": z.string(),
31
33
  description: z.string(),
32
34
  steamId: z.string(),
33
35
  title: z.string(),
34
36
  }).transform((v) => {
35
37
  return remap$(v, {
36
38
  "$schema": "dollarSchema",
39
+ "Steam Avatar hash of the account": "steamAvatarHashOfTheAccount",
37
40
  });
38
41
  });
39
42
 
40
43
  /** @internal */
41
44
  export type V1AccountMetaResponseBody$Outbound = {
42
45
  $schema?: string | undefined;
46
+ "Steam Avatar hash of the account": string;
43
47
  description: string;
44
48
  steamId: string;
45
49
  title: string;
@@ -52,12 +56,14 @@ export const V1AccountMetaResponseBody$outboundSchema: z.ZodType<
52
56
  V1AccountMetaResponseBody
53
57
  > = z.object({
54
58
  dollarSchema: z.string().optional(),
59
+ steamAvatarHashOfTheAccount: z.string(),
55
60
  description: z.string(),
56
61
  steamId: z.string(),
57
62
  title: z.string(),
58
63
  }).transform((v) => {
59
64
  return remap$(v, {
60
65
  dollarSchema: "$schema",
66
+ steamAvatarHashOfTheAccount: "Steam Avatar hash of the account",
61
67
  });
62
68
  });
63
69
 
@@ -0,0 +1,59 @@
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 Vectors = {
11
+ image: Array<number> | null;
12
+ };
13
+
14
+ /** @internal */
15
+ export const Vectors$inboundSchema: z.ZodType<Vectors, z.ZodTypeDef, unknown> =
16
+ z.object({
17
+ image: z.nullable(z.array(z.number())),
18
+ });
19
+
20
+ /** @internal */
21
+ export type Vectors$Outbound = {
22
+ image: Array<number> | null;
23
+ };
24
+
25
+ /** @internal */
26
+ export const Vectors$outboundSchema: z.ZodType<
27
+ Vectors$Outbound,
28
+ z.ZodTypeDef,
29
+ Vectors
30
+ > = z.object({
31
+ image: z.nullable(z.array(z.number())),
32
+ });
33
+
34
+ /**
35
+ * @internal
36
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
37
+ */
38
+ export namespace Vectors$ {
39
+ /** @deprecated use `Vectors$inboundSchema` instead. */
40
+ export const inboundSchema = Vectors$inboundSchema;
41
+ /** @deprecated use `Vectors$outboundSchema` instead. */
42
+ export const outboundSchema = Vectors$outboundSchema;
43
+ /** @deprecated use `Vectors$Outbound` instead. */
44
+ export type Outbound = Vectors$Outbound;
45
+ }
46
+
47
+ export function vectorsToJSON(vectors: Vectors): string {
48
+ return JSON.stringify(Vectors$outboundSchema.parse(vectors));
49
+ }
50
+
51
+ export function vectorsFromJSON(
52
+ jsonString: string,
53
+ ): SafeParseResult<Vectors, SDKValidationError> {
54
+ return safeParse(
55
+ jsonString,
56
+ (x) => Vectors$inboundSchema.parse(JSON.parse(x)),
57
+ `Failed to parse 'Vectors' from JSON`,
58
+ );
59
+ }