@lumoauth/api-client 1.4.0 → 1.6.0

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 (401) hide show
  1. package/.openapi-generator/FILES +24 -2
  2. package/README.md +20 -6
  3. package/api/admin-abac-api.ts +18 -5
  4. package/api/admin-agents-api.ts +86 -15
  5. package/api/admin-audit-logs-api.ts +15 -15
  6. package/api/admin-email-api.ts +15 -15
  7. package/api/admin-groups-api.ts +15 -15
  8. package/api/admin-mcp-api.ts +5 -5
  9. package/api/admin-mfa-api.ts +10 -10
  10. package/api/admin-oauth-clients-api.ts +20 -20
  11. package/api/admin-roles-api.ts +20 -20
  12. package/api/admin-sandbox-api.ts +5 -5
  13. package/api/admin-settings-api.ts +112 -60
  14. package/api/admin-users-api.ts +347 -57
  15. package/api/admin-webhooks-api.ts +25 -25
  16. package/api/agents-api.ts +5 -5
  17. package/api/authorization-api.ts +20 -20
  18. package/api/oauth-api.ts +227 -5
  19. package/api/ssf-api.ts +10 -10
  20. package/dist/api/admin-abac-api.d.ts +10 -2
  21. package/dist/api/admin-abac-api.js +10 -5
  22. package/dist/api/admin-agents-api.d.ts +58 -6
  23. package/dist/api/admin-agents-api.js +55 -16
  24. package/dist/api/admin-audit-logs-api.d.ts +15 -15
  25. package/dist/api/admin-audit-logs-api.js +12 -12
  26. package/dist/api/admin-email-api.d.ts +15 -15
  27. package/dist/api/admin-email-api.js +12 -12
  28. package/dist/api/admin-groups-api.d.ts +15 -15
  29. package/dist/api/admin-groups-api.js +12 -12
  30. package/dist/api/admin-mcp-api.d.ts +5 -5
  31. package/dist/api/admin-mcp-api.js +4 -4
  32. package/dist/api/admin-mfa-api.d.ts +10 -10
  33. package/dist/api/admin-mfa-api.js +8 -8
  34. package/dist/api/admin-oauth-clients-api.d.ts +20 -20
  35. package/dist/api/admin-oauth-clients-api.js +16 -16
  36. package/dist/api/admin-roles-api.d.ts +20 -20
  37. package/dist/api/admin-roles-api.js +16 -16
  38. package/dist/api/admin-sandbox-api.d.ts +5 -5
  39. package/dist/api/admin-sandbox-api.js +4 -4
  40. package/dist/api/admin-settings-api.d.ts +82 -48
  41. package/dist/api/admin-settings-api.js +68 -52
  42. package/dist/api/admin-users-api.d.ts +228 -48
  43. package/dist/api/admin-users-api.js +206 -48
  44. package/dist/api/admin-webhooks-api.d.ts +25 -25
  45. package/dist/api/admin-webhooks-api.js +20 -20
  46. package/dist/api/agents-api.d.ts +5 -5
  47. package/dist/api/agents-api.js +4 -4
  48. package/dist/api/authorization-api.d.ts +20 -20
  49. package/dist/api/authorization-api.js +16 -16
  50. package/dist/api/oauth-api.d.ts +135 -5
  51. package/dist/api/oauth-api.js +148 -4
  52. package/dist/api/ssf-api.d.ts +10 -10
  53. package/dist/api/ssf-api.js +8 -8
  54. package/dist/esm/api/admin-abac-api.d.ts +10 -2
  55. package/dist/esm/api/admin-abac-api.js +10 -5
  56. package/dist/esm/api/admin-agents-api.d.ts +58 -6
  57. package/dist/esm/api/admin-agents-api.js +54 -15
  58. package/dist/esm/api/admin-audit-logs-api.d.ts +15 -15
  59. package/dist/esm/api/admin-audit-logs-api.js +12 -12
  60. package/dist/esm/api/admin-email-api.d.ts +15 -15
  61. package/dist/esm/api/admin-email-api.js +12 -12
  62. package/dist/esm/api/admin-groups-api.d.ts +15 -15
  63. package/dist/esm/api/admin-groups-api.js +12 -12
  64. package/dist/esm/api/admin-mcp-api.d.ts +5 -5
  65. package/dist/esm/api/admin-mcp-api.js +4 -4
  66. package/dist/esm/api/admin-mfa-api.d.ts +10 -10
  67. package/dist/esm/api/admin-mfa-api.js +8 -8
  68. package/dist/esm/api/admin-oauth-clients-api.d.ts +20 -20
  69. package/dist/esm/api/admin-oauth-clients-api.js +16 -16
  70. package/dist/esm/api/admin-roles-api.d.ts +20 -20
  71. package/dist/esm/api/admin-roles-api.js +16 -16
  72. package/dist/esm/api/admin-sandbox-api.d.ts +5 -5
  73. package/dist/esm/api/admin-sandbox-api.js +4 -4
  74. package/dist/esm/api/admin-settings-api.d.ts +82 -48
  75. package/dist/esm/api/admin-settings-api.js +69 -53
  76. package/dist/esm/api/admin-users-api.d.ts +228 -48
  77. package/dist/esm/api/admin-users-api.js +205 -47
  78. package/dist/esm/api/admin-webhooks-api.d.ts +25 -25
  79. package/dist/esm/api/admin-webhooks-api.js +20 -20
  80. package/dist/esm/api/agents-api.d.ts +5 -5
  81. package/dist/esm/api/agents-api.js +4 -4
  82. package/dist/esm/api/authorization-api.d.ts +20 -20
  83. package/dist/esm/api/authorization-api.js +16 -16
  84. package/dist/esm/api/oauth-api.d.ts +135 -5
  85. package/dist/esm/api/oauth-api.js +149 -5
  86. package/dist/esm/api/ssf-api.d.ts +10 -10
  87. package/dist/esm/api/ssf-api.js +8 -8
  88. package/dist/esm/models/abac-attribute-definition.d.ts +6 -0
  89. package/dist/esm/models/abac-policy.d.ts +7 -1
  90. package/dist/esm/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
  91. package/dist/esm/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
  92. package/dist/esm/models/admin-agents-create-request.d.ts +8 -0
  93. package/dist/esm/models/admin-analytics-dashboard-response-data-audit.d.ts +1 -1
  94. package/dist/esm/models/admin-audit-logs-retention-response-data.d.ts +21 -3
  95. package/dist/esm/models/admin-groups-list-response.d.ts +6 -0
  96. package/dist/esm/models/admin-identities-link-request.d.ts +8 -1
  97. package/dist/esm/models/admin-identities-link-request.js +1 -0
  98. package/dist/esm/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
  99. package/dist/esm/models/admin-identities-list-response-data-bindings-item.js +1 -0
  100. package/dist/esm/models/admin-mcp-servers-list-response.d.ts +8 -3
  101. package/dist/esm/models/admin-sandbox-spawn-response-data.d.ts +18 -0
  102. package/dist/esm/models/admin-sandbox-spawn-response-data.js +14 -0
  103. package/dist/esm/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
  104. package/dist/esm/models/admin-sandbox-spawn-response-data1.js +14 -0
  105. package/dist/esm/models/admin-sandbox-spawn-response.d.ts +3 -3
  106. package/dist/esm/models/admin-settings-all-response-data-general.d.ts +13 -1
  107. package/dist/esm/models/admin-settings-all-response-data.d.ts +4 -5
  108. package/dist/esm/models/admin-settings-email-get-response.d.ts +4 -5
  109. package/dist/esm/models/admin-settings-general-get-response-data.d.ts +4 -10
  110. package/dist/esm/models/{admin-mcp-servers-list-response-meta.d.ts → admin-users-restore-response.d.ts} +9 -14
  111. package/dist/esm/models/admin-users-restore-response.js +14 -0
  112. package/dist/esm/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
  113. package/dist/esm/models/admin-webhooks-delivery-replay-response-data.js +14 -0
  114. package/dist/esm/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
  115. package/dist/esm/models/admin-webhooks-test-response.d.ts +6 -0
  116. package/dist/esm/models/ask-response.d.ts +15 -0
  117. package/dist/esm/models/ask-response.js +10 -1
  118. package/dist/esm/models/attest-response-identity.d.ts +1 -1
  119. package/dist/esm/models/attest-response.d.ts +2 -2
  120. package/dist/esm/models/audit-log-entry.d.ts +1 -1
  121. package/dist/esm/models/authentication-settings-password-policy.d.ts +25 -1
  122. package/dist/esm/models/authentication-settings-password-rotation-policy.d.ts +1 -13
  123. package/dist/esm/models/authentication-settings.d.ts +13 -15
  124. package/dist/esm/models/authentication-settings.js +11 -0
  125. package/dist/esm/models/authorization-server-metadata.d.ts +8 -2
  126. package/dist/esm/models/check-email-first-request.d.ts +30 -0
  127. package/dist/esm/models/check-email-first-request.js +14 -0
  128. package/dist/esm/models/check-email-first-response.d.ts +42 -0
  129. package/dist/esm/models/check-email-first-response.js +14 -0
  130. package/dist/esm/models/email-sender-settings.d.ts +62 -0
  131. package/dist/esm/models/email-sender-settings.js +22 -0
  132. package/dist/esm/models/get-approval-status-response-approved-by.d.ts +2 -2
  133. package/dist/esm/models/get-me-response.d.ts +18 -0
  134. package/dist/esm/models/get-server-challenge-response.d.ts +3 -2
  135. package/dist/esm/models/get-server-challenge-response.js +1 -0
  136. package/dist/esm/models/index.d.ts +12 -1
  137. package/dist/esm/models/index.js +12 -1
  138. package/dist/esm/models/introspect-response.d.ts +6 -0
  139. package/dist/esm/models/issue-agent-token-request.d.ts +6 -0
  140. package/dist/esm/models/list-permissions-response-permissions-item.d.ts +1 -1
  141. package/dist/esm/models/list-users-response.d.ts +6 -0
  142. package/dist/esm/models/oauth-client-secret-issued.d.ts +1 -1
  143. package/dist/esm/models/oauth-client.d.ts +6 -0
  144. package/dist/esm/models/oauth-scope.d.ts +1 -7
  145. package/dist/esm/models/open-id-configuration.d.ts +3 -3
  146. package/dist/esm/models/push-enrollment-started.d.ts +1 -1
  147. package/dist/esm/models/put-admin-agents-update-request.d.ts +8 -0
  148. package/dist/esm/models/put-admin-settings-branding-update-response.d.ts +6 -0
  149. package/dist/esm/models/put-admin-settings-email-update-request.d.ts +36 -0
  150. package/dist/esm/models/put-admin-settings-email-update-request.js +14 -0
  151. package/dist/esm/models/put-admin-settings-email-update-response.d.ts +4 -5
  152. package/dist/esm/models/put-admin-settings-general-update-request.d.ts +30 -0
  153. package/dist/esm/models/put-admin-settings-general-update-request.js +14 -0
  154. package/dist/esm/models/put-admin-settings-general-update-response-data.d.ts +1 -7
  155. package/dist/esm/models/register-client-response.d.ts +0 -24
  156. package/dist/esm/models/registered-client-metadata.d.ts +0 -24
  157. package/dist/esm/models/request-magic-link-request.d.ts +42 -0
  158. package/dist/esm/models/request-magic-link-request.js +14 -0
  159. package/dist/esm/models/request-magic-link-response.d.ts +31 -0
  160. package/dist/esm/models/request-magic-link-response.js +21 -0
  161. package/dist/esm/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
  162. package/dist/esm/models/scim-settings-inbound.d.ts +0 -8
  163. package/dist/esm/models/scim-settings-outbound.d.ts +2 -10
  164. package/dist/esm/models/social-login-provider.d.ts +2 -1
  165. package/dist/esm/models/user.d.ts +12 -0
  166. package/dist/esm/models/userinfo-response.d.ts +4 -12
  167. package/dist/esm/models/userinfo-response.js +0 -2
  168. package/dist/models/abac-attribute-definition.d.ts +6 -0
  169. package/dist/models/abac-policy.d.ts +7 -1
  170. package/dist/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
  171. package/dist/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
  172. package/dist/models/admin-agents-create-request.d.ts +8 -0
  173. package/dist/models/admin-analytics-dashboard-response-data-audit.d.ts +1 -1
  174. package/dist/models/admin-audit-logs-retention-response-data.d.ts +21 -3
  175. package/dist/models/admin-groups-list-response.d.ts +6 -0
  176. package/dist/models/admin-identities-link-request.d.ts +8 -1
  177. package/dist/models/admin-identities-link-request.js +1 -0
  178. package/dist/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
  179. package/dist/models/admin-identities-list-response-data-bindings-item.js +1 -0
  180. package/dist/models/admin-mcp-servers-list-response.d.ts +8 -3
  181. package/dist/models/admin-sandbox-spawn-response-data.d.ts +18 -0
  182. package/dist/models/admin-sandbox-spawn-response-data.js +15 -0
  183. package/dist/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
  184. package/dist/models/admin-sandbox-spawn-response-data1.js +15 -0
  185. package/dist/models/admin-sandbox-spawn-response.d.ts +3 -3
  186. package/dist/models/admin-settings-all-response-data-general.d.ts +13 -1
  187. package/dist/models/admin-settings-all-response-data.d.ts +4 -5
  188. package/dist/models/admin-settings-email-get-response.d.ts +4 -5
  189. package/dist/models/admin-settings-general-get-response-data.d.ts +4 -10
  190. package/dist/models/{admin-mcp-servers-list-response-meta.d.ts → admin-users-restore-response.d.ts} +9 -14
  191. package/dist/models/admin-users-restore-response.js +15 -0
  192. package/dist/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
  193. package/dist/models/admin-webhooks-delivery-replay-response-data.js +15 -0
  194. package/dist/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
  195. package/dist/models/admin-webhooks-test-response.d.ts +6 -0
  196. package/dist/models/ask-response.d.ts +15 -0
  197. package/dist/models/ask-response.js +11 -0
  198. package/dist/models/attest-response-identity.d.ts +1 -1
  199. package/dist/models/attest-response.d.ts +2 -2
  200. package/dist/models/audit-log-entry.d.ts +1 -1
  201. package/dist/models/authentication-settings-password-policy.d.ts +25 -1
  202. package/dist/models/authentication-settings-password-rotation-policy.d.ts +1 -13
  203. package/dist/models/authentication-settings.d.ts +13 -15
  204. package/dist/models/authentication-settings.js +12 -1
  205. package/dist/models/authorization-server-metadata.d.ts +8 -2
  206. package/dist/models/check-email-first-request.d.ts +30 -0
  207. package/dist/models/check-email-first-request.js +15 -0
  208. package/dist/models/check-email-first-response.d.ts +42 -0
  209. package/dist/models/check-email-first-response.js +15 -0
  210. package/dist/models/email-sender-settings.d.ts +62 -0
  211. package/dist/models/email-sender-settings.js +25 -0
  212. package/dist/models/get-approval-status-response-approved-by.d.ts +2 -2
  213. package/dist/models/get-me-response.d.ts +18 -0
  214. package/dist/models/get-server-challenge-response.d.ts +3 -2
  215. package/dist/models/get-server-challenge-response.js +1 -0
  216. package/dist/models/index.d.ts +12 -1
  217. package/dist/models/index.js +12 -1
  218. package/dist/models/introspect-response.d.ts +6 -0
  219. package/dist/models/issue-agent-token-request.d.ts +6 -0
  220. package/dist/models/list-permissions-response-permissions-item.d.ts +1 -1
  221. package/dist/models/list-users-response.d.ts +6 -0
  222. package/dist/models/oauth-client-secret-issued.d.ts +1 -1
  223. package/dist/models/oauth-client.d.ts +6 -0
  224. package/dist/models/oauth-scope.d.ts +1 -7
  225. package/dist/models/open-id-configuration.d.ts +3 -3
  226. package/dist/models/push-enrollment-started.d.ts +1 -1
  227. package/dist/models/put-admin-agents-update-request.d.ts +8 -0
  228. package/dist/models/put-admin-settings-branding-update-response.d.ts +6 -0
  229. package/dist/models/put-admin-settings-email-update-request.d.ts +36 -0
  230. package/dist/models/put-admin-settings-email-update-request.js +15 -0
  231. package/dist/models/put-admin-settings-email-update-response.d.ts +4 -5
  232. package/dist/models/put-admin-settings-general-update-request.d.ts +30 -0
  233. package/dist/models/put-admin-settings-general-update-request.js +15 -0
  234. package/dist/models/put-admin-settings-general-update-response-data.d.ts +1 -7
  235. package/dist/models/register-client-response.d.ts +0 -24
  236. package/dist/models/registered-client-metadata.d.ts +0 -24
  237. package/dist/models/request-magic-link-request.d.ts +42 -0
  238. package/dist/models/request-magic-link-request.js +15 -0
  239. package/dist/models/request-magic-link-response.d.ts +31 -0
  240. package/dist/models/request-magic-link-response.js +24 -0
  241. package/dist/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
  242. package/dist/models/scim-settings-inbound.d.ts +0 -8
  243. package/dist/models/scim-settings-outbound.d.ts +2 -10
  244. package/dist/models/social-login-provider.d.ts +2 -1
  245. package/dist/models/user.d.ts +12 -0
  246. package/dist/models/userinfo-response.d.ts +4 -12
  247. package/dist/models/userinfo-response.js +0 -2
  248. package/docs/AAuthApi.md +1 -1
  249. package/docs/AbacAttributeDefinition.md +2 -0
  250. package/docs/AbacPolicy.md +3 -1
  251. package/docs/AdminAbacApi.md +14 -9
  252. package/docs/AdminAgentsAgentsRotateKeyRequest.md +22 -0
  253. package/docs/AdminAgentsAgentsRotateKeyResponse.md +2 -0
  254. package/docs/AdminAgentsApi.md +27 -9
  255. package/docs/AdminAgentsCreateRequest.md +2 -0
  256. package/docs/AdminAnalyticsDashboardResponseDataAudit.md +1 -1
  257. package/docs/AdminAuditLogsApi.md +3 -0
  258. package/docs/AdminAuditLogsRetentionResponseData.md +9 -3
  259. package/docs/AdminEmailApi.md +3 -0
  260. package/docs/AdminGroupsApi.md +3 -0
  261. package/docs/AdminGroupsListResponse.md +2 -0
  262. package/docs/AdminIdentitiesLinkRequest.md +3 -1
  263. package/docs/AdminIdentitiesListResponseDataBindingsItem.md +2 -0
  264. package/docs/AdminMcpApi.md +2 -1
  265. package/docs/AdminMcpServersListResponse.md +3 -1
  266. package/docs/AdminMfaApi.md +4 -2
  267. package/docs/AdminOAuthClientsApi.md +5 -3
  268. package/docs/AdminOrganizationsApi.md +13 -5
  269. package/docs/AdminRolesApi.md +10 -0
  270. package/docs/AdminSandboxApi.md +3 -1
  271. package/docs/AdminSandboxSpawnResponse.md +1 -1
  272. package/docs/AdminSandboxSpawnResponseData.md +32 -0
  273. package/docs/AdminSandboxSpawnResponseData1.md +20 -0
  274. package/docs/AdminSettingsAllResponseData.md +1 -1
  275. package/docs/AdminSettingsAllResponseDataGeneral.md +5 -1
  276. package/docs/AdminSettingsApi.md +54 -12
  277. package/docs/AdminSettingsEmailGetResponse.md +1 -1
  278. package/docs/AdminSettingsGeneralGetResponseData.md +4 -6
  279. package/docs/AdminUsersApi.md +112 -10
  280. package/docs/AdminUsersRestoreResponse.md +22 -0
  281. package/docs/AdminWebhooksApi.md +7 -5
  282. package/docs/AdminWebhooksDeliveryReplayResponse.md +1 -1
  283. package/docs/AdminWebhooksDeliveryReplayResponseData.md +28 -0
  284. package/docs/AdminWebhooksTestResponse.md +2 -0
  285. package/docs/AgentsApi.md +8 -5
  286. package/docs/AskResponse.md +2 -0
  287. package/docs/AttestResponse.md +1 -1
  288. package/docs/AttestResponseIdentity.md +1 -1
  289. package/docs/AuditLogEntry.md +1 -1
  290. package/docs/AuthenticationSettings.md +2 -6
  291. package/docs/AuthenticationSettingsPasswordPolicy.md +9 -0
  292. package/docs/AuthenticationSettingsPasswordRotationPolicy.md +1 -4
  293. package/docs/AuthorizationApi.md +5 -5
  294. package/docs/AuthorizationServerMetadata.md +4 -2
  295. package/docs/CheckEmailFirstRequest.md +22 -0
  296. package/docs/CheckEmailFirstResponse.md +26 -0
  297. package/docs/CreateClientResponseData.md +3 -1
  298. package/docs/EmailSenderSettings.md +31 -0
  299. package/docs/EnrollAuthenticator201Response.md +1 -1
  300. package/docs/GetApprovalStatusResponseApprovedBy.md +1 -1
  301. package/docs/GetMeResponse.md +6 -0
  302. package/docs/GetServerChallengeResponse.md +1 -1
  303. package/docs/IdentityApi.md +2 -2
  304. package/docs/IntrospectResponse.md +2 -0
  305. package/docs/IssueAgentTokenRequest.md +2 -0
  306. package/docs/JitApi.md +3 -3
  307. package/docs/ListPermissionsResponsePermissionsItem.md +1 -1
  308. package/docs/ListUsersResponse.md +2 -0
  309. package/docs/McpApi.md +5 -6
  310. package/docs/OAuthApi.md +135 -14
  311. package/docs/OAuthClient.md +2 -0
  312. package/docs/OAuthClientSecretIssued.md +1 -1
  313. package/docs/OAuthScope.md +1 -3
  314. package/docs/OIDCApi.md +4 -4
  315. package/docs/OpenIdConfiguration.md +3 -3
  316. package/docs/PushEnrollmentStarted.md +1 -1
  317. package/docs/PutAdminAgentsUpdateRequest.md +2 -0
  318. package/docs/PutAdminSettingsBrandingUpdateResponse.md +2 -0
  319. package/docs/PutAdminSettingsEmailUpdateRequest.md +24 -0
  320. package/docs/PutAdminSettingsEmailUpdateResponse.md +1 -1
  321. package/docs/PutAdminSettingsGeneralUpdateRequest.md +22 -0
  322. package/docs/PutAdminSettingsGeneralUpdateResponseData.md +1 -3
  323. package/docs/RegisterClientResponse.md +0 -8
  324. package/docs/RegisteredClientMetadata.md +0 -8
  325. package/docs/RequestMagicLinkRequest.md +26 -0
  326. package/docs/RequestMagicLinkResponse.md +20 -0
  327. package/docs/ScimSettingsInbound.md +0 -2
  328. package/docs/ScimSettingsInboundProtectedAttributes.md +3 -5
  329. package/docs/ScimSettingsOutbound.md +2 -4
  330. package/docs/SocialLoginProvider.md +1 -1
  331. package/docs/SsfApi.md +2 -0
  332. package/docs/TokenVaultApi.md +2 -2
  333. package/docs/User.md +4 -0
  334. package/docs/UserinfoResponse.md +3 -5
  335. package/docs/WellKnownApi.md +2 -2
  336. package/models/abac-attribute-definition.ts +6 -0
  337. package/models/abac-policy.ts +7 -1
  338. package/models/admin-agents-agents-rotate-key-request.ts +36 -0
  339. package/models/admin-agents-agents-rotate-key-response.ts +6 -0
  340. package/models/admin-agents-create-request.ts +6 -0
  341. package/models/admin-analytics-dashboard-response-data-audit.ts +1 -1
  342. package/models/admin-audit-logs-retention-response-data.ts +21 -3
  343. package/models/admin-groups-list-response.ts +6 -0
  344. package/models/admin-identities-link-request.ts +8 -1
  345. package/models/admin-identities-list-response-data-bindings-item.ts +7 -0
  346. package/models/admin-mcp-servers-list-response.ts +8 -5
  347. package/models/admin-sandbox-spawn-response-data.ts +29 -0
  348. package/models/admin-sandbox-spawn-response-data1.ts +30 -0
  349. package/models/admin-sandbox-spawn-response.ts +3 -3
  350. package/models/admin-settings-all-response-data-general.ts +13 -1
  351. package/models/admin-settings-all-response-data.ts +6 -3
  352. package/models/admin-settings-email-get-response.ts +6 -3
  353. package/models/admin-settings-general-get-response-data.ts +4 -10
  354. package/models/{admin-mcp-servers-list-response-meta.ts → admin-users-restore-response.ts} +11 -14
  355. package/models/admin-webhooks-delivery-replay-response-data.ts +54 -0
  356. package/models/admin-webhooks-delivery-replay-response.ts +3 -3
  357. package/models/admin-webhooks-test-response.ts +6 -0
  358. package/models/ask-response.ts +17 -0
  359. package/models/attest-response-identity.ts +1 -1
  360. package/models/attest-response.ts +2 -2
  361. package/models/audit-log-entry.ts +1 -1
  362. package/models/authentication-settings-password-policy.ts +25 -1
  363. package/models/authentication-settings-password-rotation-policy.ts +1 -13
  364. package/models/authentication-settings.ts +13 -15
  365. package/models/authorization-server-metadata.ts +8 -2
  366. package/models/check-email-first-request.ts +36 -0
  367. package/models/check-email-first-response.ts +48 -0
  368. package/models/email-sender-settings.ts +70 -0
  369. package/models/get-approval-status-response-approved-by.ts +2 -2
  370. package/models/get-me-response.ts +18 -0
  371. package/models/get-server-challenge-response.ts +3 -2
  372. package/models/index.ts +12 -1
  373. package/models/introspect-response.ts +6 -0
  374. package/models/issue-agent-token-request.ts +6 -0
  375. package/models/list-permissions-response-permissions-item.ts +1 -1
  376. package/models/list-users-response.ts +6 -0
  377. package/models/oauth-client-secret-issued.ts +1 -1
  378. package/models/oauth-client.ts +6 -0
  379. package/models/oauth-scope.ts +1 -7
  380. package/models/open-id-configuration.ts +3 -3
  381. package/models/push-enrollment-started.ts +1 -1
  382. package/models/put-admin-agents-update-request.ts +6 -0
  383. package/models/put-admin-settings-branding-update-response.ts +6 -0
  384. package/models/put-admin-settings-email-update-request.ts +42 -0
  385. package/models/put-admin-settings-email-update-response.ts +6 -3
  386. package/models/put-admin-settings-general-update-request.ts +36 -0
  387. package/models/put-admin-settings-general-update-response-data.ts +1 -7
  388. package/models/register-client-response.ts +0 -24
  389. package/models/registered-client-metadata.ts +0 -24
  390. package/models/request-magic-link-request.ts +48 -0
  391. package/models/request-magic-link-response.ts +39 -0
  392. package/models/scim-settings-inbound-protected-attributes.ts +2 -10
  393. package/models/scim-settings-inbound.ts +0 -6
  394. package/models/scim-settings-outbound.ts +2 -8
  395. package/models/social-login-provider.ts +2 -1
  396. package/models/user.ts +12 -0
  397. package/models/userinfo-response.ts +4 -12
  398. package/package.json +1 -1
  399. package/docs/AdminMcpServersListResponseMeta.md +0 -24
  400. /package/dist/esm/models/{admin-mcp-servers-list-response-meta.js → admin-agents-agents-rotate-key-request.js} +0 -0
  401. /package/dist/models/{admin-mcp-servers-list-response-meta.js → admin-agents-agents-rotate-key-request.js} +0 -0
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **slug** | **string** | | [optional] [default to undefined]
9
9
  **description** | **string** | | [optional] [default to undefined]
