@steamsets/client-ts 0.14.25 → 0.14.27

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 (324) hide show
  1. package/README.md +83 -17
  2. package/docs/sdks/account/README.md +493 -1
  3. package/docs/sdks/admin/README.md +1 -1
  4. package/docs/sdks/badge/README.md +2 -0
  5. package/docs/sdks/data/README.md +1 -73
  6. package/docs/sdks/developer/README.md +1 -1
  7. package/docs/sdks/event/README.md +168 -0
  8. package/docs/sdks/{public → external}/README.md +93 -21
  9. package/docs/sdks/internal/README.md +1726 -0
  10. package/docs/sdks/leaderboard/README.md +2 -0
  11. package/docs/sdks/liveness/README.md +1 -1
  12. package/docs/sdks/stats/README.md +1 -1
  13. package/funcs/accountAdminV1UpdateResources.d.ts +11 -0
  14. package/funcs/accountAdminV1UpdateResources.d.ts.map +1 -0
  15. package/funcs/accountAdminV1UpdateResources.js +111 -0
  16. package/funcs/accountAdminV1UpdateResources.js.map +1 -0
  17. package/funcs/accountAdminV1UpdateRoles.d.ts +11 -0
  18. package/funcs/accountAdminV1UpdateRoles.d.ts.map +1 -0
  19. package/funcs/accountAdminV1UpdateRoles.js +111 -0
  20. package/funcs/accountAdminV1UpdateRoles.js.map +1 -0
  21. package/funcs/accountCreateDeveloperApp.d.ts +11 -0
  22. package/funcs/accountCreateDeveloperApp.d.ts.map +1 -0
  23. package/funcs/accountCreateDeveloperApp.js +111 -0
  24. package/funcs/accountCreateDeveloperApp.js.map +1 -0
  25. package/funcs/accountDeleteDeveloperApp.d.ts +11 -0
  26. package/funcs/accountDeleteDeveloperApp.d.ts.map +1 -0
  27. package/funcs/accountDeleteDeveloperApp.js +111 -0
  28. package/funcs/accountDeleteDeveloperApp.js.map +1 -0
  29. package/funcs/{publicGetBadges.d.ts → accountGetAccount.d.ts} +2 -2
  30. package/funcs/accountGetAccount.d.ts.map +1 -0
  31. package/funcs/accountGetAccount.js +113 -0
  32. package/funcs/accountGetAccount.js.map +1 -0
  33. package/funcs/accountUpdateApp.d.ts +11 -0
  34. package/funcs/{publicGetFriends.d.ts.map → accountUpdateApp.d.ts.map} +1 -1
  35. package/funcs/accountUpdateApp.js +111 -0
  36. package/funcs/{publicGetFriends.js.map → accountUpdateApp.js.map} +1 -1
  37. package/funcs/accountVerifyEmail.js +3 -3
  38. package/funcs/accountVerifyEmail.js.map +1 -1
  39. package/funcs/eventAdminV1GetEvents.d.ts +10 -0
  40. package/funcs/eventAdminV1GetEvents.d.ts.map +1 -0
  41. package/funcs/eventAdminV1GetEvents.js +102 -0
  42. package/funcs/eventAdminV1GetEvents.js.map +1 -0
  43. package/funcs/{publicGetLeaderboardHistory.d.ts → eventAdminV1UpdateEvent.d.ts} +2 -2
  44. package/funcs/eventAdminV1UpdateEvent.d.ts.map +1 -0
  45. package/funcs/eventAdminV1UpdateEvent.js +113 -0
  46. package/funcs/eventAdminV1UpdateEvent.js.map +1 -0
  47. package/funcs/externalGetApps.d.ts +11 -0
  48. package/funcs/{publicGetBadges.d.ts.map → externalGetApps.d.ts.map} +1 -1
  49. package/funcs/{publicGetApps.js → externalGetApps.js} +3 -3
  50. package/funcs/{publicGetBadges.js.map → externalGetApps.js.map} +1 -1
  51. package/funcs/{publicGetApps.d.ts → externalGetBadges.d.ts} +2 -2
  52. package/funcs/externalGetBadges.d.ts.map +1 -0
  53. package/funcs/{publicGetBadges.js → externalGetBadges.js} +3 -3
  54. package/funcs/externalGetBadges.js.map +1 -0
  55. package/funcs/{publicGetDataPoints.d.ts → externalGetDataPoints.d.ts} +2 -2
  56. package/funcs/externalGetDataPoints.d.ts.map +1 -0
  57. package/funcs/{publicGetDataPoints.js → externalGetDataPoints.js} +3 -3
  58. package/funcs/externalGetDataPoints.js.map +1 -0
  59. package/funcs/externalGetFriends.d.ts +11 -0
  60. package/funcs/externalGetFriends.d.ts.map +1 -0
  61. package/funcs/{publicGetFriends.js → externalGetFriends.js} +3 -3
  62. package/funcs/externalGetFriends.js.map +1 -0
  63. package/funcs/{publicGetInfo.d.ts → externalGetInfo.d.ts} +2 -2
  64. package/funcs/externalGetInfo.d.ts.map +1 -0
  65. package/funcs/{publicGetInfo.js → externalGetInfo.js} +3 -3
  66. package/funcs/externalGetInfo.js.map +1 -0
  67. package/funcs/externalGetLeaderboardHistory.d.ts +11 -0
  68. package/funcs/externalGetLeaderboardHistory.d.ts.map +1 -0
  69. package/funcs/{publicGetLeaderboardHistory.js → externalGetLeaderboardHistory.js} +3 -3
  70. package/funcs/externalGetLeaderboardHistory.js.map +1 -0
  71. package/funcs/externalStatsV1StatsGet.d.ts +10 -0
  72. package/funcs/externalStatsV1StatsGet.d.ts.map +1 -0
  73. package/funcs/externalStatsV1StatsGet.js +102 -0
  74. package/funcs/externalStatsV1StatsGet.js.map +1 -0
  75. package/funcs/internalAccountV1BookmarkBadge.d.ts +11 -0
  76. package/funcs/internalAccountV1BookmarkBadge.d.ts.map +1 -0
  77. package/funcs/internalAccountV1BookmarkBadge.js +113 -0
  78. package/funcs/internalAccountV1BookmarkBadge.js.map +1 -0
  79. package/funcs/internalAccountV1ConnectionReconnect.d.ts +11 -0
  80. package/funcs/internalAccountV1ConnectionReconnect.d.ts.map +1 -0
  81. package/funcs/internalAccountV1ConnectionReconnect.js +113 -0
  82. package/funcs/internalAccountV1ConnectionReconnect.js.map +1 -0
  83. package/funcs/internalAccountV1GetBadgeBookmarks.d.ts +10 -0
  84. package/funcs/internalAccountV1GetBadgeBookmarks.d.ts.map +1 -0
  85. package/funcs/internalAccountV1GetBadgeBookmarks.js +102 -0
  86. package/funcs/internalAccountV1GetBadgeBookmarks.js.map +1 -0
  87. package/funcs/internalAccountV1GetOwnedBadges.d.ts +10 -0
  88. package/funcs/internalAccountV1GetOwnedBadges.d.ts.map +1 -0
  89. package/funcs/internalAccountV1GetOwnedBadges.js +102 -0
  90. package/funcs/internalAccountV1GetOwnedBadges.js.map +1 -0
  91. package/funcs/internalAccountV1ImagesGet.d.ts +10 -0
  92. package/funcs/internalAccountV1ImagesGet.d.ts.map +1 -0
  93. package/funcs/internalAccountV1ImagesGet.js +100 -0
  94. package/funcs/internalAccountV1ImagesGet.js.map +1 -0
  95. package/funcs/internalAccountV1ImagesUpdate.d.ts +11 -0
  96. package/funcs/internalAccountV1ImagesUpdate.d.ts.map +1 -0
  97. package/funcs/internalAccountV1ImagesUpdate.js +113 -0
  98. package/funcs/internalAccountV1ImagesUpdate.js.map +1 -0
  99. package/funcs/internalAdminV1GetEvents.d.ts +10 -0
  100. package/funcs/internalAdminV1GetEvents.d.ts.map +1 -0
  101. package/funcs/internalAdminV1GetEvents.js +102 -0
  102. package/funcs/internalAdminV1GetEvents.js.map +1 -0
  103. package/funcs/internalAdminV1UpdateEvent.d.ts +11 -0
  104. package/funcs/internalAdminV1UpdateEvent.d.ts.map +1 -0
  105. package/funcs/internalAdminV1UpdateEvent.js +113 -0
  106. package/funcs/internalAdminV1UpdateEvent.js.map +1 -0
  107. package/funcs/internalAdminV1UpdateResources.d.ts +11 -0
  108. package/funcs/internalAdminV1UpdateResources.d.ts.map +1 -0
  109. package/funcs/internalAdminV1UpdateResources.js +111 -0
  110. package/funcs/internalAdminV1UpdateResources.js.map +1 -0
  111. package/funcs/internalAdminV1UpdateRoles.d.ts +11 -0
  112. package/funcs/internalAdminV1UpdateRoles.d.ts.map +1 -0
  113. package/funcs/internalAdminV1UpdateRoles.js +111 -0
  114. package/funcs/internalAdminV1UpdateRoles.js.map +1 -0
  115. package/funcs/internalBadgeV1Search.d.ts +11 -0
  116. package/funcs/internalBadgeV1Search.d.ts.map +1 -0
  117. package/funcs/internalBadgeV1Search.js +113 -0
  118. package/funcs/internalBadgeV1Search.js.map +1 -0
  119. package/funcs/internalCheck.d.ts +16 -0
  120. package/funcs/internalCheck.d.ts.map +1 -0
  121. package/funcs/internalCheck.js +106 -0
  122. package/funcs/internalCheck.js.map +1 -0
  123. package/funcs/internalCreateDeveloperApp.d.ts +11 -0
  124. package/funcs/internalCreateDeveloperApp.d.ts.map +1 -0
  125. package/funcs/internalCreateDeveloperApp.js +111 -0
  126. package/funcs/internalCreateDeveloperApp.js.map +1 -0
  127. package/funcs/internalDeleteDeveloperApp.d.ts +11 -0
  128. package/funcs/internalDeleteDeveloperApp.d.ts.map +1 -0
  129. package/funcs/internalDeleteDeveloperApp.js +111 -0
  130. package/funcs/internalDeleteDeveloperApp.js.map +1 -0
  131. package/funcs/internalDeleteImages.d.ts +11 -0
  132. package/funcs/internalDeleteImages.d.ts.map +1 -0
  133. package/funcs/internalDeleteImages.js +113 -0
  134. package/funcs/internalDeleteImages.js.map +1 -0
  135. package/funcs/{publicGetFriends.d.ts → internalGetAccount.d.ts} +2 -2
  136. package/funcs/internalGetAccount.d.ts.map +1 -0
  137. package/funcs/internalGetAccount.js +113 -0
  138. package/funcs/internalGetAccount.js.map +1 -0
  139. package/funcs/internalGetStaff.d.ts +10 -0
  140. package/funcs/internalGetStaff.d.ts.map +1 -0
  141. package/funcs/{dataGetStaff.js → internalGetStaff.js} +3 -3
  142. package/funcs/internalGetStaff.js.map +1 -0
  143. package/funcs/{dataGetStaff.d.ts → internalGetTags.d.ts} +2 -2
  144. package/funcs/internalGetTags.d.ts.map +1 -0
  145. package/funcs/internalGetTags.js +102 -0
  146. package/funcs/internalGetTags.js.map +1 -0
  147. package/funcs/internalSendEmailVerification.d.ts +10 -0
  148. package/funcs/internalSendEmailVerification.d.ts.map +1 -0
  149. package/funcs/internalSendEmailVerification.js +111 -0
  150. package/funcs/internalSendEmailVerification.js.map +1 -0
  151. package/funcs/internalUpdateApp.d.ts +11 -0
  152. package/funcs/internalUpdateApp.d.ts.map +1 -0
  153. package/funcs/internalUpdateApp.js +111 -0
  154. package/funcs/internalUpdateApp.js.map +1 -0
  155. package/funcs/internalUploadImages.d.ts +11 -0
  156. package/funcs/internalUploadImages.d.ts.map +1 -0
  157. package/funcs/internalUploadImages.js +113 -0
  158. package/funcs/internalUploadImages.js.map +1 -0
  159. package/funcs/internalVerifyEmail.d.ts +11 -0
  160. package/funcs/{publicGetDataPoints.d.ts.map → internalVerifyEmail.d.ts.map} +1 -1
  161. package/funcs/internalVerifyEmail.js +113 -0
  162. package/funcs/{publicGetDataPoints.js.map → internalVerifyEmail.js.map} +1 -1
  163. package/funcs/sessionLogin.d.ts.map +1 -1
  164. package/funcs/sessionLogin.js +1 -0
  165. package/funcs/sessionLogin.js.map +1 -1
  166. package/funcs/settingsUpdate.js +3 -3
  167. package/funcs/settingsUpdate.js.map +1 -1
  168. package/funcs/settingsVerifyEmail.js +3 -3
  169. package/funcs/settingsVerifyEmail.js.map +1 -1
  170. package/jsr.json +1 -1
  171. package/lib/config.d.ts +3 -3
  172. package/lib/config.js +3 -3
  173. package/lib/retries.js +0 -1
  174. package/lib/retries.js.map +1 -1
  175. package/models/components/index.d.ts +0 -2
  176. package/models/components/index.d.ts.map +1 -1
  177. package/models/components/index.js +0 -2
  178. package/models/components/index.js.map +1 -1
  179. package/models/components/leaderboardaccount.d.ts +36 -1
  180. package/models/components/leaderboardaccount.d.ts.map +1 -1
  181. package/models/components/leaderboardaccount.js +26 -3
  182. package/models/components/leaderboardaccount.js.map +1 -1
  183. package/models/components/v1accountfriend.d.ts +36 -1
  184. package/models/components/v1accountfriend.d.ts.map +1 -1
  185. package/models/components/v1accountfriend.js +27 -3
  186. package/models/components/v1accountfriend.js.map +1 -1
  187. package/models/components/v1accountinforesponsebody.d.ts +8 -8
  188. package/models/components/v1accountinforesponsebody.d.ts.map +1 -1
  189. package/models/components/v1accountinforesponsebody.js +13 -14
  190. package/models/components/v1accountinforesponsebody.js.map +1 -1
  191. package/models/components/v1accountleaderboardaccount.d.ts +36 -1
  192. package/models/components/v1accountleaderboardaccount.d.ts.map +1 -1
  193. package/models/components/v1accountleaderboardaccount.js +26 -3
  194. package/models/components/v1accountleaderboardaccount.js.map +1 -1
  195. package/models/components/v1createsessionbody.d.ts +15 -0
  196. package/models/components/v1createsessionbody.d.ts.map +1 -1
  197. package/models/components/v1createsessionbody.js +6 -0
  198. package/models/components/v1createsessionbody.js.map +1 -1
  199. package/models/components/v1getsettingsbody.d.ts +40 -0
  200. package/models/components/v1getsettingsbody.d.ts.map +1 -1
  201. package/models/components/v1getsettingsbody.js +26 -1
  202. package/models/components/v1getsettingsbody.js.map +1 -1
  203. package/models/components/v1stats.d.ts +0 -5
  204. package/models/components/v1stats.d.ts.map +1 -1
  205. package/models/components/v1stats.js +0 -2
  206. package/models/components/v1stats.js.map +1 -1
  207. package/models/operations/accountv1sessionlogin.d.ts +6 -0
  208. package/models/operations/accountv1sessionlogin.d.ts.map +1 -1
  209. package/models/operations/accountv1sessionlogin.js +4 -0
  210. package/models/operations/accountv1sessionlogin.js.map +1 -1
  211. package/models/operations/accountv1settingsupdate.d.ts +6 -5
  212. package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
  213. package/models/operations/accountv1settingsupdate.js +4 -6
  214. package/models/operations/accountv1settingsupdate.js.map +1 -1
  215. package/models/operations/accountv1settingsverfyemail.d.ts +6 -5
  216. package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -1
  217. package/models/operations/accountv1settingsverfyemail.js +4 -6
  218. package/models/operations/accountv1settingsverfyemail.js.map +1 -1
  219. package/package.json +6 -7
  220. package/sdk/account.d.ts +6 -0
  221. package/sdk/account.d.ts.map +1 -1
  222. package/sdk/account.js +24 -0
  223. package/sdk/account.js.map +1 -1
  224. package/sdk/data.d.ts +0 -1
  225. package/sdk/data.d.ts.map +1 -1
  226. package/sdk/data.js +0 -4
  227. package/sdk/data.js.map +1 -1
  228. package/sdk/event.d.ts +8 -0
  229. package/sdk/event.d.ts.map +1 -0
  230. package/sdk/event.js +20 -0
  231. package/sdk/event.js.map +1 -0
  232. package/sdk/{public.d.ts → external.d.ts} +3 -2
  233. package/sdk/external.d.ts.map +1 -0
  234. package/sdk/external.js +40 -0
  235. package/sdk/external.js.map +1 -0
  236. package/sdk/internal.d.ts +34 -0
  237. package/sdk/internal.d.ts.map +1 -0
  238. package/sdk/internal.js +106 -0
  239. package/sdk/internal.js.map +1 -0
  240. package/sdk/sdk.d.ts +11 -5
  241. package/sdk/sdk.d.ts.map +1 -1
  242. package/sdk/sdk.js +14 -6
  243. package/sdk/sdk.js.map +1 -1
  244. package/src/funcs/accountAdminV1UpdateResources.ts +148 -0
  245. package/src/funcs/accountAdminV1UpdateRoles.ts +148 -0
  246. package/src/funcs/accountCreateDeveloperApp.ts +152 -0
  247. package/src/funcs/accountDeleteDeveloperApp.ts +154 -0
  248. package/src/funcs/accountGetAccount.ts +149 -0
  249. package/src/funcs/accountUpdateApp.ts +154 -0
  250. package/src/funcs/accountVerifyEmail.ts +3 -3
  251. package/src/funcs/eventAdminV1GetEvents.ts +132 -0
  252. package/src/funcs/eventAdminV1UpdateEvent.ts +150 -0
  253. package/src/funcs/{publicGetApps.ts → externalGetApps.ts} +1 -1
  254. package/src/funcs/{publicGetBadges.ts → externalGetBadges.ts} +1 -1
  255. package/src/funcs/{publicGetDataPoints.ts → externalGetDataPoints.ts} +1 -1
  256. package/src/funcs/{publicGetFriends.ts → externalGetFriends.ts} +1 -1
  257. package/src/funcs/{publicGetInfo.ts → externalGetInfo.ts} +1 -1
  258. package/src/funcs/{publicGetLeaderboardHistory.ts → externalGetLeaderboardHistory.ts} +1 -1
  259. package/src/funcs/externalStatsV1StatsGet.ts +132 -0
  260. package/src/funcs/internalAccountV1BookmarkBadge.ts +150 -0
  261. package/src/funcs/internalAccountV1ConnectionReconnect.ts +149 -0
  262. package/src/funcs/internalAccountV1GetBadgeBookmarks.ts +132 -0
  263. package/src/funcs/internalAccountV1GetOwnedBadges.ts +132 -0
  264. package/src/funcs/internalAccountV1ImagesGet.ts +127 -0
  265. package/src/funcs/internalAccountV1ImagesUpdate.ts +149 -0
  266. package/src/funcs/internalAdminV1GetEvents.ts +132 -0
  267. package/src/funcs/internalAdminV1UpdateEvent.ts +150 -0
  268. package/src/funcs/internalAdminV1UpdateResources.ts +148 -0
  269. package/src/funcs/internalAdminV1UpdateRoles.ts +148 -0
  270. package/src/funcs/internalBadgeV1Search.ts +149 -0
  271. package/src/funcs/internalCheck.ts +133 -0
  272. package/src/funcs/internalCreateDeveloperApp.ts +152 -0
  273. package/src/funcs/internalDeleteDeveloperApp.ts +154 -0
  274. package/src/funcs/internalDeleteImages.ts +149 -0
  275. package/src/funcs/internalGetAccount.ts +149 -0
  276. package/src/funcs/{dataGetStaff.ts → internalGetStaff.ts} +1 -1
  277. package/src/funcs/internalGetTags.ts +132 -0
  278. package/src/funcs/internalSendEmailVerification.ts +156 -0
  279. package/src/funcs/internalUpdateApp.ts +154 -0
  280. package/src/funcs/internalUploadImages.ts +149 -0
  281. package/src/funcs/internalVerifyEmail.ts +149 -0
  282. package/src/funcs/sessionLogin.ts +1 -0
  283. package/src/funcs/settingsUpdate.ts +3 -3
  284. package/src/funcs/settingsVerifyEmail.ts +3 -3
  285. package/src/lib/config.ts +3 -3
  286. package/src/lib/retries.ts +0 -1
  287. package/src/models/components/index.ts +0 -2
  288. package/src/models/components/leaderboardaccount.ts +40 -3
  289. package/src/models/components/v1accountfriend.ts +36 -3
  290. package/src/models/components/v1accountinforesponsebody.ts +18 -14
  291. package/src/models/components/v1accountleaderboardaccount.ts +41 -3
  292. package/src/models/components/v1createsessionbody.ts +21 -0
  293. package/src/models/components/v1getsettingsbody.ts +44 -0
  294. package/src/models/components/v1stats.ts +0 -7
  295. package/src/models/operations/accountv1sessionlogin.ts +6 -0
  296. package/src/models/operations/accountv1settingsupdate.ts +6 -15
  297. package/src/models/operations/accountv1settingsverfyemail.ts +6 -13
  298. package/src/sdk/account.ts +72 -0
  299. package/src/sdk/data.ts +0 -10
  300. package/src/sdk/event.ts +32 -0
  301. package/src/sdk/{public.ts → external.ts} +23 -13
  302. package/src/sdk/internal.ts +266 -0
  303. package/src/sdk/sdk.ts +21 -9
  304. package/funcs/dataGetStaff.d.ts.map +0 -1
  305. package/funcs/dataGetStaff.js.map +0 -1
  306. package/funcs/publicGetApps.d.ts.map +0 -1
  307. package/funcs/publicGetApps.js.map +0 -1
  308. package/funcs/publicGetInfo.d.ts.map +0 -1
  309. package/funcs/publicGetInfo.js.map +0 -1
  310. package/funcs/publicGetLeaderboardHistory.d.ts.map +0 -1
  311. package/funcs/publicGetLeaderboardHistory.js.map +0 -1
  312. package/models/components/v1updatesettingsresponsebody.d.ts +0 -32
  313. package/models/components/v1updatesettingsresponsebody.d.ts.map +0 -1
  314. package/models/components/v1updatesettingsresponsebody.js +0 -68
  315. package/models/components/v1updatesettingsresponsebody.js.map +0 -1
  316. package/models/components/v1verifyemailresponsebody.d.ts +0 -32
  317. package/models/components/v1verifyemailresponsebody.d.ts.map +0 -1
  318. package/models/components/v1verifyemailresponsebody.js +0 -68
  319. package/models/components/v1verifyemailresponsebody.js.map +0 -1
  320. package/sdk/public.d.ts.map +0 -1
  321. package/sdk/public.js +0 -36
  322. package/sdk/public.js.map +0 -1
  323. package/src/models/components/v1updatesettingsresponsebody.ts +0 -80
  324. package/src/models/components/v1verifyemailresponsebody.ts +0 -78
