@lumoauth/api-client 1.2.0 → 1.4.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 (120) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +17 -4
  3. package/api/admin-agents-api.ts +130 -0
  4. package/api/admin-email-api.ts +67 -15
  5. package/api/admin-oauth-clients-api.ts +370 -0
  6. package/api/agents-api.ts +118 -0
  7. package/api/oauth-api.ts +0 -186
  8. package/dist/api/admin-agents-api.d.ts +73 -0
  9. package/dist/api/admin-agents-api.js +82 -0
  10. package/dist/api/admin-email-api.d.ts +41 -9
  11. package/dist/api/admin-email-api.js +34 -14
  12. package/dist/api/admin-oauth-clients-api.d.ts +210 -0
  13. package/dist/api/admin-oauth-clients-api.js +236 -0
  14. package/dist/api/agents-api.d.ts +65 -0
  15. package/dist/api/agents-api.js +77 -0
  16. package/dist/api/oauth-api.d.ts +0 -110
  17. package/dist/api/oauth-api.js +0 -132
  18. package/dist/esm/api/admin-agents-api.d.ts +73 -0
  19. package/dist/esm/api/admin-agents-api.js +82 -0
  20. package/dist/esm/api/admin-email-api.d.ts +41 -9
  21. package/dist/esm/api/admin-email-api.js +34 -14
  22. package/dist/esm/api/admin-oauth-clients-api.d.ts +210 -0
  23. package/dist/esm/api/admin-oauth-clients-api.js +236 -0
  24. package/dist/esm/api/agents-api.d.ts +65 -0
  25. package/dist/esm/api/agents-api.js +77 -0
  26. package/dist/esm/api/oauth-api.d.ts +0 -110
  27. package/dist/esm/api/oauth-api.js +0 -132
  28. package/dist/esm/models/abac-attribute-definition.d.ts +1 -1
  29. package/dist/esm/models/abac-resource-attribute.d.ts +1 -1
  30. package/dist/esm/models/admin-agents-report-usage-request.d.ts +30 -0
  31. package/dist/esm/models/admin-agents-report-usage-request.js +14 -0
  32. package/dist/esm/models/admin-agents-report-usage-response-data-recorded.d.ts +30 -0
  33. package/dist/esm/models/admin-agents-report-usage-response-data-recorded.js +14 -0
  34. package/dist/esm/models/admin-agents-report-usage-response-data.d.ts +33 -0
  35. package/dist/esm/models/admin-agents-report-usage-response-data.js +14 -0
  36. package/dist/esm/models/admin-agents-report-usage-response.d.ts +25 -0
  37. package/dist/esm/models/admin-agents-report-usage-response.js +14 -0
  38. package/dist/esm/models/admin-clients-get-branding-response-data.d.ts +34 -0
  39. package/dist/esm/models/admin-clients-get-branding-response-data.js +14 -0
  40. package/dist/esm/models/admin-clients-get-branding-response.d.ts +25 -0
  41. package/dist/esm/models/admin-clients-get-branding-response.js +14 -0
  42. package/dist/esm/models/authorization-server-metadata.d.ts +0 -6
  43. package/dist/esm/models/index.d.ts +10 -0
  44. package/dist/esm/models/index.js +10 -0
  45. package/dist/esm/models/open-id-configuration.d.ts +6 -6
  46. package/dist/esm/models/patch-admin-clients-update-branding-response.d.ts +32 -0
  47. package/dist/esm/models/patch-admin-clients-update-branding-response.js +14 -0
  48. package/dist/esm/models/put-admin-clients-update-branding-request.d.ts +34 -0
  49. package/dist/esm/models/put-admin-clients-update-branding-request.js +14 -0
  50. package/dist/esm/models/put-admin-clients-update-branding-response.d.ts +32 -0
  51. package/dist/esm/models/put-admin-clients-update-branding-response.js +14 -0
  52. package/dist/esm/models/report-agent-usage-response.d.ts +33 -0
  53. package/dist/esm/models/report-agent-usage-response.js +14 -0
  54. package/dist/esm/models/set-user-attribute-response-data.d.ts +1 -1
  55. package/dist/esm/models/userinfo-response.d.ts +8 -0
  56. package/dist/models/abac-attribute-definition.d.ts +1 -1
  57. package/dist/models/abac-resource-attribute.d.ts +1 -1
  58. package/dist/models/admin-agents-report-usage-request.d.ts +30 -0
  59. package/dist/models/admin-agents-report-usage-request.js +15 -0
  60. package/dist/models/admin-agents-report-usage-response-data-recorded.d.ts +30 -0
  61. package/dist/models/admin-agents-report-usage-response-data-recorded.js +15 -0
  62. package/dist/models/admin-agents-report-usage-response-data.d.ts +33 -0
  63. package/dist/models/admin-agents-report-usage-response-data.js +15 -0
  64. package/dist/models/admin-agents-report-usage-response.d.ts +25 -0
  65. package/dist/models/admin-agents-report-usage-response.js +15 -0
  66. package/dist/models/admin-clients-get-branding-response-data.d.ts +34 -0
  67. package/dist/models/admin-clients-get-branding-response-data.js +15 -0
  68. package/dist/models/admin-clients-get-branding-response.d.ts +25 -0
  69. package/dist/models/admin-clients-get-branding-response.js +15 -0
  70. package/dist/models/authorization-server-metadata.d.ts +0 -6
  71. package/dist/models/index.d.ts +10 -0
  72. package/dist/models/index.js +10 -0
  73. package/dist/models/open-id-configuration.d.ts +6 -6
  74. package/dist/models/patch-admin-clients-update-branding-response.d.ts +32 -0
  75. package/dist/models/patch-admin-clients-update-branding-response.js +15 -0
  76. package/dist/models/put-admin-clients-update-branding-request.d.ts +34 -0
  77. package/dist/models/put-admin-clients-update-branding-request.js +15 -0
  78. package/dist/models/put-admin-clients-update-branding-response.d.ts +32 -0
  79. package/dist/models/put-admin-clients-update-branding-response.js +15 -0
  80. package/dist/models/report-agent-usage-response.d.ts +33 -0
  81. package/dist/models/report-agent-usage-response.js +15 -0
  82. package/dist/models/set-user-attribute-response-data.d.ts +1 -1
  83. package/dist/models/userinfo-response.d.ts +8 -0
  84. package/docs/AdminAgentsApi.md +63 -0
  85. package/docs/AdminAgentsReportUsageRequest.md +22 -0
  86. package/docs/AdminAgentsReportUsageResponse.md +20 -0
  87. package/docs/AdminAgentsReportUsageResponseData.md +22 -0
  88. package/docs/AdminAgentsReportUsageResponseDataRecorded.md +22 -0
  89. package/docs/AdminClientsGetBrandingResponse.md +20 -0
  90. package/docs/AdminClientsGetBrandingResponseData.md +22 -0
  91. package/docs/AdminEmailApi.md +15 -2
  92. package/docs/AdminOAuthClientsApi.md +174 -0
  93. package/docs/AgentsApi.md +59 -0
  94. package/docs/AuthorizationServerMetadata.md +0 -2
  95. package/docs/OAuthApi.md +0 -105
  96. package/docs/OIDCApi.md +2 -2
  97. package/docs/OpenIdConfiguration.md +2 -2
  98. package/docs/PatchAdminClientsUpdateBrandingResponse.md +22 -0
  99. package/docs/PutAdminClientsUpdateBrandingRequest.md +22 -0
  100. package/docs/PutAdminClientsUpdateBrandingResponse.md +22 -0
  101. package/docs/ReportAgentUsageResponse.md +22 -0
  102. package/docs/UserinfoResponse.md +2 -0
  103. package/models/abac-attribute-definition.ts +1 -1
  104. package/models/abac-resource-attribute.ts +1 -1
  105. package/models/admin-agents-report-usage-request.ts +36 -0
  106. package/models/admin-agents-report-usage-response-data-recorded.ts +36 -0
  107. package/models/admin-agents-report-usage-response-data.ts +39 -0
  108. package/models/admin-agents-report-usage-response.ts +33 -0
  109. package/models/admin-clients-get-branding-response-data.ts +36 -0
  110. package/models/admin-clients-get-branding-response.ts +33 -0
  111. package/models/authorization-server-metadata.ts +0 -6
  112. package/models/index.ts +10 -0
  113. package/models/open-id-configuration.ts +6 -6
  114. package/models/patch-admin-clients-update-branding-response.ts +36 -0
  115. package/models/put-admin-clients-update-branding-request.ts +36 -0
  116. package/models/put-admin-clients-update-branding-response.ts +36 -0
  117. package/models/report-agent-usage-response.ts +39 -0
  118. package/models/set-user-attribute-response-data.ts +1 -1
  119. package/models/userinfo-response.ts +6 -0
  120. package/package.json +1 -1
