@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
package/api/oauth-api.ts CHANGED
@@ -24,6 +24,10 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
24
24
  // @ts-ignore
25
25
  import type { BackchannelAuthorizeResponse } from '../models';
26
26
  // @ts-ignore
27
+ import type { CheckEmailFirstRequest } from '../models';
28
+ // @ts-ignore
29
+ import type { CheckEmailFirstResponse } from '../models';
30
+ // @ts-ignore
27
31
  import type { DeviceAuthorizationResponse } from '../models';
28
32
  // @ts-ignore
29
33
  import type { IntrospectResponse } from '../models';
@@ -34,6 +38,10 @@ import type { RegisterClientResponse } from '../models';
34
38
  // @ts-ignore
35
39
  import type { RegisteredClientMetadata } from '../models';
36
40
  // @ts-ignore
41
+ import type { RequestMagicLinkRequest } from '../models';
42
+ // @ts-ignore
43
+ import type { RequestMagicLinkResponse } from '../models';
44
+ // @ts-ignore
37
45
  import type { SubmitLoginJsonResponse } from '../models';
38
46
  // @ts-ignore
39
47
  import type { TokenResponse } from '../models';
@@ -115,6 +123,46 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
115
123
  options: localVarRequestOptions,
116
124
  };
117
125
  },
