@steamsets/client-ts 0.12.4 → 0.12.6

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 (298) hide show
  1. package/README.md +19 -30
  2. package/docs/sdks/admin/README.md +180 -0
  3. package/docs/sdks/steamsets/README.md +148 -1
  4. package/funcs/accountDeleteImages.d.ts.map +1 -1
  5. package/funcs/accountDeleteImages.js +12 -2
  6. package/funcs/accountDeleteImages.js.map +1 -1
  7. package/funcs/accountGetApps.d.ts.map +1 -1
  8. package/funcs/accountGetApps.js +12 -2
  9. package/funcs/accountGetApps.js.map +1 -1
  10. package/funcs/accountGetBadges.d.ts.map +1 -1
  11. package/funcs/accountGetBadges.js +12 -2
  12. package/funcs/accountGetBadges.js.map +1 -1
  13. package/funcs/accountGetDataPoints.d.ts.map +1 -1
  14. package/funcs/accountGetDataPoints.js +12 -2
  15. package/funcs/accountGetDataPoints.js.map +1 -1
  16. package/funcs/accountGetFriends.d.ts.map +1 -1
  17. package/funcs/accountGetFriends.js +12 -2
  18. package/funcs/accountGetFriends.js.map +1 -1
  19. package/funcs/accountGetInfo.d.ts.map +1 -1
  20. package/funcs/accountGetInfo.js +12 -2
  21. package/funcs/accountGetInfo.js.map +1 -1
  22. package/funcs/accountGetLeaderboardHistory.d.ts.map +1 -1
  23. package/funcs/accountGetLeaderboardHistory.js +12 -2
  24. package/funcs/accountGetLeaderboardHistory.js.map +1 -1
  25. package/funcs/accountGetStaff.d.ts.map +1 -1
  26. package/funcs/accountGetStaff.js +12 -2
  27. package/funcs/accountGetStaff.js.map +1 -1
  28. package/funcs/accountSendEmailVerification.d.ts.map +1 -1
  29. package/funcs/accountSendEmailVerification.js +12 -2
  30. package/funcs/accountSendEmailVerification.js.map +1 -1
  31. package/funcs/accountUpdateImage.d.ts.map +1 -1
  32. package/funcs/accountUpdateImage.js +12 -2
  33. package/funcs/accountUpdateImage.js.map +1 -1
  34. package/funcs/accountUploadImages.d.ts.map +1 -1
  35. package/funcs/accountUploadImages.js +12 -2
  36. package/funcs/accountUploadImages.js.map +1 -1
  37. package/funcs/accountV1GetEmbed.d.ts +11 -0
  38. package/funcs/accountV1GetEmbed.d.ts.map +1 -0
  39. package/funcs/accountV1GetEmbed.js +106 -0
  40. package/funcs/accountV1GetEmbed.js.map +1 -0
  41. package/funcs/accountV1GetMeta.d.ts +11 -0
  42. package/funcs/accountV1GetMeta.d.ts.map +1 -0
  43. package/funcs/accountV1GetMeta.js +105 -0
  44. package/funcs/accountV1GetMeta.js.map +1 -0
  45. package/funcs/accountVerifyEmail.d.ts.map +1 -1
  46. package/funcs/accountVerifyEmail.js +12 -2
  47. package/funcs/accountVerifyEmail.js.map +1 -1
  48. package/funcs/accountsQueue.d.ts.map +1 -1
  49. package/funcs/accountsQueue.js +12 -2
  50. package/funcs/accountsQueue.js.map +1 -1
  51. package/funcs/adminAdminV1UpdateResources.d.ts +11 -0
  52. package/funcs/adminAdminV1UpdateResources.d.ts.map +1 -0
  53. package/funcs/adminAdminV1UpdateResources.js +103 -0
  54. package/funcs/adminAdminV1UpdateResources.js.map +1 -0
  55. package/funcs/adminAdminV1UpdateRoles.d.ts +11 -0
  56. package/funcs/adminAdminV1UpdateRoles.d.ts.map +1 -0
  57. package/funcs/adminAdminV1UpdateRoles.js +103 -0
  58. package/funcs/adminAdminV1UpdateRoles.js.map +1 -0
  59. package/funcs/adminGetAccount.d.ts.map +1 -1
  60. package/funcs/adminGetAccount.js +12 -2
  61. package/funcs/adminGetAccount.js.map +1 -1
  62. package/funcs/appsGet.d.ts.map +1 -1
  63. package/funcs/appsGet.js +12 -2
  64. package/funcs/appsGet.js.map +1 -1
  65. package/funcs/appsQueue.d.ts.map +1 -1
  66. package/funcs/appsQueue.js +12 -2
  67. package/funcs/appsQueue.js.map +1 -1
  68. package/funcs/badgeGetTags.d.ts.map +1 -1
  69. package/funcs/badgeGetTags.js +12 -2
  70. package/funcs/badgeGetTags.js.map +1 -1
  71. package/funcs/badgesTag.d.ts.map +1 -1
  72. package/funcs/badgesTag.js +12 -2
  73. package/funcs/badgesTag.js.map +1 -1
  74. package/funcs/connectionDelete.d.ts.map +1 -1
  75. package/funcs/connectionDelete.js +12 -2
  76. package/funcs/connectionDelete.js.map +1 -1
  77. package/funcs/connectionUpdate.d.ts.map +1 -1
  78. package/funcs/connectionUpdate.js +12 -2
  79. package/funcs/connectionUpdate.js.map +1 -1
  80. package/funcs/connectionVerify.d.ts.map +1 -1
  81. package/funcs/connectionVerify.js +12 -2
  82. package/funcs/connectionVerify.js.map +1 -1
  83. package/funcs/connectionsConnect.d.ts.map +1 -1
  84. package/funcs/connectionsConnect.js +12 -2
  85. package/funcs/connectionsConnect.js.map +1 -1
  86. package/funcs/dataGetApps.d.ts.map +1 -1
  87. package/funcs/dataGetApps.js +12 -2
  88. package/funcs/dataGetApps.js.map +1 -1
  89. package/funcs/dataGetBadges.d.ts.map +1 -1
  90. package/funcs/dataGetBadges.js +12 -2
  91. package/funcs/dataGetBadges.js.map +1 -1
  92. package/funcs/dataGetDataPoints.d.ts.map +1 -1
  93. package/funcs/dataGetDataPoints.js +12 -2
  94. package/funcs/dataGetDataPoints.js.map +1 -1
  95. package/funcs/dataGetFriends.d.ts.map +1 -1
  96. package/funcs/dataGetFriends.js +12 -2
  97. package/funcs/dataGetFriends.js.map +1 -1
  98. package/funcs/dataGetInfo.d.ts.map +1 -1
  99. package/funcs/dataGetInfo.js +12 -2
  100. package/funcs/dataGetInfo.js.map +1 -1
  101. package/funcs/dataGetLeaderboardHistory.d.ts.map +1 -1
  102. package/funcs/dataGetLeaderboardHistory.js +12 -2
  103. package/funcs/dataGetLeaderboardHistory.js.map +1 -1
  104. package/funcs/dataGetStaff.d.ts.map +1 -1
  105. package/funcs/dataGetStaff.js +12 -2
  106. package/funcs/dataGetStaff.js.map +1 -1
  107. package/funcs/developerCreateDeveloperApp.d.ts.map +1 -1
  108. package/funcs/developerCreateDeveloperApp.js +12 -2
  109. package/funcs/developerCreateDeveloperApp.js.map +1 -1
  110. package/funcs/developerDeleteDeveloperApp.d.ts.map +1 -1
  111. package/funcs/developerDeleteDeveloperApp.js +12 -2
  112. package/funcs/developerDeleteDeveloperApp.js.map +1 -1
  113. package/funcs/developerUpdateApp.d.ts.map +1 -1
  114. package/funcs/developerUpdateApp.js +12 -2
  115. package/funcs/developerUpdateApp.js.map +1 -1
  116. package/funcs/leaderboardGetAccount.d.ts.map +1 -1
  117. package/funcs/leaderboardGetAccount.js +12 -2
  118. package/funcs/leaderboardGetAccount.js.map +1 -1
  119. package/funcs/leaderboardGetBadges.d.ts.map +1 -1
  120. package/funcs/leaderboardGetBadges.js +12 -2
  121. package/funcs/leaderboardGetBadges.js.map +1 -1
  122. package/funcs/leaderboardGetGroup.d.ts.map +1 -1
  123. package/funcs/leaderboardGetGroup.js +12 -2
  124. package/funcs/leaderboardGetGroup.js.map +1 -1
  125. package/funcs/livenessCheck.d.ts.map +1 -1
  126. package/funcs/livenessCheck.js +12 -2
  127. package/funcs/livenessCheck.js.map +1 -1
  128. package/funcs/locationsGet.d.ts.map +1 -1
  129. package/funcs/locationsGet.js +12 -2
  130. package/funcs/locationsGet.js.map +1 -1
  131. package/funcs/publicGetApps.d.ts.map +1 -1
  132. package/funcs/publicGetApps.js +12 -2
  133. package/funcs/publicGetApps.js.map +1 -1
  134. package/funcs/publicGetBadges.d.ts.map +1 -1
  135. package/funcs/publicGetBadges.js +12 -2
  136. package/funcs/publicGetBadges.js.map +1 -1
  137. package/funcs/publicGetDataPoints.d.ts.map +1 -1
  138. package/funcs/publicGetDataPoints.js +12 -2
  139. package/funcs/publicGetDataPoints.js.map +1 -1
  140. package/funcs/publicGetFriends.d.ts.map +1 -1
  141. package/funcs/publicGetFriends.js +12 -2
  142. package/funcs/publicGetFriends.js.map +1 -1
  143. package/funcs/publicGetInfo.d.ts.map +1 -1
  144. package/funcs/publicGetInfo.js +12 -2
  145. package/funcs/publicGetInfo.js.map +1 -1
  146. package/funcs/publicGetLeaderboardHistory.d.ts.map +1 -1
  147. package/funcs/publicGetLeaderboardHistory.js +12 -2
  148. package/funcs/publicGetLeaderboardHistory.js.map +1 -1
  149. package/funcs/sessionCreate.d.ts.map +1 -1
  150. package/funcs/sessionCreate.js +12 -2
  151. package/funcs/sessionCreate.js.map +1 -1
  152. package/funcs/sessionLogin.d.ts.map +1 -1
  153. package/funcs/sessionLogin.js +12 -2
  154. package/funcs/sessionLogin.js.map +1 -1
  155. package/funcs/sessionsDelete.d.ts.map +1 -1
  156. package/funcs/sessionsDelete.js +12 -2
  157. package/funcs/sessionsDelete.js.map +1 -1
  158. package/funcs/sessionsGet.d.ts.map +1 -1
  159. package/funcs/sessionsGet.js +12 -2
  160. package/funcs/sessionsGet.js.map +1 -1
  161. package/funcs/settingsDeleteImages.d.ts.map +1 -1
  162. package/funcs/settingsDeleteImages.js +12 -2
  163. package/funcs/settingsDeleteImages.js.map +1 -1
  164. package/funcs/settingsGet.d.ts.map +1 -1
  165. package/funcs/settingsGet.js +12 -2
  166. package/funcs/settingsGet.js.map +1 -1
  167. package/funcs/settingsSendEmailVerification.d.ts.map +1 -1
  168. package/funcs/settingsSendEmailVerification.js +12 -2
  169. package/funcs/settingsSendEmailVerification.js.map +1 -1
  170. package/funcs/settingsUpdate.d.ts.map +1 -1
  171. package/funcs/settingsUpdate.js +12 -2
  172. package/funcs/settingsUpdate.js.map +1 -1
  173. package/funcs/settingsUpdateImage.d.ts.map +1 -1
  174. package/funcs/settingsUpdateImage.js +12 -2
  175. package/funcs/settingsUpdateImage.js.map +1 -1
  176. package/funcs/settingsUploadImages.d.ts.map +1 -1
  177. package/funcs/settingsUploadImages.js +12 -2
  178. package/funcs/settingsUploadImages.js.map +1 -1
  179. package/funcs/settingsVerifyEmail.d.ts.map +1 -1
  180. package/funcs/settingsVerifyEmail.js +12 -2
  181. package/funcs/settingsVerifyEmail.js.map +1 -1
  182. package/lib/config.d.ts +3 -3
  183. package/lib/config.js +3 -3
  184. package/models/components/index.d.ts +3 -0
  185. package/models/components/index.d.ts.map +1 -1
  186. package/models/components/index.js +3 -0
  187. package/models/components/index.js.map +1 -1
  188. package/models/components/v1accountmetaresponsebody.d.ts +28 -0
  189. package/models/components/v1accountmetaresponsebody.d.ts.map +1 -0
  190. package/models/components/v1accountmetaresponsebody.js +59 -0
  191. package/models/components/v1accountmetaresponsebody.js.map +1 -0
  192. package/models/components/v1adminupdateresourcesrequestbody.d.ts +111 -0
  193. package/models/components/v1adminupdateresourcesrequestbody.d.ts.map +1 -0
  194. package/models/components/v1adminupdateresourcesrequestbody.js +95 -0
  195. package/models/components/v1adminupdateresourcesrequestbody.js.map +1 -0
  196. package/models/components/v1adminupdaterolessrequestbody.d.ts +180 -0
  197. package/models/components/v1adminupdaterolessrequestbody.d.ts.map +1 -0
  198. package/models/components/v1adminupdaterolessrequestbody.js +129 -0
  199. package/models/components/v1adminupdaterolessrequestbody.js.map +1 -0
  200. package/models/operations/accountv1getembed.d.ts +37 -0
  201. package/models/operations/accountv1getembed.d.ts.map +1 -0
  202. package/models/operations/accountv1getembed.js +66 -0
  203. package/models/operations/accountv1getembed.js.map +1 -0
  204. package/models/operations/accountv1getmeta.d.ts +31 -0
  205. package/models/operations/accountv1getmeta.d.ts.map +1 -0
  206. package/models/operations/accountv1getmeta.js +66 -0
  207. package/models/operations/accountv1getmeta.js.map +1 -0
  208. package/models/operations/adminv1updateresources.d.ts +26 -0
  209. package/models/operations/adminv1updateresources.d.ts.map +1 -0
  210. package/models/operations/adminv1updateresources.js +60 -0
  211. package/models/operations/adminv1updateresources.js.map +1 -0
  212. package/models/operations/adminv1updateroles.d.ts +26 -0
  213. package/models/operations/adminv1updateroles.d.ts.map +1 -0
  214. package/models/operations/adminv1updateroles.js +60 -0
  215. package/models/operations/adminv1updateroles.js.map +1 -0
  216. package/models/operations/index.d.ts +4 -0
  217. package/models/operations/index.d.ts.map +1 -1
  218. package/models/operations/index.js +4 -0
  219. package/models/operations/index.js.map +1 -1
  220. package/package.json +1 -1
  221. package/sdk/admin.d.ts +2 -0
  222. package/sdk/admin.d.ts.map +1 -1
  223. package/sdk/admin.js +8 -0
  224. package/sdk/admin.js.map +1 -1
  225. package/sdk/sdk.d.ts +5 -1
  226. package/sdk/sdk.d.ts.map +1 -1
  227. package/sdk/sdk.js +9 -0
  228. package/sdk/sdk.js.map +1 -1
  229. package/src/funcs/accountDeleteImages.ts +12 -2
  230. package/src/funcs/accountGetApps.ts +12 -2
  231. package/src/funcs/accountGetBadges.ts +12 -2
  232. package/src/funcs/accountGetDataPoints.ts +12 -2
  233. package/src/funcs/accountGetFriends.ts +12 -2
  234. package/src/funcs/accountGetInfo.ts +12 -2
  235. package/src/funcs/accountGetLeaderboardHistory.ts +12 -2
  236. package/src/funcs/accountGetStaff.ts +12 -2
  237. package/src/funcs/accountSendEmailVerification.ts +12 -2
  238. package/src/funcs/accountUpdateImage.ts +12 -2
  239. package/src/funcs/accountUploadImages.ts +12 -2
  240. package/src/funcs/accountV1GetEmbed.ts +135 -0
  241. package/src/funcs/accountV1GetMeta.ts +134 -0
  242. package/src/funcs/accountVerifyEmail.ts +12 -2
  243. package/src/funcs/accountsQueue.ts +12 -2
  244. package/src/funcs/adminAdminV1UpdateResources.ts +133 -0
  245. package/src/funcs/adminAdminV1UpdateRoles.ts +133 -0
  246. package/src/funcs/adminGetAccount.ts +12 -2
  247. package/src/funcs/appsGet.ts +12 -2
  248. package/src/funcs/appsQueue.ts +12 -2
  249. package/src/funcs/badgeGetTags.ts +12 -2
  250. package/src/funcs/badgesTag.ts +12 -2
  251. package/src/funcs/connectionDelete.ts +12 -2
  252. package/src/funcs/connectionUpdate.ts +12 -2
  253. package/src/funcs/connectionVerify.ts +12 -2
  254. package/src/funcs/connectionsConnect.ts +12 -2
  255. package/src/funcs/dataGetApps.ts +12 -2
  256. package/src/funcs/dataGetBadges.ts +12 -2
  257. package/src/funcs/dataGetDataPoints.ts +12 -2
  258. package/src/funcs/dataGetFriends.ts +12 -2
  259. package/src/funcs/dataGetInfo.ts +12 -2
  260. package/src/funcs/dataGetLeaderboardHistory.ts +12 -2
  261. package/src/funcs/dataGetStaff.ts +12 -2
  262. package/src/funcs/developerCreateDeveloperApp.ts +12 -2
  263. package/src/funcs/developerDeleteDeveloperApp.ts +12 -2
  264. package/src/funcs/developerUpdateApp.ts +12 -2
  265. package/src/funcs/leaderboardGetAccount.ts +12 -2
  266. package/src/funcs/leaderboardGetBadges.ts +12 -2
  267. package/src/funcs/leaderboardGetGroup.ts +12 -2
  268. package/src/funcs/livenessCheck.ts +12 -2
  269. package/src/funcs/locationsGet.ts +12 -2
  270. package/src/funcs/publicGetApps.ts +12 -2
  271. package/src/funcs/publicGetBadges.ts +12 -2
  272. package/src/funcs/publicGetDataPoints.ts +12 -2
  273. package/src/funcs/publicGetFriends.ts +12 -2
  274. package/src/funcs/publicGetInfo.ts +12 -2
  275. package/src/funcs/publicGetLeaderboardHistory.ts +12 -2
  276. package/src/funcs/sessionCreate.ts +12 -2
  277. package/src/funcs/sessionLogin.ts +12 -2
  278. package/src/funcs/sessionsDelete.ts +12 -2
  279. package/src/funcs/sessionsGet.ts +12 -2
  280. package/src/funcs/settingsDeleteImages.ts +12 -2
  281. package/src/funcs/settingsGet.ts +12 -2
  282. package/src/funcs/settingsSendEmailVerification.ts +12 -2
  283. package/src/funcs/settingsUpdate.ts +12 -2
  284. package/src/funcs/settingsUpdateImage.ts +12 -2
  285. package/src/funcs/settingsUploadImages.ts +12 -2
  286. package/src/funcs/settingsVerifyEmail.ts +12 -2
  287. package/src/lib/config.ts +3 -3
  288. package/src/models/components/index.ts +3 -0
  289. package/src/models/components/v1accountmetaresponsebody.ts +57 -0
  290. package/src/models/components/v1adminupdateresourcesrequestbody.ts +131 -0
  291. package/src/models/components/v1adminupdaterolessrequestbody.ts +152 -0
  292. package/src/models/operations/accountv1getembed.ts +68 -0
  293. package/src/models/operations/accountv1getmeta.ts +68 -0
  294. package/src/models/operations/adminv1updateresources.ts +55 -0
  295. package/src/models/operations/adminv1updateroles.ts +55 -0
  296. package/src/models/operations/index.ts +4 -0
  297. package/src/sdk/admin.ts +24 -0
  298. package/src/sdk/sdk.ts +28 -1
