@steamsets/client-ts 0.3.2 → 0.4.1

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 (337) hide show
  1. package/README.md +37 -0
  2. package/docs/sdks/account/README.md +75 -69
  3. package/docs/sdks/connection/README.md +11 -12
  4. package/docs/sdks/liveness/README.md +2 -3
  5. package/docs/sdks/session/README.md +17 -15
  6. package/docs/sdks/settings/README.md +35 -30
  7. package/docs/sdks/steamsets/README.md +1 -5
  8. package/funcs/accountAccountV1ConnectionConnect.d.ts +2 -1
  9. package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
  10. package/funcs/accountAccountV1ConnectionConnect.js +5 -2
  11. package/funcs/accountAccountV1ConnectionConnect.js.map +1 -1
  12. package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts +2 -1
  13. package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  14. package/funcs/accountAccountV1ConnectionDeleteConnection.js +5 -2
  15. package/funcs/accountAccountV1ConnectionDeleteConnection.js.map +1 -1
  16. package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts +2 -1
  17. package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  18. package/funcs/accountAccountV1ConnectionUpdateConnection.js +5 -2
  19. package/funcs/accountAccountV1ConnectionUpdateConnection.js.map +1 -1
  20. package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts +2 -1
  21. package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  22. package/funcs/accountAccountV1ConnectionVerifyConnection.js +5 -2
  23. package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +1 -1
  24. package/funcs/accountAccountV1GetApps.d.ts +2 -1
  25. package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
  26. package/funcs/accountAccountV1GetApps.js +18 -4
  27. package/funcs/accountAccountV1GetApps.js.map +1 -1
  28. package/funcs/accountAccountV1GetBadges.d.ts +2 -1
  29. package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
  30. package/funcs/accountAccountV1GetBadges.js +18 -4
  31. package/funcs/accountAccountV1GetBadges.js.map +1 -1
  32. package/funcs/accountAccountV1SessionDelete.d.ts +2 -1
  33. package/funcs/accountAccountV1SessionDelete.d.ts.map +1 -1
  34. package/funcs/accountAccountV1SessionDelete.js +5 -2
  35. package/funcs/accountAccountV1SessionDelete.js.map +1 -1
  36. package/funcs/accountAccountV1SessionGet.d.ts +2 -2
  37. package/funcs/accountAccountV1SessionGet.d.ts.map +1 -1
  38. package/funcs/accountAccountV1SessionGet.js +4 -2
  39. package/funcs/accountAccountV1SessionGet.js.map +1 -1
  40. package/funcs/accountAccountV1SessionLogin.d.ts +1 -2
  41. package/funcs/accountAccountV1SessionLogin.d.ts.map +1 -1
  42. package/funcs/accountAccountV1SessionLogin.js +16 -8
  43. package/funcs/accountAccountV1SessionLogin.js.map +1 -1
  44. package/funcs/accountAccountV1SettingsDeleteImages.d.ts +2 -1
  45. package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -1
  46. package/funcs/accountAccountV1SettingsDeleteImages.js +5 -2
  47. package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -1
  48. package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts +2 -2
  49. package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts.map +1 -1
  50. package/funcs/accountAccountV1SettingsGenerateApiKey.js +5 -3
  51. package/funcs/accountAccountV1SettingsGenerateApiKey.js.map +1 -1
  52. package/funcs/accountAccountV1SettingsGet.d.ts +2 -2
  53. package/funcs/accountAccountV1SettingsGet.d.ts.map +1 -1
  54. package/funcs/accountAccountV1SettingsGet.js +4 -2
  55. package/funcs/accountAccountV1SettingsGet.js.map +1 -1
  56. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts +1 -1
  57. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  58. package/funcs/accountAccountV1SettingsSendEmailVerification.js +2 -3
  59. package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
  60. package/funcs/accountAccountV1SettingsUpdate.d.ts +1 -2
  61. package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
  62. package/funcs/accountAccountV1SettingsUpdate.js +4 -3
  63. package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
  64. package/funcs/accountAccountV1SettingsUpdateImage.d.ts +2 -1
  65. package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -1
  66. package/funcs/accountAccountV1SettingsUpdateImage.js +5 -2
  67. package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -1
  68. package/funcs/accountAccountV1SettingsUploadImages.d.ts +2 -1
  69. package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -1
  70. package/funcs/accountAccountV1SettingsUploadImages.js +3 -3
  71. package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -1
  72. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +2 -1
  73. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  74. package/funcs/accountAccountV1SettingsVerfyEmail.js +5 -2
  75. package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
  76. package/funcs/connectionAccountV1ConnectionConnect.d.ts +2 -1
  77. package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
  78. package/funcs/connectionAccountV1ConnectionConnect.js +5 -2
  79. package/funcs/connectionAccountV1ConnectionConnect.js.map +1 -1
  80. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts +2 -1
  81. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  82. package/funcs/connectionAccountV1ConnectionDeleteConnection.js +5 -2
  83. package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +1 -1
  84. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts +2 -1
  85. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  86. package/funcs/connectionAccountV1ConnectionUpdateConnection.js +5 -2
  87. package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +1 -1
  88. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts +2 -1
  89. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  90. package/funcs/connectionAccountV1ConnectionVerifyConnection.js +5 -2
  91. package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
  92. package/funcs/livenessLiveness.d.ts +2 -2
  93. package/funcs/livenessLiveness.d.ts.map +1 -1
  94. package/funcs/livenessLiveness.js +2 -2
  95. package/funcs/livenessLiveness.js.map +1 -1
  96. package/funcs/sessionAccountV1SessionDelete.d.ts +2 -1
  97. package/funcs/sessionAccountV1SessionDelete.d.ts.map +1 -1
  98. package/funcs/sessionAccountV1SessionDelete.js +5 -2
  99. package/funcs/sessionAccountV1SessionDelete.js.map +1 -1
  100. package/funcs/sessionAccountV1SessionGet.d.ts +2 -2
  101. package/funcs/sessionAccountV1SessionGet.d.ts.map +1 -1
  102. package/funcs/sessionAccountV1SessionGet.js +4 -2
  103. package/funcs/sessionAccountV1SessionGet.js.map +1 -1
  104. package/funcs/sessionAccountV1SessionLogin.d.ts +1 -2
  105. package/funcs/sessionAccountV1SessionLogin.d.ts.map +1 -1
  106. package/funcs/sessionAccountV1SessionLogin.js +16 -8
  107. package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
  108. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +2 -1
  109. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -1
  110. package/funcs/settingsAccountV1SettingsDeleteImages.js +5 -2
  111. package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -1
  112. package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts +2 -2
  113. package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts.map +1 -1
  114. package/funcs/settingsAccountV1SettingsGenerateApiKey.js +5 -3
  115. package/funcs/settingsAccountV1SettingsGenerateApiKey.js.map +1 -1
  116. package/funcs/settingsAccountV1SettingsGet.d.ts +2 -2
  117. package/funcs/settingsAccountV1SettingsGet.d.ts.map +1 -1
  118. package/funcs/settingsAccountV1SettingsGet.js +4 -2
  119. package/funcs/settingsAccountV1SettingsGet.js.map +1 -1
  120. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts +1 -1
  121. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  122. package/funcs/settingsAccountV1SettingsSendEmailVerification.js +2 -3
  123. package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
  124. package/funcs/settingsAccountV1SettingsUpdate.d.ts +1 -2
  125. package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
  126. package/funcs/settingsAccountV1SettingsUpdate.js +4 -3
  127. package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
  128. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +2 -1
  129. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -1
  130. package/funcs/settingsAccountV1SettingsUpdateImage.js +5 -2
  131. package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -1
  132. package/funcs/settingsAccountV1SettingsUploadImages.d.ts +2 -1
  133. package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -1
  134. package/funcs/settingsAccountV1SettingsUploadImages.js +3 -3
  135. package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -1
  136. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +2 -1
  137. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  138. package/funcs/settingsAccountV1SettingsVerfyEmail.js +5 -2
  139. package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
  140. package/lib/config.d.ts +3 -3
  141. package/lib/config.js +3 -3
  142. package/lib/matchers.d.ts +1 -1
  143. package/lib/matchers.d.ts.map +1 -1
  144. package/lib/matchers.js +10 -14
  145. package/lib/matchers.js.map +1 -1
  146. package/models/components/accountsearch.d.ts +29 -0
  147. package/models/components/accountsearch.d.ts.map +1 -0
  148. package/models/components/accountsearch.js +54 -0
  149. package/models/components/accountsearch.js.map +1 -0
  150. package/models/components/accountsearchidstruct.d.ts +33 -0
  151. package/models/components/accountsearchidstruct.d.ts.map +1 -0
  152. package/models/components/accountsearchidstruct.js +52 -0
  153. package/models/components/accountsearchidstruct.js.map +1 -0
  154. package/models/components/accountsearchvanitystruct.d.ts +65 -0
  155. package/models/components/accountsearchvanitystruct.d.ts.map +1 -0
  156. package/models/components/accountsearchvanitystruct.js +74 -0
  157. package/models/components/accountsearchvanitystruct.js.map +1 -0
  158. package/models/components/emailnotification.d.ts +8 -8
  159. package/models/components/emailnotification.d.ts.map +1 -1
  160. package/models/components/emailnotification.js +13 -13
  161. package/models/components/emailnotification.js.map +1 -1
  162. package/models/components/httpmetadata.d.ts +33 -0
  163. package/models/components/httpmetadata.d.ts.map +1 -0
  164. package/models/components/httpmetadata.js +71 -0
  165. package/models/components/httpmetadata.js.map +1 -0
  166. package/models/components/index.d.ts +4 -0
  167. package/models/components/index.d.ts.map +1 -1
  168. package/models/components/index.js +4 -0
  169. package/models/components/index.js.map +1 -1
  170. package/models/components/security.d.ts +2 -2
  171. package/models/components/security.d.ts.map +1 -1
  172. package/models/components/security.js +2 -2
  173. package/models/components/security.js.map +1 -1
  174. package/models/errors/sdkerror.d.ts +8 -5
  175. package/models/errors/sdkerror.d.ts.map +1 -1
  176. package/models/errors/sdkerror.js +3 -9
  177. package/models/errors/sdkerror.js.map +1 -1
  178. package/models/operations/accountv1connectionconnect.d.ts +31 -0
  179. package/models/operations/accountv1connectionconnect.d.ts.map +1 -0
  180. package/models/operations/accountv1connectionconnect.js +68 -0
  181. package/models/operations/accountv1connectionconnect.js.map +1 -0
  182. package/models/operations/accountv1connectiondeleteconnection.d.ts +31 -0
  183. package/models/operations/accountv1connectiondeleteconnection.d.ts.map +1 -0
  184. package/models/operations/accountv1connectiondeleteconnection.js +68 -0
  185. package/models/operations/accountv1connectiondeleteconnection.js.map +1 -0
  186. package/models/operations/accountv1connectionupdateconnection.d.ts +31 -0
  187. package/models/operations/accountv1connectionupdateconnection.d.ts.map +1 -0
  188. package/models/operations/accountv1connectionupdateconnection.js +68 -0
  189. package/models/operations/accountv1connectionupdateconnection.js.map +1 -0
  190. package/models/operations/accountv1connectionverifyconnection.d.ts +31 -0
  191. package/models/operations/accountv1connectionverifyconnection.d.ts.map +1 -0
  192. package/models/operations/accountv1connectionverifyconnection.js +68 -0
  193. package/models/operations/accountv1connectionverifyconnection.js.map +1 -0
  194. package/models/operations/accountv1getapps.d.ts +31 -0
  195. package/models/operations/accountv1getapps.d.ts.map +1 -0
  196. package/models/operations/accountv1getapps.js +68 -0
  197. package/models/operations/accountv1getapps.js.map +1 -0
  198. package/models/operations/accountv1getbadges.d.ts +31 -0
  199. package/models/operations/accountv1getbadges.d.ts.map +1 -0
  200. package/models/operations/accountv1getbadges.js +68 -0
  201. package/models/operations/accountv1getbadges.js.map +1 -0
  202. package/models/operations/accountv1sessiondelete.d.ts +31 -0
  203. package/models/operations/accountv1sessiondelete.d.ts.map +1 -0
  204. package/models/operations/accountv1sessiondelete.js +68 -0
  205. package/models/operations/accountv1sessiondelete.js.map +1 -0
  206. package/models/operations/accountv1sessionget.d.ts +31 -0
  207. package/models/operations/accountv1sessionget.d.ts.map +1 -0
  208. package/models/operations/accountv1sessionget.js +68 -0
  209. package/models/operations/accountv1sessionget.js.map +1 -0
  210. package/models/operations/accountv1sessionlogin.d.ts +51 -0
  211. package/models/operations/accountv1sessionlogin.d.ts.map +1 -1
  212. package/models/operations/accountv1sessionlogin.js +55 -1
  213. package/models/operations/accountv1sessionlogin.js.map +1 -1
  214. package/models/operations/accountv1settingsdeleteimages.d.ts +31 -0
  215. package/models/operations/accountv1settingsdeleteimages.d.ts.map +1 -0
  216. package/models/operations/accountv1settingsdeleteimages.js +68 -0
  217. package/models/operations/accountv1settingsdeleteimages.js.map +1 -0
  218. package/models/operations/accountv1settingsgenerateapikey.d.ts +31 -0
  219. package/models/operations/accountv1settingsgenerateapikey.d.ts.map +1 -0
  220. package/models/operations/accountv1settingsgenerateapikey.js +68 -0
  221. package/models/operations/accountv1settingsgenerateapikey.js.map +1 -0
  222. package/models/operations/accountv1settingsget.d.ts +31 -0
  223. package/models/operations/accountv1settingsget.d.ts.map +1 -0
  224. package/models/operations/accountv1settingsget.js +68 -0
  225. package/models/operations/accountv1settingsget.js.map +1 -0
  226. package/models/operations/accountv1settingssendemailverification.d.ts +24 -0
  227. package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -1
  228. package/models/operations/accountv1settingssendemailverification.js +33 -1
  229. package/models/operations/accountv1settingssendemailverification.js.map +1 -1
  230. package/models/operations/accountv1settingsupdate.d.ts +28 -0
  231. package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
  232. package/models/operations/accountv1settingsupdate.js +36 -1
  233. package/models/operations/accountv1settingsupdate.js.map +1 -1
  234. package/models/operations/accountv1settingsupdateimage.d.ts +31 -0
  235. package/models/operations/accountv1settingsupdateimage.d.ts.map +1 -0
  236. package/models/operations/accountv1settingsupdateimage.js +68 -0
  237. package/models/operations/accountv1settingsupdateimage.js.map +1 -0
  238. package/models/operations/accountv1settingsuploadimages.d.ts +26 -0
  239. package/models/operations/accountv1settingsuploadimages.d.ts.map +1 -0
  240. package/models/operations/accountv1settingsuploadimages.js +64 -0
  241. package/models/operations/accountv1settingsuploadimages.js.map +1 -0
  242. package/models/operations/accountv1settingsverfyemail.d.ts +31 -0
  243. package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -0
  244. package/models/operations/accountv1settingsverfyemail.js +68 -0
  245. package/models/operations/accountv1settingsverfyemail.js.map +1 -0
  246. package/models/operations/index.d.ts +15 -0
  247. package/models/operations/index.d.ts.map +1 -1
  248. package/models/operations/index.js +15 -0
  249. package/models/operations/index.js.map +1 -1
  250. package/models/operations/liveness.d.ts +31 -0
  251. package/models/operations/liveness.d.ts.map +1 -0
  252. package/models/operations/liveness.js +68 -0
  253. package/models/operations/liveness.js.map +1 -0
  254. package/package.json +1 -1
  255. package/sdk/account.d.ts +17 -17
  256. package/sdk/account.d.ts.map +1 -1
  257. package/sdk/account.js +6 -6
  258. package/sdk/account.js.map +1 -1
  259. package/sdk/connection.d.ts +5 -4
  260. package/sdk/connection.d.ts.map +1 -1
  261. package/sdk/connection.js.map +1 -1
  262. package/sdk/liveness.d.ts +2 -2
  263. package/sdk/liveness.d.ts.map +1 -1
  264. package/sdk/session.d.ts +3 -3
  265. package/sdk/session.d.ts.map +1 -1
  266. package/sdk/session.js +2 -2
  267. package/sdk/session.js.map +1 -1
  268. package/sdk/settings.d.ts +8 -8
  269. package/sdk/settings.d.ts.map +1 -1
  270. package/sdk/settings.js.map +1 -1
  271. package/src/funcs/accountAccountV1ConnectionConnect.ts +7 -4
  272. package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +7 -4
  273. package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +7 -4
  274. package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +7 -4
  275. package/src/funcs/accountAccountV1GetApps.ts +27 -6
  276. package/src/funcs/accountAccountV1GetBadges.ts +27 -6
  277. package/src/funcs/accountAccountV1SessionDelete.ts +7 -4
  278. package/src/funcs/accountAccountV1SessionGet.ts +7 -5
  279. package/src/funcs/accountAccountV1SessionLogin.ts +19 -10
  280. package/src/funcs/accountAccountV1SettingsDeleteImages.ts +7 -4
  281. package/src/funcs/accountAccountV1SettingsGenerateApiKey.ts +7 -5
  282. package/src/funcs/accountAccountV1SettingsGet.ts +7 -5
  283. package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +4 -5
  284. package/src/funcs/accountAccountV1SettingsUpdate.ts +6 -5
  285. package/src/funcs/accountAccountV1SettingsUpdateImage.ts +7 -4
  286. package/src/funcs/accountAccountV1SettingsUploadImages.ts +5 -5
  287. package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +7 -4
  288. package/src/funcs/connectionAccountV1ConnectionConnect.ts +7 -4
  289. package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +7 -4
  290. package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +7 -4
  291. package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +7 -4
  292. package/src/funcs/livenessLiveness.ts +5 -5
  293. package/src/funcs/sessionAccountV1SessionDelete.ts +7 -4
  294. package/src/funcs/sessionAccountV1SessionGet.ts +7 -5
  295. package/src/funcs/sessionAccountV1SessionLogin.ts +19 -10
  296. package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +7 -4
  297. package/src/funcs/settingsAccountV1SettingsGenerateApiKey.ts +7 -5
  298. package/src/funcs/settingsAccountV1SettingsGet.ts +7 -5
  299. package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +4 -5
  300. package/src/funcs/settingsAccountV1SettingsUpdate.ts +6 -5
  301. package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +7 -4
  302. package/src/funcs/settingsAccountV1SettingsUploadImages.ts +5 -5
  303. package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +7 -4
  304. package/src/lib/config.ts +3 -3
  305. package/src/lib/matchers.ts +12 -19
  306. package/src/models/components/accountsearch.ts +58 -0
  307. package/src/models/components/accountsearchidstruct.ts +55 -0
  308. package/src/models/components/accountsearchvanitystruct.ts +85 -0
  309. package/src/models/components/emailnotification.ts +14 -12
  310. package/src/models/components/httpmetadata.ts +70 -0
  311. package/src/models/components/index.ts +4 -0
  312. package/src/models/components/security.ts +4 -4
  313. package/src/models/errors/sdkerror.ts +9 -13
  314. package/src/models/operations/accountv1connectionconnect.ts +68 -0
  315. package/src/models/operations/accountv1connectiondeleteconnection.ts +70 -0
  316. package/src/models/operations/accountv1connectionupdateconnection.ts +70 -0
  317. package/src/models/operations/accountv1connectionverifyconnection.ts +70 -0
  318. package/src/models/operations/accountv1getapps.ts +68 -0
  319. package/src/models/operations/accountv1getbadges.ts +68 -0
  320. package/src/models/operations/accountv1sessiondelete.ts +70 -0
  321. package/src/models/operations/accountv1sessionget.ts +68 -0
  322. package/src/models/operations/accountv1sessionlogin.ts +101 -0
  323. package/src/models/operations/accountv1settingsdeleteimages.ts +68 -0
  324. package/src/models/operations/accountv1settingsgenerateapikey.ts +70 -0
  325. package/src/models/operations/accountv1settingsget.ts +68 -0
  326. package/src/models/operations/accountv1settingssendemailverification.ts +53 -0
  327. package/src/models/operations/accountv1settingsupdate.ts +63 -0
  328. package/src/models/operations/accountv1settingsupdateimage.ts +68 -0
  329. package/src/models/operations/accountv1settingsuploadimages.ts +59 -0
  330. package/src/models/operations/accountv1settingsverfyemail.ts +68 -0
  331. package/src/models/operations/index.ts +15 -0
  332. package/src/models/operations/liveness.ts +64 -0
  333. package/src/sdk/account.ts +29 -20
  334. package/src/sdk/connection.ts +5 -4
  335. package/src/sdk/liveness.ts +2 -2
  336. package/src/sdk/session.ts +7 -4
  337. package/src/sdk/settings.ts +10 -8