126
+ /**
127
+ * 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`.
128
+ * @summary Sign-in methods for an email-first form
129
+ * @param {string} orgId
130
+ * @param {CheckEmailFirstRequest} checkEmailFirstRequest
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ checkEmailFirst: async (orgId: string, checkEmailFirstRequest: CheckEmailFirstRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
135
+ // verify required parameter 'orgId' is not null or undefined
136
+ assertParamExists('checkEmailFirst', 'orgId', orgId)
137
+ // verify required parameter 'checkEmailFirstRequest' is not null or undefined
138
+ assertParamExists('checkEmailFirst', 'checkEmailFirstRequest', checkEmailFirstRequest)
139
+ const localVarPath = `/orgs/{orgId}/api/v1/oauth/check-email`
140
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
141
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
142
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
143
+ let baseOptions;
144
+ if (configuration) {
145
+ baseOptions = configuration.baseOptions;
146
+ }
147
+
148
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
149
+ const localVarHeaderParameter = {} as any;
150
+ const localVarQueryParameter = {} as any;
151
+
152
+
153
+
154
+ localVarHeaderParameter['Content-Type'] = 'application/json';
155
+
156
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
157
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
158
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
159
+ localVarRequestOptions.data = serializeDataIfNeeded(checkEmailFirstRequest, localVarRequestOptions, configuration)
160
+
161
+ return {
162
+ url: toPathString(localVarUrlObj),
163
+ options: localVarRequestOptions,
164
+ };
165
+ },
118
166
  /**
119
167
  * Starts the device authorization grant for a client registered for urn:ietf:params:oauth:grant-type:device_code. Public clients send client_id only; confidential clients must authenticate. The device then polls the token endpoint with the device_code.
120
168
  * @summary Device authorization request (RFC 8628)
@@ -343,7 +391,7 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
343
391
  };
344
392
  },
345
393
  /**
346
- * 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.
394
+ * 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_*).
347
395
  * @summary Dynamic client registration (RFC 7591 / OIDC DCR)
348
396
  * @param {string} orgId
349
397
  * @param {*} [options] Override http request option.
@@ -383,6 +431,46 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
383
431
  options: localVarRequestOptions,
384
432
  };
385
433
  },
434
+ /**
435
+ * 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`.
436
+ * @summary Request a sign-in link by email
437
+ * @param {string} orgId
438
+ * @param {RequestMagicLinkRequest} requestMagicLinkRequest
439
+ * @param {*} [options] Override http request option.
440
+ * @throws {RequiredError}
441
+ */
442
+ requestMagicLink: async (orgId: string, requestMagicLinkRequest: RequestMagicLinkRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
443
+ // verify required parameter 'orgId' is not null or undefined
444
+ assertParamExists('requestMagicLink', 'orgId', orgId)
445
+ // verify required parameter 'requestMagicLinkRequest' is not null or undefined
446
+ assertParamExists('requestMagicLink', 'requestMagicLinkRequest', requestMagicLinkRequest)
447
+ const localVarPath = `/orgs/{orgId}/api/v1/oauth/magic-link`
448
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
449
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
450
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
451
+ let baseOptions;
452
+ if (configuration) {
453
+ baseOptions = configuration.baseOptions;
454
+ }
455
+
456
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
457
+ const localVarHeaderParameter = {} as any;
458
+ const localVarQueryParameter = {} as any;
459
+
460
+
461
+
462
+ localVarHeaderParameter['Content-Type'] = 'application/json';
463
+
464
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
465
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
466
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
467
+ localVarRequestOptions.data = serializeDataIfNeeded(requestMagicLinkRequest, localVarRequestOptions, configuration)
468
+
469
+ return {
470
+ url: toPathString(localVarUrlObj),
471
+ options: localVarRequestOptions,
472
+ };
473
+ },
386
474
  /**
387
475
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
388
476
  * @summary Token revocation (RFC 7009)
@@ -745,6 +833,20 @@ export const OAuthApiFp = function(configuration?: Configuration) {
745
833
  const localVarOperationServerBasePath = operationServerMap['OAuthApi.backchannelAuthorize']?.[localVarOperationServerIndex]?.url;
746
834
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
747
835
  },
836
+ /**
837
+ * 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`.
838
+ * @summary Sign-in methods for an email-first form
839
+ * @param {string} orgId
840
+ * @param {CheckEmailFirstRequest} checkEmailFirstRequest
841
+ * @param {*} [options] Override http request option.
842
+ * @throws {RequiredError}
843
+ */
844
+ async checkEmailFirst(orgId: string, checkEmailFirstRequest: CheckEmailFirstRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckEmailFirstResponse>> {
845
+ const localVarAxiosArgs = await localVarAxiosParamCreator.checkEmailFirst(orgId, checkEmailFirstRequest, options);
846
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
847
+ const localVarOperationServerBasePath = operationServerMap['OAuthApi.checkEmailFirst']?.[localVarOperationServerIndex]?.url;
848
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
849
+ },
748
850
  /**
749
851
  * Starts the device authorization grant for a client registered for urn:ietf:params:oauth:grant-type:device_code. Public clients send client_id only; confidential clients must authenticate. The device then polls the token endpoint with the device_code.
750
852
  * @summary Device authorization request (RFC 8628)
@@ -825,7 +927,7 @@ export const OAuthApiFp = function(configuration?: Configuration) {
825
927
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
826
928
  },
827
929
  /**
828
- * 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.
930
+ * 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_*).
829
931
  * @summary Dynamic client registration (RFC 7591 / OIDC DCR)
830
932
  * @param {string} orgId
831
933
  * @param {*} [options] Override http request option.
@@ -837,6 +939,20 @@ export const OAuthApiFp = function(configuration?: Configuration) {
837
939
  const localVarOperationServerBasePath = operationServerMap['OAuthApi.registerClient']?.[localVarOperationServerIndex]?.url;
838
940
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
839
941
  },
942
+ /**
943
+ * 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`.
944
+ * @summary Request a sign-in link by email
945
+ * @param {string} orgId
946
+ * @param {RequestMagicLinkRequest} requestMagicLinkRequest
947
+ * @param {*} [options] Override http request option.
948
+ * @throws {RequiredError}
949
+ */
950
+ async requestMagicLink(orgId: string, requestMagicLinkRequest: RequestMagicLinkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestMagicLinkResponse>> {
951
+ const localVarAxiosArgs = await localVarAxiosParamCreator.requestMagicLink(orgId, requestMagicLinkRequest, options);
952
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
953
+ const localVarOperationServerBasePath = operationServerMap['OAuthApi.requestMagicLink']?.[localVarOperationServerIndex]?.url;
954
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
955
+ },
840
956
  /**
841
957
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
842
958
  * @summary Token revocation (RFC 7009)
@@ -987,6 +1103,16 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
987
1103
  backchannelAuthorize(requestParameters: OAuthApiBackchannelAuthorizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackchannelAuthorizeResponse> {
988
1104
  return localVarFp.backchannelAuthorize(requestParameters.orgId, options).then((request) => request(axios, basePath));
989
1105
  },
1106
+ /**
1107
+ * 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`.
1108
+ * @summary Sign-in methods for an email-first form
1109
+ * @param {OAuthApiCheckEmailFirstRequest} requestParameters Request parameters.
1110
+ * @param {*} [options] Override http request option.
1111
+ * @throws {RequiredError}
1112
+ */
1113
+ checkEmailFirst(requestParameters: OAuthApiCheckEmailFirstRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckEmailFirstResponse> {
1114
+ return localVarFp.checkEmailFirst(requestParameters.orgId, requestParameters.checkEmailFirstRequest, options).then((request) => request(axios, basePath));
1115
+ },
990
1116
  /**
991
1117
  * Starts the device authorization grant for a client registered for urn:ietf:params:oauth:grant-type:device_code. Public clients send client_id only; confidential clients must authenticate. The device then polls the token endpoint with the device_code.
992
1118
  * @summary Device authorization request (RFC 8628)
@@ -1048,7 +1174,7 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
1048
1174
  return localVarFp.par(requestParameters.orgId, options).then((request) => request(axios, basePath));
1049
1175
  },
1050
1176
  /**
1051
- * 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.
1177
+ * 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_*).
1052
1178
  * @summary Dynamic client registration (RFC 7591 / OIDC DCR)
1053
1179
  * @param {OAuthApiRegisterClientRequest} requestParameters Request parameters.
1054
1180
  * @param {*} [options] Override http request option.
@@ -1057,6 +1183,16 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
1057
1183
  registerClient(requestParameters: OAuthApiRegisterClientRequest, options?: RawAxiosRequestConfig): AxiosPromise<RegisterClientResponse> {
1058
1184
  return localVarFp.registerClient(requestParameters.orgId, options).then((request) => request(axios, basePath));
1059
1185
  },
1186
+ /**
1187
+ * 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`.
1188
+ * @summary Request a sign-in link by email
1189
+ * @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
1190
+ * @param {*} [options] Override http request option.
1191
+ * @throws {RequiredError}
1192
+ */
1193
+ requestMagicLink(requestParameters: OAuthApiRequestMagicLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestMagicLinkResponse> {
1194
+ return localVarFp.requestMagicLink(requestParameters.orgId, requestParameters.requestMagicLinkRequest, options).then((request) => request(axios, basePath));
1195
+ },
1060
1196
  /**
1061
1197
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
1062
1198
  * @summary Token revocation (RFC 7009)
@@ -1176,6 +1312,16 @@ export interface OAuthApiInterface {
1176
1312
  */
1177
1313
  backchannelAuthorize(requestParameters: OAuthApiBackchannelAuthorizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackchannelAuthorizeResponse>;
1178
1314
 
1315
+ /**
1316
+ * 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`.
1317
+ * @summary Sign-in methods for an email-first form
1318
+ * @param {OAuthApiCheckEmailFirstRequest} requestParameters Request parameters.
1319
+ * @param {*} [options] Override http request option.
1320
+ * @throws {RequiredError}
1321
+ * @memberof OAuthApiInterface
1322
+ */
1323
+ checkEmailFirst(requestParameters: OAuthApiCheckEmailFirstRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckEmailFirstResponse>;
1324
+
1179
1325
  /**
1180
1326
  * Starts the device authorization grant for a client registered for urn:ietf:params:oauth:grant-type:device_code. Public clients send client_id only; confidential clients must authenticate. The device then polls the token endpoint with the device_code.
1181
1327
  * @summary Device authorization request (RFC 8628)
@@ -1237,7 +1383,7 @@ export interface OAuthApiInterface {
1237
1383
  par(requestParameters: OAuthApiParRequest, options?: RawAxiosRequestConfig): AxiosPromise<ParResponse>;
1238
1384
 
1239
1385
  /**
1240
- * 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.
1386
+ * 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_*).
1241
1387
  * @summary Dynamic client registration (RFC 7591 / OIDC DCR)
1242
1388
  * @param {OAuthApiRegisterClientRequest} requestParameters Request parameters.
1243
1389
  * @param {*} [options] Override http request option.
@@ -1246,6 +1392,16 @@ export interface OAuthApiInterface {
1246
1392
  */
1247
1393
  registerClient(requestParameters: OAuthApiRegisterClientRequest, options?: RawAxiosRequestConfig): AxiosPromise<RegisterClientResponse>;
1248
1394
 
1395
+ /**
1396
+ * 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`.
1397
+ * @summary Request a sign-in link by email
1398
+ * @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
1399
+ * @param {*} [options] Override http request option.
1400
+ * @throws {RequiredError}
1401
+ * @memberof OAuthApiInterface
1402
+ */
1403
+ requestMagicLink(requestParameters: OAuthApiRequestMagicLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestMagicLinkResponse>;
1404
+
1249
1405
  /**
1250
1406
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
1251
1407
  * @summary Token revocation (RFC 7009)
@@ -1366,6 +1522,27 @@ export interface OAuthApiBackchannelAuthorizeRequest {
1366
1522
  readonly orgId: string
1367
1523
  }
1368
1524
 
1525
+ /**
1526
+ * Request parameters for checkEmailFirst operation in OAuthApi.
1527
+ * @export
1528
+ * @interface OAuthApiCheckEmailFirstRequest
1529
+ */
1530
+ export interface OAuthApiCheckEmailFirstRequest {
1531
+ /**
1532
+ *
1533
+ * @type {string}
1534
+ * @memberof OAuthApiCheckEmailFirst
1535
+ */
1536
+ readonly orgId: string
1537
+
1538
+ /**
1539
+ *
1540
+ * @type {CheckEmailFirstRequest}
1541
+ * @memberof OAuthApiCheckEmailFirst
1542
+ */
1543
+ readonly checkEmailFirstRequest: CheckEmailFirstRequest
1544
+ }
1545
+
1369
1546
  /**
1370
1547
  * Request parameters for deviceAuthorization operation in OAuthApi.
1371
1548
  * @export
@@ -1471,6 +1648,27 @@ export interface OAuthApiRegisterClientRequest {
1471
1648
  readonly orgId: string
1472
1649
  }
1473
1650
 
1651
+ /**
1652
+ * Request parameters for requestMagicLink operation in OAuthApi.
1653
+ * @export
1654
+ * @interface OAuthApiRequestMagicLinkRequest
1655
+ */
1656
+ export interface OAuthApiRequestMagicLinkRequest {
1657
+ /**
1658
+ *
1659
+ * @type {string}
1660
+ * @memberof OAuthApiRequestMagicLink
1661
+ */
1662
+ readonly orgId: string
1663
+
1664
+ /**
1665
+ *
1666
+ * @type {RequestMagicLinkRequest}
1667
+ * @memberof OAuthApiRequestMagicLink
1668
+ */
1669
+ readonly requestMagicLinkRequest: RequestMagicLinkRequest
1670
+ }
1671
+
1474
1672
  /**
1475
1673
  * Request parameters for revoke operation in OAuthApi.
1476
1674
  * @export
@@ -1649,6 +1847,18 @@ export class OAuthApi extends BaseAPI implements OAuthApiInterface {
1649
1847
  return OAuthApiFp(this.configuration).backchannelAuthorize(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
1650
1848
  }
1651
1849
 
1850
+ /**
1851
+ * 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`.
1852
+ * @summary Sign-in methods for an email-first form
1853
+ * @param {OAuthApiCheckEmailFirstRequest} requestParameters Request parameters.
1854
+ * @param {*} [options] Override http request option.
1855
+ * @throws {RequiredError}
1856
+ * @memberof OAuthApi
1857
+ */
1858
+ public checkEmailFirst(requestParameters: OAuthApiCheckEmailFirstRequest, options?: RawAxiosRequestConfig) {
1859
+ return OAuthApiFp(this.configuration).checkEmailFirst(requestParameters.orgId, requestParameters.checkEmailFirstRequest, options).then((request) => request(this.axios, this.basePath));
1860
+ }
1861
+
1652
1862
  /**
1653
1863
  * Starts the device authorization grant for a client registered for urn:ietf:params:oauth:grant-type:device_code. Public clients send client_id only; confidential clients must authenticate. The device then polls the token endpoint with the device_code.
1654
1864
  * @summary Device authorization request (RFC 8628)
@@ -1722,7 +1932,7 @@ export class OAuthApi extends BaseAPI implements OAuthApiInterface {
1722
1932
  }
1723
1933
 
1724
1934
  /**
1725
- * 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.
1935
+ * 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_*).
1726
1936
  * @summary Dynamic client registration (RFC 7591 / OIDC DCR)
1727
1937
  * @param {OAuthApiRegisterClientRequest} requestParameters Request parameters.
1728
1938
  * @param {*} [options] Override http request option.
@@ -1733,6 +1943,18 @@ export class OAuthApi extends BaseAPI implements OAuthApiInterface {
1733
1943
  return OAuthApiFp(this.configuration).registerClient(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
1734
1944
  }
1735
1945
 
1946
+ /**
1947
+ * 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`.
1948
+ * @summary Request a sign-in link by email
1949
+ * @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
1950
+ * @param {*} [options] Override http request option.
1951
+ * @throws {RequiredError}
1952
+ * @memberof OAuthApi
1953
+ */
1954
+ public requestMagicLink(requestParameters: OAuthApiRequestMagicLinkRequest, options?: RawAxiosRequestConfig) {
1955
+ return OAuthApiFp(this.configuration).requestMagicLink(requestParameters.orgId, requestParameters.requestMagicLinkRequest, options).then((request) => request(this.axios, this.basePath));
1956
+ }
1957
+
1736
1958
  /**
1737
1959
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
1738
1960
  * @summary Token revocation (RFC 7009)
package/api/ssf-api.ts CHANGED
@@ -121,7 +121,7 @@ export const SsfApiAxiosParamCreator = function (configuration?: Configuration)
121
121
  };
122
122
  },
123
123
  /**
124
- *
124
+ * Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
125
125
  * @summary Read SSF stream configuration(s)
126
126
  * @param {string} orgId
127
127
  * @param {string} [streamId]
@@ -167,7 +167,7 @@ export const SsfApiAxiosParamCreator = function (configuration?: Configuration)
167
167
  };
168
168
  },
169
169
  /**
170
- *
170
+ * Needs `settings.manage`, as the portal does.
171
171
  * @summary Request a stream verification event
172
172
  * @param {string} orgId
173
173
  * @param {*} [options] Override http request option.
@@ -245,7 +245,7 @@ export const SsfApiFp = function(configuration?: Configuration) {
245
245
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
246
246
  },
247
247
  /**
248
- *
248
+ * Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
249
249
  * @summary Read SSF stream configuration(s)
250
250
  * @param {string} orgId
251
251
  * @param {string} [streamId]
@@ -259,7 +259,7 @@ export const SsfApiFp = function(configuration?: Configuration) {
259
259
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
260
260
  },
261
261
  /**
262
- *
262
+ * Needs `settings.manage`, as the portal does.
263
263
  * @summary Request a stream verification event
264
264
  * @param {string} orgId
265
265
  * @param {*} [options] Override http request option.
@@ -302,7 +302,7 @@ export const SsfApiFactory = function (configuration?: Configuration, basePath?:
302
302
  return localVarFp.deleteStreamConfig(requestParameters.streamId, requestParameters.orgId, options).then((request) => request(axios, basePath));
303
303
  },
304
304
  /**
305
- *
305
+ * Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
306
306
  * @summary Read SSF stream configuration(s)
307
307
  * @param {SsfApiGetStreamConfigRequest} requestParameters Request parameters.
308
308
  * @param {*} [options] Override http request option.
@@ -312,7 +312,7 @@ export const SsfApiFactory = function (configuration?: Configuration, basePath?:
312
312
  return localVarFp.getStreamConfig(requestParameters.orgId, requestParameters.streamId, options).then((request) => request(axios, basePath));
313
313
  },
314
314
  /**
315
- *
315
+ * Needs `settings.manage`, as the portal does.
316
316
  * @summary Request a stream verification event
317
317
  * @param {SsfApiVerifyStreamRequest} requestParameters Request parameters.
318
318
  * @param {*} [options] Override http request option.
@@ -351,7 +351,7 @@ export interface SsfApiInterface {
351
351
  deleteStreamConfig(requestParameters: SsfApiDeleteStreamConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
352
352
 
353
353
  /**
354
- *
354
+ * Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
355
355
  * @summary Read SSF stream configuration(s)
356
356
  * @param {SsfApiGetStreamConfigRequest} requestParameters Request parameters.
357
357
  * @param {*} [options] Override http request option.
@@ -361,7 +361,7 @@ export interface SsfApiInterface {
361
361
  getStreamConfig(requestParameters: SsfApiGetStreamConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamConfig200Response>;
362
362
 
363
363
  /**
364
- *
364
+ * Needs `settings.manage`, as the portal does.
365
365
  * @summary Request a stream verification event
366
366
  * @param {SsfApiVerifyStreamRequest} requestParameters Request parameters.
367
367
  * @param {*} [options] Override http request option.
@@ -474,7 +474,7 @@ export class SsfApi extends BaseAPI implements SsfApiInterface {
474
474
  }
475
475
 
476
476
  /**
477
- *
477
+ * Needs `webhooks.view` and `agents.view`, as the Security signals page in the portal does.
478
478
  * @summary Read SSF stream configuration(s)
479
479
  * @param {SsfApiGetStreamConfigRequest} requestParameters Request parameters.
480
480
  * @param {*} [options] Override http request option.
@@ -486,7 +486,7 @@ export class SsfApi extends BaseAPI implements SsfApiInterface {
486
486
  }
487
487
 
488
488
  /**
489
- *
489
+ * Needs `settings.manage`, as the portal does.
490
490
  * @summary Request a stream verification event
491
491
  * @param {SsfApiVerifyStreamRequest} requestParameters Request parameters.
492
492
  * @param {*} [options] Override http request option.
@@ -91,10 +91,11 @@ export declare const AdminAbacApiAxiosParamCreator: (configuration?: Configurati
91
91
  *
92
92
  * @summary List ABAC policies
93
93
  * @param {string} orgId
94
+ * @param {string} [action] Only policies that name this action, alone or in a comma-separated list. &#x60;*&#x60; lists the policies that name &#x60;*&#x60;.
94
95
  * @param {*} [options] Override http request option.
95
96
  * @throws {RequiredError}
96
97
  */
97
- abacPoliciesList: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
98
+ abacPoliciesList: (orgId: string, action?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
98
99
  /**
99
100
  *
100
101
  * @summary Toggle a policy between active and inactive
@@ -210,10 +211,11 @@ export declare const AdminAbacApiFp: (configuration?: Configuration) => {
210
211
  *
211
212
  * @summary List ABAC policies
212
213
  * @param {string} orgId
214
+ * @param {string} [action] Only policies that name this action, alone or in a comma-separated list. &#x60;*&#x60; lists the policies that name &#x60;*&#x60;.
213
215
  * @param {*} [options] Override http request option.
214
216
  * @throws {RequiredError}
215
217
  */
216
- abacPoliciesList(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AbacPoliciesListResponse>>;
218
+ abacPoliciesList(orgId: string, action?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AbacPoliciesListResponse>>;
217
219
  /**
218
220
  *
219
221
  * @summary Toggle a policy between active and inactive
@@ -621,6 +623,12 @@ export interface AdminAbacApiAbacPoliciesListRequest {
621
623
  * @memberof AdminAbacApiAbacPoliciesList
622
624
  */
623
625
  readonly orgId: string;
626
+ /**
627
+ * Only policies that name this action, alone or in a comma-separated list. &#x60;*&#x60; lists the policies that name &#x60;*&#x60;.
628
+ * @type {string}
629
+ * @memberof AdminAbacApiAbacPoliciesList
630
+ */
631
+ readonly action?: string;
624
632
  }
625
633
  /**
626
634
  * Request parameters for abacPoliciesToggle operation in AdminAbacApi.
@@ -293,10 +293,11 @@ const AdminAbacApiAxiosParamCreator = function (configuration) {
293
293
  *
294
294
  * @summary List ABAC policies
295
295
  * @param {string} orgId
296
+ * @param {string} [action] Only policies that name this action, alone or in a comma-separated list. &#x60;*&#x60; lists the policies that name &#x60;*&#x60;.
296
297
  * @param {*} [options] Override http request option.
297
298
  * @throws {RequiredError}
298
299
  */
299
- abacPoliciesList: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
300
+ abacPoliciesList: (orgId_1, action_1, ...args_1) => __awaiter(this, [orgId_1, action_1, ...args_1], void 0, function* (orgId, action, options = {}) {
300
301
  // verify required parameter 'orgId' is not null or undefined
301
302
  (0, common_1.assertParamExists)('abacPoliciesList', 'orgId', orgId);
302
303
  const localVarPath = `/orgs/{orgId}/api/v1/abac/policies`
@@ -315,6 +316,9 @@ const AdminAbacApiAxiosParamCreator = function (configuration) {
315
316
  // authentication BearerAuth required
316
317
  // http bearer authentication required
317
318
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
319
+ if (action !== undefined) {
320
+ localVarQueryParameter['action'] = action;
321
+ }
318
322
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
319
323
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
320
324
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -643,13 +647,14 @@ const AdminAbacApiFp = function (configuration) {
643
647
  *
644
648
  * @summary List ABAC policies
645
649
  * @param {string} orgId
650
+ * @param {string} [action] Only policies that name this action, alone or in a comma-separated list. &#x60;*&#x60; lists the policies that name &#x60;*&#x60;.
646
651
  * @param {*} [options] Override http request option.
647
652
  * @throws {RequiredError}
648
653
  */
649
- abacPoliciesList(orgId, options) {
654
+ abacPoliciesList(orgId, action, options) {
650
655
  return __awaiter(this, void 0, void 0, function* () {
651
656
  var _a, _b, _c;
652
- const localVarAxiosArgs = yield localVarAxiosParamCreator.abacPoliciesList(orgId, options);
657
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.abacPoliciesList(orgId, action, options);
653
658
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
654
659
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminAbacApi.abacPoliciesList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
655
660
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -828,7 +833,7 @@ const AdminAbacApiFactory = function (configuration, basePath, axios) {
828
833
  * @throws {RequiredError}
829
834
  */
830
835
  abacPoliciesList(requestParameters, options) {
831
- return localVarFp.abacPoliciesList(requestParameters.orgId, options).then((request) => request(axios, basePath));
836
+ return localVarFp.abacPoliciesList(requestParameters.orgId, requestParameters.action, options).then((request) => request(axios, basePath));
832
837
  },
833
838
  /**
834
839
  *
@@ -976,7 +981,7 @@ class AdminAbacApi extends base_1.BaseAPI {
976
981
  * @memberof AdminAbacApi
977
982
  */
978
983
  abacPoliciesList(requestParameters, options) {
979
- return (0, exports.AdminAbacApiFp)(this.configuration).abacPoliciesList(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
984
+ return (0, exports.AdminAbacApiFp)(this.configuration).abacPoliciesList(requestParameters.orgId, requestParameters.action, options).then((request) => request(this.axios, this.basePath));
980
985
  }
981
986
  /**
982
987
  *