@steamsets/client-ts 0.8.0 → 0.8.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 (301) hide show
  1. package/README.md +24 -24
  2. package/docs/sdks/account/README.md +119 -104
  3. package/docs/sdks/connection/README.md +28 -24
  4. package/docs/sdks/data/README.md +9 -8
  5. package/docs/sdks/liveness/README.md +2 -2
  6. package/docs/sdks/location/README.md +9 -8
  7. package/docs/sdks/session/README.md +20 -18
  8. package/docs/sdks/settings/README.md +62 -54
  9. package/funcs/accountAccountV1ConnectionConnect.d.ts +1 -1
  10. package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
  11. package/funcs/accountAccountV1ConnectionConnect.js +12 -5
  12. package/funcs/accountAccountV1ConnectionConnect.js.map +1 -1
  13. package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts +1 -1
  14. package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  15. package/funcs/accountAccountV1ConnectionDeleteConnection.js +12 -5
  16. package/funcs/accountAccountV1ConnectionDeleteConnection.js.map +1 -1
  17. package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts +1 -1
  18. package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  19. package/funcs/accountAccountV1ConnectionUpdateConnection.js +12 -5
  20. package/funcs/accountAccountV1ConnectionUpdateConnection.js.map +1 -1
  21. package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts +1 -1
  22. package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  23. package/funcs/accountAccountV1ConnectionVerifyConnection.js +12 -5
  24. package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +1 -1
  25. package/funcs/accountAccountV1GetStaff.d.ts +1 -1
  26. package/funcs/accountAccountV1GetStaff.d.ts.map +1 -1
  27. package/funcs/accountAccountV1GetStaff.js +12 -5
  28. package/funcs/accountAccountV1GetStaff.js.map +1 -1
  29. package/funcs/accountAccountV1SessionCreate.js +3 -3
  30. package/funcs/accountAccountV1SessionCreate.js.map +1 -1
  31. package/funcs/accountAccountV1SessionDelete.d.ts +1 -1
  32. package/funcs/accountAccountV1SessionDelete.d.ts.map +1 -1
  33. package/funcs/accountAccountV1SessionDelete.js +12 -5
  34. package/funcs/accountAccountV1SessionDelete.js.map +1 -1
  35. package/funcs/accountAccountV1SessionGet.d.ts +1 -1
  36. package/funcs/accountAccountV1SessionGet.d.ts.map +1 -1
  37. package/funcs/accountAccountV1SessionGet.js +12 -5
  38. package/funcs/accountAccountV1SessionGet.js.map +1 -1
  39. package/funcs/accountAccountV1SessionLogin.js +3 -3
  40. package/funcs/accountAccountV1SessionLogin.js.map +1 -1
  41. package/funcs/accountAccountV1SettingsDeleteImages.d.ts +1 -1
  42. package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -1
  43. package/funcs/accountAccountV1SettingsDeleteImages.js +12 -5
  44. package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -1
  45. package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts +1 -1
  46. package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts.map +1 -1
  47. package/funcs/accountAccountV1SettingsGenerateApiKey.js +12 -5
  48. package/funcs/accountAccountV1SettingsGenerateApiKey.js.map +1 -1
  49. package/funcs/accountAccountV1SettingsGet.d.ts +1 -1
  50. package/funcs/accountAccountV1SettingsGet.d.ts.map +1 -1
  51. package/funcs/accountAccountV1SettingsGet.js +12 -5
  52. package/funcs/accountAccountV1SettingsGet.js.map +1 -1
  53. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts +1 -1
  54. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  55. package/funcs/accountAccountV1SettingsSendEmailVerification.js +12 -5
  56. package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
  57. package/funcs/accountAccountV1SettingsUpdate.d.ts +1 -1
  58. package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
  59. package/funcs/accountAccountV1SettingsUpdate.js +12 -5
  60. package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
  61. package/funcs/accountAccountV1SettingsUpdateImage.d.ts +1 -1
  62. package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -1
  63. package/funcs/accountAccountV1SettingsUpdateImage.js +12 -5
  64. package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -1
  65. package/funcs/accountAccountV1SettingsUploadImages.d.ts +1 -1
  66. package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -1
  67. package/funcs/accountAccountV1SettingsUploadImages.js +12 -5
  68. package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -1
  69. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +1 -1
  70. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  71. package/funcs/accountAccountV1SettingsVerfyEmail.js +12 -5
  72. package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
  73. package/funcs/connectionAccountV1ConnectionConnect.d.ts +1 -1
  74. package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
  75. package/funcs/connectionAccountV1ConnectionConnect.js +12 -5
  76. package/funcs/connectionAccountV1ConnectionConnect.js.map +1 -1
  77. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts +1 -1
  78. package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
  79. package/funcs/connectionAccountV1ConnectionDeleteConnection.js +12 -5
  80. package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +1 -1
  81. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts +1 -1
  82. package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
  83. package/funcs/connectionAccountV1ConnectionUpdateConnection.js +12 -5
  84. package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +1 -1
  85. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts +1 -1
  86. package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
  87. package/funcs/connectionAccountV1ConnectionVerifyConnection.js +12 -5
  88. package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
  89. package/funcs/dataAccountV1GetStaff.d.ts +1 -1
  90. package/funcs/dataAccountV1GetStaff.d.ts.map +1 -1
  91. package/funcs/dataAccountV1GetStaff.js +12 -5
  92. package/funcs/dataAccountV1GetStaff.js.map +1 -1
  93. package/funcs/livenessLiveness.js +3 -3
  94. package/funcs/livenessLiveness.js.map +1 -1
  95. package/funcs/locationLocation.d.ts +1 -1
  96. package/funcs/locationLocation.d.ts.map +1 -1
  97. package/funcs/locationLocation.js +12 -5
  98. package/funcs/locationLocation.js.map +1 -1
  99. package/funcs/sessionAccountV1SessionCreate.js +3 -3
  100. package/funcs/sessionAccountV1SessionCreate.js.map +1 -1
  101. package/funcs/sessionAccountV1SessionDelete.d.ts +1 -1
  102. package/funcs/sessionAccountV1SessionDelete.d.ts.map +1 -1
  103. package/funcs/sessionAccountV1SessionDelete.js +12 -5
  104. package/funcs/sessionAccountV1SessionDelete.js.map +1 -1
  105. package/funcs/sessionAccountV1SessionGet.d.ts +1 -1
  106. package/funcs/sessionAccountV1SessionGet.d.ts.map +1 -1
  107. package/funcs/sessionAccountV1SessionGet.js +12 -5
  108. package/funcs/sessionAccountV1SessionGet.js.map +1 -1
  109. package/funcs/sessionAccountV1SessionLogin.js +3 -3
  110. package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
  111. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +1 -1
  112. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -1
  113. package/funcs/settingsAccountV1SettingsDeleteImages.js +12 -5
  114. package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -1
  115. package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts +1 -1
  116. package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts.map +1 -1
  117. package/funcs/settingsAccountV1SettingsGenerateApiKey.js +12 -5
  118. package/funcs/settingsAccountV1SettingsGenerateApiKey.js.map +1 -1
  119. package/funcs/settingsAccountV1SettingsGet.d.ts +1 -1
  120. package/funcs/settingsAccountV1SettingsGet.d.ts.map +1 -1
  121. package/funcs/settingsAccountV1SettingsGet.js +12 -5
  122. package/funcs/settingsAccountV1SettingsGet.js.map +1 -1
  123. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts +1 -1
  124. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
  125. package/funcs/settingsAccountV1SettingsSendEmailVerification.js +12 -5
  126. package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
  127. package/funcs/settingsAccountV1SettingsUpdate.d.ts +1 -1
  128. package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
  129. package/funcs/settingsAccountV1SettingsUpdate.js +12 -5
  130. package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
  131. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +1 -1
  132. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -1
  133. package/funcs/settingsAccountV1SettingsUpdateImage.js +12 -5
  134. package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -1
  135. package/funcs/settingsAccountV1SettingsUploadImages.d.ts +1 -1
  136. package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -1
  137. package/funcs/settingsAccountV1SettingsUploadImages.js +12 -5
  138. package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -1
  139. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +1 -1
  140. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -1
  141. package/funcs/settingsAccountV1SettingsVerfyEmail.js +12 -5
  142. package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
  143. package/lib/config.d.ts +3 -3
  144. package/lib/config.d.ts.map +1 -1
  145. package/lib/config.js +2 -2
  146. package/lib/security.js +3 -3
  147. package/lib/security.js.map +1 -1
  148. package/models/components/security.d.ts +2 -2
  149. package/models/components/security.d.ts.map +1 -1
  150. package/models/components/security.js +2 -2
  151. package/models/components/security.js.map +1 -1
  152. package/models/operations/accountv1connectionconnect.d.ts +23 -0
  153. package/models/operations/accountv1connectionconnect.d.ts.map +1 -1
  154. package/models/operations/accountv1connectionconnect.js +20 -1
  155. package/models/operations/accountv1connectionconnect.js.map +1 -1
  156. package/models/operations/accountv1connectiondeleteconnection.d.ts +23 -0
  157. package/models/operations/accountv1connectiondeleteconnection.d.ts.map +1 -1
  158. package/models/operations/accountv1connectiondeleteconnection.js +20 -1
  159. package/models/operations/accountv1connectiondeleteconnection.js.map +1 -1
  160. package/models/operations/accountv1connectionupdateconnection.d.ts +23 -0
  161. package/models/operations/accountv1connectionupdateconnection.d.ts.map +1 -1
  162. package/models/operations/accountv1connectionupdateconnection.js +20 -1
  163. package/models/operations/accountv1connectionupdateconnection.js.map +1 -1
  164. package/models/operations/accountv1connectionverifyconnection.d.ts +23 -0
  165. package/models/operations/accountv1connectionverifyconnection.d.ts.map +1 -1
  166. package/models/operations/accountv1connectionverifyconnection.js +20 -1
  167. package/models/operations/accountv1connectionverifyconnection.js.map +1 -1
  168. package/models/operations/accountv1getstaff.d.ts +23 -0
  169. package/models/operations/accountv1getstaff.d.ts.map +1 -1
  170. package/models/operations/accountv1getstaff.js +20 -1
  171. package/models/operations/accountv1getstaff.js.map +1 -1
  172. package/models/operations/accountv1sessiondelete.d.ts +23 -0
  173. package/models/operations/accountv1sessiondelete.d.ts.map +1 -1
  174. package/models/operations/accountv1sessiondelete.js +20 -1
  175. package/models/operations/accountv1sessiondelete.js.map +1 -1
  176. package/models/operations/accountv1sessionget.d.ts +23 -0
  177. package/models/operations/accountv1sessionget.d.ts.map +1 -1
  178. package/models/operations/accountv1sessionget.js +20 -1
  179. package/models/operations/accountv1sessionget.js.map +1 -1
  180. package/models/operations/accountv1settingsdeleteimages.d.ts +23 -0
  181. package/models/operations/accountv1settingsdeleteimages.d.ts.map +1 -1
  182. package/models/operations/accountv1settingsdeleteimages.js +20 -1
  183. package/models/operations/accountv1settingsdeleteimages.js.map +1 -1
  184. package/models/operations/accountv1settingsgenerateapikey.d.ts +23 -0
  185. package/models/operations/accountv1settingsgenerateapikey.d.ts.map +1 -1
  186. package/models/operations/accountv1settingsgenerateapikey.js +20 -1
  187. package/models/operations/accountv1settingsgenerateapikey.js.map +1 -1
  188. package/models/operations/accountv1settingsget.d.ts +23 -0
  189. package/models/operations/accountv1settingsget.d.ts.map +1 -1
  190. package/models/operations/accountv1settingsget.js +20 -1
  191. package/models/operations/accountv1settingsget.js.map +1 -1
  192. package/models/operations/accountv1settingssendemailverification.d.ts +23 -0
  193. package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -1
  194. package/models/operations/accountv1settingssendemailverification.js +20 -1
  195. package/models/operations/accountv1settingssendemailverification.js.map +1 -1
  196. package/models/operations/accountv1settingsupdate.d.ts +23 -0
  197. package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
  198. package/models/operations/accountv1settingsupdate.js +20 -1
  199. package/models/operations/accountv1settingsupdate.js.map +1 -1
  200. package/models/operations/accountv1settingsupdateimage.d.ts +23 -0
  201. package/models/operations/accountv1settingsupdateimage.d.ts.map +1 -1
  202. package/models/operations/accountv1settingsupdateimage.js +20 -1
  203. package/models/operations/accountv1settingsupdateimage.js.map +1 -1
  204. package/models/operations/accountv1settingsuploadimages.d.ts +23 -0
  205. package/models/operations/accountv1settingsuploadimages.d.ts.map +1 -1
  206. package/models/operations/accountv1settingsuploadimages.js +20 -1
  207. package/models/operations/accountv1settingsuploadimages.js.map +1 -1
  208. package/models/operations/accountv1settingsverfyemail.d.ts +23 -0
  209. package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -1
  210. package/models/operations/accountv1settingsverfyemail.js +20 -1
  211. package/models/operations/accountv1settingsverfyemail.js.map +1 -1
  212. package/models/operations/location.d.ts +23 -0
  213. package/models/operations/location.d.ts.map +1 -1
  214. package/models/operations/location.js +20 -1
  215. package/models/operations/location.js.map +1 -1
  216. package/package.json +1 -1
  217. package/sdk/account.d.ts +15 -15
  218. package/sdk/account.d.ts.map +1 -1
  219. package/sdk/account.js +30 -30
  220. package/sdk/account.js.map +1 -1
  221. package/sdk/connection.d.ts +4 -4
  222. package/sdk/connection.d.ts.map +1 -1
  223. package/sdk/connection.js +8 -8
  224. package/sdk/connection.js.map +1 -1
  225. package/sdk/data.d.ts +1 -1
  226. package/sdk/data.d.ts.map +1 -1
  227. package/sdk/data.js +2 -2
  228. package/sdk/data.js.map +1 -1
  229. package/sdk/location.d.ts +1 -1
  230. package/sdk/location.d.ts.map +1 -1
  231. package/sdk/location.js +2 -2
  232. package/sdk/location.js.map +1 -1
  233. package/sdk/session.d.ts +2 -2
  234. package/sdk/session.d.ts.map +1 -1
  235. package/sdk/session.js +4 -4
  236. package/sdk/session.js.map +1 -1
  237. package/sdk/settings.d.ts +8 -8
  238. package/sdk/settings.d.ts.map +1 -1
  239. package/sdk/settings.js +16 -16
  240. package/sdk/settings.js.map +1 -1
  241. package/src/funcs/accountAccountV1ConnectionConnect.ts +13 -5
  242. package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +13 -5
  243. package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +13 -5
  244. package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +13 -5
  245. package/src/funcs/accountAccountV1GetStaff.ts +13 -5
  246. package/src/funcs/accountAccountV1SessionCreate.ts +3 -3
  247. package/src/funcs/accountAccountV1SessionDelete.ts +13 -5
  248. package/src/funcs/accountAccountV1SessionGet.ts +13 -5
  249. package/src/funcs/accountAccountV1SessionLogin.ts +3 -3
  250. package/src/funcs/accountAccountV1SettingsDeleteImages.ts +13 -5
  251. package/src/funcs/accountAccountV1SettingsGenerateApiKey.ts +13 -5
  252. package/src/funcs/accountAccountV1SettingsGet.ts +13 -5
  253. package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +13 -5
  254. package/src/funcs/accountAccountV1SettingsUpdate.ts +13 -5
  255. package/src/funcs/accountAccountV1SettingsUpdateImage.ts +13 -5
  256. package/src/funcs/accountAccountV1SettingsUploadImages.ts +13 -5
  257. package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +13 -5
  258. package/src/funcs/connectionAccountV1ConnectionConnect.ts +13 -5
  259. package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +13 -5
  260. package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +13 -5
  261. package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +13 -5
  262. package/src/funcs/dataAccountV1GetStaff.ts +13 -5
  263. package/src/funcs/livenessLiveness.ts +3 -3
  264. package/src/funcs/locationLocation.ts +13 -5
  265. package/src/funcs/sessionAccountV1SessionCreate.ts +3 -3
  266. package/src/funcs/sessionAccountV1SessionDelete.ts +13 -5
  267. package/src/funcs/sessionAccountV1SessionGet.ts +13 -5
  268. package/src/funcs/sessionAccountV1SessionLogin.ts +3 -3
  269. package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +13 -5
  270. package/src/funcs/settingsAccountV1SettingsGenerateApiKey.ts +13 -5
  271. package/src/funcs/settingsAccountV1SettingsGet.ts +13 -5
  272. package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +13 -5
  273. package/src/funcs/settingsAccountV1SettingsUpdate.ts +13 -5
  274. package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +13 -5
  275. package/src/funcs/settingsAccountV1SettingsUploadImages.ts +13 -5
  276. package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +13 -5
  277. package/src/lib/config.ts +3 -3
  278. package/src/lib/security.ts +3 -3
  279. package/src/models/components/security.ts +4 -4
  280. package/src/models/operations/accountv1connectionconnect.ts +41 -0
  281. package/src/models/operations/accountv1connectiondeleteconnection.ts +44 -0
  282. package/src/models/operations/accountv1connectionupdateconnection.ts +44 -0
  283. package/src/models/operations/accountv1connectionverifyconnection.ts +44 -0
  284. package/src/models/operations/accountv1getstaff.ts +40 -0
  285. package/src/models/operations/accountv1sessiondelete.ts +40 -0
  286. package/src/models/operations/accountv1sessionget.ts +40 -0
  287. package/src/models/operations/accountv1settingsdeleteimages.ts +42 -0
  288. package/src/models/operations/accountv1settingsgenerateapikey.ts +42 -0
  289. package/src/models/operations/accountv1settingsget.ts +40 -0
  290. package/src/models/operations/accountv1settingssendemailverification.ts +45 -0
  291. package/src/models/operations/accountv1settingsupdate.ts +40 -0
  292. package/src/models/operations/accountv1settingsupdateimage.ts +42 -0
  293. package/src/models/operations/accountv1settingsuploadimages.ts +42 -0
  294. package/src/models/operations/accountv1settingsverfyemail.ts +42 -0
  295. package/src/models/operations/location.ts +40 -0
  296. package/src/sdk/account.ts +30 -0
  297. package/src/sdk/connection.ts +8 -0
  298. package/src/sdk/data.ts +2 -0
  299. package/src/sdk/location.ts +2 -0
  300. package/src/sdk/session.ts +4 -0
  301. package/src/sdk/settings.ts +16 -0