@@ -0,0 +1,36 @@
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
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface PutAdminClientsUpdateBrandingRequest
21
+ */
22
+ export interface PutAdminClientsUpdateBrandingRequest {
23
+ /**
24
+ *
25
+ * @type {{ [key: string]: any; }}
26
+ * @memberof PutAdminClientsUpdateBrandingRequest
27
+ */
28
+ 'login'?: { [key: string]: any; };
29
+ /**
30
+ *
31
+ * @type {{ [key: string]: any; }}
32
+ * @memberof PutAdminClientsUpdateBrandingRequest
33
+ */
34
+ 'consent'?: { [key: string]: any; };
35
+ }
36
+
@@ -0,0 +1,36 @@
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
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface PutAdminClientsUpdateBrandingResponse
21
+ */
22
+ export interface PutAdminClientsUpdateBrandingResponse {
23
+ /**
24
+ *
25
+ * @type {{ [key: string]: any; }}
26
+ * @memberof PutAdminClientsUpdateBrandingResponse
27
+ */
28
+ 'data'?: { [key: string]: any; };
29
+ /**
30
+ * Keys whose value was refused by validation and not saved
31
+ * @type {Array<string>}
32
+ * @memberof PutAdminClientsUpdateBrandingResponse
33
+ */
34
+ 'rejected'?: Array<string>;
35
+ }
36
+
@@ -0,0 +1,39 @@
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
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { AdminAgentsReportUsageResponseDataRecorded } from './admin-agents-report-usage-response-data-recorded';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface ReportAgentUsageResponse
24
+ */
25
+ export interface ReportAgentUsageResponse {
26
+ /**
27
+ *
28
+ * @type {AdminAgentsReportUsageResponseDataRecorded}
29
+ * @memberof ReportAgentUsageResponse
30
+ */
31
+ 'recorded'?: AdminAgentsReportUsageResponseDataRecorded;
32
+ /**
33
+ *
34
+ * @type {{ [key: string]: any; }}
35
+ * @memberof ReportAgentUsageResponse
36
+ */
37
+ 'budget'?: { [key: string]: any; };
38
+ }
39
+
@@ -37,6 +37,6 @@ export interface SetUserAttributeResponseData {
37
37
  * @type {any}
38
38
  * @memberof SetUserAttributeResponseData
39
39
  */
40
- 'value'?: any | null;
40
+ 'value'?: any;
41
41
  }
42
42
 
@@ -176,6 +176,12 @@ export interface UserinfoResponse {
176
176
  * @memberof UserinfoResponse
177
177
  */
178
178
  'capabilities'?: Array<string> | null;
179
+ /**
180
+ * 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.
181
+ * @type {{ [key: string]: any; }}
182
+ * @memberof UserinfoResponse
183
+ */
184
+ 'budget_policy'?: { [key: string]: any; };
179
185
  /**
180
186
  * Clients only.
181
187
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumoauth/api-client",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "OpenAPI client for @lumoauth/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {