@lumoauth/api-client 1.4.0 → 1.5.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 (188) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +12 -5
  3. package/api/admin-agents-api.ts +36 -10
  4. package/api/admin-mcp-api.ts +5 -5
  5. package/api/admin-oauth-clients-api.ts +5 -5
  6. package/api/admin-sandbox-api.ts +5 -5
  7. package/api/admin-users-api.ts +27 -26
  8. package/api/admin-webhooks-api.ts +25 -25
  9. package/api/oauth-api.ts +111 -0
  10. package/dist/api/admin-agents-api.d.ts +21 -4
  11. package/dist/api/admin-agents-api.js +18 -10
  12. package/dist/api/admin-mcp-api.d.ts +5 -5
  13. package/dist/api/admin-mcp-api.js +4 -4
  14. package/dist/api/admin-oauth-clients-api.d.ts +5 -5
  15. package/dist/api/admin-oauth-clients-api.js +4 -4
  16. package/dist/api/admin-sandbox-api.d.ts +5 -5
  17. package/dist/api/admin-sandbox-api.js +4 -4
  18. package/dist/api/admin-users-api.d.ts +27 -26
  19. package/dist/api/admin-users-api.js +21 -20
  20. package/dist/api/admin-webhooks-api.d.ts +25 -25
  21. package/dist/api/admin-webhooks-api.js +20 -20
  22. package/dist/api/oauth-api.d.ts +65 -0
  23. package/dist/api/oauth-api.js +72 -0
  24. package/dist/esm/api/admin-agents-api.d.ts +21 -4
  25. package/dist/esm/api/admin-agents-api.js +18 -10
  26. package/dist/esm/api/admin-mcp-api.d.ts +5 -5
  27. package/dist/esm/api/admin-mcp-api.js +4 -4
  28. package/dist/esm/api/admin-oauth-clients-api.d.ts +5 -5
  29. package/dist/esm/api/admin-oauth-clients-api.js +4 -4
  30. package/dist/esm/api/admin-sandbox-api.d.ts +5 -5
  31. package/dist/esm/api/admin-sandbox-api.js +4 -4
  32. package/dist/esm/api/admin-users-api.d.ts +27 -26
  33. package/dist/esm/api/admin-users-api.js +21 -20
  34. package/dist/esm/api/admin-webhooks-api.d.ts +25 -25
  35. package/dist/esm/api/admin-webhooks-api.js +20 -20
  36. package/dist/esm/api/oauth-api.d.ts +65 -0
  37. package/dist/esm/api/oauth-api.js +73 -1
  38. package/dist/esm/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
  39. package/dist/esm/models/admin-agents-agents-rotate-key-request.js +14 -0
  40. package/dist/esm/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
  41. package/dist/esm/models/admin-agents-create-request.d.ts +8 -0
  42. package/dist/esm/models/admin-audit-logs-retention-response-data.d.ts +21 -3
  43. package/dist/esm/models/admin-identities-link-request.d.ts +8 -1
  44. package/dist/esm/models/admin-identities-link-request.js +1 -0
  45. package/dist/esm/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
  46. package/dist/esm/models/admin-identities-list-response-data-bindings-item.js +1 -0
  47. package/dist/esm/models/admin-sandbox-spawn-response-data.d.ts +18 -0
  48. package/dist/esm/models/admin-sandbox-spawn-response-data.js +14 -0
  49. package/dist/esm/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
  50. package/dist/esm/models/admin-sandbox-spawn-response-data1.js +14 -0
  51. package/dist/esm/models/admin-sandbox-spawn-response.d.ts +3 -3
  52. package/dist/esm/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
  53. package/dist/esm/models/admin-webhooks-delivery-replay-response-data.js +14 -0
  54. package/dist/esm/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
  55. package/dist/esm/models/admin-webhooks-test-response.d.ts +6 -0
  56. package/dist/esm/models/attest-response-identity.d.ts +1 -1
  57. package/dist/esm/models/audit-log-entry.d.ts +1 -1
  58. package/dist/esm/models/authentication-settings-password-policy.d.ts +25 -1
  59. package/dist/esm/models/authentication-settings-password-rotation-policy.d.ts +1 -13
  60. package/dist/esm/models/authentication-settings.d.ts +13 -15
  61. package/dist/esm/models/authentication-settings.js +11 -0
  62. package/dist/esm/models/get-approval-status-response-approved-by.d.ts +2 -2
  63. package/dist/esm/models/index.d.ts +6 -0
  64. package/dist/esm/models/index.js +6 -0
  65. package/dist/esm/models/list-permissions-response-permissions-item.d.ts +1 -1
  66. package/dist/esm/models/oauth-client-secret-issued.d.ts +1 -1
  67. package/dist/esm/models/oauth-client.d.ts +6 -0
  68. package/dist/esm/models/push-enrollment-started.d.ts +1 -1
  69. package/dist/esm/models/put-admin-agents-update-request.d.ts +8 -0
  70. package/dist/esm/models/request-magic-link-request.d.ts +42 -0
  71. package/dist/esm/models/request-magic-link-request.js +14 -0
  72. package/dist/esm/models/request-magic-link-response.d.ts +31 -0
  73. package/dist/esm/models/request-magic-link-response.js +21 -0
  74. package/dist/esm/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
  75. package/dist/esm/models/scim-settings-inbound.d.ts +0 -8
  76. package/dist/esm/models/scim-settings-outbound.d.ts +2 -10
  77. package/dist/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
  78. package/dist/models/admin-agents-agents-rotate-key-request.js +15 -0
  79. package/dist/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
  80. package/dist/models/admin-agents-create-request.d.ts +8 -0
  81. package/dist/models/admin-audit-logs-retention-response-data.d.ts +21 -3
  82. package/dist/models/admin-identities-link-request.d.ts +8 -1
  83. package/dist/models/admin-identities-link-request.js +1 -0
  84. package/dist/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
  85. package/dist/models/admin-identities-list-response-data-bindings-item.js +1 -0
  86. package/dist/models/admin-sandbox-spawn-response-data.d.ts +18 -0
  87. package/dist/models/admin-sandbox-spawn-response-data.js +15 -0
  88. package/dist/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
  89. package/dist/models/admin-sandbox-spawn-response-data1.js +15 -0
  90. package/dist/models/admin-sandbox-spawn-response.d.ts +3 -3
  91. package/dist/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
  92. package/dist/models/admin-webhooks-delivery-replay-response-data.js +15 -0
  93. package/dist/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
  94. package/dist/models/admin-webhooks-test-response.d.ts +6 -0
  95. package/dist/models/attest-response-identity.d.ts +1 -1
  96. package/dist/models/audit-log-entry.d.ts +1 -1
  97. package/dist/models/authentication-settings-password-policy.d.ts +25 -1
  98. package/dist/models/authentication-settings-password-rotation-policy.d.ts +1 -13
  99. package/dist/models/authentication-settings.d.ts +13 -15
  100. package/dist/models/authentication-settings.js +12 -1
  101. package/dist/models/get-approval-status-response-approved-by.d.ts +2 -2
  102. package/dist/models/index.d.ts +6 -0
  103. package/dist/models/index.js +6 -0
  104. package/dist/models/list-permissions-response-permissions-item.d.ts +1 -1
  105. package/dist/models/oauth-client-secret-issued.d.ts +1 -1
  106. package/dist/models/oauth-client.d.ts +6 -0
  107. package/dist/models/push-enrollment-started.d.ts +1 -1
  108. package/dist/models/put-admin-agents-update-request.d.ts +8 -0
  109. package/dist/models/request-magic-link-request.d.ts +42 -0
  110. package/dist/models/request-magic-link-request.js +15 -0
  111. package/dist/models/request-magic-link-response.d.ts +31 -0
  112. package/dist/models/request-magic-link-response.js +24 -0
  113. package/dist/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
  114. package/dist/models/scim-settings-inbound.d.ts +0 -8
  115. package/dist/models/scim-settings-outbound.d.ts +2 -10
  116. package/docs/AAuthApi.md +1 -1
  117. package/docs/AdminAbacApi.md +1 -1
  118. package/docs/AdminAgentsAgentsRotateKeyRequest.md +22 -0
  119. package/docs/AdminAgentsAgentsRotateKeyResponse.md +2 -0
  120. package/docs/AdminAgentsApi.md +20 -8
  121. package/docs/AdminAgentsCreateRequest.md +2 -0
  122. package/docs/AdminAuditLogsRetentionResponseData.md +9 -3
  123. package/docs/AdminIdentitiesLinkRequest.md +3 -1
  124. package/docs/AdminIdentitiesListResponseDataBindingsItem.md +2 -0
  125. package/docs/AdminMcpApi.md +2 -1
  126. package/docs/AdminOAuthClientsApi.md +2 -2
  127. package/docs/AdminSandboxApi.md +3 -1
  128. package/docs/AdminSandboxSpawnResponse.md +1 -1
  129. package/docs/AdminSandboxSpawnResponseData.md +32 -0
  130. package/docs/AdminSandboxSpawnResponseData1.md +20 -0
  131. package/docs/AdminUsersApi.md +8 -8
  132. package/docs/AdminWebhooksApi.md +7 -5
  133. package/docs/AdminWebhooksDeliveryReplayResponse.md +1 -1
  134. package/docs/AdminWebhooksDeliveryReplayResponseData.md +28 -0
  135. package/docs/AdminWebhooksTestResponse.md +2 -0
  136. package/docs/AgentsApi.md +6 -3
  137. package/docs/AttestResponseIdentity.md +1 -1
  138. package/docs/AuditLogEntry.md +1 -1
  139. package/docs/AuthenticationSettings.md +2 -6
  140. package/docs/AuthenticationSettingsPasswordPolicy.md +9 -0
  141. package/docs/AuthenticationSettingsPasswordRotationPolicy.md +1 -4
  142. package/docs/AuthorizationApi.md +1 -1
  143. package/docs/CreateClientResponseData.md +3 -1
  144. package/docs/EnrollAuthenticator201Response.md +1 -1
  145. package/docs/GetApprovalStatusResponseApprovedBy.md +1 -1
  146. package/docs/JitApi.md +3 -3
  147. package/docs/ListPermissionsResponsePermissionsItem.md +1 -1
  148. package/docs/OAuthApi.md +63 -2
  149. package/docs/OAuthClient.md +2 -0
  150. package/docs/OAuthClientSecretIssued.md +1 -1
  151. package/docs/PushEnrollmentStarted.md +1 -1
  152. package/docs/PutAdminAgentsUpdateRequest.md +2 -0
  153. package/docs/RequestMagicLinkRequest.md +26 -0
  154. package/docs/RequestMagicLinkResponse.md +20 -0
  155. package/docs/ScimSettingsInbound.md +0 -2
  156. package/docs/ScimSettingsInboundProtectedAttributes.md +3 -5
  157. package/docs/ScimSettingsOutbound.md +2 -4
  158. package/docs/TokenVaultApi.md +2 -2
  159. package/models/admin-agents-agents-rotate-key-request.ts +36 -0
  160. package/models/admin-agents-agents-rotate-key-response.ts +6 -0
  161. package/models/admin-agents-create-request.ts +6 -0
  162. package/models/admin-audit-logs-retention-response-data.ts +21 -3
  163. package/models/admin-identities-link-request.ts +8 -1
  164. package/models/admin-identities-list-response-data-bindings-item.ts +7 -0
  165. package/models/admin-sandbox-spawn-response-data.ts +29 -0
  166. package/models/admin-sandbox-spawn-response-data1.ts +30 -0
  167. package/models/admin-sandbox-spawn-response.ts +3 -3
  168. package/models/admin-webhooks-delivery-replay-response-data.ts +54 -0
  169. package/models/admin-webhooks-delivery-replay-response.ts +3 -3
  170. package/models/admin-webhooks-test-response.ts +6 -0
  171. package/models/attest-response-identity.ts +1 -1
  172. package/models/audit-log-entry.ts +1 -1
  173. package/models/authentication-settings-password-policy.ts +25 -1
  174. package/models/authentication-settings-password-rotation-policy.ts +1 -13
  175. package/models/authentication-settings.ts +13 -15
  176. package/models/get-approval-status-response-approved-by.ts +2 -2
  177. package/models/index.ts +6 -0
  178. package/models/list-permissions-response-permissions-item.ts +1 -1
  179. package/models/oauth-client-secret-issued.ts +1 -1
  180. package/models/oauth-client.ts +6 -0
  181. package/models/push-enrollment-started.ts +1 -1
  182. package/models/put-admin-agents-update-request.ts +6 -0
  183. package/models/request-magic-link-request.ts +48 -0
  184. package/models/request-magic-link-response.ts +39 -0
  185. package/models/scim-settings-inbound-protected-attributes.ts +2 -10
  186. package/models/scim-settings-inbound.ts +0 -6
  187. package/models/scim-settings-outbound.ts +2 -8
  188. package/package.json +1 -1
