@lumoauth/api-client 1.3.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 (237) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/README.md +19 -5
  3. package/api/admin-agents-api.ts +166 -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/agents-api.ts +118 -0
  10. package/api/oauth-api.ts +111 -0
  11. package/dist/api/admin-agents-api.d.ts +94 -4
  12. package/dist/api/admin-agents-api.js +100 -10
  13. package/dist/api/admin-mcp-api.d.ts +5 -5
  14. package/dist/api/admin-mcp-api.js +4 -4
  15. package/dist/api/admin-oauth-clients-api.d.ts +5 -5
  16. package/dist/api/admin-oauth-clients-api.js +4 -4
  17. package/dist/api/admin-sandbox-api.d.ts +5 -5
  18. package/dist/api/admin-sandbox-api.js +4 -4
  19. package/dist/api/admin-users-api.d.ts +27 -26
  20. package/dist/api/admin-users-api.js +21 -20
  21. package/dist/api/admin-webhooks-api.d.ts +25 -25
  22. package/dist/api/admin-webhooks-api.js +20 -20
  23. package/dist/api/agents-api.d.ts +65 -0
  24. package/dist/api/agents-api.js +77 -0
  25. package/dist/api/oauth-api.d.ts +65 -0
  26. package/dist/api/oauth-api.js +72 -0
  27. package/dist/esm/api/admin-agents-api.d.ts +94 -4
  28. package/dist/esm/api/admin-agents-api.js +100 -10
  29. package/dist/esm/api/admin-mcp-api.d.ts +5 -5
  30. package/dist/esm/api/admin-mcp-api.js +4 -4
  31. package/dist/esm/api/admin-oauth-clients-api.d.ts +5 -5
  32. package/dist/esm/api/admin-oauth-clients-api.js +4 -4
  33. package/dist/esm/api/admin-sandbox-api.d.ts +5 -5
  34. package/dist/esm/api/admin-sandbox-api.js +4 -4
  35. package/dist/esm/api/admin-users-api.d.ts +27 -26
  36. package/dist/esm/api/admin-users-api.js +21 -20
  37. package/dist/esm/api/admin-webhooks-api.d.ts +25 -25
  38. package/dist/esm/api/admin-webhooks-api.js +20 -20
  39. package/dist/esm/api/agents-api.d.ts +65 -0
  40. package/dist/esm/api/agents-api.js +77 -0
  41. package/dist/esm/api/oauth-api.d.ts +65 -0
  42. package/dist/esm/api/oauth-api.js +73 -1
  43. package/dist/esm/models/abac-attribute-definition.d.ts +1 -1
  44. package/dist/esm/models/abac-resource-attribute.d.ts +1 -1
  45. package/dist/esm/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
  46. package/dist/esm/models/admin-agents-agents-rotate-key-request.js +14 -0
  47. package/dist/esm/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
  48. package/dist/esm/models/admin-agents-create-request.d.ts +8 -0
  49. package/dist/esm/models/admin-agents-report-usage-request.d.ts +30 -0
  50. package/dist/esm/models/admin-agents-report-usage-request.js +14 -0
  51. package/dist/esm/models/admin-agents-report-usage-response-data-recorded.d.ts +30 -0
  52. package/dist/esm/models/admin-agents-report-usage-response-data-recorded.js +14 -0
  53. package/dist/esm/models/admin-agents-report-usage-response-data.d.ts +33 -0
  54. package/dist/esm/models/admin-agents-report-usage-response-data.js +14 -0
  55. package/dist/esm/models/admin-agents-report-usage-response.d.ts +25 -0
  56. package/dist/esm/models/admin-agents-report-usage-response.js +14 -0
  57. package/dist/esm/models/admin-audit-logs-retention-response-data.d.ts +21 -3
  58. package/dist/esm/models/admin-identities-link-request.d.ts +8 -1
  59. package/dist/esm/models/admin-identities-link-request.js +1 -0
  60. package/dist/esm/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
  61. package/dist/esm/models/admin-identities-list-response-data-bindings-item.js +1 -0
  62. package/dist/esm/models/admin-sandbox-spawn-response-data.d.ts +18 -0
  63. package/dist/esm/models/admin-sandbox-spawn-response-data.js +14 -0
  64. package/dist/esm/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
  65. package/dist/esm/models/admin-sandbox-spawn-response-data1.js +14 -0
  66. package/dist/esm/models/admin-sandbox-spawn-response.d.ts +3 -3
  67. package/dist/esm/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
  68. package/dist/esm/models/admin-webhooks-delivery-replay-response-data.js +14 -0
  69. package/dist/esm/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
  70. package/dist/esm/models/admin-webhooks-test-response.d.ts +6 -0
  71. package/dist/esm/models/attest-response-identity.d.ts +1 -1
  72. package/dist/esm/models/audit-log-entry.d.ts +1 -1
  73. package/dist/esm/models/authentication-settings-password-policy.d.ts +25 -1
  74. package/dist/esm/models/authentication-settings-password-rotation-policy.d.ts +1 -13
  75. package/dist/esm/models/authentication-settings.d.ts +13 -15
  76. package/dist/esm/models/authentication-settings.js +11 -0
  77. package/dist/esm/models/get-approval-status-response-approved-by.d.ts +2 -2
  78. package/dist/esm/models/index.d.ts +11 -0
  79. package/dist/esm/models/index.js +11 -0
  80. package/dist/esm/models/list-permissions-response-permissions-item.d.ts +1 -1
  81. package/dist/esm/models/oauth-client-secret-issued.d.ts +1 -1
  82. package/dist/esm/models/oauth-client.d.ts +6 -0
  83. package/dist/esm/models/push-enrollment-started.d.ts +1 -1
  84. package/dist/esm/models/put-admin-agents-update-request.d.ts +8 -0
  85. package/dist/esm/models/report-agent-usage-response.d.ts +33 -0
  86. package/dist/esm/models/report-agent-usage-response.js +14 -0
  87. package/dist/esm/models/request-magic-link-request.d.ts +42 -0
  88. package/dist/esm/models/request-magic-link-request.js +14 -0
  89. package/dist/esm/models/request-magic-link-response.d.ts +31 -0
  90. package/dist/esm/models/request-magic-link-response.js +21 -0
  91. package/dist/esm/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
  92. package/dist/esm/models/scim-settings-inbound.d.ts +0 -8
  93. package/dist/esm/models/scim-settings-outbound.d.ts +2 -10
  94. package/dist/esm/models/set-user-attribute-response-data.d.ts +1 -1
  95. package/dist/esm/models/userinfo-response.d.ts +8 -0
  96. package/dist/models/abac-attribute-definition.d.ts +1 -1
  97. package/dist/models/abac-resource-attribute.d.ts +1 -1
  98. package/dist/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
  99. package/dist/models/admin-agents-agents-rotate-key-request.js +15 -0
  100. package/dist/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
  101. package/dist/models/admin-agents-create-request.d.ts +8 -0
  102. package/dist/models/admin-agents-report-usage-request.d.ts +30 -0
  103. package/dist/models/admin-agents-report-usage-request.js +15 -0
  104. package/dist/models/admin-agents-report-usage-response-data-recorded.d.ts +30 -0
  105. package/dist/models/admin-agents-report-usage-response-data-recorded.js +15 -0
  106. package/dist/models/admin-agents-report-usage-response-data.d.ts +33 -0
  107. package/dist/models/admin-agents-report-usage-response-data.js +15 -0
  108. package/dist/models/admin-agents-report-usage-response.d.ts +25 -0
  109. package/dist/models/admin-agents-report-usage-response.js +15 -0
  110. package/dist/models/admin-audit-logs-retention-response-data.d.ts +21 -3
  111. package/dist/models/admin-identities-link-request.d.ts +8 -1
  112. package/dist/models/admin-identities-link-request.js +1 -0
  113. package/dist/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
  114. package/dist/models/admin-identities-list-response-data-bindings-item.js +1 -0
  115. package/dist/models/admin-sandbox-spawn-response-data.d.ts +18 -0
  116. package/dist/models/admin-sandbox-spawn-response-data.js +15 -0
  117. package/dist/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
  118. package/dist/models/admin-sandbox-spawn-response-data1.js +15 -0
  119. package/dist/models/admin-sandbox-spawn-response.d.ts +3 -3
  120. package/dist/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
  121. package/dist/models/admin-webhooks-delivery-replay-response-data.js +15 -0
  122. package/dist/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
  123. package/dist/models/admin-webhooks-test-response.d.ts +6 -0
  124. package/dist/models/attest-response-identity.d.ts +1 -1
  125. package/dist/models/audit-log-entry.d.ts +1 -1
  126. package/dist/models/authentication-settings-password-policy.d.ts +25 -1
  127. package/dist/models/authentication-settings-password-rotation-policy.d.ts +1 -13
  128. package/dist/models/authentication-settings.d.ts +13 -15
  129. package/dist/models/authentication-settings.js +12 -1
  130. package/dist/models/get-approval-status-response-approved-by.d.ts +2 -2
  131. package/dist/models/index.d.ts +11 -0
  132. package/dist/models/index.js +11 -0
  133. package/dist/models/list-permissions-response-permissions-item.d.ts +1 -1
  134. package/dist/models/oauth-client-secret-issued.d.ts +1 -1
  135. package/dist/models/oauth-client.d.ts +6 -0
  136. package/dist/models/push-enrollment-started.d.ts +1 -1
  137. package/dist/models/put-admin-agents-update-request.d.ts +8 -0
  138. package/dist/models/report-agent-usage-response.d.ts +33 -0
  139. package/dist/models/report-agent-usage-response.js +15 -0
  140. package/dist/models/request-magic-link-request.d.ts +42 -0
  141. package/dist/models/request-magic-link-request.js +15 -0
  142. package/dist/models/request-magic-link-response.d.ts +31 -0
  143. package/dist/models/request-magic-link-response.js +24 -0
  144. package/dist/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
  145. package/dist/models/scim-settings-inbound.d.ts +0 -8
  146. package/dist/models/scim-settings-outbound.d.ts +2 -10
  147. package/dist/models/set-user-attribute-response-data.d.ts +1 -1
  148. package/dist/models/userinfo-response.d.ts +8 -0
  149. package/docs/AAuthApi.md +1 -1
  150. package/docs/AdminAbacApi.md +1 -1
  151. package/docs/AdminAgentsAgentsRotateKeyRequest.md +22 -0
  152. package/docs/AdminAgentsAgentsRotateKeyResponse.md +2 -0
  153. package/docs/AdminAgentsApi.md +83 -8
  154. package/docs/AdminAgentsCreateRequest.md +2 -0
  155. package/docs/AdminAgentsReportUsageRequest.md +22 -0
  156. package/docs/AdminAgentsReportUsageResponse.md +20 -0
  157. package/docs/AdminAgentsReportUsageResponseData.md +22 -0
  158. package/docs/AdminAgentsReportUsageResponseDataRecorded.md +22 -0
  159. package/docs/AdminAuditLogsRetentionResponseData.md +9 -3
  160. package/docs/AdminIdentitiesLinkRequest.md +3 -1
  161. package/docs/AdminIdentitiesListResponseDataBindingsItem.md +2 -0
  162. package/docs/AdminMcpApi.md +2 -1
  163. package/docs/AdminOAuthClientsApi.md +2 -2
  164. package/docs/AdminSandboxApi.md +3 -1
  165. package/docs/AdminSandboxSpawnResponse.md +1 -1
  166. package/docs/AdminSandboxSpawnResponseData.md +32 -0
  167. package/docs/AdminSandboxSpawnResponseData1.md +20 -0
  168. package/docs/AdminUsersApi.md +8 -8
  169. package/docs/AdminWebhooksApi.md +7 -5
  170. package/docs/AdminWebhooksDeliveryReplayResponse.md +1 -1
  171. package/docs/AdminWebhooksDeliveryReplayResponseData.md +28 -0
  172. package/docs/AdminWebhooksTestResponse.md +2 -0
  173. package/docs/AgentsApi.md +64 -2
  174. package/docs/AttestResponseIdentity.md +1 -1
  175. package/docs/AuditLogEntry.md +1 -1
  176. package/docs/AuthenticationSettings.md +2 -6
  177. package/docs/AuthenticationSettingsPasswordPolicy.md +9 -0
  178. package/docs/AuthenticationSettingsPasswordRotationPolicy.md +1 -4
  179. package/docs/AuthorizationApi.md +1 -1
  180. package/docs/CreateClientResponseData.md +3 -1
  181. package/docs/EnrollAuthenticator201Response.md +1 -1
  182. package/docs/GetApprovalStatusResponseApprovedBy.md +1 -1
  183. package/docs/JitApi.md +3 -3
  184. package/docs/ListPermissionsResponsePermissionsItem.md +1 -1
  185. package/docs/OAuthApi.md +63 -2
  186. package/docs/OAuthClient.md +2 -0
  187. package/docs/OAuthClientSecretIssued.md +1 -1
  188. package/docs/OIDCApi.md +2 -2
  189. package/docs/PushEnrollmentStarted.md +1 -1
  190. package/docs/PutAdminAgentsUpdateRequest.md +2 -0
  191. package/docs/ReportAgentUsageResponse.md +22 -0
  192. package/docs/RequestMagicLinkRequest.md +26 -0
  193. package/docs/RequestMagicLinkResponse.md +20 -0
  194. package/docs/ScimSettingsInbound.md +0 -2
  195. package/docs/ScimSettingsInboundProtectedAttributes.md +3 -5
  196. package/docs/ScimSettingsOutbound.md +2 -4
  197. package/docs/TokenVaultApi.md +2 -2
  198. package/docs/UserinfoResponse.md +2 -0
  199. package/models/abac-attribute-definition.ts +1 -1
  200. package/models/abac-resource-attribute.ts +1 -1
  201. package/models/admin-agents-agents-rotate-key-request.ts +36 -0
  202. package/models/admin-agents-agents-rotate-key-response.ts +6 -0
  203. package/models/admin-agents-create-request.ts +6 -0
  204. package/models/admin-agents-report-usage-request.ts +36 -0
  205. package/models/admin-agents-report-usage-response-data-recorded.ts +36 -0
  206. package/models/admin-agents-report-usage-response-data.ts +39 -0
  207. package/models/admin-agents-report-usage-response.ts +33 -0
  208. package/models/admin-audit-logs-retention-response-data.ts +21 -3
  209. package/models/admin-identities-link-request.ts +8 -1
  210. package/models/admin-identities-list-response-data-bindings-item.ts +7 -0
  211. package/models/admin-sandbox-spawn-response-data.ts +29 -0
  212. package/models/admin-sandbox-spawn-response-data1.ts +30 -0
  213. package/models/admin-sandbox-spawn-response.ts +3 -3
  214. package/models/admin-webhooks-delivery-replay-response-data.ts +54 -0
  215. package/models/admin-webhooks-delivery-replay-response.ts +3 -3
  216. package/models/admin-webhooks-test-response.ts +6 -0
  217. package/models/attest-response-identity.ts +1 -1
  218. package/models/audit-log-entry.ts +1 -1
  219. package/models/authentication-settings-password-policy.ts +25 -1
  220. package/models/authentication-settings-password-rotation-policy.ts +1 -13
  221. package/models/authentication-settings.ts +13 -15
  222. package/models/get-approval-status-response-approved-by.ts +2 -2
  223. package/models/index.ts +11 -0
  224. package/models/list-permissions-response-permissions-item.ts +1 -1
  225. package/models/oauth-client-secret-issued.ts +1 -1
  226. package/models/oauth-client.ts +6 -0
  227. package/models/push-enrollment-started.ts +1 -1
  228. package/models/put-admin-agents-update-request.ts +6 -0
  229. package/models/report-agent-usage-response.ts +39 -0
  230. package/models/request-magic-link-request.ts +48 -0
  231. package/models/request-magic-link-response.ts +39 -0
  232. package/models/scim-settings-inbound-protected-attributes.ts +2 -10
  233. package/models/scim-settings-inbound.ts +0 -6
  234. package/models/scim-settings-outbound.ts +2 -8
  235. package/models/set-user-attribute-response-data.ts +1 -1
  236. package/models/userinfo-response.ts +6 -0
  237. package/package.json +1 -1
