@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
@@ -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/agents-api.ts CHANGED
@@ -60,7 +60,7 @@ import type { VerifyAgentCardResponse } from '../models';
60
60
  export const AgentsApiAxiosParamCreator = function (configuration?: Configuration) {
61
61
  return {
62
62
  /**
63
- * POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document.read\", \"context\": {\"id\": \"123\"} }
63
+ * POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document:read\", \"context\": {\"id\": \"123\"} }
64
64
  * @summary Agent-friendly permission check (Natural Language style)
65
65
  * @param {string} orgId
66
66
  * @param {AskRequest} askRequest
@@ -519,7 +519,7 @@ export const AgentsApiFp = function(configuration?: Configuration) {
519
519
  const localVarAxiosParamCreator = AgentsApiAxiosParamCreator(configuration)
520
520
  return {
521
521
  /**
522
- * POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document.read\", \"context\": {\"id\": \"123\"} }
522
+ * POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document:read\", \"context\": {\"id\": \"123\"} }
523
523
  * @summary Agent-friendly permission check (Natural Language style)
524
524
  * @param {string} orgId
525
525
  * @param {AskRequest} askRequest
@@ -666,7 +666,7 @@ export const AgentsApiFactory = function (configuration?: Configuration, basePat
666
666
  const localVarFp = AgentsApiFp(configuration)
667
667
  return {
668
668
  /**
669
- * POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document.read\", \"context\": {\"id\": \"123\"} }
669
+ * POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document:read\", \"context\": {\"id\": \"123\"} }
670
670
  * @summary Agent-friendly permission check (Natural Language style)
671
671
  * @param {AgentsApiAskRequest} requestParameters Request parameters.
672
672
  * @param {*} [options] Override http request option.
@@ -773,7 +773,7 @@ export const AgentsApiFactory = function (configuration?: Configuration, basePat
773
773
  */
774
774
  export interface AgentsApiInterface {
775
775
  /**
776
- * POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document.read\", \"context\": {\"id\": \"123\"} }
776
+ * POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document:read\", \"context\": {\"id\": \"123\"} }
777
777
  * @summary Agent-friendly permission check (Natural Language style)
778
778
  * @param {AgentsApiAskRequest} requestParameters Request parameters.
779
779
  * @param {*} [options] Override http request option.
@@ -1083,7 +1083,7 @@ export interface AgentsApiVerifyAgentCardRequest {
1083
1083
  */
1084
1084
  export class AgentsApi extends BaseAPI implements AgentsApiInterface {
1085
1085
  /**
1086
- * POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document.read\", \"context\": {\"id\": \"123\"} }
1086
+ * POST /orgs/{orgId}/api/v1/agents/ask Body: { \"action\": \"document:read\", \"context\": {\"id\": \"123\"} }
1087
1087
  * @summary Agent-friendly permission check (Natural Language style)
1088
1088
  * @param {AgentsApiAskRequest} requestParameters Request parameters.
1089
1089
  * @param {*} [options] Override http request option.
@@ -138,7 +138,7 @@ export const AuthorizationApiAxiosParamCreator = function (configuration?: Confi
138
138
  };
139
139
  },
140
140
  /**
141
- * POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
141
+ * POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
142
142
  * @summary Check whether the subject holds all of the permissions
143
143
  * @param {*} [options] Override http request option.
144
144
  * @throws {RequiredError}
@@ -175,7 +175,7 @@ export const AuthorizationApiAxiosParamCreator = function (configuration?: Confi
175
175
  };
176
176
  },
177
177
  /**
178
- * POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
178
+ * POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
179
179
  * @summary Check whether the subject holds any of the permissions
180
180
  * @param {*} [options] Override http request option.
181
181
  * @throws {RequiredError}
@@ -212,7 +212,7 @@ export const AuthorizationApiAxiosParamCreator = function (configuration?: Confi
212
212
  };
213
213
  },
214
214
  /**
215
- * POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"document_id\": 123, \"owner_id\": 456}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
215
+ * POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"resource_id\": \"doc-123\"}, // read: resource_id + defined environment attribute slugs \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
216
216
  * @summary Check one permission
217
217
  * @param {*} [options] Override http request option.
218
218
  * @throws {RequiredError}
@@ -249,7 +249,7 @@ export const AuthorizationApiAxiosParamCreator = function (configuration?: Confi
249
249
  };
250
250
  },
251
251
  /**
252
- * POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
252
+ * POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
253
253
  * @summary Check up to 100 permissions in one call
254
254
  * @param {*} [options] Override http request option.
255
255
  * @throws {RequiredError}
@@ -824,7 +824,7 @@ export const AuthorizationApiFp = function(configuration?: Configuration) {
824
824
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
825
825
  },
826
826
  /**
827
- * POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
827
+ * POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
828
828
  * @summary Check whether the subject holds all of the permissions
829
829
  * @param {*} [options] Override http request option.
830
830
  * @throws {RequiredError}
@@ -836,7 +836,7 @@ export const AuthorizationApiFp = function(configuration?: Configuration) {
836
836
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
837
837
  },
838
838
  /**
839
- * POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
839
+ * POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
840
840
  * @summary Check whether the subject holds any of the permissions
841
841
  * @param {*} [options] Override http request option.
842
842
  * @throws {RequiredError}
@@ -848,7 +848,7 @@ export const AuthorizationApiFp = function(configuration?: Configuration) {
848
848
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
849
849
  },
850
850
  /**
851
- * POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"document_id\": 123, \"owner_id\": 456}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
851
+ * POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"resource_id\": \"doc-123\"}, // read: resource_id + defined environment attribute slugs \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
852
852
  * @summary Check one permission
853
853
  * @param {*} [options] Override http request option.
854
854
  * @throws {RequiredError}
@@ -860,7 +860,7 @@ export const AuthorizationApiFp = function(configuration?: Configuration) {
860
860
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
861
861
  },
862
862
  /**
863
- * POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
863
+ * POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
864
864
  * @summary Check up to 100 permissions in one call
865
865
  * @param {*} [options] Override http request option.
866
866
  * @throws {RequiredError}
@@ -1063,7 +1063,7 @@ export const AuthorizationApiFactory = function (configuration?: Configuration,
1063
1063
  return localVarFp.checkAbacBulk(requestParameters.orgId, options).then((request) => request(axios, basePath));
1064
1064
  },
1065
1065
  /**
1066
- * POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1066
+ * POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1067
1067
  * @summary Check whether the subject holds all of the permissions
1068
1068
  * @param {*} [options] Override http request option.
1069
1069
  * @throws {RequiredError}
@@ -1072,7 +1072,7 @@ export const AuthorizationApiFactory = function (configuration?: Configuration,
1072
1072
  return localVarFp.checkAllPermissions(options).then((request) => request(axios, basePath));
1073
1073
  },
1074
1074
  /**
1075
- * POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1075
+ * POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1076
1076
  * @summary Check whether the subject holds any of the permissions
1077
1077
  * @param {*} [options] Override http request option.
1078
1078
  * @throws {RequiredError}
@@ -1081,7 +1081,7 @@ export const AuthorizationApiFactory = function (configuration?: Configuration,
1081
1081
  return localVarFp.checkAnyPermission(options).then((request) => request(axios, basePath));
1082
1082
  },
1083
1083
  /**
1084
- * POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"document_id\": 123, \"owner_id\": 456}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
1084
+ * POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"resource_id\": \"doc-123\"}, // read: resource_id + defined environment attribute slugs \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
1085
1085
  * @summary Check one permission
1086
1086
  * @param {*} [options] Override http request option.
1087
1087
  * @throws {RequiredError}
@@ -1090,7 +1090,7 @@ export const AuthorizationApiFactory = function (configuration?: Configuration,
1090
1090
  return localVarFp.checkPermission(options).then((request) => request(axios, basePath));
1091
1091
  },
1092
1092
  /**
1093
- * POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1093
+ * POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1094
1094
  * @summary Check up to 100 permissions in one call
1095
1095
  * @param {*} [options] Override http request option.
1096
1096
  * @throws {RequiredError}
@@ -1244,7 +1244,7 @@ export interface AuthorizationApiInterface {
1244
1244
  checkAbacBulk(requestParameters: AuthorizationApiCheckAbacBulkRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckAbacBulkResponse>;
1245
1245
 
1246
1246
  /**
1247
- * POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1247
+ * POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1248
1248
  * @summary Check whether the subject holds all of the permissions
1249
1249
  * @param {*} [options] Override http request option.
1250
1250
  * @throws {RequiredError}
@@ -1253,7 +1253,7 @@ export interface AuthorizationApiInterface {
1253
1253
  checkAllPermissions(options?: RawAxiosRequestConfig): AxiosPromise<CheckAnyPermissionResponse>;
1254
1254
 
1255
1255
  /**
1256
- * POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1256
+ * POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1257
1257
  * @summary Check whether the subject holds any of the permissions
1258
1258
  * @param {*} [options] Override http request option.
1259
1259
  * @throws {RequiredError}
@@ -1262,7 +1262,7 @@ export interface AuthorizationApiInterface {
1262
1262
  checkAnyPermission(options?: RawAxiosRequestConfig): AxiosPromise<CheckAnyPermissionResponse>;
1263
1263
 
1264
1264
  /**
1265
- * POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"document_id\": 123, \"owner_id\": 456}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
1265
+ * POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"resource_id\": \"doc-123\"}, // read: resource_id + defined environment attribute slugs \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
1266
1266
  * @summary Check one permission
1267
1267
  * @param {*} [options] Override http request option.
1268
1268
  * @throws {RequiredError}
@@ -1271,7 +1271,7 @@ export interface AuthorizationApiInterface {
1271
1271
  checkPermission(options?: RawAxiosRequestConfig): AxiosPromise<CheckPermissionResponse>;
1272
1272
 
1273
1273
  /**
1274
- * POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1274
+ * POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1275
1275
  * @summary Check up to 100 permissions in one call
1276
1276
  * @param {*} [options] Override http request option.
1277
1277
  * @throws {RequiredError}
@@ -1632,7 +1632,7 @@ export class AuthorizationApi extends BaseAPI implements AuthorizationApiInterfa
1632
1632
  }
1633
1633
 
1634
1634
  /**
1635
- * POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1635
+ * POST /api/v1/authz/check-all Body: { \"permissions\": [\"document.edit\", \"document.publish\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1636
1636
  * @summary Check whether the subject holds all of the permissions
1637
1637
  * @param {*} [options] Override http request option.
1638
1638
  * @throws {RequiredError}
@@ -1643,7 +1643,7 @@ export class AuthorizationApi extends BaseAPI implements AuthorizationApiInterfa
1643
1643
  }
1644
1644
 
1645
1645
  /**
1646
- * POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1646
+ * POST /api/v1/authz/check-any Body: { \"permissions\": [\"document.edit\", \"document.view\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1647
1647
  * @summary Check whether the subject holds any of the permissions
1648
1648
  * @param {*} [options] Override http request option.
1649
1649
  * @throws {RequiredError}
@@ -1654,7 +1654,7 @@ export class AuthorizationApi extends BaseAPI implements AuthorizationApiInterfa
1654
1654
  }
1655
1655
 
1656
1656
  /**
1657
- * POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"document_id\": 123, \"owner_id\": 456}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
1657
+ * POST /api/v1/authz/check Body: { \"permission\": \"document.edit\", \"context\": {\"resource_id\": \"doc-123\"}, // read: resource_id + defined environment attribute slugs \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — defaults to the caller } All four check endpoints accept the optional `subject`. Naming a subject other than the caller requires the `authz.check` permission or the `authz:check` scope (403 `insufficient_permissions` otherwise) — see ThirdPartySubjectGuard.
1658
1658
  * @summary Check one permission
1659
1659
  * @param {*} [options] Override http request option.
1660
1660
  * @throws {RequiredError}
@@ -1665,7 +1665,7 @@ export class AuthorizationApi extends BaseAPI implements AuthorizationApiInterfa
1665
1665
  }
1666
1666
 
1667
1667
  /**
1668
- * POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"document_id\": 123}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1668
+ * POST /api/v1/authz/check-bulk Body: { \"permissions\": [\"document.edit\", \"document.delete\"], \"context\": {\"resource_id\": \"doc-123\"}, \"subject\": {\"type\": \"user\", \"id\": \"<uuid>\"} // optional — see /check }
1669
1669
  * @summary Check up to 100 permissions in one call
1670
1670
  * @param {*} [options] Override http request option.
1671
1671
  * @throws {RequiredError}