@@ -20,6 +20,7 @@ import {
20
20
  import * as errors from "../models/errors/index.js";
21
21
  import { SDKError } from "../models/errors/sdkerror.js";
22
22
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
+ import * as operations from "../models/operations/index.js";
23
24
  import { Result } from "../types/fp.js";
24
25
 
25
26
  /**
@@ -31,7 +32,7 @@ export async function accountAccountV1ConnectionConnect(
31
32
  options?: RequestOptions
32
33
  ): Promise<
33
34
  Result<
34
- components.V1ConnectResponseBody,
35
+ operations.AccountV1ConnectionConnectResponse,
35
36
  | errors.ErrorModel
36
37
  | SDKError
37
38
  | SDKValidationError
@@ -105,7 +106,7 @@ export async function accountAccountV1ConnectionConnect(
105
106
  };
106
107
 
107
108
  const [result$] = await m$.match<
108
- components.V1ConnectResponseBody,
109
+ operations.AccountV1ConnectionConnectResponse,
109
110
  | errors.ErrorModel
110
111
  | SDKError
111
112
  | SDKValidationError
@@ -115,12 +116,14 @@ export async function accountAccountV1ConnectionConnect(
115
116
  | RequestTimeoutError
116
117
  | ConnectionError
117
118
  >(
118
- m$.json(200, components.V1ConnectResponseBody$inboundSchema),
119
+ m$.json(200, operations.AccountV1ConnectionConnectResponse$inboundSchema, {
120
+ key: "V1ConnectResponseBody",
121
+ }),
119
122
  m$.jsonErr([400, 422, 500], errors.ErrorModel$inboundSchema, {
120
123
  ctype: "application/problem+json",
121
124
  }),
122
125
  m$.fail(["4XX", "5XX"])
123
- )(response, { extraFields: responseFields$ });
126
+ )(response, request$, { extraFields: responseFields$ });
124
127
  if (!result$.ok) {
125
128
  return result$;
126
129
  }
@@ -20,6 +20,7 @@ import {
20
20
  import * as errors from "../models/errors/index.js";
21
21
  import { SDKError } from "../models/errors/sdkerror.js";
22
22
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
+ import * as operations from "../models/operations/index.js";
23
24
  import { Result } from "../types/fp.js";
24
25
 
25
26
  /**
@@ -31,7 +32,7 @@ export async function accountAccountV1ConnectionDeleteConnection(
31
32
  options?: RequestOptions
32
33
  ): Promise<
33
34
  Result<
34
- components.V1DeleteConnectionResponseBody,
35
+ operations.AccountV1ConnectionDeleteConnectionResponse,
35
36
  | errors.ErrorModel
36
37
  | SDKError
37
38
  | SDKValidationError
@@ -105,7 +106,7 @@ export async function accountAccountV1ConnectionDeleteConnection(
105
106
  };
106
107
 
107
108
  const [result$] = await m$.match<
108
- components.V1DeleteConnectionResponseBody,
109
+ operations.AccountV1ConnectionDeleteConnectionResponse,
109
110
  | errors.ErrorModel
110
111
  | SDKError
111
112
  | SDKValidationError
@@ -115,12 +116,14 @@ export async function accountAccountV1ConnectionDeleteConnection(
115
116
  | RequestTimeoutError
116
117
  | ConnectionError
117
118
  >(
118
- m$.json(200, components.V1DeleteConnectionResponseBody$inboundSchema),
119
+ m$.json(200, operations.AccountV1ConnectionDeleteConnectionResponse$inboundSchema, {
120
+ key: "V1DeleteConnectionResponseBody",
121
+ }),
119
122
  m$.jsonErr([400, 422, 500], errors.ErrorModel$inboundSchema, {
120
123
  ctype: "application/problem+json",
121
124
  }),
122
125
  m$.fail(["4XX", "5XX"])
123
- )(response, { extraFields: responseFields$ });
126
+ )(response, request$, { extraFields: responseFields$ });
124
127
  if (!result$.ok) {
125
128
  return result$;
126
129
  }
@@ -20,6 +20,7 @@ import {
20
20
  import * as errors from "../models/errors/index.js";
21
21
  import { SDKError } from "../models/errors/sdkerror.js";
22
22
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
+ import * as operations from "../models/operations/index.js";
23
24
  import { Result } from "../types/fp.js";
24
25
 
25
26
  /**
@@ -31,7 +32,7 @@ export async function accountAccountV1ConnectionUpdateConnection(
31
32
  options?: RequestOptions
32
33
  ): Promise<
33
34
  Result<
34
- components.V1UpdateConnectionResponseBody,
35
+ operations.AccountV1ConnectionUpdateConnectionResponse,
35
36
  | errors.ErrorModel
36
37
  | SDKError
37
38
  | SDKValidationError
@@ -105,7 +106,7 @@ export async function accountAccountV1ConnectionUpdateConnection(
105
106
  };
106
107
 
107
108
  const [result$] = await m$.match<
108
- components.V1UpdateConnectionResponseBody,
109
+ operations.AccountV1ConnectionUpdateConnectionResponse,
109
110
  | errors.ErrorModel
110
111
  | SDKError
111
112
  | SDKValidationError
@@ -115,12 +116,14 @@ export async function accountAccountV1ConnectionUpdateConnection(
115
116
  | RequestTimeoutError
116
117
  | ConnectionError
117
118
  >(
118
- m$.json(200, components.V1UpdateConnectionResponseBody$inboundSchema),
119
+ m$.json(200, operations.AccountV1ConnectionUpdateConnectionResponse$inboundSchema, {
120
+ key: "V1UpdateConnectionResponseBody",
121
+ }),
119
122
  m$.jsonErr([400, 404, 422, 500], errors.ErrorModel$inboundSchema, {
120
123
  ctype: "application/problem+json",
121
124
  }),
122
125
  m$.fail(["4XX", "5XX"])
123
- )(response, { extraFields: responseFields$ });
126
+ )(response, request$, { extraFields: responseFields$ });
124
127
  if (!result$.ok) {
125
128
  return result$;
126
129
  }
@@ -20,6 +20,7 @@ import {
20
20
  import * as errors from "../models/errors/index.js";
21
21
  import { SDKError } from "../models/errors/sdkerror.js";
22
22
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
+ import * as operations from "../models/operations/index.js";
23
24
  import { Result } from "../types/fp.js";
24
25
 
25
26
  /**
@@ -31,7 +32,7 @@ export async function accountAccountV1ConnectionVerifyConnection(
31
32
  options?: RequestOptions
32
33
  ): Promise<
33
34
  Result<
34
- components.V1VerifyConnectionResponseBody,
35
+ operations.AccountV1ConnectionVerifyConnectionResponse,
35
36
  | errors.ErrorModel
36
37
  | SDKError
37
38
  | SDKValidationError
@@ -105,7 +106,7 @@ export async function accountAccountV1ConnectionVerifyConnection(
105
106
  };
106
107
 
107
108
  const [result$] = await m$.match<
108
- components.V1VerifyConnectionResponseBody,
109
+ operations.AccountV1ConnectionVerifyConnectionResponse,
109
110
  | errors.ErrorModel
110
111
  | SDKError
111
112
  | SDKValidationError
@@ -115,12 +116,14 @@ export async function accountAccountV1ConnectionVerifyConnection(
115
116
  | RequestTimeoutError
116
117
  | ConnectionError
117
118
  >(
118
- m$.json(200, components.V1VerifyConnectionResponseBody$inboundSchema),
119
+ m$.json(200, operations.AccountV1ConnectionVerifyConnectionResponse$inboundSchema, {
120
+ key: "V1VerifyConnectionResponseBody",
121
+ }),
119
122
  m$.jsonErr([400, 422, 500], errors.ErrorModel$inboundSchema, {
120
123
  ctype: "application/problem+json",
121
124
  }),
122
125
  m$.fail(["4XX", "5XX"])
123
- )(response, { extraFields: responseFields$ });
126
+ )(response, request$, { extraFields: responseFields$ });
124
127
  if (!result$.ok) {
125
128
  return result$;
126
129
  }
@@ -3,7 +3,9 @@
3
3
  */
4
4
 
5
5
  import { SteamSetsCore } from "../core.js";
6
+ import { encodeJSON as encodeJSON$ } from "../lib/encodings.js";
6
7
  import * as m$ from "../lib/matchers.js";
8
+ import * as schemas$ from "../lib/schemas.js";
7
9
  import { RequestOptions } from "../lib/sdks.js";
8
10
  import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
9
11
  import { pathToFunc } from "../lib/url.js";
@@ -18,6 +20,7 @@ import {
18
20
  import * as errors from "../models/errors/index.js";
19
21
  import { SDKError } from "../models/errors/sdkerror.js";
20
22
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
+ import * as operations from "../models/operations/index.js";
21
24
  import { Result } from "../types/fp.js";
22
25
 
23
26
  /**
@@ -25,10 +28,11 @@ import { Result } from "../types/fp.js";
25
28
  */
26
29
  export async function accountAccountV1GetApps(
27
30
  client$: SteamSetsCore,
31
+ request: components.AccountSearch,
28
32
  options?: RequestOptions
29
33
  ): Promise<
30
34
  Result<
31
- components.V1AccountsAppsResponseBody,
35
+ operations.AccountV1GetAppsResponse,
32
36
  | errors.ErrorModel
33
37
  | SDKError
34
38
  | SDKValidationError
@@ -39,9 +43,23 @@ export async function accountAccountV1GetApps(
39
43
  | ConnectionError
40
44
  >
41
45
  > {
46
+ const input$ = request;
47
+
48
+ const parsed$ = schemas$.safeParse(
49
+ input$,
50
+ (value$) => components.AccountSearch$outboundSchema.parse(value$),
51
+ "Input validation failed"
52
+ );
53
+ if (!parsed$.ok) {
54
+ return parsed$;
55
+ }
56
+ const payload$ = parsed$.value;
57
+ const body$ = encodeJSON$("body", payload$, { explode: true });
58
+
42
59
  const path$ = pathToFunc("/account.v1.AccountService/GetApps")();
43
60
 
44
61
  const headers$ = new Headers({
62
+ "Content-Type": "application/json",
45
63
  Accept: "application/json",
46
64
  });
47
65
 
@@ -61,6 +79,7 @@ export async function accountAccountV1GetApps(
61
79
  method: "POST",
62
80
  path: path$,
63
81
  headers: headers$,
82
+ body: body$,
64
83
  uaHeader: "x-speakeasy-user-agent",
65
84
  timeoutMs: options?.timeoutMs || client$.options$.timeoutMs || -1,
66
85
  },
@@ -73,7 +92,7 @@ export async function accountAccountV1GetApps(
73
92
 
74
93
  const doResult = await client$.do$(request$, {
75
94
  context,
76
- errorCodes: ["400", "4XX", "500", "5XX"],
95
+ errorCodes: ["400", "422", "4XX", "500", "5XX"],
77
96
  retryConfig: options?.retries || client$.options$.retryConfig,
78
97
  retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
79
98
  });
@@ -87,7 +106,7 @@ export async function accountAccountV1GetApps(
87
106
  };
88
107
 
89
108
  const [result$] = await m$.match<
90
- components.V1AccountsAppsResponseBody,
109
+ operations.AccountV1GetAppsResponse,
91
110
  | errors.ErrorModel
92
111
  | SDKError
93
112
  | SDKValidationError
@@ -97,12 +116,14 @@ export async function accountAccountV1GetApps(
97
116
  | RequestTimeoutError
98
117
  | ConnectionError
99
118
  >(
100
- m$.json(200, components.V1AccountsAppsResponseBody$inboundSchema),
101
- m$.jsonErr([400, 500], errors.ErrorModel$inboundSchema, {
119
+ m$.json(200, operations.AccountV1GetAppsResponse$inboundSchema, {
120
+ key: "V1AccountsAppsResponseBody",
121
+ }),
122
+ m$.jsonErr([400, 422, 500], errors.ErrorModel$inboundSchema, {
102
123
  ctype: "application/problem+json",
103
124
  }),
104
125
  m$.fail(["4XX", "5XX"])
105
- )(response, { extraFields: responseFields$ });
126
+ )(response, request$, { extraFields: responseFields$ });
106
127
  if (!result$.ok) {
107
128
  return result$;
108
129
  }
@@ -3,7 +3,9 @@
3
3
  */
4
4
 
5
5
  import { SteamSetsCore } from "../core.js";
6
+ import { encodeJSON as encodeJSON$ } from "../lib/encodings.js";
6
7
  import * as m$ from "../lib/matchers.js";
8
+ import * as schemas$ from "../lib/schemas.js";
7
9
  import { RequestOptions } from "../lib/sdks.js";
8
10
  import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
9
11
  import { pathToFunc } from "../lib/url.js";
@@ -18,6 +20,7 @@ import {
18
20
  import * as errors from "../models/errors/index.js";
19
21
  import { SDKError } from "../models/errors/sdkerror.js";
20
22
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
+ import * as operations from "../models/operations/index.js";
21
24
  import { Result } from "../types/fp.js";
22
25
 
23
26
  /**
@@ -25,10 +28,11 @@ import { Result } from "../types/fp.js";
25
28
  */
26
29
  export async function accountAccountV1GetBadges(
27
30
  client$: SteamSetsCore,
31
+ request: components.AccountSearch,
28
32
  options?: RequestOptions
29
33
  ): Promise<
30
34
  Result<
31
- components.V1BadgesResponseBody,
35
+ operations.AccountV1GetBadgesResponse,
32
36
  | errors.ErrorModel
33
37
  | SDKError
34
38
  | SDKValidationError
@@ -39,9 +43,23 @@ export async function accountAccountV1GetBadges(
39
43
  | ConnectionError
40
44
  >
41
45
  > {
46
+ const input$ = request;
47
+
48
+ const parsed$ = schemas$.safeParse(
49
+ input$,
50
+ (value$) => components.AccountSearch$outboundSchema.parse(value$),
51
+ "Input validation failed"
52
+ );
53
+ if (!parsed$.ok) {
54
+ return parsed$;
55
+ }
56
+ const payload$ = parsed$.value;
57
+ const body$ = encodeJSON$("body", payload$, { explode: true });
58
+
42
59
  const path$ = pathToFunc("/account.v1.AccountService/GetBadges")();
43
60
 
44
61
  const headers$ = new Headers({
62
+ "Content-Type": "application/json",
45
63
  Accept: "application/json",
46
64
  });
47
65
 
@@ -61,6 +79,7 @@ export async function accountAccountV1GetBadges(
61
79
  method: "POST",
62
80
  path: path$,
63
81
  headers: headers$,
82
+ body: body$,
64
83
  uaHeader: "x-speakeasy-user-agent",
65
84
  timeoutMs: options?.timeoutMs || client$.options$.timeoutMs || -1,
66
85
  },
@@ -73,7 +92,7 @@ export async function accountAccountV1GetBadges(
73
92
 
74
93
  const doResult = await client$.do$(request$, {
75
94
  context,
76
- errorCodes: ["400", "4XX", "500", "5XX"],
95
+ errorCodes: ["400", "422", "4XX", "500", "5XX"],
77
96
  retryConfig: options?.retries || client$.options$.retryConfig,
78
97
  retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
79
98
  });
@@ -87,7 +106,7 @@ export async function accountAccountV1GetBadges(
87
106
  };
88
107
 
89
108
  const [result$] = await m$.match<
90
- components.V1BadgesResponseBody,
109
+ operations.AccountV1GetBadgesResponse,
91
110
  | errors.ErrorModel
92
111
  | SDKError
93
112
  | SDKValidationError
@@ -97,12 +116,14 @@ export async function accountAccountV1GetBadges(
97
116
  | RequestTimeoutError
98
117
  | ConnectionError
99
118
  >(
100
- m$.json(200, components.V1BadgesResponseBody$inboundSchema),
101
- m$.jsonErr([400, 500], errors.ErrorModel$inboundSchema, {
119
+ m$.json(200, operations.AccountV1GetBadgesResponse$inboundSchema, {
120
+ key: "V1BadgesResponseBody",
121
+ }),
122
+ m$.jsonErr([400, 422, 500], errors.ErrorModel$inboundSchema, {
102
123
  ctype: "application/problem+json",
103
124
  }),
104
125
  m$.fail(["4XX", "5XX"])
105
- )(response, { extraFields: responseFields$ });
126
+ )(response, request$, { extraFields: responseFields$ });
106
127
  if (!result$.ok) {
107
128
  return result$;
108
129
  }
@@ -20,6 +20,7 @@ import {
20
20
  import * as errors from "../models/errors/index.js";
21
21
  import { SDKError } from "../models/errors/sdkerror.js";
22
22
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
+ import * as operations from "../models/operations/index.js";
23
24
  import { Result } from "../types/fp.js";
24
25
 
25
26
  /**
@@ -31,7 +32,7 @@ export async function accountAccountV1SessionDelete(
31
32
  options?: RequestOptions
32
33
  ): Promise<
33
34
  Result<
34
- components.V1DeleteSessionResponseBody,
35
+ operations.AccountV1SessionDeleteResponse,
35
36
  | errors.ErrorModel
36
37
  | SDKError
37
38
  | SDKValidationError
@@ -105,7 +106,7 @@ export async function accountAccountV1SessionDelete(
105
106
  };
106
107
 
107
108
  const [result$] = await m$.match<
108
- components.V1DeleteSessionResponseBody,
109
+ operations.AccountV1SessionDeleteResponse,
109
110
  | errors.ErrorModel
110
111
  | SDKError
111
112
  | SDKValidationError
@@ -115,12 +116,14 @@ export async function accountAccountV1SessionDelete(
115
116
  | RequestTimeoutError
116
117
  | ConnectionError
117
118
  >(
118
- m$.json(200, components.V1DeleteSessionResponseBody$inboundSchema),
119
+ m$.json(200, operations.AccountV1SessionDeleteResponse$inboundSchema, {
120
+ key: "V1DeleteSessionResponseBody",
121
+ }),
119
122
  m$.jsonErr([404, 422, 500], errors.ErrorModel$inboundSchema, {
120
123
  ctype: "application/problem+json",
121
124
  }),
122
125
  m$.fail(["4XX", "5XX"])
123
- )(response, { extraFields: responseFields$ });
126
+ )(response, request$, { extraFields: responseFields$ });
124
127
  if (!result$.ok) {
125
128
  return result$;
126
129
  }
@@ -7,7 +7,6 @@ import * as m$ from "../lib/matchers.js";
7
7
  import { RequestOptions } from "../lib/sdks.js";
8
8
  import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
9
9
  import { pathToFunc } from "../lib/url.js";
10
- import * as components from "../models/components/index.js";
11
10
  import {
12
11
  ConnectionError,
13
12
  InvalidRequestError,
@@ -18,6 +17,7 @@ import {
18
17
  import * as errors from "../models/errors/index.js";
19
18
  import { SDKError } from "../models/errors/sdkerror.js";
20
19
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
20
+ import * as operations from "../models/operations/index.js";
21
21
  import { Result } from "../types/fp.js";
22
22
 
23
23
  /**
@@ -28,7 +28,7 @@ export async function accountAccountV1SessionGet(
28
28
  options?: RequestOptions
29
29
  ): Promise<
30
30
  Result<
31
- components.V1GetSessionBody,
31
+ operations.AccountV1SessionGetResponse,
32
32
  | errors.ErrorModel
33
33
  | SDKError
34
34
  | SDKValidationError
@@ -87,7 +87,7 @@ export async function accountAccountV1SessionGet(
87
87
  };
88
88
 
89
89
  const [result$] = await m$.match<
90
- components.V1GetSessionBody,
90
+ operations.AccountV1SessionGetResponse,
91
91
  | errors.ErrorModel
92
92
  | SDKError
93
93
  | SDKValidationError
@@ -97,10 +97,12 @@ export async function accountAccountV1SessionGet(
97
97
  | RequestTimeoutError
98
98
  | ConnectionError
99
99
  >(
100
- m$.json(200, components.V1GetSessionBody$inboundSchema),
100
+ m$.json(200, operations.AccountV1SessionGetResponse$inboundSchema, {
101
+ key: "V1GetSessionBody",
102
+ }),
101
103
  m$.jsonErr(500, errors.ErrorModel$inboundSchema, { ctype: "application/problem+json" }),
102
104
  m$.fail(["4XX", "5XX"])
103
- )(response, { extraFields: responseFields$ });
105
+ )(response, request$, { extraFields: responseFields$ });
104
106
  if (!result$.ok) {
105
107
  return result$;
106
108
  }
@@ -7,9 +7,8 @@ import { encodeJSON as encodeJSON$, encodeSimple as encodeSimple$ } from "../lib
7
7
  import * as m$ from "../lib/matchers.js";
8
8
  import * as schemas$ from "../lib/schemas.js";
9
9
  import { RequestOptions } from "../lib/sdks.js";
10
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
10
+ import { resolveSecurity, SecurityInput } from "../lib/security.js";
11
11
  import { pathToFunc } from "../lib/url.js";
12
- import * as components from "../models/components/index.js";
13
12
  import {
14
13
  ConnectionError,
15
14
  InvalidRequestError,
@@ -29,10 +28,11 @@ import { Result } from "../types/fp.js";
29
28
  export async function accountAccountV1SessionLogin(
30
29
  client$: SteamSetsCore,
31
30
  request: operations.AccountV1SessionLoginRequest,
31
+ security: operations.AccountV1SessionLoginSecurity,
32
32
  options?: RequestOptions
33
33
  ): Promise<
34
34
  Result<
35
- components.V1LoginResponseBody,
35
+ operations.AccountV1SessionLoginResponse,
36
36
  | errors.ErrorModel
37
37
  | SDKError
38
38
  | SDKValidationError
@@ -71,14 +71,21 @@ export async function accountAccountV1SessionLogin(
71
71
  }),
72
72
  });
73
73
 
74
- const session$ = await extractSecurity(client$.options$.session);
75
- const security$ = session$ == null ? {} : { session: session$ };
74
+ const security$: SecurityInput[][] = [
75
+ [
76
+ {
77
+ fieldName: "Authorization",
78
+ type: "http:bearer",
79
+ value: security?.anonymous,
80
+ },
81
+ ],
82
+ ];
83
+ const securitySettings$ = resolveSecurity(...security$);
76
84
  const context = {
77
85
  operationID: "account.v1.session.login",
78
86
  oAuth2Scopes: [],
79
- securitySource: client$.options$.session,
87
+ securitySource: security$,
80
88
  };
81
- const securitySettings$ = resolveGlobalSecurity(security$);
82
89
 
83
90
  const requestRes = client$.createRequest$(
84
91
  context,
@@ -114,7 +121,7 @@ export async function accountAccountV1SessionLogin(
114
121
  };
115
122
 
116
123
  const [result$] = await m$.match<
117
- components.V1LoginResponseBody,
124
+ operations.AccountV1SessionLoginResponse,
118
125
  | errors.ErrorModel
119
126
  | SDKError
120
127
  | SDKValidationError
@@ -124,12 +131,14 @@ export async function accountAccountV1SessionLogin(
124
131
  | RequestTimeoutError
125
132
  | ConnectionError
126
133
  >(
127
- m$.json(200, components.V1LoginResponseBody$inboundSchema),
134
+ m$.json(200, operations.AccountV1SessionLoginResponse$inboundSchema, {
135
+ key: "V1LoginResponseBody",
136
+ }),
128
137
  m$.jsonErr([422, 500], errors.ErrorModel$inboundSchema, {
129
138
  ctype: "application/problem+json",
130
139
  }),
131
140
  m$.fail(["4XX", "5XX"])
132
- )(response, { extraFields: responseFields$ });
141
+ )(response, request$, { extraFields: responseFields$ });
133
142
  if (!result$.ok) {
134
143
  return result$;
135
144
  }
@@ -20,6 +20,7 @@ import {
20
20
  import * as errors from "../models/errors/index.js";
21
21
  import { SDKError } from "../models/errors/sdkerror.js";
22
22
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
+ import * as operations from "../models/operations/index.js";
23
24
  import { Result } from "../types/fp.js";
24
25
 
25
26
  /**
@@ -31,7 +32,7 @@ export async function accountAccountV1SettingsDeleteImages(
31
32
  options?: RequestOptions
32
33
  ): Promise<
33
34
  Result<
34
- components.V1DeleteImagesResponseBody,
35
+ operations.AccountV1SettingsDeleteImagesResponse,
35
36
  | errors.ErrorModel
36
37
  | SDKError
37
38
  | SDKValidationError
@@ -105,7 +106,7 @@ export async function accountAccountV1SettingsDeleteImages(
105
106
  };
106
107
 
107
108
  const [result$] = await m$.match<
108
- components.V1DeleteImagesResponseBody,
109
+ operations.AccountV1SettingsDeleteImagesResponse,
109
110
  | errors.ErrorModel
110
111
  | SDKError
111
112
  | SDKValidationError
@@ -115,12 +116,14 @@ export async function accountAccountV1SettingsDeleteImages(
115
116
  | RequestTimeoutError
116
117
  | ConnectionError
117
118
  >(
118
- m$.json(200, components.V1DeleteImagesResponseBody$inboundSchema),
119
+ m$.json(200, operations.AccountV1SettingsDeleteImagesResponse$inboundSchema, {
120
+ key: "V1DeleteImagesResponseBody",
121
+ }),
119
122
  m$.jsonErr([404, 422, 500], errors.ErrorModel$inboundSchema, {
120
123
  ctype: "application/problem+json",
121
124
  }),
122
125
  m$.fail(["4XX", "5XX"])
123
- )(response, { extraFields: responseFields$ });
126
+ )(response, request$, { extraFields: responseFields$ });
124
127
  if (!result$.ok) {
125
128
  return result$;
126
129
  }
@@ -7,7 +7,6 @@ import * as m$ from "../lib/matchers.js";
7
7
  import { RequestOptions } from "../lib/sdks.js";
8
8
  import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
9
9
  import { pathToFunc } from "../lib/url.js";
10
- import * as components from "../models/components/index.js";
11
10
  import {
12
11
  ConnectionError,
13
12
  InvalidRequestError,
@@ -18,6 +17,7 @@ import {
18
17
  import * as errors from "../models/errors/index.js";
19
18
  import { SDKError } from "../models/errors/sdkerror.js";
20
19
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
20
+ import * as operations from "../models/operations/index.js";
21
21
  import { Result } from "../types/fp.js";
22
22
 
23
23
  /**
@@ -28,7 +28,7 @@ export async function accountAccountV1SettingsGenerateApiKey(
28
28
  options?: RequestOptions
29
29
  ): Promise<
30
30
  Result<
31
- components.V1GenerateApiKeyResponseBody,
31
+ operations.AccountV1SettingsGenerateApiKeyResponse,
32
32
  | errors.ErrorModel
33
33
  | SDKError
34
34
  | SDKValidationError
@@ -87,7 +87,7 @@ export async function accountAccountV1SettingsGenerateApiKey(
87
87
  };
88
88
 
89
89
  const [result$] = await m$.match<
90
- components.V1GenerateApiKeyResponseBody,
90
+ operations.AccountV1SettingsGenerateApiKeyResponse,
91
91
  | errors.ErrorModel
92
92
  | SDKError
93
93
  | SDKValidationError
@@ -97,12 +97,14 @@ export async function accountAccountV1SettingsGenerateApiKey(
97
97
  | RequestTimeoutError
98
98
  | ConnectionError
99
99
  >(
100
- m$.json(200, components.V1GenerateApiKeyResponseBody$inboundSchema),
100
+ m$.json(200, operations.AccountV1SettingsGenerateApiKeyResponse$inboundSchema, {
101
+ key: "V1GenerateApiKeyResponseBody",
102
+ }),
101
103
  m$.jsonErr([404, 429, 500], errors.ErrorModel$inboundSchema, {
102
104
  ctype: "application/problem+json",
103
105
  }),
104
106
  m$.fail(["4XX", "5XX"])
105
- )(response, { extraFields: responseFields$ });
107
+ )(response, request$, { extraFields: responseFields$ });
106
108
  if (!result$.ok) {
107
109
  return result$;
108
110
  }
@@ -7,7 +7,6 @@ import * as m$ from "../lib/matchers.js";
7
7
  import { RequestOptions } from "../lib/sdks.js";
8
8
  import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
9
9
  import { pathToFunc } from "../lib/url.js";
10
- import * as components from "../models/components/index.js";
11
10
  import {
12
11
  ConnectionError,
13
12
  InvalidRequestError,
@@ -18,6 +17,7 @@ import {
18
17
  import * as errors from "../models/errors/index.js";
19
18
  import { SDKError } from "../models/errors/sdkerror.js";
20
19
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
20
+ import * as operations from "../models/operations/index.js";
21
21
  import { Result } from "../types/fp.js";
22
22
 
23
23
  /**
@@ -28,7 +28,7 @@ export async function accountAccountV1SettingsGet(
28
28
  options?: RequestOptions
29
29
  ): Promise<
30
30
  Result<
31
- components.V1GetSettingsBody,
31
+ operations.AccountV1SettingsGetResponse,
32
32
  | errors.ErrorModel
33
33
  | SDKError
34
34
  | SDKValidationError
@@ -87,7 +87,7 @@ export async function accountAccountV1SettingsGet(
87
87
  };
88
88
 
89
89
  const [result$] = await m$.match<
90
- components.V1GetSettingsBody,
90
+ operations.AccountV1SettingsGetResponse,
91
91
  | errors.ErrorModel
92
92
  | SDKError
93
93
  | SDKValidationError
@@ -97,10 +97,12 @@ export async function accountAccountV1SettingsGet(
97
97
  | RequestTimeoutError
98
98
  | ConnectionError
99
99
  >(
100
- m$.json(200, components.V1GetSettingsBody$inboundSchema),
100
+ m$.json(200, operations.AccountV1SettingsGetResponse$inboundSchema, {
101
+ key: "V1GetSettingsBody",
102
+ }),
101
103
  m$.jsonErr(500, errors.ErrorModel$inboundSchema, { ctype: "application/problem+json" }),
102
104
  m$.fail(["4XX", "5XX"])
103
- )(response, { extraFields: responseFields$ });
105
+ )(response, request$, { extraFields: responseFields$ });
104
106
  if (!result$.ok) {
105
107
  return result$;
106
108
  }