@@ -0,0 +1,33 @@
1
+ /**
2
+ * LumoAuth API
3
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: sdk@lumoauth.dev
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AdminAgentsReportUsageResponseDataRecorded } from './admin-agents-report-usage-response-data-recorded';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ReportAgentUsageResponse
17
+ */
18
+ export interface ReportAgentUsageResponse {
19
+ /**
20
+ *
21
+ * @type {AdminAgentsReportUsageResponseDataRecorded}
22
+ * @memberof ReportAgentUsageResponse
23
+ */
24
+ 'recorded'?: AdminAgentsReportUsageResponseDataRecorded;
25
+ /**
26
+ *
27
+ * @type {{ [key: string]: any; }}
28
+ * @memberof ReportAgentUsageResponse
29
+ */
30
+ 'budget'?: {
31
+ [key: string]: any;
32
+ };
33
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LumoAuth API
5
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: sdk@lumoauth.dev
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,42 @@
1
+ /**
2
+ * LumoAuth API
3
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: sdk@lumoauth.dev
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RequestMagicLinkRequest
16
+ */
17
+ export interface RequestMagicLinkRequest {
18
+ /**
19
+ * The address to mail the sign-in link to.
20
+ * @type {string}
21
+ * @memberof RequestMagicLinkRequest
22
+ */
23
+ 'email': string;
24
+ /**
25
+ * Client ID of an active application of the organization.
26
+ * @type {string}
27
+ * @memberof RequestMagicLinkRequest
28
+ */
29
+ 'client_id': string;
30
+ /**
31
+ * Page of the application that the person goes to after signing in. An absolute https URL (http only on localhost) whose origin is one of the application\'s allowed origins or the origin of one of its redirect URIs. Without it the person goes to the organization\'s default page.
32
+ * @type {string}
33
+ * @memberof RequestMagicLinkRequest
34
+ */
35
+ 'return_to'?: string;
36
+ /**
37
+ * Token from the CAPTCHA widget. Required when the organization protects sign-in link requests with a CAPTCHA.
38
+ * @type {string}
39
+ * @memberof RequestMagicLinkRequest
40
+ */
41
+ 'captcha_token'?: string;
42
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LumoAuth API
5
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: sdk@lumoauth.dev
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,31 @@
1
+ /**
2
+ * LumoAuth API
3
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: sdk@lumoauth.dev
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RequestMagicLinkResponse
16
+ */
17
+ export interface RequestMagicLinkResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RequestMagicLinkResponse
22
+ */
23
+ 'status': RequestMagicLinkResponseStatus;
24
+ }
25
+ /**
26
+ * @export
27
+ * @enum {string}
28
+ */
29
+ export declare enum RequestMagicLinkResponseStatus {
30
+ SENT = "sent"
31
+ }
@@ -0,0 +1,21 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LumoAuth API
5
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: sdk@lumoauth.dev
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ * @enum {string}
17
+ */
18
+ export var RequestMagicLinkResponseStatus;
19
+ (function (RequestMagicLinkResponseStatus) {
20
+ RequestMagicLinkResponseStatus["SENT"] = "sent";
21
+ })(RequestMagicLinkResponseStatus || (RequestMagicLinkResponseStatus = {}));
@@ -10,12 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Attribute name => true when SCIM may not change it.
13
+ * Attribute name => true when SCIM may not change it. role_membership stops every /Groups request that would add or remove a member of a role.
14
14
  * @export
15
15
  * @interface ScimSettingsInboundProtectedAttributes
16
16
  */
17
17
  export interface ScimSettingsInboundProtectedAttributes {
18
- [key: string]: boolean | any;
19
18
  /**
20
19
  *
21
20
  * @type {boolean}
@@ -39,11 +38,5 @@ export interface ScimSettingsInboundProtectedAttributes {
39
38
  * @type {boolean}
40
39
  * @memberof ScimSettingsInboundProtectedAttributes
41
40
  */
42
- 'roles'?: boolean;
43
- /**
44
- *
45
- * @type {boolean}
46
- * @memberof ScimSettingsInboundProtectedAttributes
47
- */
48
- 'permissions'?: boolean;
41
+ 'role_membership'?: boolean;
49
42
  }
@@ -77,14 +77,6 @@ export interface ScimSettingsInbound {
77
77
  * @memberof ScimSettingsInbound
78
78
  */
79
79
  'protected_attributes'?: ScimSettingsInboundProtectedAttributes;
80
- /**
81
- * SCIM attribute => user field.
82
- * @type {{ [key: string]: string; }}
83
- * @memberof ScimSettingsInbound
84
- */
85
- 'attribute_mapping'?: {
86
- [key: string]: string;
87
- };
88
80
  /**
89
81
  *
90
82
  * @type {boolean}
@@ -77,13 +77,13 @@ export interface ScimSettingsOutbound {
77
77
  */
78
78
  'oauth2_scope'?: string | null;
79
79
  /**
80
- * Optional PEM CA certificate used for TLS verification.
80
+ * Optional PEM CA certificate used for TLS verification. Send null or an empty string to remove it. Changing it requires re-entering the stored secrets.
81
81
  * @type {string}
82
82
  * @memberof ScimSettingsOutbound
83
83
  */
84
84
  'tls_certificate'?: string | null;
85
85
  /**
86
- *
86
+ * Always true. The endpoint certificate is always verified; false is rejected with 400.
87
87
  * @type {boolean}
88
88
  * @memberof ScimSettingsOutbound
89
89
  */
@@ -130,14 +130,6 @@ export interface ScimSettingsOutbound {
130
130
  * @memberof ScimSettingsOutbound
131
131
  */
132
132
  'batch_sync_interval'?: ScimSettingsOutboundBatchSyncInterval;
133
- /**
134
- * User field => SCIM attribute.
135
- * @type {{ [key: string]: string; }}
136
- * @memberof ScimSettingsOutbound
137
- */
138
- 'attribute_mapping'?: {
139
- [key: string]: string;
140
- };
141
133
  /**
142
134
  *
143
135
  * @type {string}
@@ -32,5 +32,5 @@ export interface SetUserAttributeResponseData {
32
32
  * @type {any}
33
33
  * @memberof SetUserAttributeResponseData
34
34
  */
35
- 'value'?: any | null;
35
+ 'value'?: any;
36
36
  }
@@ -173,6 +173,14 @@ export interface UserinfoResponse {
173
173
  * @memberof UserinfoResponse
174
174
  */
175
175
  'capabilities'?: Array<string> | null;
176
+ /**
177
+ * Agents only. The budget limits that are set (max_api_calls_per_hour, max_api_calls_per_day, max_tokens_per_hour, max_tokens_per_day, max_cost_per_day_usd, max_cost_per_month_usd, hard_limit; unlimited ones are left out) and any other policy keys, the usage in the current UTC windows (api_calls_this_hour, api_calls_today, tokens_used_this_hour, tokens_used_today, cost_today_usd, cost_this_month_usd), and exhausted: true when a limit is reached and the next metered call would get 429.
178
+ * @type {{ [key: string]: any; }}
179
+ * @memberof UserinfoResponse
180
+ */
181
+ 'budget_policy'?: {
182
+ [key: string]: any;
183
+ };
176
184
  /**
177
185
  * Clients only.
178
186
  * @type {string}
@@ -64,7 +64,7 @@ export interface AbacAttributeDefinition {
64
64
  * @type {any}
65
65
  * @memberof AbacAttributeDefinition
66
66
  */
67
- 'defaultValue'?: any | null;
67
+ 'defaultValue'?: any;
68
68
  /**
69
69
  *
70
70
  * @type {boolean}
@@ -50,7 +50,7 @@ export interface AbacResourceAttribute {
50
50
  * @type {any}
51
51
  * @memberof AbacResourceAttribute
52
52
  */
53
- 'value'?: any | null;
53
+ 'value'?: any;
54
54
  /**
55
55
  *
56
56
  * @type {string}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * LumoAuth API
3
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: sdk@lumoauth.dev
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AdminAgentsAgentsRotateKeyRequest
16
+ */
17
+ export interface AdminAgentsAgentsRotateKeyRequest {
18
+ /**
19
+ * Days until the new key expires; null for a key that never expires.
20
+ * @type {number}
21
+ * @memberof AdminAgentsAgentsRotateKeyRequest
22
+ */
23
+ 'apiKeyExpiresInDays'?: number | null;
24
+ /**
25
+ * Exact expiry of the new key (ISO 8601, in the future); null for never. Ignored when apiKeyExpiresInDays is sent.
26
+ * @type {string}
27
+ * @memberof AdminAgentsAgentsRotateKeyRequest
28
+ */
29
+ 'apiKeyExpiresAt'?: string | null;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LumoAuth API
6
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: sdk@lumoauth.dev
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -27,4 +27,10 @@ export interface AdminAgentsAgentsRotateKeyResponse {
27
27
  * @memberof AdminAgentsAgentsRotateKeyResponse
28
28
  */
29
29
  'api_key'?: string;
30
+ /**
31
+ * When the new key expires; null = never.
32
+ * @type {string}
33
+ * @memberof AdminAgentsAgentsRotateKeyResponse
34
+ */
35
+ 'api_key_expires_at'?: string | null;
30
36
  }
@@ -33,4 +33,12 @@ export interface AdminAgentsCreateRequest {
33
33
  * @memberof AdminAgentsCreateRequest
34
34
  */
35
35
  'capabilities'?: Array<string>;
36
+ /**
37
+ * The agent budget. Keys: max_api_calls_per_hour, max_api_calls_per_day, max_tokens_per_hour, max_tokens_per_day (whole numbers), max_cost_per_day_usd, max_cost_per_month_usd, hard_limit (USD), max_steps, timeout_seconds (whole numbers, read by the agent from UserInfo), and the gateway-only max_cost_usd, monthly_usd, max_budget (USD). Each value must be greater than zero; an unknown key or an invalid value is refused with 400. Leave it out for an agent without a budget.
38
+ * @type {{ [key: string]: any; }}
39
+ * @memberof AdminAgentsCreateRequest
40
+ */
41
+ 'budgetPolicy'?: {
42
+ [key: string]: any;
43
+ } | null;
36
44
  }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * LumoAuth API
3
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: sdk@lumoauth.dev
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AdminAgentsReportUsageRequest
16
+ */
17
+ export interface AdminAgentsReportUsageRequest {
18
+ /**
19
+ * Model tokens used since the last report (input and output together).
20
+ * @type {number}
21
+ * @memberof AdminAgentsReportUsageRequest
22
+ */
23
+ 'tokens'?: number;
24
+ /**
25
+ * Cost in USD since the last report.
26
+ * @type {number}
27
+ * @memberof AdminAgentsReportUsageRequest
28
+ */
29
+ 'cost_usd'?: number;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LumoAuth API
6
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: sdk@lumoauth.dev
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * LumoAuth API
3
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: sdk@lumoauth.dev
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AdminAgentsReportUsageResponseDataRecorded
16
+ */
17
+ export interface AdminAgentsReportUsageResponseDataRecorded {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof AdminAgentsReportUsageResponseDataRecorded
22
+ */
23
+ 'tokens'?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof AdminAgentsReportUsageResponseDataRecorded
28
+ */
29
+ 'cost_usd'?: number;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LumoAuth API
6
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: sdk@lumoauth.dev
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
1
+ /**
2
+ * LumoAuth API
3
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: sdk@lumoauth.dev
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AdminAgentsReportUsageResponseDataRecorded } from './admin-agents-report-usage-response-data-recorded';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AdminAgentsReportUsageResponseData
17
+ */
18
+ export interface AdminAgentsReportUsageResponseData {
19
+ /**
20
+ *
21
+ * @type {AdminAgentsReportUsageResponseDataRecorded}
22
+ * @memberof AdminAgentsReportUsageResponseData
23
+ */
24
+ 'recorded'?: AdminAgentsReportUsageResponseDataRecorded;
25
+ /**
26
+ * Same shape as budget_policy in UserInfo: limits, usage in the current windows, exhausted.
27
+ * @type {{ [key: string]: any; }}
28
+ * @memberof AdminAgentsReportUsageResponseData
29
+ */
30
+ 'budget'?: {
31
+ [key: string]: any;
32
+ };
33
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LumoAuth API
6
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: sdk@lumoauth.dev
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * LumoAuth API
3
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: sdk@lumoauth.dev
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AdminAgentsReportUsageResponseData } from './admin-agents-report-usage-response-data';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AdminAgentsReportUsageResponse
17
+ */
18
+ export interface AdminAgentsReportUsageResponse {
19
+ /**
20
+ *
21
+ * @type {AdminAgentsReportUsageResponseData}
22
+ * @memberof AdminAgentsReportUsageResponse
23
+ */
24
+ 'data'?: AdminAgentsReportUsageResponseData;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LumoAuth API
6
+ * LumoAuth REST API — authentication, authorization, agent registry, MCP server authorization, and tenant administration. Multi-tenant: most paths are scoped under `/orgs/{orgId}/api/v1/...`.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: sdk@lumoauth.dev
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -16,21 +16,39 @@
16
16
  */
17
17
  export interface AdminAuditLogsRetentionResponseData {
18
18
  /**
19
- * Effective retention, capped by the plan limit
19
+ * The organization\'s own period, between minRetentionDays and maxRetentionDays. It applies while data retention is on and autoDelete is not false.
20
20
  * @type {number}
21
21
  * @memberof AdminAuditLogsRetentionResponseData
22
22
  */
23
23
  'retentionDays'?: number;
24
24
  /**
25
- *
25
+ * false switches the organization\'s own period off; the plan\'s period still applies
26
26
  * @type {boolean}
27
27
  * @memberof AdminAuditLogsRetentionResponseData
28
28
  */
29
29
  'autoDelete'?: boolean;
30
30
  /**
31
- * Plan cap; null when unlimited or billing enforcement is off
31
+ * The plan\'s period: older entries are not returned and are deleted. null when the plan has no limit.
32
32
  * @type {number}
33
33
  * @memberof AdminAuditLogsRetentionResponseData
34
34
  */
35
35
  'planLimitDays'?: number | null;
36
+ /**
37
+ * How long entries are kept now; null when nothing is deleted
38
+ * @type {number}
39
+ * @memberof AdminAuditLogsRetentionResponseData
40
+ */
41
+ 'effectiveRetentionDays'?: number | null;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof AdminAuditLogsRetentionResponseData
46
+ */
47
+ 'minRetentionDays'?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof AdminAuditLogsRetentionResponseData
52
+ */
53
+ 'maxRetentionDays'?: number;
36
54
  }
@@ -22,11 +22,17 @@ export interface AdminIdentitiesLinkRequest {
22
22
  */
23
23
  'type': AdminIdentitiesLinkRequestType;
24
24
  /**
25
- * SAML IdP config id (type=saml)
25
+ * SAML IdP config id (type=saml) or OpenID Connect connection id (type=oidc)
26
26
  * @type {number}
27
27
  * @memberof AdminIdentitiesLinkRequest
28
28
  */
29
29
  'idp_id'?: number;
30
+ /**
31
+ * Subject the OpenID Connect provider issues for this user (type=oidc)
32
+ * @type {string}
33
+ * @memberof AdminIdentitiesLinkRequest
34
+ */
35
+ 'subject'?: string;
30
36
  /**
31
37
  * NameID the IdP asserts for this user (type=saml)
32
38
  * @type {string}
@@ -58,5 +64,6 @@ export interface AdminIdentitiesLinkRequest {
58
64
  */
59
65
  export declare enum AdminIdentitiesLinkRequestType {
60
66
  SAML = "saml",
67
+ OIDC = "oidc",
61
68
  LDAP = "ldap"
62
69
  }
@@ -21,5 +21,6 @@ exports.AdminIdentitiesLinkRequestType = void 0;
21
21
  var AdminIdentitiesLinkRequestType;
22
22
  (function (AdminIdentitiesLinkRequestType) {
23
23
  AdminIdentitiesLinkRequestType["SAML"] = "saml";
24
+ AdminIdentitiesLinkRequestType["OIDC"] = "oidc";
24
25
  AdminIdentitiesLinkRequestType["LDAP"] = "ldap";
25
26
  })(AdminIdentitiesLinkRequestType || (exports.AdminIdentitiesLinkRequestType = AdminIdentitiesLinkRequestType = {}));
@@ -33,6 +33,12 @@ export interface AdminIdentitiesListResponseDataBindingsItem {
33
33
  * @memberof AdminIdentitiesListResponseDataBindingsItem
34
34
  */
35
35
  'name_id'?: string | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof AdminIdentitiesListResponseDataBindingsItem
40
+ */
41
+ 'subject'?: string | null;
36
42
  /**
37
43
  *
38
44
  * @type {boolean}
@@ -64,6 +70,7 @@ export interface AdminIdentitiesListResponseDataBindingsItem {
64
70
  */
65
71
  export declare enum AdminIdentitiesListResponseDataBindingsItemType {
66
72
  SAML = "saml",
73
+ OIDC = "oidc",
67
74
  LDAP = "ldap",
68
75
  SOCIAL = "social",
69
76
  SOCIAL_ACCOUNT = "social_account"
@@ -21,6 +21,7 @@ exports.AdminIdentitiesListResponseDataBindingsItemType = void 0;
21
21
  var AdminIdentitiesListResponseDataBindingsItemType;
22
22
  (function (AdminIdentitiesListResponseDataBindingsItemType) {
23
23
  AdminIdentitiesListResponseDataBindingsItemType["SAML"] = "saml";
24
+ AdminIdentitiesListResponseDataBindingsItemType["OIDC"] = "oidc";
24
25
  AdminIdentitiesListResponseDataBindingsItemType["LDAP"] = "ldap";
25
26
  AdminIdentitiesListResponseDataBindingsItemType["SOCIAL"] = "social";
26
27
  AdminIdentitiesListResponseDataBindingsItemType["SOCIAL_ACCOUNT"] = "social_account";