@@ -85,8 +85,18 @@ export async function publicGetApps(
85
85
  context,
86
86
  errorCodes: ["400", "403", "404", "422", "4XX", "500", "5XX"],
87
87
  retryConfig: options?.retries
88
- || client._options.retryConfig,
89
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
88
+ || client._options.retryConfig
89
+ || {
90
+ strategy: "backoff",
91
+ backoff: {
92
+ initialInterval: 500,
93
+ maxInterval: 60000,
94
+ exponent: 1.5,
95
+ maxElapsedTime: 3600000,
96
+ },
97
+ retryConnectionErrors: true,
98
+ },
99
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
90
100
  });
91
101
  if (!doResult.ok) {
92
102
  return doResult;
@@ -85,8 +85,18 @@ export async function publicGetBadges(
85
85
  context,
86
86
  errorCodes: ["400", "403", "404", "422", "4XX", "500", "5XX"],
87
87
  retryConfig: options?.retries
88
- || client._options.retryConfig,
89
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
88
+ || client._options.retryConfig
89
+ || {
90
+ strategy: "backoff",
91
+ backoff: {
92
+ initialInterval: 500,
93
+ maxInterval: 60000,
94
+ exponent: 1.5,
95
+ maxElapsedTime: 3600000,
96
+ },
97
+ retryConnectionErrors: true,
98
+ },
99
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
90
100
  });