@@ -310,8 +310,8 @@ export const AdminUsersApiAxiosParamCreator = function (configuration?: Configur
310
310
  };
311
311
  },
312
312
  /**
313
- * Sets (or replaces) the user\'s SAML binding (`idp_id` + `name_id`) or LDAP binding (`ldap_config_id` + `dn`; omit `dn` to look the entry up in the directory by the user\'s email / username). Refused with 409 when another user already holds that identity, or when the user is linked to a different federated source (unlink it first). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.created. Signed-in admins must have passed MFA in the last 10 minutes (send X-MFA-Challenge with an approved step-up challenge when calling with a user token).
314
- * @summary Link a SAML or LDAP identity to a user
313
+ * Sets (or replaces) the user\'s SAML binding (`idp_id` + `name_id`), enterprise OpenID Connect binding (`idp_id` + `subject`: the value of the connection\'s user identifier claim; a person can sign in through such a connection only after this link exists) or LDAP binding (`ldap_config_id` + `dn`; omit `dn` to look the entry up in the directory by the user\'s email / username). Refused with 409 when another user already holds that identity, or when the user is linked to a different federated source (unlink it first). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.created. Signed-in admins must have passed MFA in the last 10 minutes (send X-MFA-Challenge with an approved step-up challenge when calling with a user token).
314
+ * @summary Link a SAML, OpenID Connect or LDAP identity to a user
315
315
  * @param {string} orgId
316
316
  * @param {string} userId
317
317
  * @param {AdminIdentitiesLinkRequest} adminIdentitiesLinkRequest
@@ -361,7 +361,7 @@ export const AdminUsersApiAxiosParamCreator = function (configuration?: Configur
361
361
  };
362
362
  },
363
363
  /**
364
- * SAML (IdP + NameID), LDAP (directory + DN), and social / OIDC provider links. A SAML link with `legacy: true` stores a bare NameID and is refused at sign-in while the organization has more than one SAML IdP.
364
+ * SAML (IdP + NameID), enterprise OpenID Connect (connection + subject), LDAP (directory + DN) and social provider links. A SAML link with `legacy: true` stores a bare NameID and is refused at sign-in while the organization has more than one SAML IdP. An OpenID Connect link with `hashed: true` stores a long subject as a hash, so `subject` is null.
365
365
  * @summary List a user\'s federated identity links
366
366
  * @param {string} orgId
367
367
  * @param {string} userId
@@ -406,8 +406,8 @@ export const AdminUsersApiAxiosParamCreator = function (configuration?: Configur
406
406
  };
407
407
  },
408
408
  /**
409
- * Removes the binding of the given type (`saml`, `ldap` or `social`). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.removed. Unlinking LDAP also clears LDAP-only. Same step-up rule as linking.
410
- * @summary Unlink a user\'s SAML, LDAP or social identity
409
+ * Removes the binding of the given type (`saml`, `oidc`, `ldap` or `social`). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.removed. Unlinking LDAP also clears LDAP-only. Same step-up rule as linking.
410
+ * @summary Unlink a user\'s SAML, OpenID Connect, LDAP or social identity
411
411
  * @param {AdminIdentitiesUnlinkType} type
412
412
  * @param {string} orgId
413
413
  * @param {string} userId
@@ -1530,8 +1530,8 @@ export const AdminUsersApiFp = function(configuration?: Configuration) {
1530
1530
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1531
1531
  },
1532
1532
  /**
1533
- * Sets (or replaces) the user\'s SAML binding (`idp_id` + `name_id`) or LDAP binding (`ldap_config_id` + `dn`; omit `dn` to look the entry up in the directory by the user\'s email / username). Refused with 409 when another user already holds that identity, or when the user is linked to a different federated source (unlink it first). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.created. Signed-in admins must have passed MFA in the last 10 minutes (send X-MFA-Challenge with an approved step-up challenge when calling with a user token).
1534
- * @summary Link a SAML or LDAP identity to a user
1533
+ * Sets (or replaces) the user\'s SAML binding (`idp_id` + `name_id`), enterprise OpenID Connect binding (`idp_id` + `subject`: the value of the connection\'s user identifier claim; a person can sign in through such a connection only after this link exists) or LDAP binding (`ldap_config_id` + `dn`; omit `dn` to look the entry up in the directory by the user\'s email / username). Refused with 409 when another user already holds that identity, or when the user is linked to a different federated source (unlink it first). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.created. Signed-in admins must have passed MFA in the last 10 minutes (send X-MFA-Challenge with an approved step-up challenge when calling with a user token).
1534
+ * @summary Link a SAML, OpenID Connect or LDAP identity to a user
1535
1535
  * @param {string} orgId
1536
1536
  * @param {string} userId
1537
1537
  * @param {AdminIdentitiesLinkRequest} adminIdentitiesLinkRequest
@@ -1545,7 +1545,7 @@ export const AdminUsersApiFp = function(configuration?: Configuration) {
1545
1545
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1546
1546
  },
1547
1547
  /**
1548
- * SAML (IdP + NameID), LDAP (directory + DN), and social / OIDC provider links. A SAML link with `legacy: true` stores a bare NameID and is refused at sign-in while the organization has more than one SAML IdP.
1548
+ * SAML (IdP + NameID), enterprise OpenID Connect (connection + subject), LDAP (directory + DN) and social provider links. A SAML link with `legacy: true` stores a bare NameID and is refused at sign-in while the organization has more than one SAML IdP. An OpenID Connect link with `hashed: true` stores a long subject as a hash, so `subject` is null.
1549
1549
  * @summary List a user\'s federated identity links
1550
1550
  * @param {string} orgId
1551
1551
  * @param {string} userId
@@ -1559,8 +1559,8 @@ export const AdminUsersApiFp = function(configuration?: Configuration) {
1559
1559
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1560
1560
  },
1561
1561
  /**
1562
- * Removes the binding of the given type (`saml`, `ldap` or `social`). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.removed. Unlinking LDAP also clears LDAP-only. Same step-up rule as linking.
1563
- * @summary Unlink a user\'s SAML, LDAP or social identity
1562
+ * Removes the binding of the given type (`saml`, `oidc`, `ldap` or `social`). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.removed. Unlinking LDAP also clears LDAP-only. Same step-up rule as linking.
1563
+ * @summary Unlink a user\'s SAML, OpenID Connect, LDAP or social identity
1564
1564
  * @param {AdminIdentitiesUnlinkType} type
1565
1565
  * @param {string} orgId
1566
1566
  * @param {string} userId
@@ -1944,8 +1944,8 @@ export const AdminUsersApiFactory = function (configuration?: Configuration, bas
1944
1944
  return localVarFp.adminIdentitiesLegacySamlReport(requestParameters.orgId, requestParameters.idpId, options).then((request) => request(axios, basePath));
1945
1945
  },
1946
1946
  /**
1947
- * Sets (or replaces) the user\'s SAML binding (`idp_id` + `name_id`) or LDAP binding (`ldap_config_id` + `dn`; omit `dn` to look the entry up in the directory by the user\'s email / username). Refused with 409 when another user already holds that identity, or when the user is linked to a different federated source (unlink it first). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.created. Signed-in admins must have passed MFA in the last 10 minutes (send X-MFA-Challenge with an approved step-up challenge when calling with a user token).
1948
- * @summary Link a SAML or LDAP identity to a user
1947
+ * Sets (or replaces) the user\'s SAML binding (`idp_id` + `name_id`), enterprise OpenID Connect binding (`idp_id` + `subject`: the value of the connection\'s user identifier claim; a person can sign in through such a connection only after this link exists) or LDAP binding (`ldap_config_id` + `dn`; omit `dn` to look the entry up in the directory by the user\'s email / username). Refused with 409 when another user already holds that identity, or when the user is linked to a different federated source (unlink it first). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.created. Signed-in admins must have passed MFA in the last 10 minutes (send X-MFA-Challenge with an approved step-up challenge when calling with a user token).
1948
+ * @summary Link a SAML, OpenID Connect or LDAP identity to a user
1949
1949
  * @param {AdminUsersApiAdminIdentitiesLinkRequest} requestParameters Request parameters.
1950
1950
  * @param {*} [options] Override http request option.
1951
1951
  * @throws {RequiredError}
@@ -1954,7 +1954,7 @@ export const AdminUsersApiFactory = function (configuration?: Configuration, bas
1954
1954
  return localVarFp.adminIdentitiesLink(requestParameters.orgId, requestParameters.userId, requestParameters.adminIdentitiesLinkRequest, options).then((request) => request(axios, basePath));
1955
1955
  },
1956
1956
  /**
1957
- * SAML (IdP + NameID), LDAP (directory + DN), and social / OIDC provider links. A SAML link with `legacy: true` stores a bare NameID and is refused at sign-in while the organization has more than one SAML IdP.
1957
+ * SAML (IdP + NameID), enterprise OpenID Connect (connection + subject), LDAP (directory + DN) and social provider links. A SAML link with `legacy: true` stores a bare NameID and is refused at sign-in while the organization has more than one SAML IdP. An OpenID Connect link with `hashed: true` stores a long subject as a hash, so `subject` is null.
1958
1958
  * @summary List a user\'s federated identity links
1959
1959
  * @param {AdminUsersApiAdminIdentitiesListRequest} requestParameters Request parameters.
1960
1960
  * @param {*} [options] Override http request option.
@@ -1964,8 +1964,8 @@ export const AdminUsersApiFactory = function (configuration?: Configuration, bas
1964
1964
  return localVarFp.adminIdentitiesList(requestParameters.orgId, requestParameters.userId, options).then((request) => request(axios, basePath));
1965
1965
  },
1966
1966
  /**
1967
- * Removes the binding of the given type (`saml`, `ldap` or `social`). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.removed. Unlinking LDAP also clears LDAP-only. Same step-up rule as linking.
1968
- * @summary Unlink a user\'s SAML, LDAP or social identity
1967
+ * Removes the binding of the given type (`saml`, `oidc`, `ldap` or `social`). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.removed. Unlinking LDAP also clears LDAP-only. Same step-up rule as linking.
1968
+ * @summary Unlink a user\'s SAML, OpenID Connect, LDAP or social identity
1969
1969
  * @param {AdminUsersApiAdminIdentitiesUnlinkRequest} requestParameters Request parameters.
1970
1970
  * @param {*} [options] Override http request option.
1971
1971
  * @throws {RequiredError}
@@ -2254,8 +2254,8 @@ export interface AdminUsersApiInterface {
2254
2254
  adminIdentitiesLegacySamlReport(requestParameters: AdminUsersApiAdminIdentitiesLegacySamlReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminIdentitiesLegacySamlReportResponse>;
2255
2255
 
2256
2256
  /**
2257
- * Sets (or replaces) the user\'s SAML binding (`idp_id` + `name_id`) or LDAP binding (`ldap_config_id` + `dn`; omit `dn` to look the entry up in the directory by the user\'s email / username). Refused with 409 when another user already holds that identity, or when the user is linked to a different federated source (unlink it first). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.created. Signed-in admins must have passed MFA in the last 10 minutes (send X-MFA-Challenge with an approved step-up challenge when calling with a user token).
2258
- * @summary Link a SAML or LDAP identity to a user
2257
+ * Sets (or replaces) the user\'s SAML binding (`idp_id` + `name_id`), enterprise OpenID Connect binding (`idp_id` + `subject`: the value of the connection\'s user identifier claim; a person can sign in through such a connection only after this link exists) or LDAP binding (`ldap_config_id` + `dn`; omit `dn` to look the entry up in the directory by the user\'s email / username). Refused with 409 when another user already holds that identity, or when the user is linked to a different federated source (unlink it first). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.created. Signed-in admins must have passed MFA in the last 10 minutes (send X-MFA-Challenge with an approved step-up challenge when calling with a user token).
2258
+ * @summary Link a SAML, OpenID Connect or LDAP identity to a user
2259
2259
  * @param {AdminUsersApiAdminIdentitiesLinkRequest} requestParameters Request parameters.
2260
2260
  * @param {*} [options] Override http request option.
2261
2261
  * @throws {RequiredError}
@@ -2264,7 +2264,7 @@ export interface AdminUsersApiInterface {
2264
2264
  adminIdentitiesLink(requestParameters: AdminUsersApiAdminIdentitiesLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAgentsGetResponse>;
2265
2265
 
2266
2266
  /**
2267
- * SAML (IdP + NameID), LDAP (directory + DN), and social / OIDC provider links. A SAML link with `legacy: true` stores a bare NameID and is refused at sign-in while the organization has more than one SAML IdP.
2267
+ * SAML (IdP + NameID), enterprise OpenID Connect (connection + subject), LDAP (directory + DN) and social provider links. A SAML link with `legacy: true` stores a bare NameID and is refused at sign-in while the organization has more than one SAML IdP. An OpenID Connect link with `hashed: true` stores a long subject as a hash, so `subject` is null.
2268
2268
  * @summary List a user\'s federated identity links
2269
2269
  * @param {AdminUsersApiAdminIdentitiesListRequest} requestParameters Request parameters.
2270
2270
  * @param {*} [options] Override http request option.
@@ -2274,8 +2274,8 @@ export interface AdminUsersApiInterface {
2274
2274
  adminIdentitiesList(requestParameters: AdminUsersApiAdminIdentitiesListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminIdentitiesListResponse>;
2275
2275
 
2276
2276
  /**
2277
- * Removes the binding of the given type (`saml`, `ldap` or `social`). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.removed. Unlinking LDAP also clears LDAP-only. Same step-up rule as linking.
2278
- * @summary Unlink a user\'s SAML, LDAP or social identity
2277
+ * Removes the binding of the given type (`saml`, `oidc`, `ldap` or `social`). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.removed. Unlinking LDAP also clears LDAP-only. Same step-up rule as linking.
2278
+ * @summary Unlink a user\'s SAML, OpenID Connect, LDAP or social identity
2279
2279
  * @param {AdminUsersApiAdminIdentitiesUnlinkRequest} requestParameters Request parameters.
2280
2280
  * @param {*} [options] Override http request option.
2281
2281
  * @throws {RequiredError}
@@ -2668,7 +2668,7 @@ export interface AdminUsersApiAdminIdentitiesListRequest {
2668
2668
  export interface AdminUsersApiAdminIdentitiesUnlinkRequest {
2669
2669
  /**
2670
2670
  *
2671
- * @type {'saml' | 'ldap' | 'social'}
2671
+ * @type {'saml' | 'oidc' | 'ldap' | 'social'}
2672
2672
  * @memberof AdminUsersApiAdminIdentitiesUnlink
2673
2673
  */