@@ -7,7 +7,7 @@ import { encodeSimple as encodeSimple$ } from "../lib/encodings.js";
7
7
  import * as m$ from "../lib/matchers.js";
8
8
  import * as schemas$ from "../lib/schemas.js";
9
9
  import { RequestOptions } from "../lib/sdks.js";
10
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
10
+ import { resolveSecurity, SecurityInput } from "../lib/security.js";
11
11
  import { pathToFunc } from "../lib/url.js";
12
12
  import {
13
13
  ConnectionError,
@@ -28,6 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  export async function settingsAccountV1SettingsSendEmailVerification(
29
29
  client$: SteamSetsCore,
30
30
  request: operations.AccountV1SettingsSendEmailVerificationRequest,
31
+ security: operations.AccountV1SettingsSendEmailVerificationSecurity,
31
32
  options?: RequestOptions,
32
33
  ): Promise<
33
34
  Result<
@@ -70,14 +71,21 @@ export async function settingsAccountV1SettingsSendEmailVerification(
70
71
  ),
71
72
  });
72
73
 
73
- const session$ = await extractSecurity(client$.options$.session);
74
- const security$ = session$ == null ? {} : { session: session$ };
74
+ const security$: SecurityInput[][] = [
75
+ [
76
+ {
77
+ fieldName: "Authorization",
78
+ type: "http:bearer",
79
+ value: security?.session,
80
+ },
81
+ ],
82
+ ];
83
+ const securitySettings$ = resolveSecurity(...security$);
75
84
  const context = {
76
85
  operationID: "account.v1.settings.send-email-verification",
77
86
  oAuth2Scopes: [],
78
- securitySource: client$.options$.session,
87
+ securitySource: security,
79
88
  };