91
101
  if (!doResult.ok) {
92
102
  return doResult;
@@ -85,8 +85,18 @@ export async function publicGetDataPoints(
85
85
  context,
86
86
  errorCodes: ["400", "403", "404", "422", "4XX", "500", "5XX"],
87
87
  retryConfig: options?.retries
88
- || client._options.retryConfig,
89
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
88
+ || client._options.retryConfig
89
+ || {
90
+ strategy: "backoff",
91
+ backoff: {
92
+ initialInterval: 500,
93
+ maxInterval: 60000,
94
+ exponent: 1.5,
95
+ maxElapsedTime: 3600000,
96
+ },
97
+ retryConnectionErrors: true,
98
+ },
99
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
90
100
  });
91
101
  if (!doResult.ok) {
92
102
  return doResult;
@@ -85,8 +85,18 @@ export async function publicGetFriends(
85
85
  context,
86
86
  errorCodes: ["400", "403", "404", "422", "4XX", "500", "5XX"],
87
87
  retryConfig: options?.retries
88
- || client._options.retryConfig,
89
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
88
+ || client._options.retryConfig
89
+ || {
90
+ strategy: "backoff",
91
+ backoff: {
92
+ initialInterval: 500,
93
+ maxInterval: 60000,
94
+ exponent: 1.5,
95
+ maxElapsedTime: 3600000,
96
+ },
97
+ retryConnectionErrors: true,
98
+ },
99
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
90
100
  });
