@steamsets/client-ts 0.14.3 → 0.14.4

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 (325) hide show
  1. package/README.md +2 -0
  2. package/docs/sdks/account/README.md +3 -4
  3. package/docs/sdks/badge/README.md +85 -4
  4. package/funcs/accountAccountV1GetBadgeBookmarks.d.ts +1 -2
  5. package/funcs/accountAccountV1GetBadgeBookmarks.d.ts.map +1 -1
  6. package/funcs/accountAccountV1GetBadgeBookmarks.js +4 -4
  7. package/funcs/accountAccountV1GetBadgeBookmarks.js.map +1 -1
  8. package/funcs/accountAccountV1ImagesGet.d.ts.map +1 -1
  9. package/funcs/accountAccountV1ImagesGet.js +1 -0
  10. package/funcs/accountAccountV1ImagesGet.js.map +1 -1
  11. package/funcs/accountAccountV1ImagesUpdate.d.ts.map +1 -1
  12. package/funcs/accountAccountV1ImagesUpdate.js +1 -0
  13. package/funcs/accountAccountV1ImagesUpdate.js.map +1 -1
  14. package/funcs/accountDeleteImages.d.ts.map +1 -1
  15. package/funcs/accountDeleteImages.js +1 -0
  16. package/funcs/accountDeleteImages.js.map +1 -1
  17. package/funcs/accountGetApps.d.ts.map +1 -1
  18. package/funcs/accountGetApps.js +1 -0
  19. package/funcs/accountGetApps.js.map +1 -1
  20. package/funcs/accountGetBadges.d.ts.map +1 -1
  21. package/funcs/accountGetBadges.js +1 -0
  22. package/funcs/accountGetBadges.js.map +1 -1
  23. package/funcs/accountGetDataPoints.d.ts.map +1 -1
  24. package/funcs/accountGetDataPoints.js +1 -0
  25. package/funcs/accountGetDataPoints.js.map +1 -1
  26. package/funcs/accountGetFriends.d.ts.map +1 -1
  27. package/funcs/accountGetFriends.js +1 -0
  28. package/funcs/accountGetFriends.js.map +1 -1
  29. package/funcs/accountGetInfo.d.ts.map +1 -1
  30. package/funcs/accountGetInfo.js +1 -0
  31. package/funcs/accountGetInfo.js.map +1 -1
  32. package/funcs/accountGetLeaderboardHistory.d.ts.map +1 -1
  33. package/funcs/accountGetLeaderboardHistory.js +1 -0
  34. package/funcs/accountGetLeaderboardHistory.js.map +1 -1
  35. package/funcs/accountGetStaff.d.ts.map +1 -1
  36. package/funcs/accountGetStaff.js +1 -0
  37. package/funcs/accountGetStaff.js.map +1 -1
  38. package/funcs/accountSendEmailVerification.d.ts.map +1 -1
  39. package/funcs/accountSendEmailVerification.js +1 -0
  40. package/funcs/accountSendEmailVerification.js.map +1 -1
  41. package/funcs/accountUploadImages.d.ts.map +1 -1
  42. package/funcs/accountUploadImages.js +1 -0
  43. package/funcs/accountUploadImages.js.map +1 -1
  44. package/funcs/accountVerifyEmail.d.ts.map +1 -1
  45. package/funcs/accountVerifyEmail.js +1 -0
  46. package/funcs/accountVerifyEmail.js.map +1 -1
  47. package/funcs/accountsQueue.d.ts.map +1 -1
  48. package/funcs/accountsQueue.js +1 -0
  49. package/funcs/accountsQueue.js.map +1 -1
  50. package/funcs/adminAdminV1GetEvents.d.ts.map +1 -1
  51. package/funcs/adminAdminV1GetEvents.js +1 -0
  52. package/funcs/adminAdminV1GetEvents.js.map +1 -1
  53. package/funcs/adminAdminV1UpdateEvent.d.ts.map +1 -1
  54. package/funcs/adminAdminV1UpdateEvent.js +1 -0
  55. package/funcs/adminAdminV1UpdateEvent.js.map +1 -1
  56. package/funcs/adminAdminV1UpdateResources.d.ts.map +1 -1
  57. package/funcs/adminAdminV1UpdateResources.js +1 -0
  58. package/funcs/adminAdminV1UpdateResources.js.map +1 -1
  59. package/funcs/adminAdminV1UpdateRoles.d.ts.map +1 -1
  60. package/funcs/adminAdminV1UpdateRoles.js +1 -0
  61. package/funcs/adminAdminV1UpdateRoles.js.map +1 -1
  62. package/funcs/adminGetAccount.d.ts.map +1 -1
  63. package/funcs/adminGetAccount.js +1 -0
  64. package/funcs/adminGetAccount.js.map +1 -1
  65. package/funcs/badgeAccountV1BookmarkBadge.d.ts.map +1 -1
  66. package/funcs/badgeAccountV1BookmarkBadge.js +1 -0
  67. package/funcs/badgeAccountV1BookmarkBadge.js.map +1 -1
  68. package/funcs/badgeAccountV1GetBadgeBookmarks.d.ts +1 -2
  69. package/funcs/badgeAccountV1GetBadgeBookmarks.d.ts.map +1 -1
  70. package/funcs/badgeAccountV1GetBadgeBookmarks.js +4 -4
  71. package/funcs/badgeAccountV1GetBadgeBookmarks.js.map +1 -1
  72. package/funcs/badgeBadgeV1Search.d.ts +11 -0
  73. package/funcs/badgeBadgeV1Search.d.ts.map +1 -0
  74. package/funcs/badgeBadgeV1Search.js +110 -0
  75. package/funcs/badgeBadgeV1Search.js.map +1 -0
  76. package/funcs/badgeGetTags.d.ts.map +1 -1
  77. package/funcs/badgeGetTags.js +1 -0
  78. package/funcs/badgeGetTags.js.map +1 -1
  79. package/funcs/badgesTag.d.ts.map +1 -1
  80. package/funcs/badgesTag.js +3 -4
  81. package/funcs/badgesTag.js.map +1 -1
  82. package/funcs/connectionDelete.d.ts.map +1 -1
  83. package/funcs/connectionDelete.js +1 -0
  84. package/funcs/connectionDelete.js.map +1 -1
  85. package/funcs/connectionUpdate.d.ts.map +1 -1
  86. package/funcs/connectionUpdate.js +1 -0
  87. package/funcs/connectionUpdate.js.map +1 -1
  88. package/funcs/connectionVerify.d.ts.map +1 -1
  89. package/funcs/connectionVerify.js +1 -0
  90. package/funcs/connectionVerify.js.map +1 -1
  91. package/funcs/connectionsConnect.d.ts.map +1 -1
  92. package/funcs/connectionsConnect.js +1 -0
  93. package/funcs/connectionsConnect.js.map +1 -1
  94. package/funcs/dataGetApps.d.ts.map +1 -1
  95. package/funcs/dataGetApps.js +1 -0
  96. package/funcs/dataGetApps.js.map +1 -1
  97. package/funcs/dataGetBadges.d.ts.map +1 -1
  98. package/funcs/dataGetBadges.js +1 -0
  99. package/funcs/dataGetBadges.js.map +1 -1
  100. package/funcs/dataGetDataPoints.d.ts.map +1 -1
  101. package/funcs/dataGetDataPoints.js +1 -0
  102. package/funcs/dataGetDataPoints.js.map +1 -1
  103. package/funcs/dataGetFriends.d.ts.map +1 -1
  104. package/funcs/dataGetFriends.js +1 -0
  105. package/funcs/dataGetFriends.js.map +1 -1
  106. package/funcs/dataGetInfo.d.ts.map +1 -1
  107. package/funcs/dataGetInfo.js +1 -0
  108. package/funcs/dataGetInfo.js.map +1 -1
  109. package/funcs/dataGetLeaderboardHistory.d.ts.map +1 -1
  110. package/funcs/dataGetLeaderboardHistory.js +1 -0
  111. package/funcs/dataGetLeaderboardHistory.js.map +1 -1
  112. package/funcs/dataGetStaff.d.ts.map +1 -1
  113. package/funcs/dataGetStaff.js +1 -0
  114. package/funcs/dataGetStaff.js.map +1 -1
  115. package/funcs/developerCreateDeveloperApp.d.ts.map +1 -1
  116. package/funcs/developerCreateDeveloperApp.js +1 -0
  117. package/funcs/developerCreateDeveloperApp.js.map +1 -1
  118. package/funcs/developerDeleteDeveloperApp.d.ts.map +1 -1
  119. package/funcs/developerDeleteDeveloperApp.js +1 -0
  120. package/funcs/developerDeleteDeveloperApp.js.map +1 -1
  121. package/funcs/developerUpdateApp.d.ts.map +1 -1
  122. package/funcs/developerUpdateApp.js +1 -0
  123. package/funcs/developerUpdateApp.js.map +1 -1
  124. package/funcs/imagesAccountV1ImagesGet.d.ts.map +1 -1
  125. package/funcs/imagesAccountV1ImagesGet.js +1 -0
  126. package/funcs/imagesAccountV1ImagesGet.js.map +1 -1
  127. package/funcs/imagesAccountV1ImagesUpdate.d.ts.map +1 -1
  128. package/funcs/imagesAccountV1ImagesUpdate.js +1 -0
  129. package/funcs/imagesAccountV1ImagesUpdate.js.map +1 -1
  130. package/funcs/imagesDeleteImages.d.ts.map +1 -1
  131. package/funcs/imagesDeleteImages.js +1 -0
  132. package/funcs/imagesDeleteImages.js.map +1 -1
  133. package/funcs/imagesUploadImages.d.ts.map +1 -1
  134. package/funcs/imagesUploadImages.js +1 -0
  135. package/funcs/imagesUploadImages.js.map +1 -1
  136. package/funcs/leaderboardGetAccount.d.ts.map +1 -1
  137. package/funcs/leaderboardGetAccount.js +1 -0
  138. package/funcs/leaderboardGetAccount.js.map +1 -1
  139. package/funcs/leaderboardGetBadges.d.ts.map +1 -1
  140. package/funcs/leaderboardGetBadges.js +1 -0
  141. package/funcs/leaderboardGetBadges.js.map +1 -1
  142. package/funcs/leaderboardGetGroup.d.ts.map +1 -1
  143. package/funcs/leaderboardGetGroup.js +1 -0
  144. package/funcs/leaderboardGetGroup.js.map +1 -1
  145. package/funcs/livenessCheck.d.ts.map +1 -1
  146. package/funcs/livenessCheck.js +1 -0
  147. package/funcs/livenessCheck.js.map +1 -1
  148. package/funcs/locationsGet.d.ts.map +1 -1
  149. package/funcs/locationsGet.js +1 -0
  150. package/funcs/locationsGet.js.map +1 -1
  151. package/funcs/metaAccountV1GetEmbed.d.ts.map +1 -1
  152. package/funcs/metaAccountV1GetEmbed.js +1 -0
  153. package/funcs/metaAccountV1GetEmbed.js.map +1 -1
  154. package/funcs/metaAccountV1GetMeta.d.ts.map +1 -1
  155. package/funcs/metaAccountV1GetMeta.js +1 -0
  156. package/funcs/metaAccountV1GetMeta.js.map +1 -1
  157. package/funcs/publicGetApps.d.ts.map +1 -1
  158. package/funcs/publicGetApps.js +1 -0
  159. package/funcs/publicGetApps.js.map +1 -1
  160. package/funcs/publicGetBadges.d.ts.map +1 -1
  161. package/funcs/publicGetBadges.js +1 -0
  162. package/funcs/publicGetBadges.js.map +1 -1
  163. package/funcs/publicGetDataPoints.d.ts.map +1 -1
  164. package/funcs/publicGetDataPoints.js +1 -0
  165. package/funcs/publicGetDataPoints.js.map +1 -1
  166. package/funcs/publicGetFriends.d.ts.map +1 -1
  167. package/funcs/publicGetFriends.js +1 -0
  168. package/funcs/publicGetFriends.js.map +1 -1
  169. package/funcs/publicGetInfo.d.ts.map +1 -1
  170. package/funcs/publicGetInfo.js +1 -0
  171. package/funcs/publicGetInfo.js.map +1 -1
  172. package/funcs/publicGetLeaderboardHistory.d.ts.map +1 -1
  173. package/funcs/publicGetLeaderboardHistory.js +1 -0
  174. package/funcs/publicGetLeaderboardHistory.js.map +1 -1
  175. package/funcs/sessionCreate.d.ts.map +1 -1
  176. package/funcs/sessionCreate.js +1 -0
  177. package/funcs/sessionCreate.js.map +1 -1
  178. package/funcs/sessionLogin.d.ts.map +1 -1
  179. package/funcs/sessionLogin.js +1 -0
  180. package/funcs/sessionLogin.js.map +1 -1
  181. package/funcs/sessionsDelete.d.ts.map +1 -1
  182. package/funcs/sessionsDelete.js +1 -0
  183. package/funcs/sessionsDelete.js.map +1 -1
  184. package/funcs/sessionsGet.d.ts.map +1 -1
  185. package/funcs/sessionsGet.js +1 -0
  186. package/funcs/sessionsGet.js.map +1 -1
  187. package/funcs/settingsGet.d.ts.map +1 -1
  188. package/funcs/settingsGet.js +1 -0
  189. package/funcs/settingsGet.js.map +1 -1
  190. package/funcs/settingsSendEmailVerification.d.ts.map +1 -1
  191. package/funcs/settingsSendEmailVerification.js +1 -0
  192. package/funcs/settingsSendEmailVerification.js.map +1 -1
  193. package/funcs/settingsUpdate.d.ts.map +1 -1
  194. package/funcs/settingsUpdate.js +1 -0
  195. package/funcs/settingsUpdate.js.map +1 -1
  196. package/funcs/settingsVerifyEmail.d.ts.map +1 -1
  197. package/funcs/settingsVerifyEmail.js +1 -0
  198. package/funcs/settingsVerifyEmail.js.map +1 -1
  199. package/lib/config.d.ts +3 -3
  200. package/lib/config.js +3 -3
  201. package/lib/sdks.d.ts +5 -1
  202. package/lib/sdks.d.ts.map +1 -1
  203. package/lib/sdks.js +1 -0
  204. package/lib/sdks.js.map +1 -1
  205. package/models/components/badge.d.ts +67 -0
  206. package/models/components/badge.d.ts.map +1 -0
  207. package/models/components/badge.js +98 -0
  208. package/models/components/badge.js.map +1 -0
  209. package/models/components/index.d.ts +3 -2
  210. package/models/components/index.d.ts.map +1 -1
  211. package/models/components/index.js +3 -2
  212. package/models/components/index.js.map +1 -1
  213. package/models/components/v1badgesearchresponsebody.d.ts +35 -0
  214. package/models/components/v1badgesearchresponsebody.d.ts.map +1 -0
  215. package/models/components/{v1badgetagresponsebody.js → v1badgesearchresponsebody.js} +20 -17
  216. package/models/components/v1badgesearchresponsebody.js.map +1 -0
  217. package/models/components/v1searchrequest.d.ts +43 -0
  218. package/models/components/v1searchrequest.d.ts.map +1 -0
  219. package/models/components/v1searchrequest.js +67 -0
  220. package/models/components/v1searchrequest.js.map +1 -0
  221. package/models/operations/badgev1search.d.ts +35 -0
  222. package/models/operations/badgev1search.d.ts.map +1 -0
  223. package/models/operations/badgev1search.js +75 -0
  224. package/models/operations/badgev1search.js.map +1 -0
  225. package/models/operations/badgev1tag.d.ts +0 -5
  226. package/models/operations/badgev1tag.d.ts.map +1 -1
  227. package/models/operations/badgev1tag.js +0 -6
  228. package/models/operations/badgev1tag.js.map +1 -1
  229. package/models/operations/index.d.ts +1 -0
  230. package/models/operations/index.d.ts.map +1 -1
  231. package/models/operations/index.js +1 -0
  232. package/models/operations/index.js.map +1 -1
  233. package/package.json +1 -1
  234. package/sdk/account.d.ts +1 -1
  235. package/sdk/account.d.ts.map +1 -1
  236. package/sdk/account.js +2 -2
  237. package/sdk/account.js.map +1 -1
  238. package/sdk/badge.d.ts +2 -1
  239. package/sdk/badge.d.ts.map +1 -1
  240. package/sdk/badge.js +6 -2
  241. package/sdk/badge.js.map +1 -1
  242. package/src/funcs/accountAccountV1GetBadgeBookmarks.ts +3 -5
  243. package/src/funcs/accountAccountV1ImagesGet.ts +1 -0
  244. package/src/funcs/accountAccountV1ImagesUpdate.ts +1 -0
  245. package/src/funcs/accountDeleteImages.ts +1 -0
  246. package/src/funcs/accountGetApps.ts +1 -0
  247. package/src/funcs/accountGetBadges.ts +1 -0
  248. package/src/funcs/accountGetDataPoints.ts +1 -0
  249. package/src/funcs/accountGetFriends.ts +1 -0
  250. package/src/funcs/accountGetInfo.ts +1 -0
  251. package/src/funcs/accountGetLeaderboardHistory.ts +1 -0
  252. package/src/funcs/accountGetStaff.ts +1 -0
  253. package/src/funcs/accountSendEmailVerification.ts +1 -0
  254. package/src/funcs/accountUploadImages.ts +1 -0
  255. package/src/funcs/accountVerifyEmail.ts +1 -0
  256. package/src/funcs/accountsQueue.ts +1 -0
  257. package/src/funcs/adminAdminV1GetEvents.ts +1 -0
  258. package/src/funcs/adminAdminV1UpdateEvent.ts +1 -0
  259. package/src/funcs/adminAdminV1UpdateResources.ts +1 -0
  260. package/src/funcs/adminAdminV1UpdateRoles.ts +1 -0
  261. package/src/funcs/adminGetAccount.ts +1 -0
  262. package/src/funcs/badgeAccountV1BookmarkBadge.ts +1 -0
  263. package/src/funcs/badgeAccountV1GetBadgeBookmarks.ts +3 -5
  264. package/src/funcs/badgeBadgeV1Search.ts +142 -0
  265. package/src/funcs/badgeGetTags.ts +1 -0
  266. package/src/funcs/badgesTag.ts +3 -4
  267. package/src/funcs/connectionDelete.ts +1 -0
  268. package/src/funcs/connectionUpdate.ts +1 -0
  269. package/src/funcs/connectionVerify.ts +1 -0
  270. package/src/funcs/connectionsConnect.ts +1 -0
  271. package/src/funcs/dataGetApps.ts +1 -0
  272. package/src/funcs/dataGetBadges.ts +1 -0
  273. package/src/funcs/dataGetDataPoints.ts +1 -0
  274. package/src/funcs/dataGetFriends.ts +1 -0
  275. package/src/funcs/dataGetInfo.ts +1 -0
  276. package/src/funcs/dataGetLeaderboardHistory.ts +1 -0
  277. package/src/funcs/dataGetStaff.ts +1 -0
  278. package/src/funcs/developerCreateDeveloperApp.ts +1 -0
  279. package/src/funcs/developerDeleteDeveloperApp.ts +1 -0
  280. package/src/funcs/developerUpdateApp.ts +1 -0
  281. package/src/funcs/imagesAccountV1ImagesGet.ts +1 -0
  282. package/src/funcs/imagesAccountV1ImagesUpdate.ts +1 -0
  283. package/src/funcs/imagesDeleteImages.ts +1 -0
  284. package/src/funcs/imagesUploadImages.ts +1 -0
  285. package/src/funcs/leaderboardGetAccount.ts +1 -0
  286. package/src/funcs/leaderboardGetBadges.ts +1 -0
  287. package/src/funcs/leaderboardGetGroup.ts +1 -0
  288. package/src/funcs/livenessCheck.ts +1 -0
  289. package/src/funcs/locationsGet.ts +1 -0
  290. package/src/funcs/metaAccountV1GetEmbed.ts +1 -0
  291. package/src/funcs/metaAccountV1GetMeta.ts +1 -0
  292. package/src/funcs/publicGetApps.ts +1 -0
  293. package/src/funcs/publicGetBadges.ts +1 -0
  294. package/src/funcs/publicGetDataPoints.ts +1 -0
  295. package/src/funcs/publicGetFriends.ts +1 -0
  296. package/src/funcs/publicGetInfo.ts +1 -0
  297. package/src/funcs/publicGetLeaderboardHistory.ts +1 -0
  298. package/src/funcs/sessionCreate.ts +1 -0
  299. package/src/funcs/sessionLogin.ts +1 -0
  300. package/src/funcs/sessionsDelete.ts +1 -0
  301. package/src/funcs/sessionsGet.ts +1 -0
  302. package/src/funcs/settingsGet.ts +1 -0
  303. package/src/funcs/settingsSendEmailVerification.ts +1 -0
  304. package/src/funcs/settingsUpdate.ts +1 -0
  305. package/src/funcs/settingsVerifyEmail.ts +1 -0
  306. package/src/lib/config.ts +3 -3
  307. package/src/lib/sdks.ts +6 -1
  308. package/src/models/components/badge.ts +135 -0
  309. package/src/models/components/index.ts +3 -2
  310. package/src/models/components/v1badgesearchresponsebody.ts +88 -0
  311. package/src/models/components/v1searchrequest.ts +86 -0
  312. package/src/models/operations/badgev1search.ts +89 -0
  313. package/src/models/operations/badgev1tag.ts +0 -13
  314. package/src/models/operations/index.ts +1 -0
  315. package/src/sdk/account.ts +0 -2
  316. package/src/sdk/badge.ts +12 -2
  317. package/models/components/v1accountbadgebookmarksrequestbody.d.ts +0 -25
  318. package/models/components/v1accountbadgebookmarksrequestbody.d.ts.map +0 -1
  319. package/models/components/v1accountbadgebookmarksrequestbody.js +0 -55
  320. package/models/components/v1accountbadgebookmarksrequestbody.js.map +0 -1
  321. package/models/components/v1badgetagresponsebody.d.ts +0 -32
  322. package/models/components/v1badgetagresponsebody.d.ts.map +0 -1
  323. package/models/components/v1badgetagresponsebody.js.map +0 -1
  324. package/src/models/components/v1accountbadgebookmarksrequestbody.ts +0 -62
  325. package/src/models/components/v1badgetagresponsebody.ts +0 -78