10
- **source** | **string** | role:<role name> that grants it | [optional] [default to undefined]
10
+ **source** | **string** | role:<role name> that grants it, or direct for a permission granted to the user directly | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **data** | [**Array<User>**](User.md) | | [optional] [default to undefined]
9
9
  **meta** | [**PaginationMeta**](PaginationMeta.md) | | [optional] [default to undefined]
10
10
  **pagination** | [**PaginationMeta**](PaginationMeta.md) | | [optional] [default to undefined]
11
+ **resourceType** | **string** | | [optional] [default to undefined]
11
12
 
12
13
  ## Example
13
14
 
@@ -18,6 +19,7 @@ const instance: ListUsersResponse = {
18
19
  data,
19
20
  meta,
20
21
  pagination,
22
+ resourceType,
21
23
  };
22
24
  ```
23
25
 
package/docs/McpApi.md CHANGED
@@ -63,8 +63,7 @@ No authorization required
63
63
  | Status code | Description | Response headers |
64
64
  |-------------|-------------|------------------|
65
65
  |**200** | Protected resource metadata. scopes_supported only when the server declares scopes; the dpop_* members only when the server requires DPoP-bound tokens. Any additional admin-supplied metadata fields are merged in (they can never override resource, authorization_servers, bearer_methods_supported or scopes_supported). | - |
66
- |**400** | not_applicable — the MCP server does not require authorization. | - |
67
- |**404** | not_found — unknown organization, or unknown / inactive MCP server. | - |
66
+ |**404** | not_found — unknown organization, unknown / inactive MCP server, or an MCP server that checks no token (Public or stdio): such a server has no protected resource metadata. | - |
68
67
 
69
68
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
70
69
 
@@ -171,7 +170,7 @@ const { status, data } = await apiInstance.getServer(
171
170
  | Status code | Description | Response headers |
172
171
  |-------------|-------------|------------------|
173
172
  |**200** | A single MCP server with discovery metadata. | - |
174
- |**403** | Caller lacks the settings.manage permission. | - |
173
+ |**403** | Caller lacks the agents.view permission. | - |
175
174
  |**404** | Tenant or MCP server not found. | - |
176
175
 
177
176
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -226,7 +225,7 @@ const { status, data } = await apiInstance.getServerChallenge(
226
225
  ### HTTP response details
227
226
  | Status code | Description | Response headers |
228
227
  |-------------|-------------|------------------|
229
- |**200** | The access token is valid for this MCP server. | - |
228
+ |**200** | The access token is valid for this MCP server, or the server checks no token. | - |
230
229
  |**401** | unauthorized / invalid_token with the MCP WWW-Authenticate challenge (resource_metadata, and scope when the server includes it). | * WWW-Authenticate - <br> |
231
230
  |**403** | insufficient_scope — the token lacks required scopes (listed in scope and in WWW-Authenticate). | * WWW-Authenticate - <br> |
232
231
  |**404** | not_found — unknown organization, or unknown / inactive MCP server. | - |
@@ -282,7 +281,7 @@ const { status, data } = await apiInstance.listServers(
282
281
  | Status code | Description | Response headers |
283
282
  |-------------|-------------|------------------|
284
283
  |**200** | List of active MCP servers for the tenant. | - |
285
- |**403** | Caller lacks the settings.manage permission. | - |
284
+ |**403** | Caller lacks the agents.view permission. | - |
286
285
  |**404** | Tenant not found. | - |
287
286
 
288
287
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -400,7 +399,7 @@ const { status, data } = await apiInstance.postServerChallenge(
400
399
  ### HTTP response details
401
400
  | Status code | Description | Response headers |
402
401
  |-------------|-------------|------------------|
403
- |**200** | The access token is valid for this MCP server. | - |
402
+ |**200** | The access token is valid for this MCP server, or the server checks no token. | - |
404
403
  |**401** | unauthorized / invalid_token with the MCP WWW-Authenticate challenge (resource_metadata, and scope when the server includes it). | * WWW-Authenticate - <br> |
405
404
  |**403** | insufficient_scope — the token lacks required scopes (listed in scope and in WWW-Authenticate). | * WWW-Authenticate - <br> |
406
405
  |**404** | not_found — unknown organization, or unknown / inactive MCP server. | - |
package/docs/OAuthApi.md CHANGED
@@ -6,6 +6,7 @@ All URIs are relative to *https://app.lumoauth.dev*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**authorize**](#authorize) | **GET** /orgs/{orgId}/api/v1/oauth/authorize | OAuth 2.1 / OIDC authorization endpoint|
8
8
  |[**backchannelAuthorize**](#backchannelauthorize) | **POST** /orgs/{orgId}/api/v1/oauth/bc-authorize | CIBA backchannel authentication request|
9
+ |[**checkEmailFirst**](#checkemailfirst) | **POST** /orgs/{orgId}/api/v1/oauth/check-email | Sign-in methods for an email-first form|
9
10
  |[**deviceAuthorization**](#deviceauthorization) | **POST** /orgs/{orgId}/api/v1/oauth/device_authorization | Device authorization request (RFC 8628)|
10
11
  |[**getClientConfiguration**](#getclientconfiguration) | **GET** /orgs/{orgId}/api/v1/connect/register/{clientId} | Read a dynamically registered client (RFC 7592 / OIDC DCR §4)|
11
12
  |[**getDeviceVerification**](#getdeviceverification) | **GET** /orgs/{orgId}/api/v1/oauth/device | Device verification page (RFC 8628 §3.3)|
@@ -13,6 +14,7 @@ All URIs are relative to *https://app.lumoauth.dev*
13
14
  |[**introspect**](#introspect) | **POST** /orgs/{orgId}/api/v1/oauth/introspect | Token introspection (RFC 7662)|
14
15
  |[**par**](#par) | **POST** /orgs/{orgId}/api/v1/oauth/par | Pushed authorization request (RFC 9126)|
15
16
  |[**registerClient**](#registerclient) | **POST** /orgs/{orgId}/api/v1/connect/register | Dynamic client registration (RFC 7591 / OIDC DCR)|
17
+ |[**requestMagicLink**](#requestmagiclink) | **POST** /orgs/{orgId}/api/v1/oauth/magic-link | Request a sign-in link by email|
16
18
  |[**revoke**](#revoke) | **POST** /orgs/{orgId}/api/v1/oauth/revoke | Token revocation (RFC 7009)|
17
19
  |[**socialCallback**](#socialcallback) | **GET** /orgs/{orgId}/api/v1/oauth/social/{provider}/callback | Social / enterprise identity-provider callback|
18
20
  |[**socialCallbackPost**](#socialcallbackpost) | **POST** /orgs/{orgId}/api/v1/oauth/social/{provider}/callback | Social / enterprise identity-provider callback (form_post)|
@@ -74,7 +76,7 @@ No authorization required
74
76
  |**303** | Authorization response delivered to the client\&#39;s redirect_uri in the query (default) or fragment, carrying code, state and iss (or error / error_description) — JARM modes carry a single response JWT. A session_state cookie accompanies successful responses. | * Location - <br> |
75
77
  |**302** | Interstitial redirect: to the hosted login page, a social identity provider, the MFA / step-up challenge, the organization selector, or to logout for prompt&#x3D;login. | * Location - <br> |
76
78
  |**400** | HTML error page for malformed requests (unknown client, unregistered redirect_uri, invalid request object, …). | - |
77
- |**429** | too_many_requests (JSON). | - |
79
+ |**429** | too_many_requests (JSON); Retry-After names the seconds to wait. | - |
78
80
 
79
81
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
80
82
 
@@ -129,7 +131,66 @@ const { status, data } = await apiInstance.backchannelAuthorize(
129
131
  |**400** | invalid_request, unauthorized_client (CIBA not enabled for the client or plan), invalid_scope, missing_user_code / invalid_user_code or invalid_authorization_details. | - |
130
132
  |**401** | invalid_client — client authentication failed. | - |
131
133
  |**403** | unauthorized_client (agent_id named but not authenticated by that agent) or access_denied. | - |
132
- |**429** | too_many_requests, or slow_down when the target user already has too many pending requests. | - |
134
+ |**429** | too_many_requests (rate limit exceeded; Retry-After names the seconds to wait), or slow_down when the target user already has too many pending requests. | - |
135
+
136
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
137
+
138
+ # **checkEmailFirst**
139
+ > CheckEmailFirstResponse checkEmailFirst(checkEmailFirstRequest)
140
+
141
+ For applications that render their own sign-in form. Returns the sign-in methods that the organization offers, so that the form can show the next step after an address was typed. The answer does not depend on the address: `exists` is always `true`, and a known address and a new one get the same answer. Takes no credential and signs nobody in. A browser request must come from one of the allowed origins of the application named by `client_id`.
142
+
143
+ ### Example
144
+
145
+ ```typescript
146
+ import {
147
+ OAuthApi,
148
+ Configuration,
149
+ CheckEmailFirstRequest
150
+ } from '@lumoauth/api-client';
151
+
152
+ const configuration = new Configuration();
153
+ const apiInstance = new OAuthApi(configuration);
154
+
155
+ let orgId: string; // (default to undefined)
156
+ let checkEmailFirstRequest: CheckEmailFirstRequest; //
157
+
158
+ const { status, data } = await apiInstance.checkEmailFirst(
159
+ orgId,
160
+ checkEmailFirstRequest
161
+ );
162
+ ```
163
+
164
+ ### Parameters
165
+
166
+ |Name | Type | Description | Notes|
167
+ |------------- | ------------- | ------------- | -------------|
168
+ | **checkEmailFirstRequest** | **CheckEmailFirstRequest**| | |
169
+ | **orgId** | [**string**] | | defaults to undefined|
170
+
171
+
172
+ ### Return type
173
+
174
+ **CheckEmailFirstResponse**
175
+
176
+ ### Authorization
177
+
178
+ No authorization required
179
+
180
+ ### HTTP request headers
181
+
182
+ - **Content-Type**: application/json
183
+ - **Accept**: application/json
184
+
185
+
186
+ ### HTTP response details
187
+ | Status code | Description | Response headers |
188
+ |-------------|-------------|------------------|
189
+ |**200** | The organization\&#39;s sign-in methods. The same for every address. | - |
190
+ |**400** | &#x60;{\&quot;error\&quot;: …, \&quot;message\&quot;: …}&#x60; with error &#x60;invalid_request&#x60; or &#x60;invalid_client&#x60;. | - |
191
+ |**403** | &#x60;{\&quot;error\&quot;:\&quot;origin_not_allowed\&quot;}&#x60;: the page that made the request is not one of the application\&#39;s allowed origins. | - |
192
+ |**404** | &#x60;{\&quot;error\&quot;:\&quot;not_found\&quot;}&#x60; for an unknown organization. | - |
193
+ |**429** | &#x60;{\&quot;error\&quot;:\&quot;rate_limited\&quot;}&#x60;; Retry-After names the seconds to wait. | - |
133
194
 
134
195
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
135
196
 
@@ -183,7 +244,7 @@ const { status, data } = await apiInstance.deviceAuthorization(
183
244
  |**200** | Device authorization response (RFC 8628 §3.2). | - |
184
245
  |**400** | invalid_request (client_id missing), invalid_client (unknown / inactive client), unauthorized_client (grant not allowed) or invalid_scope. | - |
185
246
  |**401** | invalid_client — a confidential client failed to authenticate. | - |
186
- |**429** | too_many_requests — rate limit exceeded. | - |
247
+ |**429** | too_many_requests — rate limit exceeded; Retry-After names the seconds to wait. | - |
187
248
 
188
249
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
189
250
 
@@ -291,7 +352,7 @@ No authorization required
291
352
  |-------------|-------------|------------------|
292
353
  |**200** | HTML page: code entry form (with inline validation errors), the device consent page, or the success / denied / error result page. | - |
293
354
  |**302** | Redirect to the hosted login page when no user session exists; the browser returns here after sign-in. | * Location - <br> |
294
- |**429** | HTML error page — too many attempts. | - |
355
+ |**429** | HTML error page — too many attempts (Retry-After header). | - |
295
356
 
296
357
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
297
358
 
@@ -398,7 +459,7 @@ const { status, data } = await apiInstance.introspect(
398
459
  |**200** | Introspection response (RFC 7662 §2.2). An inactive, expired, revoked or unknown token yields only {\&quot;active\&quot;: false}. For an active token the optional members are present when known: username only for user-bound tokens; iss/aud only for tokens bound to a client; nbf/jti only for JWT access tokens; empty-string values are omitted. | - |
399
460
  |**400** | invalid_request — token parameter missing. | - |
400
461
  |**401** | invalid_client — client authentication failed. | - |
401
- |**429** | Rate limit exceeded. | - |
462
+ |**429** | too_many_requests — rate limit exceeded; Retry-After names the seconds to wait. | - |
402
463
 
403
464
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
404
465
 
@@ -450,16 +511,16 @@ const { status, data } = await apiInstance.par(
450
511
  | Status code | Description | Response headers |
451
512
  |-------------|-------------|------------------|
452
513
  |**201** | Pushed authorization request created (RFC 9126 §2.2). | - |
453
- |**400** | invalid_request / invalid_target / invalid_request_object, or the tenant is unknown. | - |
514
+ |**400** | invalid_request / invalid_target / invalid_request_object, or the organization is unknown. | - |
454
515
  |**401** | invalid_client — client authentication failed. | - |
455
- |**429** | too_many_requests — rate limit exceeded. | - |
516
+ |**429** | too_many_requests — rate limit exceeded; Retry-After names the seconds to wait. | - |
456
517
 
457
518
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
458
519
 
459
520
  # **registerClient**
460
521
  > RegisterClientResponse registerClient()
461
522
 
462
- Registers an OAuth client from a JSON metadata document. Authenticated with an initial access token (Authorization: Bearer) or an API key holding admin:clients:register; open registration applies when the organization allows it.
523
+ Registers an OAuth client from a JSON metadata document. Authenticated with an initial access token (Authorization: Bearer) or an API key holding admin:clients:register; open registration applies when the organization allows it. Refused with invalid_client_metadata: grant_types other than authorization_code and refresh_token, response_types other than code and none, subject_type other than public, sector_identifier_uri, request_uris, userinfo_signed_response_alg, an id_token_signed_response_alg other than the organization\'s signing algorithm, and every encryption member (id_token_encrypted_response_*, userinfo_encrypted_response_*, request_object_encryption_*, authorization_encrypted_response_*).
463
524
 
464
525
  ### Example
465
526
 
@@ -507,7 +568,66 @@ const { status, data } = await apiInstance.registerClient(
507
568
  |**400** | invalid_request (invalid JSON / unknown organization), invalid_client_metadata or invalid_redirect_uri. | - |
508
569
  |**401** | access_denied — initial access token required or invalid (WWW-Authenticate: Bearer). | - |
509
570
  |**403** | access_denied — dynamic registration disabled for this organization, or the API key is not authorized for it. | - |
510
- |**429** | too_many_requests — rate limit exceeded. | - |
571
+ |**429** | too_many_requests — rate limit exceeded; Retry-After names the seconds to wait. | - |
572
+
573
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
574
+
575
+ # **requestMagicLink**
576
+ > RequestMagicLinkResponse requestMagicLink(requestMagicLinkRequest)
577
+
578
+ For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
579
+
580
+ ### Example
581
+
582
+ ```typescript
583
+ import {
584
+ OAuthApi,
585
+ Configuration,
586
+ RequestMagicLinkRequest
587
+ } from '@lumoauth/api-client';
588
+
589
+ const configuration = new Configuration();
590
+ const apiInstance = new OAuthApi(configuration);
591
+
592
+ let orgId: string; // (default to undefined)
593
+ let requestMagicLinkRequest: RequestMagicLinkRequest; //
594
+
595
+ const { status, data } = await apiInstance.requestMagicLink(
596
+ orgId,
597
+ requestMagicLinkRequest
598
+ );
599
+ ```
600
+
601
+ ### Parameters
602
+
603
+ |Name | Type | Description | Notes|
604
+ |------------- | ------------- | ------------- | -------------|
605
+ | **requestMagicLinkRequest** | **RequestMagicLinkRequest**| | |
606
+ | **orgId** | [**string**] | | defaults to undefined|
607
+
608
+
609
+ ### Return type
610
+
611
+ **RequestMagicLinkResponse**
612
+
613
+ ### Authorization
614
+
615
+ No authorization required
616
+
617
+ ### HTTP request headers
618
+
619
+ - **Content-Type**: application/json
620
+ - **Accept**: application/json
621
+
622
+
623
+ ### HTTP response details
624
+ | Status code | Description | Response headers |
625
+ |-------------|-------------|------------------|
626
+ |**200** | The request was accepted. The answer is the same whether or not the address belongs to an account. | - |
627
+ |**400** | &#x60;{\&quot;error\&quot;: …, \&quot;message\&quot;: …}&#x60; with error &#x60;invalid_request&#x60;, &#x60;invalid_client&#x60;, &#x60;invalid_return_to&#x60;, &#x60;captcha_required&#x60; or &#x60;captcha_failed&#x60;. | - |
628
+ |**403** | &#x60;{\&quot;error\&quot;:\&quot;origin_not_allowed\&quot;}&#x60;: the page that made the request is not one of the application\&#39;s allowed origins. | - |
629
+ |**404** | &#x60;{\&quot;error\&quot;:\&quot;not_found\&quot;}&#x60; for an unknown organization, &#x60;{\&quot;error\&quot;:\&quot;magic_link_disabled\&quot;}&#x60; when the organization does not offer sign-in links. | - |
630
+ |**429** | &#x60;{\&quot;error\&quot;:\&quot;rate_limited\&quot;}&#x60;. | - |
511
631
 
512
632
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
513
633
 
@@ -561,7 +681,7 @@ const { status, data } = await apiInstance.revoke(
561
681
  |**200** | Revocation acknowledged — always 200 with an empty JSON object, whether or not the token existed (RFC 7009 §2.2). | - |
562
682
  |**400** | invalid_request (token parameter missing) or unsupported_token_type. | - |
563
683
  |**401** | invalid_client — client authentication failed. | - |
564
- |**429** | too_many_requests — rate limit exceeded. | - |
684
+ |**429** | too_many_requests — rate limit exceeded; Retry-After names the seconds to wait. | - |
565
685
 
566
686
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
567
687
 
@@ -778,7 +898,7 @@ No authorization required
778
898
  |**303** | Authorization response delivered to the client\&#39;s redirect_uri in the query (default) or fragment, carrying code, state and iss (or error / error_description) — JARM modes carry a single response JWT. A session_state cookie accompanies successful responses. | * Location - <br> |
779
899
  |**302** | Interstitial redirect: to the hosted login page, a social identity provider, the MFA / step-up challenge, the organization selector, or to logout for prompt&#x3D;login. | * Location - <br> |
780
900
  |**400** | HTML error page for malformed requests (unknown client, unregistered redirect_uri, invalid request object, …). | - |
781
- |**429** | too_many_requests (JSON). | - |
901
+ |**429** | too_many_requests (JSON); Retry-After names the seconds to wait. | - |
782
902
 
783
903
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
784
904
 
@@ -831,7 +951,7 @@ No authorization required
831
951
  |-------------|-------------|------------------|
832
952
  |**200** | HTML page: code entry form (with inline validation errors), the device consent page, or the success / denied / error result page. | - |
833
953
  |**302** | Redirect to the hosted login page when no user session exists; the browser returns here after sign-in. | * Location - <br> |
834
- |**429** | HTML error page — too many attempts. | - |
954
+ |**429** | HTML error page — too many attempts (Retry-After header). | - |
835
955
 
836
956
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
837
957
 
@@ -885,7 +1005,7 @@ No authorization required
885
1005
  |**200** | Signed in (status&#x3D;complete — continue to /oauth/authorize) or a second factor is required (status&#x3D;mfa_required with the challenge page URL). | - |
886
1006
  |**400** | {\&quot;status\&quot;:\&quot;invalid_request\&quot;} or {\&quot;status\&quot;:\&quot;captcha_required\&quot;,\&quot;message\&quot;:…}. | - |
887
1007
  |**401** | {\&quot;status\&quot;:\&quot;invalid_credentials\&quot;}. | - |
888
- |**403** | {\&quot;status\&quot;:\&quot;blocked\&quot;} or {\&quot;status\&quot;:\&quot;inactive\&quot;}. | - |
1008
+ |**403** | {\&quot;status\&quot;:\&quot;blocked\&quot;} or {\&quot;status\&quot;:\&quot;inactive\&quot;}; {\&quot;status\&quot;:\&quot;sso_required\&quot;,\&quot;redirect_url\&quot;:…} for an administrator of an organization that requires single sign-on for administrators. | - |
889
1009
  |**404** | {\&quot;status\&quot;:\&quot;not_found\&quot;} — unknown or inactive organization. | - |
890
1010
  |**429** | {\&quot;status\&quot;:\&quot;rate_limited\&quot;}. | - |
891
1011
 
@@ -994,7 +1114,8 @@ const { status, data } = await apiInstance.token(
994
1114
  |**200** | Token response (RFC 6749 §5.1). Which optional members are present depends on the grant: refresh_token only when the client may use the refresh_token grant; id_token for authorization_code / CIBA / device grants with the openid scope; issued_token_type for token exchange (including ID-JAG and Txn-Token, whose token_type is N_A and which carry no scope unless scopes were granted); authorization_details, jit_request_id and task_id only for agent-initiated CIBA. Always sent with Cache-Control: no-store. | * DPoP-Nonce - Fresh server nonce when the request carried a DPoP proof (RFC 9449 §8). <br> |
995
1115
  |**400** | invalid_request / invalid_grant / unsupported_grant_type / invalid_scope (RFC 6749 §5.2). | - |
996
1116
  |**401** | invalid_client — client authentication failed. | - |
997
- |**429** | too_many_requests — rate limit exceeded. | - |
1117
+ |**403** | plan_limit_reached — the month\&#39;s included machine-to-machine tokens or active agents are used on a plan without overage; error_description says which. | - |
1118
+ |**429** | too_many_requests — rate limit exceeded; Retry-After names the seconds to wait. | - |
998
1119
 
999
1120
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1000
1121
 
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
16
16
  **redirectUris** | **Array&lt;string&gt;** | Detailed responses only | [optional] [default to undefined]
17
17
  **scopes** | **Array&lt;string&gt;** | Detailed responses only | [optional] [default to undefined]
18
18
  **grantTypes** | **Array&lt;string&gt;** | Detailed responses only | [optional] [default to undefined]
19
+ **cibaEnabled** | **boolean** | Detailed responses only. Whether the client may use CIBA (backchannel authentication). | [optional] [default to undefined]
19
20
 
20
21
  ## Example
21
22
 
@@ -34,6 +35,7 @@ const instance: OAuthClient = {
34
35
  redirectUris,
35
36
  scopes,
36
37
  grantTypes,
38
+ cibaEnabled,
37
39
  };
38
40
  ```