91
101
  if (!doResult.ok) {
92
102
  return doResult;
@@ -85,8 +85,18 @@ export async function publicGetInfo(
85
85
  context,
86
86
  errorCodes: ["403", "404", "422", "429", "4XX", "500", "5XX"],
87
87
  retryConfig: options?.retries
88
- || client._options.retryConfig,
89
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
88
+ || client._options.retryConfig
89
+ || {
90
+ strategy: "backoff",
91
+ backoff: {
92
+ initialInterval: 500,
93
+ maxInterval: 60000,
94
+ exponent: 1.5,
95
+ maxElapsedTime: 3600000,
96
+ },
97
+ retryConnectionErrors: true,
98
+ },
99
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
90
100
  });
91
101
  if (!doResult.ok) {
92
102
  return doResult;
@@ -85,8 +85,18 @@ export async function publicGetLeaderboardHistory(
85
85
  context,
86
86
  errorCodes: ["400", "403", "404", "422", "4XX", "500", "5XX"],
87
87
  retryConfig: options?.retries
88
- || client._options.retryConfig,
89
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
88
+ || client._options.retryConfig
89
+ || {
90
+ strategy: "backoff",
91
+ backoff: {
92
+ initialInterval: 500,
93
+ maxInterval: 60000,
94
+ exponent: 1.5,
95
+ maxElapsedTime: 3600000,
96
+ },
97
+ retryConnectionErrors: true,
98
+ },
99
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
90
100
  });