80
- const securitySettings$ = resolveGlobalSecurity(security$);
81
89
 
82
90
  const requestRes = client$.createRequest$(context, {
83
91
  security: securitySettings$,
@@ -10,7 +10,7 @@ import {
10
10
  import * as m$ from "../lib/matchers.js";
11
11
  import * as schemas$ from "../lib/schemas.js";
12
12
  import { RequestOptions } from "../lib/sdks.js";
13
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { resolveSecurity, SecurityInput } from "../lib/security.js";
14
14
  import { pathToFunc } from "../lib/url.js";
15
15
  import {
16
16
  ConnectionError,
@@ -31,6 +31,7 @@ import { Result } from "../types/fp.js";
31
31
  export async function settingsAccountV1SettingsUpdate(
32
32
  client$: SteamSetsCore,
33
33
  request: operations.AccountV1SettingsUpdateRequest,
34
+ security: operations.AccountV1SettingsUpdateSecurity,
34
35
  options?: RequestOptions,
35
36
  ): Promise<
36
37
  Result<
@@ -73,14 +74,21 @@ export async function settingsAccountV1SettingsUpdate(
73
74
  ),
74
75
  });
75
76
 
76
- const session$ = await extractSecurity(client$.options$.session);
77
- const security$ = session$ == null ? {} : { session: session$ };
77
+ const security$: SecurityInput[][] = [
78
+ [
79
+ {
80
+ fieldName: "Authorization",
81
+ type: "http:bearer",
82
+ value: security?.session,
83
+ },
84
+ ],
85
+ ];
86
+ const securitySettings$ = resolveSecurity(...security$);
78
87
  const context = {
79
88
  operationID: "account.v1.settings.update",
80
89
  oAuth2Scopes: [],
81
- securitySource: client$.options$.session,
90
+ securitySource: security,
82
91
  };
83
- const securitySettings$ = resolveGlobalSecurity(security$);
84
92
 
85
93
  const requestRes = client$.createRequest$(context, {
86
94
  security: securitySettings$,
@@ -7,7 +7,7 @@ import { encodeJSON as encodeJSON$ } from "../lib/encodings.js";
7
7
  import * as m$ from "../lib/matchers.js";
8
8
  import * as schemas$ from "../lib/schemas.js";
9
9
  import { RequestOptions } from "../lib/sdks.js";
10
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
10
+ import { resolveSecurity, SecurityInput } from "../lib/security.js";
11
11
  import { pathToFunc } from "../lib/url.js";
12
12
  import * as components from "../models/components/index.js";
13
13
  import {
@@ -29,6 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  export async function settingsAccountV1SettingsUpdateImage(
30
30
  client$: SteamSetsCore,
31
31
  request: components.V1UpdateImageRequestBody,
32
+ security: operations.AccountV1SettingsUpdateImageSecurity,
32
33
  options?: RequestOptions,
33
34
  ): Promise<
34
35
  Result<
@@ -64,14 +65,21 @@ export async function settingsAccountV1SettingsUpdateImage(
64
65
  Accept: "application/json",
65
66
  });
66
67
 
67
- const session$ = await extractSecurity(client$.options$.session);
68
- const security$ = session$ == null ? {} : { session: session$ };
68
+ const security$: SecurityInput[][] = [
69
+ [
70
+ {
71
+ fieldName: "Authorization",
72
+ type: "http:bearer",
73
+ value: security?.session,
74
+ },
75
+ ],
76
+ ];
77
+ const securitySettings$ = resolveSecurity(...security$);
69
78
  const context = {
70
79
  operationID: "account.v1.settings.update-image",
71
80
  oAuth2Scopes: [],
72
- securitySource: client$.options$.session,
81
+ securitySource: security,
73
82
  };
74
- const securitySettings$ = resolveGlobalSecurity(security$);
75
83
 
76
84
  const requestRes = client$.createRequest$(context, {
77
85
  security: securitySettings$,
@@ -7,7 +7,7 @@ import { encodeJSON as encodeJSON$ } from "../lib/encodings.js";
7
7
  import * as m$ from "../lib/matchers.js";
8
8
  import * as schemas$ from "../lib/schemas.js";
9
9
  import { RequestOptions } from "../lib/sdks.js";
10
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
10
+ import { resolveSecurity, SecurityInput } from "../lib/security.js";
11
11
  import { pathToFunc } from "../lib/url.js";
12
12
  import * as components from "../models/components/index.js";
13
13
  import {
@@ -29,6 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  export async function settingsAccountV1SettingsUploadImages(
30
30
  client$: SteamSetsCore,
31
31
  request: components.V1UploadImagesRequestBody,
32
+ security: operations.AccountV1SettingsUploadImagesSecurity,
32
33
  options?: RequestOptions,
33
34
  ): Promise<
34
35
  Result<
@@ -64,14 +65,21 @@ export async function settingsAccountV1SettingsUploadImages(
64
65
  Accept: "application/problem+json",
65
66
  });
66
67
 
67
- const session$ = await extractSecurity(client$.options$.session);
68
- const security$ = session$ == null ? {} : { session: session$ };
68
+ const security$: SecurityInput[][] = [
69
+ [
70
+ {
71
+ fieldName: "Authorization",
72
+ type: "http:bearer",
73
+ value: security?.session,
74
+ },
75
+ ],
76
+ ];
77
+ const securitySettings$ = resolveSecurity(...security$);
69
78
  const context = {
70
79
  operationID: "account.v1.settings.upload-images",
71
80
  oAuth2Scopes: [],
72
- securitySource: client$.options$.session,
81
+ securitySource: security,
73
82
  };
74
- const securitySettings$ = resolveGlobalSecurity(security$);
75
83
 
76
84
  const requestRes = client$.createRequest$(context, {
77
85
  security: securitySettings$,
@@ -7,7 +7,7 @@ import { encodeJSON as encodeJSON$ } from "../lib/encodings.js";
7
7
  import * as m$ from "../lib/matchers.js";
8
8
  import * as schemas$ from "../lib/schemas.js";
9
9
  import { RequestOptions } from "../lib/sdks.js";
10
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
10
+ import { resolveSecurity, SecurityInput } from "../lib/security.js";
11
11
  import { pathToFunc } from "../lib/url.js";
12
12
  import * as components from "../models/components/index.js";
13
13
  import {
@@ -29,6 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  export async function settingsAccountV1SettingsVerfyEmail(
30
30
  client$: SteamSetsCore,
31
31
  request: components.V1VerifyEmailRequestBody,
32
+ security: operations.AccountV1SettingsVerfyEmailSecurity,
32
33
  options?: RequestOptions,
33
34
  ): Promise<
34
35
  Result<
@@ -64,14 +65,21 @@ export async function settingsAccountV1SettingsVerfyEmail(
64
65
  Accept: "application/json",
65
66
  });
66
67
 
67
- const session$ = await extractSecurity(client$.options$.session);
68
- const security$ = session$ == null ? {} : { session: session$ };
68
+ const security$: SecurityInput[][] = [
69
+ [
70
+ {
71
+ fieldName: "Authorization",
72
+ type: "http:bearer",
73
+ value: security?.session,
74
+ },
75
+ ],
76
+ ];
77
+ const securitySettings$ = resolveSecurity(...security$);
69
78
  const context = {
70
79
  operationID: "account.v1.settings.verfy-email",
71
80
  oAuth2Scopes: [],
72
- securitySource: client$.options$.session,
81
+ securitySource: security,
73
82
  };
74
- const securitySettings$ = resolveGlobalSecurity(security$);
75
83
 
76
84
  const requestRes = client$.createRequest$(context, {
77
85
  security: securitySettings$,
package/src/lib/config.ts CHANGED
@@ -16,7 +16,7 @@ export const ServerList = [
16
16
  ] as const;
17
17
 
18
18
  export type SDKOptions = {
19
- session?: string | (() => Promise<string>);
19
+ apiKey?: string | (() => Promise<string>);
20
20
 
21
21
  httpClient?: HTTPClient;
22
22
  /**
@@ -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.8.0",
58
+ sdkVersion: "0.8.1",
59
59
  genVersion: "2.415.6",
60
60
  userAgent:
61
- "speakeasy-sdk/typescript 0.8.0 2.415.6 1.0.0 @steamsets/client-ts",
61
+ "speakeasy-sdk/typescript 0.8.1 2.415.6 1.0.0 @steamsets/client-ts",
62
62
  } as const;
@@ -198,9 +198,9 @@ export function resolveGlobalSecurity(
198
198
  return resolveSecurity(
199
199
  [
200
200
  {
201
- fieldName: "Authorization",
202
- type: "http:bearer",
203
- value: security?.session,
201
+ fieldName: "api-key",
202
+ type: "apiKey:header",
203
+ value: security?.apiKey,
204
204
  },
205
205
  ],
206
206
  );
@@ -5,7 +5,7 @@
5
5
  import * as z from "zod";
6
6
 
7
7
  export type Security = {
8
- session?: string | undefined;
8
+ apiKey?: string | undefined;
9
9
  };
10
10
 
11
11
  /** @internal */
@@ -14,12 +14,12 @@ export const Security$inboundSchema: z.ZodType<
14
14
  z.ZodTypeDef,
15
15
  unknown
16
16
  > = z.object({
17
- session: z.string().optional(),
17
+ apiKey: z.string().optional(),
18
18
  });
19
19
 
20
20
  /** @internal */
21
21
  export type Security$Outbound = {
22
- session?: string | undefined;
22
+ apiKey?: string | undefined;
23
23
  };
24
24
 
25
25
  /** @internal */
@@ -28,7 +28,7 @@ export const Security$outboundSchema: z.ZodType<
28
28
  z.ZodTypeDef,
29
29
  Security
30
30
  > = z.object({
31
- session: z.string().optional(),
31
+ apiKey: z.string().optional(),
32
32
  });
33
33
 
34
34
  /**
@@ -6,6 +6,10 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1ConnectionConnectSecurity = {
10
+ session: string;
11
+ };
12
+
9
13
  export type AccountV1ConnectionConnectResponse = {
10
14
  httpMeta: components.HTTPMetadata;
11
15
  /**
@@ -14,6 +18,43 @@ export type AccountV1ConnectionConnectResponse = {
14
18
  v1ConnectResponseBody?: components.V1ConnectResponseBody | undefined;
15
19
  };
16
20
 
21
+ /** @internal */
22
+ export const AccountV1ConnectionConnectSecurity$inboundSchema: z.ZodType<
23
+ AccountV1ConnectionConnectSecurity,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ session: z.string(),
28
+ });
29
+
30
+ /** @internal */
31
+ export type AccountV1ConnectionConnectSecurity$Outbound = {
32
+ session: string;
33
+ };
34
+
35
+ /** @internal */
36
+ export const AccountV1ConnectionConnectSecurity$outboundSchema: z.ZodType<
37
+ AccountV1ConnectionConnectSecurity$Outbound,
38
+ z.ZodTypeDef,
39
+ AccountV1ConnectionConnectSecurity
40
+ > = z.object({
41
+ session: z.string(),
42
+ });
43
+
44
+ /**
45
+ * @internal
46
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
+ */
48
+ export namespace AccountV1ConnectionConnectSecurity$ {
49
+ /** @deprecated use `AccountV1ConnectionConnectSecurity$inboundSchema` instead. */
50
+ export const inboundSchema = AccountV1ConnectionConnectSecurity$inboundSchema;
51
+ /** @deprecated use `AccountV1ConnectionConnectSecurity$outboundSchema` instead. */
52
+ export const outboundSchema =
53
+ AccountV1ConnectionConnectSecurity$outboundSchema;
54
+ /** @deprecated use `AccountV1ConnectionConnectSecurity$Outbound` instead. */
55
+ export type Outbound = AccountV1ConnectionConnectSecurity$Outbound;
56
+ }
57
+
17
58
  /** @internal */
18
59
  export const AccountV1ConnectionConnectResponse$inboundSchema: z.ZodType<
19
60
  AccountV1ConnectionConnectResponse,
@@ -6,6 +6,10 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1ConnectionDeleteConnectionSecurity = {
10
+ session: string;
11
+ };
12
+
9
13
  export type AccountV1ConnectionDeleteConnectionResponse = {
10
14
  httpMeta: components.HTTPMetadata;
11
15
  /**
@@ -16,6 +20,46 @@ export type AccountV1ConnectionDeleteConnectionResponse = {
16
20
  | undefined;
17
21
  };
18
22
 
23
+ /** @internal */
24
+ export const AccountV1ConnectionDeleteConnectionSecurity$inboundSchema:
25
+ z.ZodType<
26
+ AccountV1ConnectionDeleteConnectionSecurity,
27
+ z.ZodTypeDef,
28
+ unknown
29
+ > = z.object({
30
+ session: z.string(),
31
+ });
32
+
33
+ /** @internal */
34
+ export type AccountV1ConnectionDeleteConnectionSecurity$Outbound = {
35
+ session: string;
36
+ };
37
+
38
+ /** @internal */
39
+ export const AccountV1ConnectionDeleteConnectionSecurity$outboundSchema:
40
+ z.ZodType<
41
+ AccountV1ConnectionDeleteConnectionSecurity$Outbound,
42
+ z.ZodTypeDef,
43
+ AccountV1ConnectionDeleteConnectionSecurity
44
+ > = z.object({
45
+ session: z.string(),
46
+ });
47
+
48
+ /**
49
+ * @internal
50
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
51
+ */
52
+ export namespace AccountV1ConnectionDeleteConnectionSecurity$ {
53
+ /** @deprecated use `AccountV1ConnectionDeleteConnectionSecurity$inboundSchema` instead. */
54
+ export const inboundSchema =
55
+ AccountV1ConnectionDeleteConnectionSecurity$inboundSchema;
56
+ /** @deprecated use `AccountV1ConnectionDeleteConnectionSecurity$outboundSchema` instead. */
57
+ export const outboundSchema =
58
+ AccountV1ConnectionDeleteConnectionSecurity$outboundSchema;
59
+ /** @deprecated use `AccountV1ConnectionDeleteConnectionSecurity$Outbound` instead. */
60
+ export type Outbound = AccountV1ConnectionDeleteConnectionSecurity$Outbound;
61
+ }
62
+
19
63
  /** @internal */
20
64
  export const AccountV1ConnectionDeleteConnectionResponse$inboundSchema:
21
65
  z.ZodType<
@@ -6,6 +6,10 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1ConnectionUpdateConnectionSecurity = {
10
+ session: string;
11
+ };
12
+
9
13
  export type AccountV1ConnectionUpdateConnectionResponse = {
10
14
  httpMeta: components.HTTPMetadata;
11
15
  /**
@@ -16,6 +20,46 @@ export type AccountV1ConnectionUpdateConnectionResponse = {
16
20
  | undefined;
17
21
  };
18
22
 
23
+ /** @internal */
24
+ export const AccountV1ConnectionUpdateConnectionSecurity$inboundSchema:
25
+ z.ZodType<
26
+ AccountV1ConnectionUpdateConnectionSecurity,
27
+ z.ZodTypeDef,
28
+ unknown
29
+ > = z.object({
30
+ session: z.string(),
31
+ });
32
+
33
+ /** @internal */
34
+ export type AccountV1ConnectionUpdateConnectionSecurity$Outbound = {
35
+ session: string;
36
+ };
37
+
38
+ /** @internal */
39
+ export const AccountV1ConnectionUpdateConnectionSecurity$outboundSchema:
40
+ z.ZodType<
41
+ AccountV1ConnectionUpdateConnectionSecurity$Outbound,
42
+ z.ZodTypeDef,
43
+ AccountV1ConnectionUpdateConnectionSecurity
44
+ > = z.object({
45
+ session: z.string(),
46
+ });
47
+
48
+ /**
49
+ * @internal
50
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
51
+ */
52
+ export namespace AccountV1ConnectionUpdateConnectionSecurity$ {
53
+ /** @deprecated use `AccountV1ConnectionUpdateConnectionSecurity$inboundSchema` instead. */
54
+ export const inboundSchema =
55
+ AccountV1ConnectionUpdateConnectionSecurity$inboundSchema;
56
+ /** @deprecated use `AccountV1ConnectionUpdateConnectionSecurity$outboundSchema` instead. */
57
+ export const outboundSchema =
58
+ AccountV1ConnectionUpdateConnectionSecurity$outboundSchema;
59
+ /** @deprecated use `AccountV1ConnectionUpdateConnectionSecurity$Outbound` instead. */
60
+ export type Outbound = AccountV1ConnectionUpdateConnectionSecurity$Outbound;
61
+ }
62
+
19
63
  /** @internal */
20
64
  export const AccountV1ConnectionUpdateConnectionResponse$inboundSchema:
21
65
  z.ZodType<
@@ -6,6 +6,10 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1ConnectionVerifyConnectionSecurity = {
10
+ session: string;
11
+ };
12
+
9
13
  export type AccountV1ConnectionVerifyConnectionResponse = {
10
14
  httpMeta: components.HTTPMetadata;
11
15
  /**
@@ -16,6 +20,46 @@ export type AccountV1ConnectionVerifyConnectionResponse = {
16
20
  | undefined;
17
21
  };
18
22
 
23
+ /** @internal */
24
+ export const AccountV1ConnectionVerifyConnectionSecurity$inboundSchema:
25
+ z.ZodType<
26
+ AccountV1ConnectionVerifyConnectionSecurity,
27
+ z.ZodTypeDef,
28
+ unknown
29
+ > = z.object({
30
+ session: z.string(),
31
+ });
32
+
33
+ /** @internal */
34
+ export type AccountV1ConnectionVerifyConnectionSecurity$Outbound = {
35
+ session: string;
36
+ };
37
+
38
+ /** @internal */
39
+ export const AccountV1ConnectionVerifyConnectionSecurity$outboundSchema:
40
+ z.ZodType<
41
+ AccountV1ConnectionVerifyConnectionSecurity$Outbound,
42
+ z.ZodTypeDef,
43
+ AccountV1ConnectionVerifyConnectionSecurity
44
+ > = z.object({
45
+ session: z.string(),
46
+ });
47
+
48
+ /**
49
+ * @internal
50
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
51
+ */
52
+ export namespace AccountV1ConnectionVerifyConnectionSecurity$ {
53
+ /** @deprecated use `AccountV1ConnectionVerifyConnectionSecurity$inboundSchema` instead. */
54
+ export const inboundSchema =
55
+ AccountV1ConnectionVerifyConnectionSecurity$inboundSchema;
56
+ /** @deprecated use `AccountV1ConnectionVerifyConnectionSecurity$outboundSchema` instead. */
57
+ export const outboundSchema =
58
+ AccountV1ConnectionVerifyConnectionSecurity$outboundSchema;
59
+ /** @deprecated use `AccountV1ConnectionVerifyConnectionSecurity$Outbound` instead. */
60
+ export type Outbound = AccountV1ConnectionVerifyConnectionSecurity$Outbound;
61
+ }
62
+
19
63
  /** @internal */
20
64
  export const AccountV1ConnectionVerifyConnectionResponse$inboundSchema:
21
65
  z.ZodType<
@@ -6,6 +6,10 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1GetStaffSecurity = {
10
+ session: string;
11
+ };
12
+
9
13
  export type AccountV1GetStaffResponse = {
10
14
  httpMeta: components.HTTPMetadata;
11
15
  /**
@@ -14,6 +18,42 @@ export type AccountV1GetStaffResponse = {
14
18
  leaderboardAccounts?: Array<components.LeaderboardAccount> | null | undefined;
15
19
  };
16
20
 
21
+ /** @internal */
22
+ export const AccountV1GetStaffSecurity$inboundSchema: z.ZodType<
23
+ AccountV1GetStaffSecurity,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ session: z.string(),
28
+ });
29
+
30
+ /** @internal */
31
+ export type AccountV1GetStaffSecurity$Outbound = {
32
+ session: string;
33
+ };
34
+
35
+ /** @internal */
36
+ export const AccountV1GetStaffSecurity$outboundSchema: z.ZodType<
37
+ AccountV1GetStaffSecurity$Outbound,
38
+ z.ZodTypeDef,
39
+ AccountV1GetStaffSecurity
40
+ > = z.object({
41
+ session: z.string(),
42
+ });
43
+
44
+ /**
45
+ * @internal
46
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
+ */
48
+ export namespace AccountV1GetStaffSecurity$ {
49
+ /** @deprecated use `AccountV1GetStaffSecurity$inboundSchema` instead. */
50
+ export const inboundSchema = AccountV1GetStaffSecurity$inboundSchema;
51
+ /** @deprecated use `AccountV1GetStaffSecurity$outboundSchema` instead. */
52
+ export const outboundSchema = AccountV1GetStaffSecurity$outboundSchema;
53
+ /** @deprecated use `AccountV1GetStaffSecurity$Outbound` instead. */
54
+ export type Outbound = AccountV1GetStaffSecurity$Outbound;
55
+ }
56
+
17
57
  /** @internal */
18
58
  export const AccountV1GetStaffResponse$inboundSchema: z.ZodType<
19
59
  AccountV1GetStaffResponse,
@@ -6,6 +6,10 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1SessionDeleteSecurity = {
10
+ session: string;
11
+ };
12
+
9
13
  export type AccountV1SessionDeleteResponse = {
10
14
  httpMeta: components.HTTPMetadata;
11
15
  /**
@@ -16,6 +20,42 @@ export type AccountV1SessionDeleteResponse = {
16
20
  | undefined;
17
21
  };
18
22
 
23
+ /** @internal */
24
+ export const AccountV1SessionDeleteSecurity$inboundSchema: z.ZodType<
25
+ AccountV1SessionDeleteSecurity,
26
+ z.ZodTypeDef,
27
+ unknown
28
+ > = z.object({
29
+ session: z.string(),
30
+ });
31
+
32
+ /** @internal */
33
+ export type AccountV1SessionDeleteSecurity$Outbound = {
34
+ session: string;
35
+ };
36
+
37
+ /** @internal */
38
+ export const AccountV1SessionDeleteSecurity$outboundSchema: z.ZodType<
39
+ AccountV1SessionDeleteSecurity$Outbound,
40
+ z.ZodTypeDef,
41
+ AccountV1SessionDeleteSecurity
42
+ > = z.object({
43
+ session: z.string(),
44
+ });
45
+
46
+ /**
47
+ * @internal
48
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
+ */
50
+ export namespace AccountV1SessionDeleteSecurity$ {
51
+ /** @deprecated use `AccountV1SessionDeleteSecurity$inboundSchema` instead. */
52
+ export const inboundSchema = AccountV1SessionDeleteSecurity$inboundSchema;
53
+ /** @deprecated use `AccountV1SessionDeleteSecurity$outboundSchema` instead. */
54
+ export const outboundSchema = AccountV1SessionDeleteSecurity$outboundSchema;
55
+ /** @deprecated use `AccountV1SessionDeleteSecurity$Outbound` instead. */
56
+ export type Outbound = AccountV1SessionDeleteSecurity$Outbound;
57
+ }
58
+
19
59
  /** @internal */
20
60
  export const AccountV1SessionDeleteResponse$inboundSchema: z.ZodType<
21
61
  AccountV1SessionDeleteResponse,
@@ -6,6 +6,10 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import * as components from "../components/index.js";
8
8
 
9
+ export type AccountV1SessionGetSecurity = {
10
+ session: string;
11
+ };
12
+
9
13
  export type AccountV1SessionGetResponse = {
10
14
  httpMeta: components.HTTPMetadata;
11
15
  /**
@@ -14,6 +18,42 @@ export type AccountV1SessionGetResponse = {
14
18
  v1GetSessionBody?: components.V1GetSessionBody | undefined;
15
19
  };
16
20
 
21
+ /** @internal */
22
+ export const AccountV1SessionGetSecurity$inboundSchema: z.ZodType<
23
+ AccountV1SessionGetSecurity,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ session: z.string(),
28
+ });
29
+
30
+ /** @internal */
31
+ export type AccountV1SessionGetSecurity$Outbound = {
32
+ session: string;
33
+ };
34
+
35
+ /** @internal */
36
+ export const AccountV1SessionGetSecurity$outboundSchema: z.ZodType<
37
+ AccountV1SessionGetSecurity$Outbound,
38
+ z.ZodTypeDef,
39
+ AccountV1SessionGetSecurity
40
+ > = z.object({
41
+ session: z.string(),
42
+ });
43
+
44
+ /**
45
+ * @internal
46
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
+ */
48
+ export namespace AccountV1SessionGetSecurity$ {
49
+ /** @deprecated use `AccountV1SessionGetSecurity$inboundSchema` instead. */
50
+ export const inboundSchema = AccountV1SessionGetSecurity$inboundSchema;
51
+ /** @deprecated use `AccountV1SessionGetSecurity$outboundSchema` instead. */
52
+ export const outboundSchema = AccountV1SessionGetSecurity$outboundSchema;
53
+ /** @deprecated use `AccountV1SessionGetSecurity$Outbound` instead. */
54
+ export type Outbound = AccountV1SessionGetSecurity$Outbound;
55
+ }
56
+
17
57
  /** @internal */
18
58
  export const AccountV1SessionGetResponse$inboundSchema: z.ZodType<
19
59
  AccountV1SessionGetResponse,