2674
2674
  readonly type: AdminIdentitiesUnlinkType
@@ -3225,8 +3225,8 @@ export class AdminUsersApi extends BaseAPI implements AdminUsersApiInterface {
3225
3225
  }
3226
3226
 
3227
3227
  /**
3228
- * Sets (or replaces) the user\'s SAML binding (`idp_id` + `name_id`) or LDAP binding (`ldap_config_id` + `dn`; omit `dn` to look the entry up in the directory by the user\'s email / username). Refused with 409 when another user already holds that identity, or when the user is linked to a different federated source (unlink it first). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.created. Signed-in admins must have passed MFA in the last 10 minutes (send X-MFA-Challenge with an approved step-up challenge when calling with a user token).
3229
- * @summary Link a SAML or LDAP identity to a user
3228
+ * Sets (or replaces) the user\'s SAML binding (`idp_id` + `name_id`), enterprise OpenID Connect binding (`idp_id` + `subject`: the value of the connection\'s user identifier claim; a person can sign in through such a connection only after this link exists) or LDAP binding (`ldap_config_id` + `dn`; omit `dn` to look the entry up in the directory by the user\'s email / username). Refused with 409 when another user already holds that identity, or when the user is linked to a different federated source (unlink it first). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.created. Signed-in admins must have passed MFA in the last 10 minutes (send X-MFA-Challenge with an approved step-up challenge when calling with a user token).
3229
+ * @summary Link a SAML, OpenID Connect or LDAP identity to a user
3230
3230
  * @param {AdminUsersApiAdminIdentitiesLinkRequest} requestParameters Request parameters.
3231
3231
  * @param {*} [options] Override http request option.
3232
3232
  * @throws {RequiredError}
@@ -3237,7 +3237,7 @@ export class AdminUsersApi extends BaseAPI implements AdminUsersApiInterface {
3237
3237
  }
3238
3238
 
3239
3239
  /**
3240
- * SAML (IdP + NameID), LDAP (directory + DN), and social / OIDC provider links. A SAML link with `legacy: true` stores a bare NameID and is refused at sign-in while the organization has more than one SAML IdP.
3240
+ * SAML (IdP + NameID), enterprise OpenID Connect (connection + subject), LDAP (directory + DN) and social provider links. A SAML link with `legacy: true` stores a bare NameID and is refused at sign-in while the organization has more than one SAML IdP. An OpenID Connect link with `hashed: true` stores a long subject as a hash, so `subject` is null.
3241
3241
  * @summary List a user\'s federated identity links
3242
3242
  * @param {AdminUsersApiAdminIdentitiesListRequest} requestParameters Request parameters.
3243
3243
  * @param {*} [options] Override http request option.
@@ -3249,8 +3249,8 @@ export class AdminUsersApi extends BaseAPI implements AdminUsersApiInterface {
3249
3249
  }
3250
3250
 
3251
3251
  /**
3252
- * Removes the binding of the given type (`saml`, `ldap` or `social`). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.removed. Unlinking LDAP also clears LDAP-only. Same step-up rule as linking.
3253
- * @summary Unlink a user\'s SAML, LDAP or social identity
3252
+ * Removes the binding of the given type (`saml`, `oidc`, `ldap` or `social`). Revokes the user\'s sessions and tokens, notifies the user and is audited as identity.link.removed. Unlinking LDAP also clears LDAP-only. Same step-up rule as linking.
3253
+ * @summary Unlink a user\'s SAML, OpenID Connect, LDAP or social identity
3254
3254
  * @param {AdminUsersApiAdminIdentitiesUnlinkRequest} requestParameters Request parameters.
3255
3255
  * @param {*} [options] Override http request option.
3256
3256
  * @throws {RequiredError}
@@ -3532,6 +3532,7 @@ export class AdminUsersApi extends BaseAPI implements AdminUsersApiInterface {
3532
3532
  */