91
101
  if (!doResult.ok) {
92
102
  return doResult;
@@ -101,8 +101,18 @@ export async function sessionCreate(
101
101
  context,
102
102
  errorCodes: ["422", "4XX", "500", "5XX"],
103
103
  retryConfig: options?.retries
104
- || client._options.retryConfig,
105
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
104
+ || client._options.retryConfig
105
+ || {
106
+ strategy: "backoff",
107
+ backoff: {
108
+ initialInterval: 500,
109
+ maxInterval: 60000,
110
+ exponent: 1.5,
111
+ maxElapsedTime: 3600000,
112
+ },
113
+ retryConnectionErrors: true,
114
+ },
115
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
106
116
  });
107
117
  if (!doResult.ok) {
108
118
  return doResult;
@@ -94,8 +94,18 @@ export async function sessionLogin(
94
94
  context,
95
95
  errorCodes: ["400", "422", "429", "4XX", "500", "5XX"],
96
96
  retryConfig: options?.retries
97
- || client._options.retryConfig,
98
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
97
+ || client._options.retryConfig
98
+ || {
99
+ strategy: "backoff",
100
+ backoff: {
101
+ initialInterval: 500,
102
+ maxInterval: 60000,
103
+ exponent: 1.5,
104
+ maxElapsedTime: 3600000,
105
+ },
106
+ retryConnectionErrors: true,
107
+ },
108
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
99
109
  });