39
41
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **secret** | **string** | Plaintext client secret — returned only once, never retrievable again | [optional] [default to undefined]
8
+ **secret** | **string** | Plaintext client secret — returned only once, never retrievable again. Absent for a public client | [optional] [default to undefined]
9
9
  **_note** | **string** | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
@@ -7,8 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **number** | | [optional] [default to undefined]
9
9
  **name** | **string** | | [optional] [default to undefined]
10
- **description** | **string** | | [optional] [default to undefined]
11
- **isDefault** | **boolean** | | [optional] [default to undefined]
10
+ **description** | **string** | Shown to users on the consent page next to the scope name. | [optional] [default to undefined]
12
11
  **isSystem** | **boolean** | | [optional] [default to undefined]
13
12
  **createdAt** | **string** | | [optional] [default to undefined]
14
13
 
@@ -21,7 +20,6 @@ const instance: OAuthScope = {
21
20
  id,
22
21
  name,
23
22
  description,
24
- isDefault,
25
23
  isSystem,
26
24
  createdAt,
27
25
  };
package/docs/OIDCApi.md CHANGED
@@ -214,9 +214,9 @@ const { status, data } = await apiInstance.userinfo(
214
214
  ### HTTP response details
215
215
  | Status code | Description | Response headers |
216
216
  |-------------|-------------|------------------|
217
- |**200** | Claims for the token\&#39;s principal. The shape depends on the identity type: a user token yields standard OIDC claims gated by scope (profile, email, phone, address), roles only when the client enabled the roles claim, plus tenant — null-valued claims are omitted; an agent token (no openid scope needed: an agent is not an End-User and reads only its own record) yields sub&#x3D;agent_&lt;id&gt;, name, agent_id, workload_identity, capabilities, budget_policy, tenant, identity_type&#x3D;agent; a client token yields sub&#x3D;client_&lt;id&gt;, client_id, name, tenant, identity_type&#x3D;client. Sent with Cache-Control: no-store. | - |
217
+ |**200** | Claims for the token\&#39;s principal. The shape depends on the identity type: a user token yields standard OIDC claims gated by scope (profile, email, phone, address), roles only when the client enabled the roles claim, plus tenant — null-valued claims are omitted; an agent token (no openid scope needed: an agent is not an End-User and reads only its own record) yields sub&#x3D;agent_&lt;id&gt;, name, agent_id, workload_identity, capabilities, budget_policy, tenant, identity_type&#x3D;agent. A token from the client credentials grant of an OAuth client names neither and is refused with 401 invalid_token, as a JWT and as an opaque token. Sent with Cache-Control: no-store. | - |
218
218
  |**400** | invalid_request — Authorization header missing or malformed. | - |
219
- |**401** | invalid_token (invalid, expired, or wrong DPoP binding) or invalid_dpop_proof. | - |
219
+ |**401** | invalid_token (invalid, expired, wrong DPoP binding, or a client credentials token, which names no user) or invalid_dpop_proof. | - |
220
220
  |**403** | insufficient_scope — the openid scope is required. | - |
221
221
 
222
222
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -268,9 +268,9 @@ const { status, data } = await apiInstance.userinfoPost(
268
268
  ### HTTP response details
269
269
  | Status code | Description | Response headers |
270
270
  |-------------|-------------|------------------|
271
- |**200** | Claims for the token\&#39;s principal. The shape depends on the identity type: a user token yields standard OIDC claims gated by scope (profile, email, phone, address), roles only when the client enabled the roles claim, plus tenant — null-valued claims are omitted; an agent token (no openid scope needed: an agent is not an End-User and reads only its own record) yields sub&#x3D;agent_&lt;id&gt;, name, agent_id, workload_identity, capabilities, budget_policy, tenant, identity_type&#x3D;agent; a client token yields sub&#x3D;client_&lt;id&gt;, client_id, name, tenant, identity_type&#x3D;client. Sent with Cache-Control: no-store. | - |
271
+ |**200** | Claims for the token\&#39;s principal. The shape depends on the identity type: a user token yields standard OIDC claims gated by scope (profile, email, phone, address), roles only when the client enabled the roles claim, plus tenant — null-valued claims are omitted; an agent token (no openid scope needed: an agent is not an End-User and reads only its own record) yields sub&#x3D;agent_&lt;id&gt;, name, agent_id, workload_identity, capabilities, budget_policy, tenant, identity_type&#x3D;agent. A token from the client credentials grant of an OAuth client names neither and is refused with 401 invalid_token, as a JWT and as an opaque token. Sent with Cache-Control: no-store. | - |
272
272
  |**400** | invalid_request — Authorization header missing or malformed. | - |
273
- |**401** | invalid_token (invalid, expired, or wrong DPoP binding) or invalid_dpop_proof. | - |
273
+ |**401** | invalid_token (invalid, expired, wrong DPoP binding, or a client credentials token, which names no user) or invalid_dpop_proof. | - |
274
274
  |**403** | insufficient_scope — the openid scope is required. | - |
275
275
 
276
276
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -31,7 +31,7 @@ Name | Type | Description | Notes
31
31
  **request_object_signing_alg_values_supported** | **Array&lt;string&gt;** | | [optional] [default to undefined]
32
32
  **ui_locales_supported** | **Array&lt;string&gt;** | | [optional] [default to undefined]
33
33
  **prompt_values_supported** | **Array&lt;string&gt;** | | [optional] [default to undefined]
34
- **acr_values_supported** | **Array&lt;string&gt;** | The four MFA tier ACR values plus the single-factor urn:lumoauth:acr:pwd (any signed-in session), unless overridden in organization settings. | [optional] [default to undefined]
34
+ **acr_values_supported** | **Array&lt;string&gt;** | The four MFA tier ACR values plus the single-factor urn:lumoauth:acr:pwd (any signed-in session). The list is the same for every organization. | [optional] [default to undefined]
35
35
  **code_challenge_methods_supported** | **Array&lt;string&gt;** | | [optional] [default to undefined]
36
36
  **authorization_response_iss_parameter_supported** | **boolean** | | [optional] [default to undefined]
37
37
  **pushed_authorization_request_endpoint** | **string** | | [optional] [default to undefined]
@@ -55,8 +55,8 @@ Name | Type | Description | Notes
55
55
  **entity_profiles_supported** | **Array&lt;string&gt;** | | [optional] [default to undefined]
56
56
  **client_id_metadata_document_supported** | **boolean** | Present (true) unless the organization switched Client ID Metadata Documents off. | [optional] [default to undefined]
57
57
  **authorization_grant_profiles_supported** | **Array&lt;string&gt;** | Only when the organization accepts ID-JAGs. | [optional] [default to undefined]
58
- **op_policy_uri** | **string** | Only when configured. | [optional] [default to undefined]
59
- **op_tos_uri** | **string** | Only when configured. | [optional] [default to undefined]
58
+ **op_policy_uri** | **string** | The Privacy policy URL of the organization\&#39;s login page settings. Only when it is set. | [optional] [default to undefined]
59
+ **op_tos_uri** | **string** | The Terms of service URL of the organization\&#39;s login page settings. Only when it is set. | [optional] [default to undefined]
60
60
 
61
61
  ## Example
62
62
 
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  **state** | **string** | | [optional] [default to undefined]
10
10
  **qr_data_uri** | **string** | | [optional] [default to undefined]
11
11
  **deep_link** | **string** | https://&lt;server&gt;/push-auth/enroll?d&#x3D;… — an Android App Link / iOS Universal Link that opens the authenticator app on a phone (falls back to a help page without it). | [optional] [default to undefined]
12
- **deep_link_android** | **string** | Same link as an intent:// URL pinned to the Android app package, for pages served from this host (Chrome keeps same-site App Links in the browser). Null when the deployment has not configured the package. | [optional] [default to undefined]
12
+ **deep_link_android** | **string** | Same link as an intent:// URL pinned to the Android app package, for pages served from this host (Chrome keeps same-site App Links in the browser). Null when it is not available. | [optional] [default to undefined]
13
13
  **activation_code** | **string** | | [optional] [default to undefined]
14
14
  **expires_at** | **string** | | [optional] [default to undefined]
15
15
 
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **name** | **string** | | [optional] [default to undefined]
9
9
  **description** | **string** | | [optional] [default to undefined]
10
10
  **capabilities** | **Array&lt;string&gt;** | | [optional] [default to undefined]
11
+ **budgetPolicy** | **{ [key: string]: any; }** | The agent budget. Keys: max_api_calls_per_hour, max_api_calls_per_day, max_tokens_per_hour, max_tokens_per_day (whole numbers), max_cost_per_day_usd, max_cost_per_month_usd, hard_limit (USD), max_steps, timeout_seconds (whole numbers, read by the agent from UserInfo), and the gateway-only max_cost_usd, monthly_usd, max_budget (USD). Each value must be greater than zero; an unknown key or an invalid value is refused with 400. An update replaces the whole policy; {} or null removes the budget, and a request without the field leaves it as it is. | [optional] [default to undefined]
11
12
 
12
13
  ## Example
13
14
 
@@ -18,6 +19,7 @@ const instance: PutAdminAgentsUpdateRequest = {
18
19
  name,
19
20
  description,
20
21
  capabilities,
22
+ budgetPolicy,
21
23
  };
22
24
  ```
23
25
 
@@ -6,6 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **data** | [**BrandingSettings**](BrandingSettings.md) | | [optional] [default to undefined]
9
+ **rejected** | **Array&lt;string&gt;** | Keys whose value was refused by validation and not saved. | [optional] [default to undefined]
9
10
  **message** | **string** | | [optional] [default to undefined]
10
11
 
11
12
  ## Example
@@ -15,6 +16,7 @@ import { PutAdminSettingsBrandingUpdateResponse } from '@lumoauth/api-client';
15
16
 
16
17
  const instance: PutAdminSettingsBrandingUpdateResponse = {
17
18
  data,
19
+ rejected,
18
20
  message,
19
21
  };
20
22
  ```
@@ -0,0 +1,24 @@
1
+ # PutAdminSettingsEmailUpdateRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **fromEmail** | **string** | From address. It must be a sender that is verified at the mail provider. | [optional] [default to undefined]
9
+ **fromName** | **string** | From name: one line. null or an empty string clears it. | [optional] [default to undefined]
10
+ **replyToEmail** | **string** | Reply-To address. null or an empty string clears it. | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PutAdminSettingsEmailUpdateRequest } from '@lumoauth/api-client';
16
+
17
+ const instance: PutAdminSettingsEmailUpdateRequest = {
18
+ fromEmail,
19
+ fromName,
20
+ replyToEmail,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **data** | **{ [key: string]: any; }** | Free-form email settings dictionary, stored as sent (keys merge on update); secret-looking keys are redacted. | [optional] [default to undefined]
8
+ **data** | [**EmailSenderSettings**](EmailSenderSettings.md) | | [optional] [default to undefined]
9
9
  **message** | **string** | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
@@ -0,0 +1,22 @@
1
+ # PutAdminSettingsGeneralUpdateRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Name of the organization: one line, 1 to 255 characters. Aliases: tenantName, display_name, displayName. | [optional] [default to undefined]
9
+ **locale** | **string** | Default language of the hosted pages: en, es, fr, de, pt_BR (pt-BR is accepted too), it, nl, ja or ar. A change also needs the branding.edit permission. | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PutAdminSettingsGeneralUpdateRequest } from '@lumoauth/api-client';
15
+
16
+ const instance: PutAdminSettingsGeneralUpdateRequest = {
17
+ name,
18
+ locale,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,6 +1,6 @@
1
1
  # PutAdminSettingsGeneralUpdateResponseData
2
2
 
3
- Organization name plus the raw settings dictionary: any stored key (display_name, timezone, locale, security, email, audit_log_retention_days, audit_log_auto_delete, agent_governance, ...) is returned as-is; secret-looking keys are redacted.
3
+ name, displayName (the same value) and locale, then the stored settings dictionary: any stored key (security, audit_log_retention_days, audit_log_auto_delete, agent_governance, ...) is returned as-is; secret-looking keys are redacted.
4
4
 
5
5
  ## Properties
6
6
 
@@ -8,7 +8,6 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **name** | **string** | | [optional] [default to undefined]
10
10
  **displayName** | **string** | | [optional] [default to undefined]
11
- **timezone** | **string** | | [optional] [default to undefined]
12
11
  **locale** | **string** | | [optional] [default to undefined]
13
12
 
14
13
  ## Example
@@ -19,7 +18,6 @@ import { PutAdminSettingsGeneralUpdateResponseData } from '@lumoauth/api-client'
19
18
  const instance: PutAdminSettingsGeneralUpdateResponseData = {
20
19
  name,
21
20
  displayName,
22
- timezone,
23
21
  locale,
24
22
  };
25
23
  ```
@@ -22,16 +22,12 @@ Name | Type | Description | Notes
22
22
  **logo_uri** | **string** | | [optional] [default to undefined]
23
23
  **policy_uri** | **string** | | [optional] [default to undefined]
24
24
  **tos_uri** | **string** | | [optional] [default to undefined]
25
- **sector_identifier_uri** | **string** | | [optional] [default to undefined]
26
- **subject_type** | **string** | Only when not \&quot;public\&quot;. | [optional] [default to undefined]
27
25
  **jwks_uri** | **string** | | [optional] [default to undefined]
28
26
  **jwks** | **{ [key: string]: any; }** | | [optional] [default to undefined]
29
27
  **post_logout_redirect_uris** | **Array&lt;string&gt;** | | [optional] [default to undefined]
30
28
  **initiate_login_uri** | **string** | | [optional] [default to undefined]
31
- **request_uris** | **Array&lt;string&gt;** | | [optional] [default to undefined]
32
29
  **scope** | **string** | Space-separated registered scopes. | [optional] [default to undefined]
33
30
  **id_token_signed_response_alg** | **string** | Only when not RS256. | [optional] [default to undefined]
34
- **userinfo_signed_response_alg** | **string** | | [optional] [default to undefined]
35
31
  **request_object_signing_alg** | **string** | | [optional] [default to undefined]
36
32
  **token_endpoint_auth_signing_alg** | **string** | | [optional] [default to undefined]
37
33
  **default_max_age** | **number** | | [optional] [default to undefined]
@@ -66,16 +62,12 @@ const instance: RegisterClientResponse = {
66
62
  logo_uri,
67
63
  policy_uri,
68
64
  tos_uri,
69
- sector_identifier_uri,
70
- subject_type,
71
65
  jwks_uri,
72
66
  jwks,
73
67
  post_logout_redirect_uris,
74
68
  initiate_login_uri,
75
- request_uris,
76
69
  scope,
77
70
  id_token_signed_response_alg,
78
- userinfo_signed_response_alg,
79
71
  request_object_signing_alg,
80
72
  token_endpoint_auth_signing_alg,
81
73
  default_max_age,
@@ -20,16 +20,12 @@ Name | Type | Description | Notes
20
20
  **logo_uri** | **string** | | [optional] [default to undefined]
21
21
  **policy_uri** | **string** | | [optional] [default to undefined]
22
22
  **tos_uri** | **string** | | [optional] [default to undefined]
23
- **sector_identifier_uri** | **string** | | [optional] [default to undefined]
24
- **subject_type** | **string** | Only when not \&quot;public\&quot;. | [optional] [default to undefined]
25
23
  **jwks_uri** | **string** | | [optional] [default to undefined]
26
24
  **jwks** | **{ [key: string]: any; }** | | [optional] [default to undefined]
27
25
  **post_logout_redirect_uris** | **Array&lt;string&gt;** | | [optional] [default to undefined]
28
26
  **initiate_login_uri** | **string** | | [optional] [default to undefined]
29
- **request_uris** | **Array&lt;string&gt;** | | [optional] [default to undefined]
30
27
  **scope** | **string** | Space-separated registered scopes. | [optional] [default to undefined]
31
28
  **id_token_signed_response_alg** | **string** | Only when not RS256. | [optional] [default to undefined]
32
- **userinfo_signed_response_alg** | **string** | | [optional] [default to undefined]
33
29
  **request_object_signing_alg** | **string** | | [optional] [default to undefined]
34
30
  **token_endpoint_auth_signing_alg** | **string** | | [optional] [default to undefined]
35
31
  **default_max_age** | **number** | | [optional] [default to undefined]
@@ -62,16 +58,12 @@ const instance: RegisteredClientMetadata = {
62
58
  logo_uri,
63
59
  policy_uri,
64
60
  tos_uri,
65
- sector_identifier_uri,
66
- subject_type,
67
61
  jwks_uri,
68
62
  jwks,
69
63
  post_logout_redirect_uris,
70
64
  initiate_login_uri,
71
- request_uris,
72
65
  scope,
73
66
  id_token_signed_response_alg,
74
- userinfo_signed_response_alg,
75
67
  request_object_signing_alg,
76
68
  token_endpoint_auth_signing_alg,
77
69
  default_max_age,