@@ -4,6 +4,7 @@
4
4
 
5
5
  import * as z from "zod";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
10
  import {
@@ -37,6 +38,21 @@ import {
37
38
  Role$outboundSchema,
38
39
  } from "./role.js";
39
40
 
41
+ /**
42
+ * The privacy of the account
43
+ */
44
+ export const LeaderboardAccountPrivacy = {
45
+ Public: "public",
46
+ Private: "private",
47
+ FriendsOnly: "friends_only",
48
+ } as const;
49
+ /**
50
+ * The privacy of the account
51
+ */
52
+ export type LeaderboardAccountPrivacy = ClosedEnum<
53
+ typeof LeaderboardAccountPrivacy
54
+ >;
55
+
40
56
  export type LeaderboardAccount = {
41
57
  /**
42
58
  * The cost of an app
@@ -131,7 +147,7 @@ export type LeaderboardAccount = {
131
147
  /**
132
148
  * The privacy of the account
133
149
  */
134
- privacy: string;
150
+ privacy: LeaderboardAccountPrivacy;
135
151
  region?: LeaderboardRegion | null | undefined;
136
152
  /**
137
153
  * The roles of the account
@@ -164,6 +180,27 @@ export type LeaderboardAccount = {
164
180
  xp: number;
165
181
  };
166
182
 
183
+ /** @internal */
184
+ export const LeaderboardAccountPrivacy$inboundSchema: z.ZodNativeEnum<
185
+ typeof LeaderboardAccountPrivacy
186
+ > = z.nativeEnum(LeaderboardAccountPrivacy);
187
+
188
+ /** @internal */
189
+ export const LeaderboardAccountPrivacy$outboundSchema: z.ZodNativeEnum<
190
+ typeof LeaderboardAccountPrivacy
191
+ > = LeaderboardAccountPrivacy$inboundSchema;
192
+
193
+ /**
194
+ * @internal
195
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
196
+ */
197
+ export namespace LeaderboardAccountPrivacy$ {
198
+ /** @deprecated use `LeaderboardAccountPrivacy$inboundSchema` instead. */
199
+ export const inboundSchema = LeaderboardAccountPrivacy$inboundSchema;
200
+ /** @deprecated use `LeaderboardAccountPrivacy$outboundSchema` instead. */
201
+ export const outboundSchema = LeaderboardAccountPrivacy$outboundSchema;
202
+ }
203
+
167
204
  /** @internal */
168
205
  export const LeaderboardAccount$inboundSchema: z.ZodType<
169
206
  LeaderboardAccount,
@@ -194,7 +231,7 @@ export const LeaderboardAccount$inboundSchema: z.ZodType<
194
231
  playtime: z.number().int(),
195
232
  pointsGiven: z.number().int(),
196
233
  pointsReceived: z.number().int(),
197
- privacy: z.string(),
234
+ privacy: LeaderboardAccountPrivacy$inboundSchema,
198
235
  region: z.nullable(LeaderboardRegion$inboundSchema).optional(),
199
236
  roles: z.nullable(z.array(Role$inboundSchema)),
200
237
  state: z.nullable(LeaderboardState$inboundSchema).optional(),
@@ -274,7 +311,7 @@ export const LeaderboardAccount$outboundSchema: z.ZodType<
274
311
  playtime: z.number().int(),
275
312
  pointsGiven: z.number().int(),
276
313
  pointsReceived: z.number().int(),
277
- privacy: z.string(),
314
+ privacy: LeaderboardAccountPrivacy$outboundSchema,
278
315
  region: z.nullable(LeaderboardRegion$outboundSchema).optional(),
279
316
  roles: z.nullable(z.array(Role$outboundSchema)),
280
317
  state: z.nullable(LeaderboardState$outboundSchema).optional(),
@@ -4,6 +4,7 @@
4
4
 
5
5
  import * as z from "zod";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
10
  import {
@@ -37,6 +38,19 @@ import {
37
38
  Role$outboundSchema,
38
39
  } from "./role.js";
39
40
 
41
+ /**
42
+ * The privacy of the account
43
+ */
44
+ export const Privacy = {
45
+ Public: "public",
46
+ Private: "private",
47
+ FriendsOnly: "friends_only",
48
+ } as const;
49
+ /**
50
+ * The privacy of the account
51
+ */
52
+ export type Privacy = ClosedEnum<typeof Privacy>;
53
+
40
54
  export type V1AccountFriend = {
41
55
  /**
42
56
  * The cost of an app
@@ -132,7 +146,7 @@ export type V1AccountFriend = {
132
146
  /**
133
147
  * The privacy of the account
134
148
  */
135
- privacy: string;
149
+ privacy: Privacy;
136
150
  region?: LeaderboardRegion | null | undefined;
137
151
  /**
138
152
  * The roles of the account
@@ -165,6 +179,25 @@ export type V1AccountFriend = {
165
179
  xp: number;
166
180
  };
167
181
 
182
+ /** @internal */
183
+ export const Privacy$inboundSchema: z.ZodNativeEnum<typeof Privacy> = z
184
+ .nativeEnum(Privacy);
185
+
186
+ /** @internal */
187
+ export const Privacy$outboundSchema: z.ZodNativeEnum<typeof Privacy> =
188
+ Privacy$inboundSchema;
189
+
190
+ /**
191
+ * @internal
192
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
193
+ */
194
+ export namespace Privacy$ {
195
+ /** @deprecated use `Privacy$inboundSchema` instead. */
196
+ export const inboundSchema = Privacy$inboundSchema;
197
+ /** @deprecated use `Privacy$outboundSchema` instead. */
198
+ export const outboundSchema = Privacy$outboundSchema;
199
+ }
200
+
168
201
  /** @internal */
169
202
  export const V1AccountFriend$inboundSchema: z.ZodType<
170
203
  V1AccountFriend,
@@ -198,7 +231,7 @@ export const V1AccountFriend$inboundSchema: z.ZodType<
198
231
  playtime: z.number().int(),
199
232
  pointsGiven: z.number().int(),
200
233
  pointsReceived: z.number().int(),
201
- privacy: z.string(),
234
+ privacy: Privacy$inboundSchema,
202
235
  region: z.nullable(LeaderboardRegion$inboundSchema).optional(),
203
236
  roles: z.nullable(z.array(Role$inboundSchema)),
204
237
  state: z.nullable(LeaderboardState$inboundSchema).optional(),
@@ -280,7 +313,7 @@ export const V1AccountFriend$outboundSchema: z.ZodType<
280
313
  playtime: z.number().int(),
281
314
  pointsGiven: z.number().int(),
282
315
  pointsReceived: z.number().int(),
283
- privacy: z.string(),
316
+ privacy: Privacy$outboundSchema,
284
317
  region: z.nullable(LeaderboardRegion$outboundSchema).optional(),
285
318
  roles: z.nullable(z.array(Role$outboundSchema)),
286
319
  state: z.nullable(LeaderboardState$outboundSchema).optional(),
@@ -96,7 +96,7 @@ export type LastQueueStatus = ClosedEnum<typeof LastQueueStatus>;
96
96
  /**
97
97
  * The privacy of the account
98
98
  */
99
- export const Privacy = {
99
+ export const V1AccountInfoResponseBodyPrivacy = {
100
100
  Private: "private",
101
101
  Public: "public",
102
102
  FriendsOnly: "friends_only",
@@ -104,7 +104,9 @@ export const Privacy = {
104
104
  /**
105
105
  * The privacy of the account
106
106
  */
107
- export type Privacy = ClosedEnum<typeof Privacy>;
107
+ export type V1AccountInfoResponseBodyPrivacy = ClosedEnum<
108
+ typeof V1AccountInfoResponseBodyPrivacy
109
+ >;
108
110
 
109
111
  export type V1AccountInfoResponseBody = {
110
112
  /**
@@ -257,7 +259,7 @@ export type V1AccountInfoResponseBody = {
257
259
  /**
258
260
  * The privacy of the account
259
261
  */
260
- privacy: Privacy;
262
+ privacy: V1AccountInfoResponseBodyPrivacy;
261
263
  region?: LeaderboardRegion | null | undefined;
262
264
  /**
263
265
  * The roles of the account
@@ -364,22 +366,24 @@ export namespace LastQueueStatus$ {
364
366
  }
365
367
 
366
368
  /** @internal */
367
- export const Privacy$inboundSchema: z.ZodNativeEnum<typeof Privacy> = z
368
- .nativeEnum(Privacy);
369
+ export const V1AccountInfoResponseBodyPrivacy$inboundSchema: z.ZodNativeEnum<
370
+ typeof V1AccountInfoResponseBodyPrivacy
371
+ > = z.nativeEnum(V1AccountInfoResponseBodyPrivacy);
369
372
 
370
373
  /** @internal */
371
- export const Privacy$outboundSchema: z.ZodNativeEnum<typeof Privacy> =
372
- Privacy$inboundSchema;
374
+ export const V1AccountInfoResponseBodyPrivacy$outboundSchema: z.ZodNativeEnum<
375
+ typeof V1AccountInfoResponseBodyPrivacy
376
+ > = V1AccountInfoResponseBodyPrivacy$inboundSchema;
373
377
 
374
378
  /**
375
379
  * @internal
376
380
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
377
381
  */
378
- export namespace Privacy$ {
379
- /** @deprecated use `Privacy$inboundSchema` instead. */
380
- export const inboundSchema = Privacy$inboundSchema;
381
- /** @deprecated use `Privacy$outboundSchema` instead. */
382
- export const outboundSchema = Privacy$outboundSchema;
382
+ export namespace V1AccountInfoResponseBodyPrivacy$ {
383
+ /** @deprecated use `V1AccountInfoResponseBodyPrivacy$inboundSchema` instead. */
384
+ export const inboundSchema = V1AccountInfoResponseBodyPrivacy$inboundSchema;
385
+ /** @deprecated use `V1AccountInfoResponseBodyPrivacy$outboundSchema` instead. */
386
+ export const outboundSchema = V1AccountInfoResponseBodyPrivacy$outboundSchema;
383
387
  }
384
388
 
385
389
  /** @internal */
@@ -431,7 +435,7 @@ export const V1AccountInfoResponseBody$inboundSchema: z.ZodType<
431
435
  playtime: z.number().int(),
432
436
  pointsGiven: z.number().int(),
433
437
  pointsReceived: z.number().int(),
434
- privacy: Privacy$inboundSchema,
438
+ privacy: V1AccountInfoResponseBodyPrivacy$inboundSchema,
435
439
  region: z.nullable(LeaderboardRegion$inboundSchema).optional(),
436
440
  roles: z.nullable(z.array(Role$inboundSchema)),
437
441
  shortlinkDomain: z.nullable(z.string()),
@@ -553,7 +557,7 @@ export const V1AccountInfoResponseBody$outboundSchema: z.ZodType<
553
557
  playtime: z.number().int(),
554
558
  pointsGiven: z.number().int(),
555
559
  pointsReceived: z.number().int(),
556
- privacy: Privacy$outboundSchema,
560
+ privacy: V1AccountInfoResponseBodyPrivacy$outboundSchema,
557
561
  region: z.nullable(LeaderboardRegion$outboundSchema).optional(),
558
562
  roles: z.nullable(z.array(Role$outboundSchema)),
559
563
  shortlinkDomain: z.nullable(z.string()),
@@ -4,6 +4,7 @@
4
4
 
5
5
  import * as z from "zod";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
10
  import {
@@ -43,6 +44,21 @@ import {
43
44
  Role$outboundSchema,
44
45
  } from "./role.js";
45
46
 
47
+ /**
48
+ * The privacy of the account
49
+ */
50
+ export const V1AccountLeaderboardAccountPrivacy = {
51
+ Public: "public",
52
+ Private: "private",
53
+ FriendsOnly: "friends_only",
54
+ } as const;
55
+ /**
56
+ * The privacy of the account
57
+ */
58
+ export type V1AccountLeaderboardAccountPrivacy = ClosedEnum<
59
+ typeof V1AccountLeaderboardAccountPrivacy
60
+ >;
61
+
46
62
  export type V1AccountLeaderboardAccount = {
47
63
  /**
48
64
  * The cost of an app
@@ -142,7 +158,7 @@ export type V1AccountLeaderboardAccount = {
142
158
  /**
143
159
  * The privacy of the account
144
160
  */
145
- privacy: string;
161
+ privacy: V1AccountLeaderboardAccountPrivacy;
146
162
  /**
147
163
  * The rank of the account
148
164
  */
@@ -179,6 +195,28 @@ export type V1AccountLeaderboardAccount = {
179
195
  xp: number;
180
196
  };
181
197
 
198
+ /** @internal */
199
+ export const V1AccountLeaderboardAccountPrivacy$inboundSchema: z.ZodNativeEnum<
200
+ typeof V1AccountLeaderboardAccountPrivacy
201
+ > = z.nativeEnum(V1AccountLeaderboardAccountPrivacy);
202
+
203
+ /** @internal */
204
+ export const V1AccountLeaderboardAccountPrivacy$outboundSchema: z.ZodNativeEnum<
205
+ typeof V1AccountLeaderboardAccountPrivacy
206
+ > = V1AccountLeaderboardAccountPrivacy$inboundSchema;
207
+
208
+ /**
209
+ * @internal
210
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
211
+ */
212
+ export namespace V1AccountLeaderboardAccountPrivacy$ {
213
+ /** @deprecated use `V1AccountLeaderboardAccountPrivacy$inboundSchema` instead. */
214
+ export const inboundSchema = V1AccountLeaderboardAccountPrivacy$inboundSchema;
215
+ /** @deprecated use `V1AccountLeaderboardAccountPrivacy$outboundSchema` instead. */
216
+ export const outboundSchema =
217
+ V1AccountLeaderboardAccountPrivacy$outboundSchema;
218
+ }
219
+
182
220
  /** @internal */
183
221
  export const V1AccountLeaderboardAccount$inboundSchema: z.ZodType<
184
222
  V1AccountLeaderboardAccount,
@@ -211,7 +249,7 @@ export const V1AccountLeaderboardAccount$inboundSchema: z.ZodType<
211
249
  playtime: z.number().int(),
212
250
  pointsGiven: z.number().int(),
213
251
  pointsReceived: z.number().int(),
214
- privacy: z.string(),
252
+ privacy: V1AccountLeaderboardAccountPrivacy$inboundSchema,
215
253
  rank: z.number().int(),
216
254
  region: z.nullable(LeaderboardRegion$inboundSchema).optional(),
217
255
  roles: z.nullable(z.array(Role$inboundSchema)),
@@ -297,7 +335,7 @@ export const V1AccountLeaderboardAccount$outboundSchema: z.ZodType<
297
335
  playtime: z.number().int(),
298
336
  pointsGiven: z.number().int(),
299
337
  pointsReceived: z.number().int(),
300
- privacy: z.string(),
338
+ privacy: V1AccountLeaderboardAccountPrivacy$outboundSchema,
301
339
  rank: z.number().int(),
302
340
  region: z.nullable(LeaderboardRegion$outboundSchema).optional(),
303
341
  roles: z.nullable(z.array(Role$outboundSchema)),
@@ -13,6 +13,18 @@ export type V1CreateSessionBody = {
13
13
  * A URL to the JSON Schema for this object.
14
14
  */
15
15
  dollarSchema?: string | undefined;
16
+ /**
17
+ * The ratelimit limit
18
+ */
19
+ limit: number;
20
+ /**
21
+ * The ratelimit remain
22
+ */
23
+ remain: number;
24
+ /**
25
+ * The ratelimit reset
26
+ */
27
+ reset: string;
16
28
  /**
17
29
  * The session token
18
30
  */
@@ -26,6 +38,9 @@ export const V1CreateSessionBody$inboundSchema: z.ZodType<
26
38
  unknown
27
39
  > = z.object({
28
40
  $schema: z.string().optional(),
41
+ limit: z.number().int(),
42
+ remain: z.number().int(),
43
+ reset: z.string(),
29
44
  sessionToken: z.string(),
30
45
  }).transform((v) => {
31
46
  return remap$(v, {
@@ -36,6 +51,9 @@ export const V1CreateSessionBody$inboundSchema: z.ZodType<
36
51
  /** @internal */
37
52
  export type V1CreateSessionBody$Outbound = {
38
53
  $schema?: string | undefined;
54
+ limit: number;
55
+ remain: number;
56
+ reset: string;
39
57
  sessionToken: string;
40
58
  };
41
59
 
@@ -46,6 +64,9 @@ export const V1CreateSessionBody$outboundSchema: z.ZodType<
46
64
  V1CreateSessionBody
47
65
  > = z.object({
48
66
  dollarSchema: z.string().optional(),
67
+ limit: z.number().int(),
68
+ remain: z.number().int(),
69
+ reset: z.string(),
49
70
  sessionToken: z.string(),
50
71
  }).transform((v) => {
51
72
  return remap$(v, {
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
+ import { ClosedEnum } from "../../types/enums.js";
8
9
  import { Result as SafeParseResult } from "../../types/fp.js";
9
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
11
  import {
@@ -44,6 +45,21 @@ import {
44
45
  V1VanityAnalytics$outboundSchema,
45
46
  } from "./v1vanityanalytics.js";
46
47
 
48
+ /**
49
+ * The privacy of the account
50
+ */
51
+ export const V1GetSettingsBodyPrivacy = {
52
+ Public: "public",
53
+ Private: "private",
54
+ FriendsOnly: "friends_only",
55
+ } as const;
56
+ /**
57
+ * The privacy of the account
58
+ */
59
+ export type V1GetSettingsBodyPrivacy = ClosedEnum<
60
+ typeof V1GetSettingsBodyPrivacy
61
+ >;
62
+
47
63
  export type V1GetSettingsBody = {
48
64
  /**
49
65
  * A URL to the JSON Schema for this object.
@@ -80,6 +96,10 @@ export type V1GetSettingsBody = {
80
96
  * The language the account is using
81
97
  */
82
98
  language: string;
99
+ /**
100
+ * The privacy of the account
101
+ */
102
+ privacy: V1GetSettingsBodyPrivacy;
83
103
  /**
84
104
  * The sessions the account has
85
105
  */
@@ -91,6 +111,27 @@ export type V1GetSettingsBody = {
91
111
  vanityAnalytics: V1VanityAnalytics | null;
92
112
  };
93
113
 
114
+ /** @internal */
115
+ export const V1GetSettingsBodyPrivacy$inboundSchema: z.ZodNativeEnum<
116
+ typeof V1GetSettingsBodyPrivacy
117
+ > = z.nativeEnum(V1GetSettingsBodyPrivacy);
118
+
119
+ /** @internal */
120
+ export const V1GetSettingsBodyPrivacy$outboundSchema: z.ZodNativeEnum<
121
+ typeof V1GetSettingsBodyPrivacy
122
+ > = V1GetSettingsBodyPrivacy$inboundSchema;
123
+
124
+ /**
125
+ * @internal
126
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
127
+ */
128
+ export namespace V1GetSettingsBodyPrivacy$ {
129
+ /** @deprecated use `V1GetSettingsBodyPrivacy$inboundSchema` instead. */
130
+ export const inboundSchema = V1GetSettingsBodyPrivacy$inboundSchema;
131
+ /** @deprecated use `V1GetSettingsBodyPrivacy$outboundSchema` instead. */
132
+ export const outboundSchema = V1GetSettingsBodyPrivacy$outboundSchema;
133
+ }
134
+
94
135
  /** @internal */
95
136
  export const V1GetSettingsBody$inboundSchema: z.ZodType<
96
137
  V1GetSettingsBody,
@@ -108,6 +149,7 @@ export const V1GetSettingsBody$inboundSchema: z.ZodType<
108
149
  hidden: z.boolean(),
109
150
  images: z.nullable(z.array(Image$inboundSchema)),
110
151
  language: z.string(),
152
+ privacy: V1GetSettingsBodyPrivacy$inboundSchema,
111
153
  sessions: z.nullable(z.array(Session$inboundSchema)),
112
154
  vanity: z.string(),
113
155
  vanityAnalytics: z.nullable(V1VanityAnalytics$inboundSchema),
@@ -128,6 +170,7 @@ export type V1GetSettingsBody$Outbound = {
128
170
  hidden: boolean;
129
171
  images: Array<Image$Outbound> | null;
130
172
  language: string;
173
+ privacy: string;
131
174
  sessions: Array<Session$Outbound> | null;
132
175
  vanity: string;
133
176
  vanityAnalytics: V1VanityAnalytics$Outbound | null;
@@ -148,6 +191,7 @@ export const V1GetSettingsBody$outboundSchema: z.ZodType<
148
191
  hidden: z.boolean(),
149
192
  images: z.nullable(z.array(Image$outboundSchema)),
150
193
  language: z.string(),
194
+ privacy: V1GetSettingsBodyPrivacy$outboundSchema,
151
195
  sessions: z.nullable(z.array(Session$outboundSchema)),
152
196
  vanity: z.string(),
153
197
  vanityAnalytics: z.nullable(V1VanityAnalytics$outboundSchema),
@@ -21,10 +21,6 @@ export type V1Stats = {
21
21
  * The total number of accounts updated
22
22
  */
23
23
  accountsUpdated: number;
24
- /**
25
- * The total cost of apps
26
- */
27
- appCost: number;
28
24
  /**
29
25
  * The total playtime of apps
30
26
  */
@@ -105,7 +101,6 @@ export const V1Stats$inboundSchema: z.ZodType<V1Stats, z.ZodTypeDef, unknown> =
105
101
  $schema: z.string().optional(),
106
102
  accountsAdded: z.number().int(),
107
103
  accountsUpdated: z.number().int(),
108
- appCost: z.number().int(),
109
104
  appPlaytime: z.number().int(),
110
105
  apps: z.number().int(),
111
106
  awardsGiven: z.number().int(),
@@ -135,7 +130,6 @@ export type V1Stats$Outbound = {
135
130
  $schema?: string | undefined;
136
131
  accountsAdded: number;
137
132
  accountsUpdated: number;
138
- appCost: number;
139
133
  appPlaytime: number;
140
134
  apps: number;
141
135
  awardsGiven: number;
@@ -165,7 +159,6 @@ export const V1Stats$outboundSchema: z.ZodType<
165
159
  dollarSchema: z.string().optional(),
166
160
  accountsAdded: z.number().int(),
167
161
  accountsUpdated: z.number().int(),
168
- appCost: z.number().int(),
169
162
  appPlaytime: z.number().int(),
170
163
  apps: z.number().int(),
171
164
  awardsGiven: z.number().int(),
@@ -21,6 +21,7 @@ export type AccountV1SessionLoginResponse = {
21
21
  * OK
22
22
  */
23
23
  v1LoginResponseBody?: components.V1LoginResponseBody | undefined;
24
+ headers: { [k: string]: Array<string> };
24
25
  };
25
26
 
26
27
  /** @internal */
@@ -105,10 +106,12 @@ export const AccountV1SessionLoginResponse$inboundSchema: z.ZodType<
105
106
  > = z.object({
106
107
  HttpMeta: components.HTTPMetadata$inboundSchema,
107
108
  V1LoginResponseBody: components.V1LoginResponseBody$inboundSchema.optional(),
109
+ Headers: z.record(z.array(z.string())),
108
110
  }).transform((v) => {
109
111
  return remap$(v, {
110
112
  "HttpMeta": "httpMeta",
111
113
  "V1LoginResponseBody": "v1LoginResponseBody",
114
+ "Headers": "headers",
112
115
  });
113
116
  });
114
117
 
@@ -116,6 +119,7 @@ export const AccountV1SessionLoginResponse$inboundSchema: z.ZodType<
116
119
  export type AccountV1SessionLoginResponse$Outbound = {
117
120
  HttpMeta: components.HTTPMetadata$Outbound;
118
121
  V1LoginResponseBody?: components.V1LoginResponseBody$Outbound | undefined;
122
+ Headers: { [k: string]: Array<string> };
119
123
  };
120
124
 
121
125
  /** @internal */
@@ -126,10 +130,12 @@ export const AccountV1SessionLoginResponse$outboundSchema: z.ZodType<
126
130
  > = z.object({
127
131
  httpMeta: components.HTTPMetadata$outboundSchema,
128
132
  v1LoginResponseBody: components.V1LoginResponseBody$outboundSchema.optional(),
133
+ headers: z.record(z.array(z.string())),
129
134
  }).transform((v) => {
130
135
  return remap$(v, {
131
136
  httpMeta: "HttpMeta",
132
137
  v1LoginResponseBody: "V1LoginResponseBody",
138
+ headers: "Headers",
133
139
  });
134
140
  });
135
141
 
@@ -16,12 +16,7 @@ export type AccountV1SettingsUpdateRequest = {
16
16
 
17
17
  export type AccountV1SettingsUpdateResponse = {
18
18
  httpMeta: components.HTTPMetadata;
19
- /**
20
- * OK
21
- */
22
- v1UpdateSettingsResponseBody?:
23
- | components.V1UpdateSettingsResponseBody
24
- | undefined;
19
+ headers: { [k: string]: Array<string> };
25
20
  };
26
21
 
27
22
  /** @internal */
@@ -102,21 +97,18 @@ export const AccountV1SettingsUpdateResponse$inboundSchema: z.ZodType<
102
97
  unknown
103
98
  > = z.object({
104
99
  HttpMeta: components.HTTPMetadata$inboundSchema,
105
- V1UpdateSettingsResponseBody: components
106
- .V1UpdateSettingsResponseBody$inboundSchema.optional(),
100
+ Headers: z.record(z.array(z.string())),
107
101
  }).transform((v) => {
108
102
  return remap$(v, {
109
103
  "HttpMeta": "httpMeta",
110
- "V1UpdateSettingsResponseBody": "v1UpdateSettingsResponseBody",
104
+ "Headers": "headers",
111
105
  });
112
106
  });
113
107
 
114
108
  /** @internal */
115
109
  export type AccountV1SettingsUpdateResponse$Outbound = {
116
110
  HttpMeta: components.HTTPMetadata$Outbound;
117
- V1UpdateSettingsResponseBody?:
118
- | components.V1UpdateSettingsResponseBody$Outbound
119
- | undefined;
111
+ Headers: { [k: string]: Array<string> };
120
112
  };
121
113
 
122
114
  /** @internal */
@@ -126,12 +118,11 @@ export const AccountV1SettingsUpdateResponse$outboundSchema: z.ZodType<
126
118
  AccountV1SettingsUpdateResponse
127
119
  > = z.object({
128
120
  httpMeta: components.HTTPMetadata$outboundSchema,
129
- v1UpdateSettingsResponseBody: components
130
- .V1UpdateSettingsResponseBody$outboundSchema.optional(),
121
+ headers: z.record(z.array(z.string())),
131
122
  }).transform((v) => {
132
123
  return remap$(v, {
133
124
  httpMeta: "HttpMeta",
134
- v1UpdateSettingsResponseBody: "V1UpdateSettingsResponseBody",
125
+ headers: "Headers",
135
126
  });
136
127
  });
137
128
 
@@ -11,10 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  export type AccountV1SettingsVerfyEmailResponse = {
13
13
  httpMeta: components.HTTPMetadata;
14
- /**
15
- * OK
16
- */
17
- v1VerifyEmailResponseBody?: components.V1VerifyEmailResponseBody | undefined;
14
+ headers: { [k: string]: Array<string> };
18
15
  };
19
16
 
20
17
  /** @internal */
@@ -24,21 +21,18 @@ export const AccountV1SettingsVerfyEmailResponse$inboundSchema: z.ZodType<
24
21
  unknown
25
22
  > = z.object({
26
23
  HttpMeta: components.HTTPMetadata$inboundSchema,
27
- V1VerifyEmailResponseBody: components.V1VerifyEmailResponseBody$inboundSchema
28
- .optional(),
24
+ Headers: z.record(z.array(z.string())),
29
25
  }).transform((v) => {
30
26
  return remap$(v, {
31
27
  "HttpMeta": "httpMeta",
32
- "V1VerifyEmailResponseBody": "v1VerifyEmailResponseBody",
28
+ "Headers": "headers",
33
29
  });
34
30
  });
35
31
 
36
32
  /** @internal */
37
33
  export type AccountV1SettingsVerfyEmailResponse$Outbound = {
38
34
  HttpMeta: components.HTTPMetadata$Outbound;
39
- V1VerifyEmailResponseBody?:
40
- | components.V1VerifyEmailResponseBody$Outbound
41
- | undefined;
35
+ Headers: { [k: string]: Array<string> };
42
36
  };
43
37
 
44
38
  /** @internal */
@@ -48,12 +42,11 @@ export const AccountV1SettingsVerfyEmailResponse$outboundSchema: z.ZodType<
48
42
  AccountV1SettingsVerfyEmailResponse
49
43
  > = z.object({
50
44
  httpMeta: components.HTTPMetadata$outboundSchema,
51
- v1VerifyEmailResponseBody: components.V1VerifyEmailResponseBody$outboundSchema
52
- .optional(),
45
+ headers: z.record(z.array(z.string())),
53
46
  }).transform((v) => {
54
47
  return remap$(v, {
55
48
  httpMeta: "HttpMeta",
56
- v1VerifyEmailResponseBody: "V1VerifyEmailResponseBody",
49
+ headers: "Headers",
57
50
  });
58
51
  });
59
52