100
110
  if (!doResult.ok) {
101
111
  return doResult;
@@ -86,8 +86,18 @@ export async function sessionsDelete(
86
86
  context,
87
87
  errorCodes: ["404", "422", "4XX", "500", "5XX"],
88
88
  retryConfig: options?.retries
89
- || client._options.retryConfig,
90
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
89
+ || client._options.retryConfig
90
+ || {
91
+ strategy: "backoff",
92
+ backoff: {
93
+ initialInterval: 500,
94
+ maxInterval: 60000,
95
+ exponent: 1.5,
96
+ maxElapsedTime: 3600000,
97
+ },
98
+ retryConnectionErrors: true,
99
+ },
100
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
91
101
  });
92
102
  if (!doResult.ok) {
93
103
  return doResult;
@@ -68,8 +68,18 @@ export async function sessionsGet(
68
68
  context,
69
69
  errorCodes: ["4XX", "500", "5XX"],
70
70
  retryConfig: options?.retries
71
- || client._options.retryConfig,
72
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
71
+ || client._options.retryConfig
72
+ || {
73
+ strategy: "backoff",
74
+ backoff: {
75
+ initialInterval: 500,
76
+ maxInterval: 60000,
77
+ exponent: 1.5,
78
+ maxElapsedTime: 3600000,
79
+ },
80
+ retryConnectionErrors: true,
81
+ },
82
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
73
83
  });
74
84
  if (!doResult.ok) {
75
85
  return doResult;
@@ -85,8 +85,18 @@ export async function settingsDeleteImages(
85
85
  context,
86
86
  errorCodes: ["404", "422", "4XX", "500", "5XX"],
87
87
  retryConfig: options?.retries
88
- || client._options.retryConfig,
89
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
88
+ || client._options.retryConfig
89
+ || {
90
+ strategy: "backoff",
91
+ backoff: {
92
+ initialInterval: 500,
93
+ maxInterval: 60000,
94
+ exponent: 1.5,
95
+ maxElapsedTime: 3600000,
96
+ },
97
+ retryConnectionErrors: true,
98
+ },
99
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
90
100
  });
91
101
  if (!doResult.ok) {
92
102
  return doResult;
@@ -68,8 +68,18 @@ export async function settingsGet(
68
68
  context,
69
69
  errorCodes: ["4XX", "500", "5XX"],
70
70
  retryConfig: options?.retries
71
- || client._options.retryConfig,
72
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
71
+ || client._options.retryConfig
72
+ || {
73
+ strategy: "backoff",
74
+ backoff: {
75
+ initialInterval: 500,
76
+ maxInterval: 60000,
77
+ exponent: 1.5,
78
+ maxElapsedTime: 3600000,
79
+ },
80
+ retryConnectionErrors: true,
81
+ },
82
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
73
83
  });
74
84
  if (!doResult.ok) {
75
85
  return doResult;
@@ -90,8 +90,18 @@ export async function settingsSendEmailVerification(
90
90
  context,
91
91
  errorCodes: ["404", "422", "429", "4XX", "500", "5XX"],
92
92
  retryConfig: options?.retries
93
- || client._options.retryConfig,
94
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
93
+ || client._options.retryConfig
94
+ || {
95
+ strategy: "backoff",
96
+ backoff: {
97
+ initialInterval: 500,
98
+ maxInterval: 60000,
99
+ exponent: 1.5,
100
+ maxElapsedTime: 3600000,
101
+ },
102
+ retryConnectionErrors: true,
103
+ },
104
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
95
105
  });
96
106
  if (!doResult.ok) {
97
107
  return doResult;
@@ -92,8 +92,18 @@ export async function settingsUpdate(
92
92
  context,
93
93
  errorCodes: ["422", "429", "4XX", "500", "5XX"],
94
94
  retryConfig: options?.retries
95
- || client._options.retryConfig,
96
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
95
+ || client._options.retryConfig
96
+ || {
97
+ strategy: "backoff",
98
+ backoff: {
99
+ initialInterval: 500,
100
+ maxInterval: 60000,
101
+ exponent: 1.5,
102
+ maxElapsedTime: 3600000,
103
+ },
104
+ retryConnectionErrors: true,
105
+ },
106
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
97
107
  });
98
108
  if (!doResult.ok) {
99
109
  return doResult;
@@ -85,8 +85,18 @@ export async function settingsUpdateImage(
85
85
  context,
86
86
  errorCodes: ["404", "422", "4XX", "500", "5XX"],
87
87
  retryConfig: options?.retries
88
- || client._options.retryConfig,
89
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
88
+ || client._options.retryConfig
89
+ || {
90
+ strategy: "backoff",
91
+ backoff: {
92
+ initialInterval: 500,
93
+ maxInterval: 60000,
94
+ exponent: 1.5,
95
+ maxElapsedTime: 3600000,
96
+ },
97
+ retryConnectionErrors: true,
98
+ },
99
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
90
100
  });
91
101
  if (!doResult.ok) {
92
102
  return doResult;
@@ -85,8 +85,18 @@ export async function settingsUploadImages(
85
85
  context,
86
86
  errorCodes: ["422", "4XX", "500", "5XX"],
87
87
  retryConfig: options?.retries
88
- || client._options.retryConfig,
89
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
88
+ || client._options.retryConfig
89
+ || {
90
+ strategy: "backoff",
91
+ backoff: {
92
+ initialInterval: 500,
93
+ maxInterval: 60000,
94
+ exponent: 1.5,
95
+ maxElapsedTime: 3600000,
96
+ },
97
+ retryConnectionErrors: true,
98
+ },
99
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
90
100
  });