3533
3533
  export enum AdminIdentitiesUnlinkType {
3534
3534
  SAML = 'saml',
3535
+ OIDC = 'oidc',
3535
3536
  LDAP = 'ldap',
3536
3537
  SOCIAL = 'social'
3537
3538
  }
@@ -56,7 +56,7 @@ import type { PutAdminWebhooksUpdateResponse } from '../models';
56
56
  export const AdminWebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
57
57
  return {
58
58
  /**
59
- * The signing secret is generated server-side and returned once in this response only.
59
+ * Accepts `url`, `events`, `isActive` (also as `active` or `enabled`), `type` and `configuration`. The signing secret is generated server-side and returned once in this response only: a `secret` in the request, an unknown field and an event name that is not in the catalogue are refused with 400.
60
60
  * @summary Create a webhook
61
61
  * @param {string} orgId
62
62
  * @param {*} [options] Override http request option.
@@ -187,7 +187,7 @@ export const AdminWebhooksApiAxiosParamCreator = function (configuration?: Confi
187
187
  };
188
188
  },
189
189
  /**
190
- * Resets the delivery\'s failure state (attempt history is preserved) and re-enqueues it. Idempotent on already-pending rows.
190
+ * Queues a new delivery with the same event and payload and returns its id. The original delivery is not changed. A disabled webhook sends nothing, so the call answers 409 until the webhook is enabled.
191
191
  * @summary Replay a delivery
192
192
  * @param {string} orgId
193
193
  * @param {string} webhookId
@@ -412,7 +412,7 @@ export const AdminWebhooksApiAxiosParamCreator = function (configuration?: Confi
412
412
  };
413
413
  },
414
414
  /**
415
- * Generates a new HMAC secret and keeps the previous one for a grace window. The new secret is returned once.
415
+ * Generates a new HMAC secret and returns it once. For 24 hours every delivery also carries `X-LumoAuth-Signature-Previous`, signed with the secret that was replaced, so the receiver can be updated without losing events. The `kid` of `X-LumoAuth-Signature` changes with every rotation.
416
416
  * @summary Rotate the signing secret
417
417
  * @param {string} orgId
418
418
  * @param {string} webhookId
@@ -457,7 +457,7 @@ export const AdminWebhooksApiAxiosParamCreator = function (configuration?: Confi
457
457
  };
458
458
  },
459
459
  /**
460
- * POSTs a signed `test.webhook` payload to the webhook URL and reports the receiver\'s status. A non-2xx receiver response still yields HTTP 200 with `success: false`; a transport failure yields 502.
460
+ * Sends one `webhook.test` event to the webhook URL now, with the same body, headers and signature as any event, and records it in the delivery history. A receiver answer outside 2xx still yields HTTP 200 with `success: false`; when no answer was received (connection or TLS error) the endpoint answers 502. A failed test is not retried.
461
461
  * @summary Send a test delivery
462
462
  * @param {string} orgId
463
463
  * @param {string} webhookId
@@ -768,7 +768,7 @@ export const AdminWebhooksApiAxiosParamCreator = function (configuration?: Confi
768
768
  };
769
769
  },
770
770
  /**
771
- *
771
+ * Changes only the fields that are sent: `url`, `events`, `isActive` (also as `active` or `enabled`), `type`, `configuration`, `rotateSecret`. A new `url` for a webhook that has a signing secret needs `rotateSecret: true`; the response then carries the new `secret` once. Unknown fields, `secret` and event names that are not in the catalogue are refused with 400.
772
772
  * @summary Update a webhook
773
773
  * @param {string} orgId
774
774
  * @param {string} webhookId
@@ -823,7 +823,7 @@ export const AdminWebhooksApiFp = function(configuration?: Configuration) {
823
823
  const localVarAxiosParamCreator = AdminWebhooksApiAxiosParamCreator(configuration)
824
824
  return {
825
825
  /**
826
- * The signing secret is generated server-side and returned once in this response only.
826
+ * Accepts `url`, `events`, `isActive` (also as `active` or `enabled`), `type` and `configuration`. The signing secret is generated server-side and returned once in this response only: a `secret` in the request, an unknown field and an event name that is not in the catalogue are refused with 400.
827
827
  * @summary Create a webhook
828
828
  * @param {string} orgId
829
829
  * @param {*} [options] Override http request option.
@@ -864,7 +864,7 @@ export const AdminWebhooksApiFp = function(configuration?: Configuration) {
864
864
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
865
865
  },
866
866
  /**
867
- * Resets the delivery\'s failure state (attempt history is preserved) and re-enqueues it. Idempotent on already-pending rows.
867
+ * Queues a new delivery with the same event and payload and returns its id. The original delivery is not changed. A disabled webhook sends nothing, so the call answers 409 until the webhook is enabled.
868
868
  * @summary Replay a delivery
869
869
  * @param {string} orgId
870
870
  * @param {string} webhookId
@@ -934,7 +934,7 @@ export const AdminWebhooksApiFp = function(configuration?: Configuration) {
934
934
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
935
935
  },
936
936
  /**
937
- * Generates a new HMAC secret and keeps the previous one for a grace window. The new secret is returned once.
937
+ * Generates a new HMAC secret and returns it once. For 24 hours every delivery also carries `X-LumoAuth-Signature-Previous`, signed with the secret that was replaced, so the receiver can be updated without losing events. The `kid` of `X-LumoAuth-Signature` changes with every rotation.
938
938
  * @summary Rotate the signing secret
939
939
  * @param {string} orgId
940
940
  * @param {string} webhookId
@@ -948,7 +948,7 @@ export const AdminWebhooksApiFp = function(configuration?: Configuration) {
948
948
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
949
949
  },
950
950
  /**
951
- * POSTs a signed `test.webhook` payload to the webhook URL and reports the receiver\'s status. A non-2xx receiver response still yields HTTP 200 with `success: false`; a transport failure yields 502.
951
+ * Sends one `webhook.test` event to the webhook URL now, with the same body, headers and signature as any event, and records it in the delivery history. A receiver answer outside 2xx still yields HTTP 200 with `success: false`; when no answer was received (connection or TLS error) the endpoint answers 502. A failed test is not retried.
952
952
  * @summary Send a test delivery
953
953
  * @param {string} orgId
954
954
  * @param {string} webhookId
@@ -1045,7 +1045,7 @@ export const AdminWebhooksApiFp = function(configuration?: Configuration) {
1045
1045
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1046
1046
  },
1047
1047
  /**
1048
- *
1048
+ * Changes only the fields that are sent: `url`, `events`, `isActive` (also as `active` or `enabled`), `type`, `configuration`, `rotateSecret`. A new `url` for a webhook that has a signing secret needs `rotateSecret: true`; the response then carries the new `secret` once. Unknown fields, `secret` and event names that are not in the catalogue are refused with 400.
1049
1049
  * @summary Update a webhook
1050
1050
  * @param {string} orgId
1051
1051
  * @param {string} webhookId
@@ -1069,7 +1069,7 @@ export const AdminWebhooksApiFactory = function (configuration?: Configuration,
1069
1069
  const localVarFp = AdminWebhooksApiFp(configuration)
1070
1070
  return {
1071
1071
  /**
1072
- * The signing secret is generated server-side and returned once in this response only.
1072
+ * Accepts `url`, `events`, `isActive` (also as `active` or `enabled`), `type` and `configuration`. The signing secret is generated server-side and returned once in this response only: a `secret` in the request, an unknown field and an event name that is not in the catalogue are refused with 400.
1073
1073
  * @summary Create a webhook
1074
1074
  * @param {AdminWebhooksApiAdminWebhooksCreateRequest} requestParameters Request parameters.
1075
1075
  * @param {*} [options] Override http request option.
@@ -1099,7 +1099,7 @@ export const AdminWebhooksApiFactory = function (configuration?: Configuration,
1099
1099
  return localVarFp.adminWebhooksDeliveriesList(requestParameters.orgId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
1100
1100
  },
1101
1101
  /**
1102
- * Resets the delivery\'s failure state (attempt history is preserved) and re-enqueues it. Idempotent on already-pending rows.
1102
+ * Queues a new delivery with the same event and payload and returns its id. The original delivery is not changed. A disabled webhook sends nothing, so the call answers 409 until the webhook is enabled.
1103
1103
  * @summary Replay a delivery
1104
1104
  * @param {AdminWebhooksApiAdminWebhooksDeliveryReplayRequest} requestParameters Request parameters.
1105
1105
  * @param {*} [options] Override http request option.
@@ -1149,7 +1149,7 @@ export const AdminWebhooksApiFactory = function (configuration?: Configuration,
1149
1149
  return localVarFp.adminWebhooksList(requestParameters.orgId, options).then((request) => request(axios, basePath));
1150
1150
  },
1151
1151
  /**
1152
- * Generates a new HMAC secret and keeps the previous one for a grace window. The new secret is returned once.
1152
+ * Generates a new HMAC secret and returns it once. For 24 hours every delivery also carries `X-LumoAuth-Signature-Previous`, signed with the secret that was replaced, so the receiver can be updated without losing events. The `kid` of `X-LumoAuth-Signature` changes with every rotation.
1153
1153
  * @summary Rotate the signing secret
1154
1154
  * @param {AdminWebhooksApiAdminWebhooksRotateSecretRequest} requestParameters Request parameters.
1155
1155
  * @param {*} [options] Override http request option.
@@ -1159,7 +1159,7 @@ export const AdminWebhooksApiFactory = function (configuration?: Configuration,
1159
1159
  return localVarFp.adminWebhooksRotateSecret(requestParameters.orgId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
1160
1160
  },
1161
1161
  /**
1162
- * POSTs a signed `test.webhook` payload to the webhook URL and reports the receiver\'s status. A non-2xx receiver response still yields HTTP 200 with `success: false`; a transport failure yields 502.
1162
+ * Sends one `webhook.test` event to the webhook URL now, with the same body, headers and signature as any event, and records it in the delivery history. A receiver answer outside 2xx still yields HTTP 200 with `success: false`; when no answer was received (connection or TLS error) the endpoint answers 502. A failed test is not retried.
1163
1163
  * @summary Send a test delivery
1164
1164
  * @param {AdminWebhooksApiAdminWebhooksTestRequest} requestParameters Request parameters.
1165
1165
  * @param {*} [options] Override http request option.
@@ -1229,7 +1229,7 @@ export const AdminWebhooksApiFactory = function (configuration?: Configuration,
1229
1229
  return localVarFp.patchAdminWebhooksUpdate(requestParameters.orgId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
1230
1230
  },
1231
1231
  /**
1232
- *
1232
+ * Changes only the fields that are sent: `url`, `events`, `isActive` (also as `active` or `enabled`), `type`, `configuration`, `rotateSecret`. A new `url` for a webhook that has a signing secret needs `rotateSecret: true`; the response then carries the new `secret` once. Unknown fields, `secret` and event names that are not in the catalogue are refused with 400.
1233
1233
  * @summary Update a webhook
1234
1234
  * @param {AdminWebhooksApiPutAdminWebhooksUpdateRequest} requestParameters Request parameters.
1235
1235
  * @param {*} [options] Override http request option.
@@ -1248,7 +1248,7 @@ export const AdminWebhooksApiFactory = function (configuration?: Configuration,
1248
1248
  */
1249
1249
  export interface AdminWebhooksApiInterface {
1250
1250
  /**
1251
- * The signing secret is generated server-side and returned once in this response only.
1251
+ * Accepts `url`, `events`, `isActive` (also as `active` or `enabled`), `type` and `configuration`. The signing secret is generated server-side and returned once in this response only: a `secret` in the request, an unknown field and an event name that is not in the catalogue are refused with 400.
1252
1252
  * @summary Create a webhook
1253
1253
  * @param {AdminWebhooksApiAdminWebhooksCreateRequest} requestParameters Request parameters.
1254
1254
  * @param {*} [options] Override http request option.
@@ -1278,7 +1278,7 @@ export interface AdminWebhooksApiInterface {
1278
1278
  adminWebhooksDeliveriesList(requestParameters: AdminWebhooksApiAdminWebhooksDeliveriesListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminWebhooksDeliveriesListResponse>;
1279
1279
 
1280
1280
  /**
1281
- * Resets the delivery\'s failure state (attempt history is preserved) and re-enqueues it. Idempotent on already-pending rows.
1281
+ * Queues a new delivery with the same event and payload and returns its id. The original delivery is not changed. A disabled webhook sends nothing, so the call answers 409 until the webhook is enabled.
1282
1282
  * @summary Replay a delivery
1283
1283
  * @param {AdminWebhooksApiAdminWebhooksDeliveryReplayRequest} requestParameters Request parameters.
1284
1284
  * @param {*} [options] Override http request option.
@@ -1328,7 +1328,7 @@ export interface AdminWebhooksApiInterface {
1328
1328
  adminWebhooksList(requestParameters: AdminWebhooksApiAdminWebhooksListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminWebhooksListResponse>;
1329
1329
 
1330
1330
  /**
1331
- * Generates a new HMAC secret and keeps the previous one for a grace window. The new secret is returned once.
1331
+ * Generates a new HMAC secret and returns it once. For 24 hours every delivery also carries `X-LumoAuth-Signature-Previous`, signed with the secret that was replaced, so the receiver can be updated without losing events. The `kid` of `X-LumoAuth-Signature` changes with every rotation.
1332
1332
  * @summary Rotate the signing secret
1333
1333
  * @param {AdminWebhooksApiAdminWebhooksRotateSecretRequest} requestParameters Request parameters.
1334
1334
  * @param {*} [options] Override http request option.
@@ -1338,7 +1338,7 @@ export interface AdminWebhooksApiInterface {
1338
1338
  adminWebhooksRotateSecret(requestParameters: AdminWebhooksApiAdminWebhooksRotateSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminWebhooksRotateSecretResponse>;
1339
1339
 
1340
1340
  /**
1341
- * POSTs a signed `test.webhook` payload to the webhook URL and reports the receiver\'s status. A non-2xx receiver response still yields HTTP 200 with `success: false`; a transport failure yields 502.
1341
+ * Sends one `webhook.test` event to the webhook URL now, with the same body, headers and signature as any event, and records it in the delivery history. A receiver answer outside 2xx still yields HTTP 200 with `success: false`; when no answer was received (connection or TLS error) the endpoint answers 502. A failed test is not retried.
1342
1342
  * @summary Send a test delivery
1343
1343
  * @param {AdminWebhooksApiAdminWebhooksTestRequest} requestParameters Request parameters.
1344
1344
  * @param {*} [options] Override http request option.
@@ -1408,7 +1408,7 @@ export interface AdminWebhooksApiInterface {
1408
1408
  patchAdminWebhooksUpdate(requestParameters: AdminWebhooksApiPatchAdminWebhooksUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<PutAdminWebhooksUpdateResponse>;
1409
1409
 
1410
1410
  /**
1411
- *
1411
+ * Changes only the fields that are sent: `url`, `events`, `isActive` (also as `active` or `enabled`), `type`, `configuration`, `rotateSecret`. A new `url` for a webhook that has a signing secret needs `rotateSecret: true`; the response then carries the new `secret` once. Unknown fields, `secret` and event names that are not in the catalogue are refused with 400.
1412
1412
  * @summary Update a webhook
1413
1413
  * @param {AdminWebhooksApiPutAdminWebhooksUpdateRequest} requestParameters Request parameters.
1414
1414
  * @param {*} [options] Override http request option.
@@ -1770,7 +1770,7 @@ export interface AdminWebhooksApiPutAdminWebhooksUpdateRequest {
1770
1770
  */
1771
1771
  export class AdminWebhooksApi extends BaseAPI implements AdminWebhooksApiInterface {
1772
1772
  /**
1773
- * The signing secret is generated server-side and returned once in this response only.
1773
+ * Accepts `url`, `events`, `isActive` (also as `active` or `enabled`), `type` and `configuration`. The signing secret is generated server-side and returned once in this response only: a `secret` in the request, an unknown field and an event name that is not in the catalogue are refused with 400.
1774
1774
  * @summary Create a webhook
1775
1775
  * @param {AdminWebhooksApiAdminWebhooksCreateRequest} requestParameters Request parameters.
1776
1776
  * @param {*} [options] Override http request option.
@@ -1806,7 +1806,7 @@ export class AdminWebhooksApi extends BaseAPI implements AdminWebhooksApiInterfa
1806
1806
  }
1807
1807
 
1808
1808
  /**
1809
- * Resets the delivery\'s failure state (attempt history is preserved) and re-enqueues it. Idempotent on already-pending rows.
1809
+ * Queues a new delivery with the same event and payload and returns its id. The original delivery is not changed. A disabled webhook sends nothing, so the call answers 409 until the webhook is enabled.
1810
1810
  * @summary Replay a delivery
1811
1811
  * @param {AdminWebhooksApiAdminWebhooksDeliveryReplayRequest} requestParameters Request parameters.
1812
1812
  * @param {*} [options] Override http request option.
@@ -1866,7 +1866,7 @@ export class AdminWebhooksApi extends BaseAPI implements AdminWebhooksApiInterfa
1866
1866
  }
1867
1867
 
1868
1868
  /**
1869
- * Generates a new HMAC secret and keeps the previous one for a grace window. The new secret is returned once.
1869
+ * Generates a new HMAC secret and returns it once. For 24 hours every delivery also carries `X-LumoAuth-Signature-Previous`, signed with the secret that was replaced, so the receiver can be updated without losing events. The `kid` of `X-LumoAuth-Signature` changes with every rotation.
1870
1870
  * @summary Rotate the signing secret
1871
1871
  * @param {AdminWebhooksApiAdminWebhooksRotateSecretRequest} requestParameters Request parameters.
1872
1872
  * @param {*} [options] Override http request option.
@@ -1878,7 +1878,7 @@ export class AdminWebhooksApi extends BaseAPI implements AdminWebhooksApiInterfa
1878
1878
  }
1879
1879
 
1880
1880
  /**
1881
- * POSTs a signed `test.webhook` payload to the webhook URL and reports the receiver\'s status. A non-2xx receiver response still yields HTTP 200 with `success: false`; a transport failure yields 502.
1881
+ * Sends one `webhook.test` event to the webhook URL now, with the same body, headers and signature as any event, and records it in the delivery history. A receiver answer outside 2xx still yields HTTP 200 with `success: false`; when no answer was received (connection or TLS error) the endpoint answers 502. A failed test is not retried.
1882
1882
  * @summary Send a test delivery
1883
1883
  * @param {AdminWebhooksApiAdminWebhooksTestRequest} requestParameters Request parameters.
1884
1884
  * @param {*} [options] Override http request option.
@@ -1962,7 +1962,7 @@ export class AdminWebhooksApi extends BaseAPI implements AdminWebhooksApiInterfa
1962
1962
  }
1963
1963
 
1964
1964
  /**
1965
- *
1965
+ * Changes only the fields that are sent: `url`, `events`, `isActive` (also as `active` or `enabled`), `type`, `configuration`, `rotateSecret`. A new `url` for a webhook that has a signing secret needs `rotateSecret: true`; the response then carries the new `secret` once. Unknown fields, `secret` and event names that are not in the catalogue are refused with 400.
1966
1966
  * @summary Update a webhook
1967
1967
  * @param {AdminWebhooksApiPutAdminWebhooksUpdateRequest} requestParameters Request parameters.
1968
1968
  * @param {*} [options] Override http request option.
package/api/oauth-api.ts CHANGED
@@ -34,6 +34,10 @@ import type { RegisterClientResponse } from '../models';
34
34
  // @ts-ignore
35
35
  import type { RegisteredClientMetadata } from '../models';
36
36
  // @ts-ignore
37
+ import type { RequestMagicLinkRequest } from '../models';
38
+ // @ts-ignore
39
+ import type { RequestMagicLinkResponse } from '../models';
40
+ // @ts-ignore
37
41
  import type { SubmitLoginJsonResponse } from '../models';
38
42
  // @ts-ignore
39
43
  import type { TokenResponse } from '../models';
@@ -383,6 +387,46 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
383
387
  options: localVarRequestOptions,
384
388
  };
385
389
  },
390
+ /**
391
+ * 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`.
392
+ * @summary Request a sign-in link by email
393
+ * @param {string} orgId
394
+ * @param {RequestMagicLinkRequest} requestMagicLinkRequest
395
+ * @param {*} [options] Override http request option.
396
+ * @throws {RequiredError}
397
+ */
398
+ requestMagicLink: async (orgId: string, requestMagicLinkRequest: RequestMagicLinkRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
399
+ // verify required parameter 'orgId' is not null or undefined
400
+ assertParamExists('requestMagicLink', 'orgId', orgId)
401
+ // verify required parameter 'requestMagicLinkRequest' is not null or undefined
402
+ assertParamExists('requestMagicLink', 'requestMagicLinkRequest', requestMagicLinkRequest)
403
+ const localVarPath = `/orgs/{orgId}/api/v1/oauth/magic-link`
404
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
405
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
406
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
407
+ let baseOptions;
408
+ if (configuration) {
409
+ baseOptions = configuration.baseOptions;
410
+ }
411
+
412
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
413
+ const localVarHeaderParameter = {} as any;
414
+ const localVarQueryParameter = {} as any;
415
+
416
+
417
+
418
+ localVarHeaderParameter['Content-Type'] = 'application/json';
419
+
420
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
421
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
422
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
423
+ localVarRequestOptions.data = serializeDataIfNeeded(requestMagicLinkRequest, localVarRequestOptions, configuration)
424
+
425
+ return {
426
+ url: toPathString(localVarUrlObj),
427
+ options: localVarRequestOptions,
428
+ };
429
+ },
386
430
  /**
387
431
  * 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
432
  * @summary Token revocation (RFC 7009)
@@ -837,6 +881,20 @@ export const OAuthApiFp = function(configuration?: Configuration) {
837
881
  const localVarOperationServerBasePath = operationServerMap['OAuthApi.registerClient']?.[localVarOperationServerIndex]?.url;
838
882
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
839
883
  },
884
+ /**
885
+ * 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`.
886
+ * @summary Request a sign-in link by email
887
+ * @param {string} orgId
888
+ * @param {RequestMagicLinkRequest} requestMagicLinkRequest
889
+ * @param {*} [options] Override http request option.
890
+ * @throws {RequiredError}
891
+ */
892
+ async requestMagicLink(orgId: string, requestMagicLinkRequest: RequestMagicLinkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestMagicLinkResponse>> {
893
+ const localVarAxiosArgs = await localVarAxiosParamCreator.requestMagicLink(orgId, requestMagicLinkRequest, options);
894
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
895
+ const localVarOperationServerBasePath = operationServerMap['OAuthApi.requestMagicLink']?.[localVarOperationServerIndex]?.url;
896
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
897
+ },
840
898
  /**
841
899
  * 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
900
  * @summary Token revocation (RFC 7009)
@@ -1057,6 +1115,16 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
1057
1115
  registerClient(requestParameters: OAuthApiRegisterClientRequest, options?: RawAxiosRequestConfig): AxiosPromise<RegisterClientResponse> {
1058
1116
  return localVarFp.registerClient(requestParameters.orgId, options).then((request) => request(axios, basePath));
1059
1117
  },
1118
+ /**
1119
+ * 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`.
1120
+ * @summary Request a sign-in link by email
1121
+ * @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
1122
+ * @param {*} [options] Override http request option.
1123
+ * @throws {RequiredError}
1124
+ */
1125
+ requestMagicLink(requestParameters: OAuthApiRequestMagicLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestMagicLinkResponse> {
1126
+ return localVarFp.requestMagicLink(requestParameters.orgId, requestParameters.requestMagicLinkRequest, options).then((request) => request(axios, basePath));
1127
+ },
1060
1128
  /**
1061
1129
  * 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
1130
  * @summary Token revocation (RFC 7009)
@@ -1246,6 +1314,16 @@ export interface OAuthApiInterface {
1246
1314
  */
1247
1315
  registerClient(requestParameters: OAuthApiRegisterClientRequest, options?: RawAxiosRequestConfig): AxiosPromise<RegisterClientResponse>;
1248
1316
 
1317
+ /**
1318
+ * 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`.
1319
+ * @summary Request a sign-in link by email
1320
+ * @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
1321
+ * @param {*} [options] Override http request option.
1322
+ * @throws {RequiredError}
1323
+ * @memberof OAuthApiInterface
1324
+ */
1325
+ requestMagicLink(requestParameters: OAuthApiRequestMagicLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestMagicLinkResponse>;
1326
+
1249
1327
  /**
1250
1328
  * 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
1329
  * @summary Token revocation (RFC 7009)
@@ -1471,6 +1549,27 @@ export interface OAuthApiRegisterClientRequest {
1471
1549
  readonly orgId: string
1472
1550
  }
1473
1551
 
1552
+ /**
1553
+ * Request parameters for requestMagicLink operation in OAuthApi.
1554
+ * @export
1555
+ * @interface OAuthApiRequestMagicLinkRequest
1556
+ */
1557
+ export interface OAuthApiRequestMagicLinkRequest {
1558
+ /**
1559
+ *
1560
+ * @type {string}
1561
+ * @memberof OAuthApiRequestMagicLink
1562
+ */
1563
+ readonly orgId: string
1564
+
1565
+ /**
1566
+ *
1567
+ * @type {RequestMagicLinkRequest}
1568
+ * @memberof OAuthApiRequestMagicLink
1569
+ */
1570
+ readonly requestMagicLinkRequest: RequestMagicLinkRequest
1571
+ }
1572
+
1474
1573
  /**
1475
1574
  * Request parameters for revoke operation in OAuthApi.
1476
1575
  * @export
@@ -1733,6 +1832,18 @@ export class OAuthApi extends BaseAPI implements OAuthApiInterface {
1733
1832
  return OAuthApiFp(this.configuration).registerClient(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
1734
1833
  }
1735
1834
 
1835
+ /**
1836
+ * 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`.
1837
+ * @summary Request a sign-in link by email
1838
+ * @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
1839
+ * @param {*} [options] Override http request option.
1840
+ * @throws {RequiredError}
1841
+ * @memberof OAuthApi
1842
+ */
1843
+ public requestMagicLink(requestParameters: OAuthApiRequestMagicLinkRequest, options?: RawAxiosRequestConfig) {
1844
+ return OAuthApiFp(this.configuration).requestMagicLink(requestParameters.orgId, requestParameters.requestMagicLinkRequest, options).then((request) => request(this.axios, this.basePath));
1845
+ }
1846
+
1736
1847
  /**
1737
1848
  * 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
1849
  * @summary Token revocation (RFC 7009)