@@ -91,6 +91,7 @@ export async function leaderboardGetAccount(
91
91
  const requestRes = client._createRequest(context, {
92
92
  security: requestSecurity,
93
93
  method: "POST",
94
+ baseURL: options?.serverURL,
94
95
  path: path,
95
96
  headers: headers,
96
97
  body: body,
@@ -72,6 +72,7 @@ export async function leaderboardGetBadges(
72
72
  const requestRes = client._createRequest(context, {
73
73
  security: requestSecurity,
74
74
  method: "POST",
75
+ baseURL: options?.serverURL,
75
76
  path: path,
76
77
  headers: headers,
77
78
  uaHeader: "x-speakeasy-user-agent",
@@ -91,6 +91,7 @@ export async function leaderboardGetGroup(
91
91
  const requestRes = client._createRequest(context, {
92
92
  security: requestSecurity,
93
93
  method: "POST",
94
+ baseURL: options?.serverURL,
94
95
  path: path,
95
96
  headers: headers,
96
97
  body: body,
@@ -78,6 +78,7 @@ export async function livenessCheck(
78
78
  const requestRes = client._createRequest(context, {
79
79
  security: requestSecurity,
80
80
  method: "GET",
81
+ baseURL: options?.serverURL,
81
82
  path: path,
82
83
  headers: headers,
83
84
  uaHeader: "x-speakeasy-user-agent",
@@ -72,6 +72,7 @@ export async function locationsGet(
72
72
  const requestRes = client._createRequest(context, {
73
73
  security: requestSecurity,
74
74
  method: "GET",
75
+ baseURL: options?.serverURL,
75
76
  path: path,
76
77
  headers: headers,
77
78
  uaHeader: "x-speakeasy-user-agent",
@@ -88,6 +88,7 @@ export async function metaAccountV1GetEmbed(
88
88
  const requestRes = client._createRequest(context, {
89
89
  security: requestSecurity,
90
90
  method: "POST",
91
+ baseURL: options?.serverURL,
91
92
  path: path,
92
93
  headers: headers,
93
94
  body: body,
@@ -88,6 +88,7 @@ export async function metaAccountV1GetMeta(
88
88
  const requestRes = client._createRequest(context, {
89
89
  security: requestSecurity,
90
90
  method: "POST",
91
+ baseURL: options?.serverURL,
91
92
  path: path,
92
93
  headers: headers,
93
94
  body: body,
@@ -88,6 +88,7 @@ export async function publicGetApps(
88
88
  const requestRes = client._createRequest(context, {
89
89
  security: requestSecurity,
90
90
  method: "POST",
91
+ baseURL: options?.serverURL,
91
92
  path: path,
92
93
  headers: headers,
93
94
  body: body,
@@ -88,6 +88,7 @@ export async function publicGetBadges(
88
88
  const requestRes = client._createRequest(context, {
89
89
  security: requestSecurity,
90
90
  method: "POST",
91
+ baseURL: options?.serverURL,
91
92
  path: path,
92
93
  headers: headers,
93
94
  body: body,
@@ -88,6 +88,7 @@ export async function publicGetDataPoints(
88
88
  const requestRes = client._createRequest(context, {
89
89
  security: requestSecurity,
90
90
  method: "POST",
91
+ baseURL: options?.serverURL,
91
92
  path: path,
92
93
  headers: headers,
93
94
  body: body,
@@ -88,6 +88,7 @@ export async function publicGetFriends(
88
88
  const requestRes = client._createRequest(context, {
89
89
  security: requestSecurity,
90
90
  method: "POST",
91
+ baseURL: options?.serverURL,
91
92
  path: path,
92
93
  headers: headers,
93
94
  body: body,
@@ -88,6 +88,7 @@ export async function publicGetInfo(
88
88
  const requestRes = client._createRequest(context, {
89
89
  security: requestSecurity,
90
90
  method: "POST",
91
+ baseURL: options?.serverURL,
91
92
  path: path,
92
93
  headers: headers,
93
94
  body: body,
@@ -88,6 +88,7 @@ export async function publicGetLeaderboardHistory(
88
88
  const requestRes = client._createRequest(context, {
89
89
  security: requestSecurity,
90
90
  method: "POST",
91
+ baseURL: options?.serverURL,
91
92
  path: path,
92
93
  headers: headers,
93
94
  body: body,
@@ -104,6 +104,7 @@ export async function sessionCreate(
104
104
  const requestRes = client._createRequest(context, {
105
105
  security: requestSecurity,
106
106
  method: "POST",
107
+ baseURL: options?.serverURL,
107
108
  path: path,
108
109
  headers: headers,
109
110
  body: body,
@@ -97,6 +97,7 @@ export async function sessionLogin(
97
97
  const requestRes = client._createRequest(context, {
98
98
  security: requestSecurity,
99
99
  method: "POST",
100
+ baseURL: options?.serverURL,
100
101
  path: path,
101
102
  headers: headers,
102
103
  body: body,
@@ -89,6 +89,7 @@ export async function sessionsDelete(
89
89
  const requestRes = client._createRequest(context, {
90
90
  security: requestSecurity,
91
91
  method: "POST",
92
+ baseURL: options?.serverURL,
92
93
  path: path,
93
94
  headers: headers,
94
95
  body: body,
@@ -72,6 +72,7 @@ export async function sessionsGet(
72
72
  const requestRes = client._createRequest(context, {
73
73
  security: requestSecurity,
74
74
  method: "POST",
75
+ baseURL: options?.serverURL,
75
76
  path: path,
76
77
  headers: headers,
77
78
  uaHeader: "x-speakeasy-user-agent",
@@ -72,6 +72,7 @@ export async function settingsGet(
72
72
  const requestRes = client._createRequest(context, {
73
73
  security: requestSecurity,
74
74
  method: "POST",
75
+ baseURL: options?.serverURL,
75
76
  path: path,
76
77
  headers: headers,
77
78
  uaHeader: "x-speakeasy-user-agent",
@@ -93,6 +93,7 @@ export async function settingsSendEmailVerification(
93
93
  const requestRes = client._createRequest(context, {
94
94
  security: requestSecurity,
95
95
  method: "POST",
96
+ baseURL: options?.serverURL,
96
97
  path: path,
97
98
  headers: headers,
98
99
  body: body,
@@ -95,6 +95,7 @@ export async function settingsUpdate(
95
95
  const requestRes = client._createRequest(context, {
96
96
  security: requestSecurity,
97
97
  method: "POST",
98
+ baseURL: options?.serverURL,
98
99
  path: path,
99
100
  headers: headers,
100
101
  body: body,
@@ -88,6 +88,7 @@ export async function settingsVerifyEmail(
88
88
  const requestRes = client._createRequest(context, {
89
89
  security: requestSecurity,
90
90
  method: "POST",
91
+ baseURL: options?.serverURL,
91
92
  path: path,
92
93
  headers: headers,
93
94
  body: body,
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.14.3",
59
- genVersion: "2.479.3",
58
+ sdkVersion: "0.14.4",
59
+ genVersion: "2.481.0",
60
60
  userAgent:
61
- "speakeasy-sdk/typescript 0.14.3 2.479.3 1.0.0 @steamsets/client-ts",
61
+ "speakeasy-sdk/typescript 0.14.4 2.481.0 1.0.0 @steamsets/client-ts",
62
62
  } as const;
package/src/lib/sdks.ts CHANGED
@@ -41,6 +41,10 @@ export type RequestOptions = {
41
41
  * Specifies the status codes which should be retried using the given retry policy.
42
42
  */
43
43
  retryCodes?: string[];
44
+ /**
45
+ * Overrides the base server URL that will be used by an operation.
46
+ */
47
+ serverURL?: string | URL;
44
48
  /**
45
49
  * Sets various request options on the `fetch` call made by an SDK method.
46
50
  *
@@ -52,7 +56,7 @@ export type RequestOptions = {
52
56
  type RequestConfig = {
53
57
  method: string;
54
58
  path: string;
55
- baseURL?: string | URL;
59
+ baseURL?: string | URL | undefined;
56
60
  query?: string;
57
61
  body?: RequestInit["body"];
58
62
  headers?: HeadersInit;
@@ -119,6 +123,7 @@ export class ClientSDK {
119
123
  const inputURL = new URL(path, reqURL);
120
124
 
121
125
  if (path) {
126
+ reqURL.pathname += reqURL.pathname.endsWith("/") ? "" : "/";
122
127
  reqURL.pathname += inputURL.pathname.replace(/^\/+/, "");
123
128
  }
124
129
 
@@ -0,0 +1,135 @@
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 Badge = {
11
+ appId: number;
12
+ appImage: string;
13
+ appName: string;
14
+ bookmarks: number;
15
+ colors: Array<string> | null;
16
+ designs: Array<string> | null;
17
+ firstCompletion: number;
18
+ highestLevel: number;
19
+ id: string;
20
+ image: string;
21
+ isEvent: boolean;
22
+ isFoil: boolean;
23
+ isSale: boolean;
24
+ lastCompletion: number;
25
+ level: number;
26
+ name: string;
27
+ price: number;
28
+ scarcity: number;
29
+ steamId: number;
30
+ xp: number;
31
+ };
32
+
33
+ /** @internal */
34
+ export const Badge$inboundSchema: z.ZodType<Badge, z.ZodTypeDef, unknown> = z
35
+ .object({
36
+ appId: z.number().int(),
37
+ appImage: z.string(),
38
+ appName: z.string(),
39
+ bookmarks: z.number().int(),
40
+ colors: z.nullable(z.array(z.string())),
41
+ designs: z.nullable(z.array(z.string())),
42
+ firstCompletion: z.number().int(),
43
+ highestLevel: z.number().int(),
44
+ id: z.string(),
45
+ image: z.string(),
46
+ isEvent: z.boolean(),
47
+ isFoil: z.boolean(),
48
+ isSale: z.boolean(),
49
+ lastCompletion: z.number().int(),
50
+ level: z.number().int(),
51
+ name: z.string(),
52
+ price: z.number().int(),
53
+ scarcity: z.number().int(),
54
+ steamId: z.number().int(),
55
+ xp: z.number(),
56
+ });
57
+
58
+ /** @internal */
59
+ export type Badge$Outbound = {
60
+ appId: number;
61
+ appImage: string;
62
+ appName: string;
63
+ bookmarks: number;
64
+ colors: Array<string> | null;
65
+ designs: Array<string> | null;
66
+ firstCompletion: number;
67
+ highestLevel: number;
68
+ id: string;
69
+ image: string;
70
+ isEvent: boolean;
71
+ isFoil: boolean;
72
+ isSale: boolean;
73
+ lastCompletion: number;
74
+ level: number;
75
+ name: string;
76
+ price: number;
77
+ scarcity: number;
78
+ steamId: number;
79
+ xp: number;
80
+ };
81
+
82
+ /** @internal */
83
+ export const Badge$outboundSchema: z.ZodType<
84
+ Badge$Outbound,
85
+ z.ZodTypeDef,
86
+ Badge
87
+ > = z.object({
88
+ appId: z.number().int(),
89
+ appImage: z.string(),
90
+ appName: z.string(),
91
+ bookmarks: z.number().int(),
92
+ colors: z.nullable(z.array(z.string())),
93
+ designs: z.nullable(z.array(z.string())),
94
+ firstCompletion: z.number().int(),
95
+ highestLevel: z.number().int(),
96
+ id: z.string(),
97
+ image: z.string(),
98
+ isEvent: z.boolean(),
99
+ isFoil: z.boolean(),
100
+ isSale: z.boolean(),
101
+ lastCompletion: z.number().int(),
102
+ level: z.number().int(),
103
+ name: z.string(),
104
+ price: z.number().int(),
105
+ scarcity: z.number().int(),
106
+ steamId: z.number().int(),
107
+ xp: z.number(),
108
+ });
109
+
110
+ /**
111
+ * @internal
112
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
113
+ */
114
+ export namespace Badge$ {
115
+ /** @deprecated use `Badge$inboundSchema` instead. */
116
+ export const inboundSchema = Badge$inboundSchema;
117
+ /** @deprecated use `Badge$outboundSchema` instead. */
118
+ export const outboundSchema = Badge$outboundSchema;
119
+ /** @deprecated use `Badge$Outbound` instead. */
120
+ export type Outbound = Badge$Outbound;
121
+ }
122
+
123
+ export function badgeToJSON(badge: Badge): string {
124
+ return JSON.stringify(Badge$outboundSchema.parse(badge));
125
+ }
126
+
127
+ export function badgeFromJSON(
128
+ jsonString: string,
129
+ ): SafeParseResult<Badge, SDKValidationError> {
130
+ return safeParse(
131
+ jsonString,
132
+ (x) => Badge$inboundSchema.parse(JSON.parse(x)),
133
+ `Failed to parse 'Badge' from JSON`,
134
+ );
135
+ }
@@ -8,6 +8,7 @@ export * from "./accountleaderboardhistory.js";
8
8
  export * from "./accountsearch.js";
9
9
  export * from "./accountsearchidstruct.js";
10
10
  export * from "./accountsearchvanitystruct.js";
11
+ export * from "./badge.js";
11
12
  export * from "./bestleaderboardrank.js";
12
13
  export * from "./chosenrole.js";
13
14
  export * from "./city.js";
@@ -37,7 +38,6 @@ export * from "./v1accountapp.js";
37
38
  export * from "./v1accountbadgebookmark.js";
38
39
  export * from "./v1accountbadgebookmarkrequestbody.js";
39
40
  export * from "./v1accountbadgebookmarkresponsebody.js";
40
- export * from "./v1accountbadgebookmarksrequestbody.js";
41
41
  export * from "./v1accountbadgebookmarksresponsebody.js";
42
42
  export * from "./v1accountdatapointsresponsebody.js";
43
43
  export * from "./v1accountdeveloperappdeleterequestbody.js";
@@ -66,9 +66,9 @@ export * from "./v1adminupdateresourcesrequestbody.js";
66
66
  export * from "./v1adminupdaterolessrequestbody.js";
67
67
  export * from "./v1appbadge.js";
68
68
  export * from "./v1appeventmapping.js";
69
+ export * from "./v1badgesearchresponsebody.js";
69
70
  export * from "./v1badgesresponsebody.js";
70
71
  export * from "./v1badgetagrequestbody.js";
71
- export * from "./v1badgetagresponsebody.js";
72
72
  export * from "./v1badgetagsrequestbody.js";
73
73
  export * from "./v1badgetagsresponsebody.js";
74
74
  export * from "./v1connectrequestbody.js";
@@ -98,6 +98,7 @@ export * from "./v1leaderboardlocation.js";
98
98
  export * from "./v1leaderboardlocationinfo.js";
99
99
  export * from "./v1livenessresponsebody.js";
100
100
  export * from "./v1loginresponsebody.js";
101
+ export * from "./v1searchrequest.js";
101
102
  export * from "./v1updateconnectionrequestbody.js";
102
103
  export * from "./v1updateconnectionresponsebody.js";
103
104
  export * from "./v1updateimage.js";
@@ -0,0 +1,88 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ Badge,
12
+ Badge$inboundSchema,
13
+ Badge$Outbound,
14
+ Badge$outboundSchema,
15
+ } from "./badge.js";
16
+
17
+ export type V1BadgeSearchResponseBody = {
18
+ /**
19
+ * A URL to the JSON Schema for this object.
20
+ */
21
+ dollarSchema?: string | undefined;
22
+ badges: Array<Badge> | null;
23
+ };
24
+
25
+ /** @internal */
26
+ export const V1BadgeSearchResponseBody$inboundSchema: z.ZodType<
27
+ V1BadgeSearchResponseBody,
28
+ z.ZodTypeDef,
29
+ unknown
30
+ > = z.object({
31
+ $schema: z.string().optional(),
32
+ badges: z.nullable(z.array(Badge$inboundSchema)),
33
+ }).transform((v) => {
34
+ return remap$(v, {
35
+ "$schema": "dollarSchema",
36
+ });
37
+ });
38
+
39
+ /** @internal */
40
+ export type V1BadgeSearchResponseBody$Outbound = {
41
+ $schema?: string | undefined;
42
+ badges: Array<Badge$Outbound> | null;
43
+ };
44
+
45
+ /** @internal */
46
+ export const V1BadgeSearchResponseBody$outboundSchema: z.ZodType<
47
+ V1BadgeSearchResponseBody$Outbound,
48
+ z.ZodTypeDef,
49
+ V1BadgeSearchResponseBody
50
+ > = z.object({
51
+ dollarSchema: z.string().optional(),
52
+ badges: z.nullable(z.array(Badge$outboundSchema)),
53
+ }).transform((v) => {
54
+ return remap$(v, {
55
+ dollarSchema: "$schema",
56
+ });
57
+ });
58
+
59
+ /**
60
+ * @internal
61
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
62
+ */
63
+ export namespace V1BadgeSearchResponseBody$ {
64
+ /** @deprecated use `V1BadgeSearchResponseBody$inboundSchema` instead. */
65
+ export const inboundSchema = V1BadgeSearchResponseBody$inboundSchema;
66
+ /** @deprecated use `V1BadgeSearchResponseBody$outboundSchema` instead. */
67
+ export const outboundSchema = V1BadgeSearchResponseBody$outboundSchema;
68
+ /** @deprecated use `V1BadgeSearchResponseBody$Outbound` instead. */
69
+ export type Outbound = V1BadgeSearchResponseBody$Outbound;
70
+ }
71
+
72
+ export function v1BadgeSearchResponseBodyToJSON(
73
+ v1BadgeSearchResponseBody: V1BadgeSearchResponseBody,
74
+ ): string {
75
+ return JSON.stringify(
76
+ V1BadgeSearchResponseBody$outboundSchema.parse(v1BadgeSearchResponseBody),
77
+ );
78
+ }
79
+
80
+ export function v1BadgeSearchResponseBodyFromJSON(
81
+ jsonString: string,
82
+ ): SafeParseResult<V1BadgeSearchResponseBody, SDKValidationError> {
83
+ return safeParse(
84
+ jsonString,
85
+ (x) => V1BadgeSearchResponseBody$inboundSchema.parse(JSON.parse(x)),
86
+ `Failed to parse 'V1BadgeSearchResponseBody' from JSON`,
87
+ );
88
+ }
@@ -0,0 +1,86 @@
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 V1SearchRequest = {
11
+ /**
12
+ * The filter to apply to the search
13
+ */
14
+ filter: string;
15
+ limit?: number | null | undefined;
16
+ offset?: number | null | undefined;
17
+ page?: number | null | undefined;
18
+ /**
19
+ * The query to search for
20
+ */
21
+ query: string;
22
+ };
23
+
24
+ /** @internal */
25
+ export const V1SearchRequest$inboundSchema: z.ZodType<
26
+ V1SearchRequest,
27
+ z.ZodTypeDef,
28
+ unknown
29
+ > = z.object({
30
+ filter: z.string(),
31
+ limit: z.nullable(z.number().int()).optional(),
32
+ offset: z.nullable(z.number().int()).optional(),
33
+ page: z.nullable(z.number().int()).optional(),
34
+ query: z.string(),
35
+ });
36
+
37
+ /** @internal */
38
+ export type V1SearchRequest$Outbound = {
39
+ filter: string;
40
+ limit?: number | null | undefined;
41
+ offset?: number | null | undefined;
42
+ page?: number | null | undefined;
43
+ query: string;
44
+ };
45
+
46
+ /** @internal */
47
+ export const V1SearchRequest$outboundSchema: z.ZodType<
48
+ V1SearchRequest$Outbound,
49
+ z.ZodTypeDef,
50
+ V1SearchRequest
51
+ > = z.object({
52
+ filter: z.string(),
53
+ limit: z.nullable(z.number().int()).optional(),
54
+ offset: z.nullable(z.number().int()).optional(),
55
+ page: z.nullable(z.number().int()).optional(),
56
+ query: z.string(),
57
+ });
58
+
59
+ /**
60
+ * @internal
61
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
62
+ */
63
+ export namespace V1SearchRequest$ {
64
+ /** @deprecated use `V1SearchRequest$inboundSchema` instead. */
65
+ export const inboundSchema = V1SearchRequest$inboundSchema;
66
+ /** @deprecated use `V1SearchRequest$outboundSchema` instead. */
67
+ export const outboundSchema = V1SearchRequest$outboundSchema;
68
+ /** @deprecated use `V1SearchRequest$Outbound` instead. */
69
+ export type Outbound = V1SearchRequest$Outbound;
70
+ }
71
+
72
+ export function v1SearchRequestToJSON(
73
+ v1SearchRequest: V1SearchRequest,
74
+ ): string {
75
+ return JSON.stringify(V1SearchRequest$outboundSchema.parse(v1SearchRequest));
76
+ }
77
+
78
+ export function v1SearchRequestFromJSON(
79
+ jsonString: string,
80
+ ): SafeParseResult<V1SearchRequest, SDKValidationError> {
81
+ return safeParse(
82
+ jsonString,
83
+ (x) => V1SearchRequest$inboundSchema.parse(JSON.parse(x)),
84
+ `Failed to parse 'V1SearchRequest' from JSON`,
85
+ );
86
+ }
@@ -0,0 +1,89 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type BadgeV1SearchResponse = {
13
+ httpMeta: components.HTTPMetadata;
14
+ /**
15
+ * OK
16
+ */
17
+ v1BadgeSearchResponseBody?: components.V1BadgeSearchResponseBody | undefined;
18
+ };
19
+
20
+ /** @internal */
21
+ export const BadgeV1SearchResponse$inboundSchema: z.ZodType<
22
+ BadgeV1SearchResponse,
23
+ z.ZodTypeDef,
24
+ unknown
25
+ > = z.object({
26
+ HttpMeta: components.HTTPMetadata$inboundSchema,
27
+ V1BadgeSearchResponseBody: components.V1BadgeSearchResponseBody$inboundSchema
28
+ .optional(),
29
+ }).transform((v) => {
30
+ return remap$(v, {
31
+ "HttpMeta": "httpMeta",
32
+ "V1BadgeSearchResponseBody": "v1BadgeSearchResponseBody",
33
+ });
34
+ });
35
+
36
+ /** @internal */
37
+ export type BadgeV1SearchResponse$Outbound = {
38
+ HttpMeta: components.HTTPMetadata$Outbound;
39
+ V1BadgeSearchResponseBody?:
40
+ | components.V1BadgeSearchResponseBody$Outbound
41
+ | undefined;
42
+ };
43
+
44
+ /** @internal */
45
+ export const BadgeV1SearchResponse$outboundSchema: z.ZodType<
46
+ BadgeV1SearchResponse$Outbound,
47
+ z.ZodTypeDef,
48
+ BadgeV1SearchResponse
49
+ > = z.object({
50
+ httpMeta: components.HTTPMetadata$outboundSchema,
51
+ v1BadgeSearchResponseBody: components.V1BadgeSearchResponseBody$outboundSchema
52
+ .optional(),
53
+ }).transform((v) => {
54
+ return remap$(v, {
55
+ httpMeta: "HttpMeta",
56
+ v1BadgeSearchResponseBody: "V1BadgeSearchResponseBody",
57
+ });
58
+ });
59
+
60
+ /**
61
+ * @internal
62
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
+ */
64
+ export namespace BadgeV1SearchResponse$ {
65
+ /** @deprecated use `BadgeV1SearchResponse$inboundSchema` instead. */
66
+ export const inboundSchema = BadgeV1SearchResponse$inboundSchema;
67
+ /** @deprecated use `BadgeV1SearchResponse$outboundSchema` instead. */
68
+ export const outboundSchema = BadgeV1SearchResponse$outboundSchema;
69
+ /** @deprecated use `BadgeV1SearchResponse$Outbound` instead. */
70
+ export type Outbound = BadgeV1SearchResponse$Outbound;
71
+ }
72
+
73
+ export function badgeV1SearchResponseToJSON(
74
+ badgeV1SearchResponse: BadgeV1SearchResponse,
75
+ ): string {
76
+ return JSON.stringify(
77
+ BadgeV1SearchResponse$outboundSchema.parse(badgeV1SearchResponse),
78
+ );
79
+ }
80
+
81
+ export function badgeV1SearchResponseFromJSON(
82
+ jsonString: string,
83
+ ): SafeParseResult<BadgeV1SearchResponse, SDKValidationError> {
84
+ return safeParse(
85
+ jsonString,
86
+ (x) => BadgeV1SearchResponse$inboundSchema.parse(JSON.parse(x)),
87
+ `Failed to parse 'BadgeV1SearchResponse' from JSON`,
88
+ );
89
+ }