91
101
  if (!doResult.ok) {
92
102
  return doResult;
@@ -85,8 +85,18 @@ export async function settingsVerifyEmail(
85
85
  context,
86
86
  errorCodes: ["404", "422", "429", "4XX", "500", "5XX"],
87
87
  retryConfig: options?.retries
88
- || client._options.retryConfig,
89
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
88
+ || client._options.retryConfig
89
+ || {
90
+ strategy: "backoff",
91
+ backoff: {
92
+ initialInterval: 500,
93
+ maxInterval: 60000,
94
+ exponent: 1.5,
95
+ maxElapsedTime: 3600000,
96
+ },
97
+ retryConnectionErrors: true,
98
+ },
99
+ retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
90
100
  });
91
101
  if (!doResult.ok) {
92
102
  return doResult;
package/src/lib/config.ts CHANGED
@@ -55,8 +55,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
55
55
  export const SDK_METADATA = {
56
56
  language: "typescript",
57
57
  openapiDocVersion: "1.0.0",
58
- sdkVersion: "0.12.4",
59
- genVersion: "2.438.15",
58
+ sdkVersion: "0.12.6",
59
+ genVersion: "2.442.11",
60
60
  userAgent:
61
- "speakeasy-sdk/typescript 0.12.4 2.438.15 1.0.0 @steamsets/client-ts",
61
+ "speakeasy-sdk/typescript 0.12.6 2.442.11 1.0.0 @steamsets/client-ts",
62
62
  } as const;
@@ -49,11 +49,14 @@ export * from "./v1accountleaderboardhistoryresponsebody.js";
49
49
  export * from "./v1accountleaderboardrequestbody.js";
50
50
  export * from "./v1accountleaderboardresponsebody.js";
51
51
  export * from "./v1accountlocationupdate.js";
52
+ export * from "./v1accountmetaresponsebody.js";
52
53
  export * from "./v1accountnameupdate.js";
53
54
  export * from "./v1accountplaytimedatapoint.js";
54
55
  export * from "./v1accountqueuerequestbody.js";
55
56
  export * from "./v1accountsappsresponsebody.js";
56
57
  export * from "./v1admingetaccountresponsebody.js";
58
+ export * from "./v1adminupdateresourcesrequestbody.js";
59
+ export * from "./v1adminupdaterolessrequestbody.js";
57
60
  export * from "./v1appbadge.js";
58
61
  export * from "./v1appdetail.js";
59
62
  export * from "./v1appitem.js";
@@ -0,0 +1,57 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type V1AccountMetaResponseBody = {
9
+ /**
10
+ * A URL to the JSON Schema for this object.
11
+ */
12
+ dollarSchema?: string | undefined;
13
+ };
14
+
15
+ /** @internal */
16
+ export const V1AccountMetaResponseBody$inboundSchema: z.ZodType<
17
+ V1AccountMetaResponseBody,
18
+ z.ZodTypeDef,
19
+ unknown
20
+ > = z.object({
21
+ $schema: z.string().optional(),
22
+ }).transform((v) => {
23
+ return remap$(v, {
24
+ "$schema": "dollarSchema",
25
+ });
26
+ });
27
+
28
+ /** @internal */
29
+ export type V1AccountMetaResponseBody$Outbound = {
30
+ $schema?: string | undefined;
31
+ };
32
+
33
+ /** @internal */
34
+ export const V1AccountMetaResponseBody$outboundSchema: z.ZodType<
35
+ V1AccountMetaResponseBody$Outbound,
36
+ z.ZodTypeDef,
37
+ V1AccountMetaResponseBody
38
+ > = z.object({
39
+ dollarSchema: z.string().optional(),
40
+ }).transform((v) => {
41
+ return remap$(v, {
42
+ dollarSchema: "$schema",
43
+ });
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 V1AccountMetaResponseBody$ {
51
+ /** @deprecated use `V1AccountMetaResponseBody$inboundSchema` instead. */
52
+ export const inboundSchema = V1AccountMetaResponseBody$inboundSchema;
53
+ /** @deprecated use `V1AccountMetaResponseBody$outboundSchema` instead. */
54
+ export const outboundSchema = V1AccountMetaResponseBody$outboundSchema;
55
+ /** @deprecated use `V1AccountMetaResponseBody$Outbound` instead. */
56
+ export type Outbound = V1AccountMetaResponseBody$Outbound;
57
+ }
@@ -0,0 +1,131 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { ClosedEnum } from "../../types/enums.js";
7
+ import {
8
+ IDStruct,
9
+ IDStruct$inboundSchema,
10
+ IDStruct$Outbound,
11
+ IDStruct$outboundSchema,
12
+ } from "./idstruct.js";
13
+ import {
14
+ Resource,
15
+ Resource$inboundSchema,
16
+ Resource$Outbound,
17
+ Resource$outboundSchema,
18
+ } from "./resource.js";
19
+ import {
20
+ VanityStruct,
21
+ VanityStruct$inboundSchema,
22
+ VanityStruct$Outbound,
23
+ VanityStruct$outboundSchema,
24
+ } from "./vanitystruct.js";
25
+
26
+ export const V1AdminUpdateResourcesRequestBodyResource = {
27
+ AnimatedAvatar: "animated_avatar",
28
+ AutoRefresh: "auto_refresh",
29
+ AvatarFrame: "avatar_frame",
30
+ Background: "background",
31
+ BetaAccess: "beta_access",
32
+ CustomVanity: "custom_vanity",
33
+ GoToLeaderboardEntry: "go_to_leaderboard_entry",
34
+ MaxLeaderboardEntries: "max_leaderboard_entries",
35
+ MiniBackground: "mini_background",
36
+ AccountColors: "account_colors",
37
+ AccountRefreshRate: "account_refresh_rate",
38
+ SiteColor: "site_color",
39
+ SocialLinks: "social_links",
40
+ Theme: "theme",
41
+ VanityLength: "vanity_length",
42
+ DeveloperApps: "developer_apps",
43
+ AccountQueues: "account_queues",
44
+ ShortLinkDomain: "short_link_domain",
45
+ } as const;
46
+ export type V1AdminUpdateResourcesRequestBodyResource = ClosedEnum<
47
+ typeof V1AdminUpdateResourcesRequestBodyResource
48
+ >;
49
+
50
+ export type V1AdminUpdateResourcesRequestBody = {
51
+ id?: IDStruct | undefined;
52
+ /**
53
+ * The resources to add for this account
54
+ */
55
+ newResources: Array<Resource> | null;
56
+ resource: Array<V1AdminUpdateResourcesRequestBodyResource> | null;
57
+ vanity?: VanityStruct | undefined;
58
+ };
59
+
60
+ /** @internal */
61
+ export const V1AdminUpdateResourcesRequestBodyResource$inboundSchema:
62
+ z.ZodNativeEnum<typeof V1AdminUpdateResourcesRequestBodyResource> = z
63
+ .nativeEnum(V1AdminUpdateResourcesRequestBodyResource);
64
+
65
+ /** @internal */
66
+ export const V1AdminUpdateResourcesRequestBodyResource$outboundSchema:
67
+ z.ZodNativeEnum<typeof V1AdminUpdateResourcesRequestBodyResource> =
68
+ V1AdminUpdateResourcesRequestBodyResource$inboundSchema;
69
+
70
+ /**
71
+ * @internal
72
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
73
+ */
74
+ export namespace V1AdminUpdateResourcesRequestBodyResource$ {
75
+ /** @deprecated use `V1AdminUpdateResourcesRequestBodyResource$inboundSchema` instead. */
76
+ export const inboundSchema =
77
+ V1AdminUpdateResourcesRequestBodyResource$inboundSchema;
78
+ /** @deprecated use `V1AdminUpdateResourcesRequestBodyResource$outboundSchema` instead. */
79
+ export const outboundSchema =
80
+ V1AdminUpdateResourcesRequestBodyResource$outboundSchema;
81
+ }
82
+
83
+ /** @internal */
84
+ export const V1AdminUpdateResourcesRequestBody$inboundSchema: z.ZodType<
85
+ V1AdminUpdateResourcesRequestBody,
86
+ z.ZodTypeDef,
87
+ unknown
88
+ > = z.object({
89
+ id: IDStruct$inboundSchema.optional(),
90
+ newResources: z.nullable(z.array(Resource$inboundSchema)),
91
+ resource: z.nullable(
92
+ z.array(V1AdminUpdateResourcesRequestBodyResource$inboundSchema),
93
+ ),
94
+ vanity: VanityStruct$inboundSchema.optional(),
95
+ });
96
+
97
+ /** @internal */
98
+ export type V1AdminUpdateResourcesRequestBody$Outbound = {
99
+ id?: IDStruct$Outbound | undefined;
100
+ newResources: Array<Resource$Outbound> | null;
101
+ resource: Array<string> | null;
102
+ vanity?: VanityStruct$Outbound | undefined;
103
+ };
104
+
105
+ /** @internal */
106
+ export const V1AdminUpdateResourcesRequestBody$outboundSchema: z.ZodType<
107
+ V1AdminUpdateResourcesRequestBody$Outbound,
108
+ z.ZodTypeDef,
109
+ V1AdminUpdateResourcesRequestBody
110
+ > = z.object({
111
+ id: IDStruct$outboundSchema.optional(),
112
+ newResources: z.nullable(z.array(Resource$outboundSchema)),
113
+ resource: z.nullable(
114
+ z.array(V1AdminUpdateResourcesRequestBodyResource$outboundSchema),
115
+ ),
116
+ vanity: VanityStruct$outboundSchema.optional(),
117
+ });
118
+
119
+ /**
120
+ * @internal
121
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
122
+ */
123
+ export namespace V1AdminUpdateResourcesRequestBody$ {
124
+ /** @deprecated use `V1AdminUpdateResourcesRequestBody$inboundSchema` instead. */
125
+ export const inboundSchema = V1AdminUpdateResourcesRequestBody$inboundSchema;
126
+ /** @deprecated use `V1AdminUpdateResourcesRequestBody$outboundSchema` instead. */
127
+ export const outboundSchema =
128
+ V1AdminUpdateResourcesRequestBody$outboundSchema;
129
+ /** @deprecated use `V1AdminUpdateResourcesRequestBody$Outbound` instead. */
130
+ export type Outbound = V1AdminUpdateResourcesRequestBody$Outbound;
131
+ }