@lumoauth/api-client 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +12 -5
  3. package/api/admin-agents-api.ts +36 -10
  4. package/api/admin-mcp-api.ts +5 -5
  5. package/api/admin-oauth-clients-api.ts +5 -5
  6. package/api/admin-sandbox-api.ts +5 -5
  7. package/api/admin-users-api.ts +27 -26
  8. package/api/admin-webhooks-api.ts +25 -25
  9. package/api/oauth-api.ts +111 -0
  10. package/dist/api/admin-agents-api.d.ts +21 -4
  11. package/dist/api/admin-agents-api.js +18 -10
  12. package/dist/api/admin-mcp-api.d.ts +5 -5
  13. package/dist/api/admin-mcp-api.js +4 -4
  14. package/dist/api/admin-oauth-clients-api.d.ts +5 -5
  15. package/dist/api/admin-oauth-clients-api.js +4 -4
  16. package/dist/api/admin-sandbox-api.d.ts +5 -5
  17. package/dist/api/admin-sandbox-api.js +4 -4
  18. package/dist/api/admin-users-api.d.ts +27 -26
  19. package/dist/api/admin-users-api.js +21 -20
  20. package/dist/api/admin-webhooks-api.d.ts +25 -25
  21. package/dist/api/admin-webhooks-api.js +20 -20
  22. package/dist/api/oauth-api.d.ts +65 -0
  23. package/dist/api/oauth-api.js +72 -0
  24. package/dist/esm/api/admin-agents-api.d.ts +21 -4
  25. package/dist/esm/api/admin-agents-api.js +18 -10
  26. package/dist/esm/api/admin-mcp-api.d.ts +5 -5
  27. package/dist/esm/api/admin-mcp-api.js +4 -4
  28. package/dist/esm/api/admin-oauth-clients-api.d.ts +5 -5
  29. package/dist/esm/api/admin-oauth-clients-api.js +4 -4
  30. package/dist/esm/api/admin-sandbox-api.d.ts +5 -5
  31. package/dist/esm/api/admin-sandbox-api.js +4 -4
  32. package/dist/esm/api/admin-users-api.d.ts +27 -26
  33. package/dist/esm/api/admin-users-api.js +21 -20
  34. package/dist/esm/api/admin-webhooks-api.d.ts +25 -25
  35. package/dist/esm/api/admin-webhooks-api.js +20 -20
  36. package/dist/esm/api/oauth-api.d.ts +65 -0
  37. package/dist/esm/api/oauth-api.js +73 -1
  38. package/dist/esm/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
  39. package/dist/esm/models/admin-agents-agents-rotate-key-request.js +14 -0
  40. package/dist/esm/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
  41. package/dist/esm/models/admin-agents-create-request.d.ts +8 -0
  42. package/dist/esm/models/admin-audit-logs-retention-response-data.d.ts +21 -3
  43. package/dist/esm/models/admin-identities-link-request.d.ts +8 -1
  44. package/dist/esm/models/admin-identities-link-request.js +1 -0
  45. package/dist/esm/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
  46. package/dist/esm/models/admin-identities-list-response-data-bindings-item.js +1 -0
  47. package/dist/esm/models/admin-sandbox-spawn-response-data.d.ts +18 -0
  48. package/dist/esm/models/admin-sandbox-spawn-response-data.js +14 -0
  49. package/dist/esm/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
  50. package/dist/esm/models/admin-sandbox-spawn-response-data1.js +14 -0
  51. package/dist/esm/models/admin-sandbox-spawn-response.d.ts +3 -3
  52. package/dist/esm/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
  53. package/dist/esm/models/admin-webhooks-delivery-replay-response-data.js +14 -0
  54. package/dist/esm/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
  55. package/dist/esm/models/admin-webhooks-test-response.d.ts +6 -0
  56. package/dist/esm/models/attest-response-identity.d.ts +1 -1
  57. package/dist/esm/models/audit-log-entry.d.ts +1 -1
  58. package/dist/esm/models/authentication-settings-password-policy.d.ts +25 -1
  59. package/dist/esm/models/authentication-settings-password-rotation-policy.d.ts +1 -13
  60. package/dist/esm/models/authentication-settings.d.ts +13 -15
  61. package/dist/esm/models/authentication-settings.js +11 -0
  62. package/dist/esm/models/get-approval-status-response-approved-by.d.ts +2 -2
  63. package/dist/esm/models/index.d.ts +6 -0
  64. package/dist/esm/models/index.js +6 -0
  65. package/dist/esm/models/list-permissions-response-permissions-item.d.ts +1 -1
  66. package/dist/esm/models/oauth-client-secret-issued.d.ts +1 -1
  67. package/dist/esm/models/oauth-client.d.ts +6 -0
  68. package/dist/esm/models/push-enrollment-started.d.ts +1 -1
  69. package/dist/esm/models/put-admin-agents-update-request.d.ts +8 -0
  70. package/dist/esm/models/request-magic-link-request.d.ts +42 -0
  71. package/dist/esm/models/request-magic-link-request.js +14 -0
  72. package/dist/esm/models/request-magic-link-response.d.ts +31 -0
  73. package/dist/esm/models/request-magic-link-response.js +21 -0
  74. package/dist/esm/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
  75. package/dist/esm/models/scim-settings-inbound.d.ts +0 -8
  76. package/dist/esm/models/scim-settings-outbound.d.ts +2 -10
  77. package/dist/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
  78. package/dist/models/admin-agents-agents-rotate-key-request.js +15 -0
  79. package/dist/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
  80. package/dist/models/admin-agents-create-request.d.ts +8 -0
  81. package/dist/models/admin-audit-logs-retention-response-data.d.ts +21 -3
  82. package/dist/models/admin-identities-link-request.d.ts +8 -1
  83. package/dist/models/admin-identities-link-request.js +1 -0
  84. package/dist/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
  85. package/dist/models/admin-identities-list-response-data-bindings-item.js +1 -0
  86. package/dist/models/admin-sandbox-spawn-response-data.d.ts +18 -0
  87. package/dist/models/admin-sandbox-spawn-response-data.js +15 -0
  88. package/dist/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
  89. package/dist/models/admin-sandbox-spawn-response-data1.js +15 -0
  90. package/dist/models/admin-sandbox-spawn-response.d.ts +3 -3
  91. package/dist/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
  92. package/dist/models/admin-webhooks-delivery-replay-response-data.js +15 -0
  93. package/dist/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
  94. package/dist/models/admin-webhooks-test-response.d.ts +6 -0
  95. package/dist/models/attest-response-identity.d.ts +1 -1
  96. package/dist/models/audit-log-entry.d.ts +1 -1
  97. package/dist/models/authentication-settings-password-policy.d.ts +25 -1
  98. package/dist/models/authentication-settings-password-rotation-policy.d.ts +1 -13
  99. package/dist/models/authentication-settings.d.ts +13 -15
  100. package/dist/models/authentication-settings.js +12 -1
  101. package/dist/models/get-approval-status-response-approved-by.d.ts +2 -2
  102. package/dist/models/index.d.ts +6 -0
  103. package/dist/models/index.js +6 -0
  104. package/dist/models/list-permissions-response-permissions-item.d.ts +1 -1
  105. package/dist/models/oauth-client-secret-issued.d.ts +1 -1
  106. package/dist/models/oauth-client.d.ts +6 -0
  107. package/dist/models/push-enrollment-started.d.ts +1 -1
  108. package/dist/models/put-admin-agents-update-request.d.ts +8 -0
  109. package/dist/models/request-magic-link-request.d.ts +42 -0
  110. package/dist/models/request-magic-link-request.js +15 -0
  111. package/dist/models/request-magic-link-response.d.ts +31 -0
  112. package/dist/models/request-magic-link-response.js +24 -0
  113. package/dist/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
  114. package/dist/models/scim-settings-inbound.d.ts +0 -8
  115. package/dist/models/scim-settings-outbound.d.ts +2 -10
  116. package/docs/AAuthApi.md +1 -1
  117. package/docs/AdminAbacApi.md +1 -1
  118. package/docs/AdminAgentsAgentsRotateKeyRequest.md +22 -0
  119. package/docs/AdminAgentsAgentsRotateKeyResponse.md +2 -0
  120. package/docs/AdminAgentsApi.md +20 -8
  121. package/docs/AdminAgentsCreateRequest.md +2 -0
  122. package/docs/AdminAuditLogsRetentionResponseData.md +9 -3
  123. package/docs/AdminIdentitiesLinkRequest.md +3 -1
  124. package/docs/AdminIdentitiesListResponseDataBindingsItem.md +2 -0
  125. package/docs/AdminMcpApi.md +2 -1
  126. package/docs/AdminOAuthClientsApi.md +2 -2
  127. package/docs/AdminSandboxApi.md +3 -1
  128. package/docs/AdminSandboxSpawnResponse.md +1 -1
  129. package/docs/AdminSandboxSpawnResponseData.md +32 -0
  130. package/docs/AdminSandboxSpawnResponseData1.md +20 -0
  131. package/docs/AdminUsersApi.md +8 -8
  132. package/docs/AdminWebhooksApi.md +7 -5
  133. package/docs/AdminWebhooksDeliveryReplayResponse.md +1 -1
  134. package/docs/AdminWebhooksDeliveryReplayResponseData.md +28 -0
  135. package/docs/AdminWebhooksTestResponse.md +2 -0
  136. package/docs/AgentsApi.md +6 -3
  137. package/docs/AttestResponseIdentity.md +1 -1
  138. package/docs/AuditLogEntry.md +1 -1
  139. package/docs/AuthenticationSettings.md +2 -6
  140. package/docs/AuthenticationSettingsPasswordPolicy.md +9 -0
  141. package/docs/AuthenticationSettingsPasswordRotationPolicy.md +1 -4
  142. package/docs/AuthorizationApi.md +1 -1
  143. package/docs/CreateClientResponseData.md +3 -1
  144. package/docs/EnrollAuthenticator201Response.md +1 -1
  145. package/docs/GetApprovalStatusResponseApprovedBy.md +1 -1
  146. package/docs/JitApi.md +3 -3
  147. package/docs/ListPermissionsResponsePermissionsItem.md +1 -1
  148. package/docs/OAuthApi.md +63 -2
  149. package/docs/OAuthClient.md +2 -0
  150. package/docs/OAuthClientSecretIssued.md +1 -1
  151. package/docs/PushEnrollmentStarted.md +1 -1
  152. package/docs/PutAdminAgentsUpdateRequest.md +2 -0
  153. package/docs/RequestMagicLinkRequest.md +26 -0
  154. package/docs/RequestMagicLinkResponse.md +20 -0
  155. package/docs/ScimSettingsInbound.md +0 -2
  156. package/docs/ScimSettingsInboundProtectedAttributes.md +3 -5
  157. package/docs/ScimSettingsOutbound.md +2 -4
  158. package/docs/TokenVaultApi.md +2 -2
  159. package/models/admin-agents-agents-rotate-key-request.ts +36 -0
  160. package/models/admin-agents-agents-rotate-key-response.ts +6 -0
  161. package/models/admin-agents-create-request.ts +6 -0
  162. package/models/admin-audit-logs-retention-response-data.ts +21 -3
  163. package/models/admin-identities-link-request.ts +8 -1
  164. package/models/admin-identities-list-response-data-bindings-item.ts +7 -0
  165. package/models/admin-sandbox-spawn-response-data.ts +29 -0
  166. package/models/admin-sandbox-spawn-response-data1.ts +30 -0
  167. package/models/admin-sandbox-spawn-response.ts +3 -3
  168. package/models/admin-webhooks-delivery-replay-response-data.ts +54 -0
  169. package/models/admin-webhooks-delivery-replay-response.ts +3 -3
  170. package/models/admin-webhooks-test-response.ts +6 -0
  171. package/models/attest-response-identity.ts +1 -1
  172. package/models/audit-log-entry.ts +1 -1
  173. package/models/authentication-settings-password-policy.ts +25 -1
  174. package/models/authentication-settings-password-rotation-policy.ts +1 -13
  175. package/models/authentication-settings.ts +13 -15
  176. package/models/get-approval-status-response-approved-by.ts +2 -2
  177. package/models/index.ts +6 -0
  178. package/models/list-permissions-response-permissions-item.ts +1 -1
  179. package/models/oauth-client-secret-issued.ts +1 -1
  180. package/models/oauth-client.ts +6 -0
  181. package/models/push-enrollment-started.ts +1 -1
  182. package/models/put-admin-agents-update-request.ts +6 -0
  183. package/models/request-magic-link-request.ts +48 -0
  184. package/models/request-magic-link-response.ts +39 -0
  185. package/models/scim-settings-inbound-protected-attributes.ts +2 -10
  186. package/models/scim-settings-inbound.ts +0 -6
  187. package/models/scim-settings-outbound.ts +2 -8
  188. package/package.json +1 -1
@@ -18,6 +18,8 @@ import type { IntrospectResponse } from '../models';
18
18
  import type { ParResponse } from '../models';
19
19
  import type { RegisterClientResponse } from '../models';
20
20
  import type { RegisteredClientMetadata } from '../models';
21
+ import type { RequestMagicLinkRequest } from '../models';
22
+ import type { RequestMagicLinkResponse } from '../models';
21
23
  import type { SubmitLoginJsonResponse } from '../models';
22
24
  import type { TokenResponse } from '../models';
23
25
  /**
@@ -98,6 +100,15 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
98
100
  * @throws {RequiredError}
99
101
  */
100
102
  registerClient: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
103
+ /**
104
+ * For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
105
+ * @summary Request a sign-in link by email
106
+ * @param {string} orgId
107
+ * @param {RequestMagicLinkRequest} requestMagicLinkRequest
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ requestMagicLink: (orgId: string, requestMagicLinkRequest: RequestMagicLinkRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
101
112
  /**
102
113
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
103
114
  * @summary Token revocation (RFC 7009)
@@ -252,6 +263,15 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
252
263
  * @throws {RequiredError}
253
264
  */
254
265
  registerClient(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisterClientResponse>>;
266
+ /**
267
+ * For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
268
+ * @summary Request a sign-in link by email
269
+ * @param {string} orgId
270
+ * @param {RequestMagicLinkRequest} requestMagicLinkRequest
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ */
274
+ requestMagicLink(orgId: string, requestMagicLinkRequest: RequestMagicLinkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestMagicLinkResponse>>;
255
275
  /**
256
276
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
257
277
  * @summary Token revocation (RFC 7009)
@@ -405,6 +425,14 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
405
425
  * @throws {RequiredError}
406
426
  */
407
427
  registerClient(requestParameters: OAuthApiRegisterClientRequest, options?: RawAxiosRequestConfig): AxiosPromise<RegisterClientResponse>;
428
+ /**
429
+ * For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
430
+ * @summary Request a sign-in link by email
431
+ * @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
432
+ * @param {*} [options] Override http request option.
433
+ * @throws {RequiredError}
434
+ */
435
+ requestMagicLink(requestParameters: OAuthApiRequestMagicLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestMagicLinkResponse>;
408
436
  /**
409
437
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
410
438
  * @summary Token revocation (RFC 7009)
@@ -565,6 +593,15 @@ export interface OAuthApiInterface {
565
593
  * @memberof OAuthApiInterface
566
594
  */
567
595
  registerClient(requestParameters: OAuthApiRegisterClientRequest, options?: RawAxiosRequestConfig): AxiosPromise<RegisterClientResponse>;
596
+ /**
597
+ * For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
598
+ * @summary Request a sign-in link by email
599
+ * @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
600
+ * @param {*} [options] Override http request option.
601
+ * @throws {RequiredError}
602
+ * @memberof OAuthApiInterface
603
+ */
604
+ requestMagicLink(requestParameters: OAuthApiRequestMagicLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestMagicLinkResponse>;
568
605
  /**
569
606
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
570
607
  * @summary Token revocation (RFC 7009)
@@ -770,6 +807,25 @@ export interface OAuthApiRegisterClientRequest {
770
807
  */
771
808
  readonly orgId: string;
772
809
  }
810
+ /**
811
+ * Request parameters for requestMagicLink operation in OAuthApi.
812
+ * @export
813
+ * @interface OAuthApiRequestMagicLinkRequest
814
+ */
815
+ export interface OAuthApiRequestMagicLinkRequest {
816
+ /**
817
+ *
818
+ * @type {string}
819
+ * @memberof OAuthApiRequestMagicLink
820
+ */
821
+ readonly orgId: string;
822
+ /**
823
+ *
824
+ * @type {RequestMagicLinkRequest}
825
+ * @memberof OAuthApiRequestMagicLink
826
+ */
827
+ readonly requestMagicLinkRequest: RequestMagicLinkRequest;
828
+ }
773
829
  /**
774
830
  * Request parameters for revoke operation in OAuthApi.
775
831
  * @export
@@ -993,6 +1049,15 @@ export declare class OAuthApi extends BaseAPI implements OAuthApiInterface {
993
1049
  * @memberof OAuthApi
994
1050
  */
995
1051
  registerClient(requestParameters: OAuthApiRegisterClientRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisterClientResponse, any, {}>>;
1052
+ /**
1053
+ * For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
1054
+ * @summary Request a sign-in link by email
1055
+ * @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
1056
+ * @param {*} [options] Override http request option.
1057
+ * @throws {RequiredError}
1058
+ * @memberof OAuthApi
1059
+ */
1060
+ requestMagicLink(requestParameters: OAuthApiRequestMagicLinkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestMagicLinkResponse, any, {}>>;
996
1061
  /**
997
1062
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
998
1063
  * @summary Token revocation (RFC 7009)
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  import globalAxios from 'axios';
24
24
  // Some imports not used depending on template conditions
25
25
  // @ts-ignore
26
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
26
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
29
  /**
@@ -319,6 +319,40 @@ export const OAuthApiAxiosParamCreator = function (configuration) {
319
319
  options: localVarRequestOptions,
320
320
  };
321
321
  }),
322
+ /**
323
+ * For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
324
+ * @summary Request a sign-in link by email
325
+ * @param {string} orgId
326
+ * @param {RequestMagicLinkRequest} requestMagicLinkRequest
327
+ * @param {*} [options] Override http request option.
328
+ * @throws {RequiredError}
329
+ */
330
+ requestMagicLink: (orgId_1, requestMagicLinkRequest_1, ...args_1) => __awaiter(this, [orgId_1, requestMagicLinkRequest_1, ...args_1], void 0, function* (orgId, requestMagicLinkRequest, options = {}) {
331
+ // verify required parameter 'orgId' is not null or undefined
332
+ assertParamExists('requestMagicLink', 'orgId', orgId);
333
+ // verify required parameter 'requestMagicLinkRequest' is not null or undefined
334
+ assertParamExists('requestMagicLink', 'requestMagicLinkRequest', requestMagicLinkRequest);
335
+ const localVarPath = `/orgs/{orgId}/api/v1/oauth/magic-link`
336
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
337
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
338
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
339
+ let baseOptions;
340
+ if (configuration) {
341
+ baseOptions = configuration.baseOptions;
342
+ }
343
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
344
+ const localVarHeaderParameter = {};
345
+ const localVarQueryParameter = {};
346
+ localVarHeaderParameter['Content-Type'] = 'application/json';
347
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
348
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
349
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
350
+ localVarRequestOptions.data = serializeDataIfNeeded(requestMagicLinkRequest, localVarRequestOptions, configuration);
351
+ return {
352
+ url: toPathString(localVarUrlObj),
353
+ options: localVarRequestOptions,
354
+ };
355
+ }),
322
356
  /**
323
357
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
324
358
  * @summary Token revocation (RFC 7009)
@@ -752,6 +786,23 @@ export const OAuthApiFp = function (configuration) {
752
786
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
753
787
  });
754
788
  },
789
+ /**
790
+ * For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
791
+ * @summary Request a sign-in link by email
792
+ * @param {string} orgId
793
+ * @param {RequestMagicLinkRequest} requestMagicLinkRequest
794
+ * @param {*} [options] Override http request option.
795
+ * @throws {RequiredError}
796
+ */
797
+ requestMagicLink(orgId, requestMagicLinkRequest, options) {
798
+ return __awaiter(this, void 0, void 0, function* () {
799
+ var _a, _b, _c;
800
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.requestMagicLink(orgId, requestMagicLinkRequest, options);
801
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
802
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OAuthApi.requestMagicLink']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
803
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
804
+ });
805
+ },
755
806
  /**
756
807
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
757
808
  * @summary Token revocation (RFC 7009)
@@ -998,6 +1049,16 @@ export const OAuthApiFactory = function (configuration, basePath, axios) {
998
1049
  registerClient(requestParameters, options) {
999
1050
  return localVarFp.registerClient(requestParameters.orgId, options).then((request) => request(axios, basePath));
1000
1051
  },
1052
+ /**
1053
+ * For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
1054
+ * @summary Request a sign-in link by email
1055
+ * @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
1056
+ * @param {*} [options] Override http request option.
1057
+ * @throws {RequiredError}
1058
+ */
1059
+ requestMagicLink(requestParameters, options) {
1060
+ return localVarFp.requestMagicLink(requestParameters.orgId, requestParameters.requestMagicLinkRequest, options).then((request) => request(axios, basePath));
1061
+ },
1001
1062
  /**
1002
1063
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
1003
1064
  * @summary Token revocation (RFC 7009)
@@ -1196,6 +1257,17 @@ export class OAuthApi extends BaseAPI {
1196
1257
  registerClient(requestParameters, options) {
1197
1258
  return OAuthApiFp(this.configuration).registerClient(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
1198
1259
  }
1260
+ /**
1261
+ * For applications that render their own sign-in form. Mails a single-use sign-in link to the address when it belongs to an account of the organization, and gives the same answer when it does not. Signs nobody in and mints no tokens: the person opens the link, confirms on the hosted page, and is then sent to `return_to`, where the application starts its normal authorization flow. A browser request must come from one of the allowed origins of the application named by `client_id`.
1262
+ * @summary Request a sign-in link by email
1263
+ * @param {OAuthApiRequestMagicLinkRequest} requestParameters Request parameters.
1264
+ * @param {*} [options] Override http request option.
1265
+ * @throws {RequiredError}
1266
+ * @memberof OAuthApi
1267
+ */
1268
+ requestMagicLink(requestParameters, options) {
1269
+ return OAuthApiFp(this.configuration).requestMagicLink(requestParameters.orgId, requestParameters.requestMagicLinkRequest, options).then((request) => request(this.axios, this.basePath));
1270
+ }
1199
1271
  /**
1200
1272
  * Revokes an access or refresh token (revoking a refresh token also revokes the access tokens issued with it). Requires client authentication. Always sent with Cache-Control: no-store.
1201
1273
  * @summary Token revocation (RFC 7009)
@@ -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,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 {};
@@ -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
  }
@@ -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
  }
@@ -18,5 +18,6 @@
18
18
  export var AdminIdentitiesLinkRequestType;
19
19
  (function (AdminIdentitiesLinkRequestType) {
20
20
  AdminIdentitiesLinkRequestType["SAML"] = "saml";
21
+ AdminIdentitiesLinkRequestType["OIDC"] = "oidc";
21
22
  AdminIdentitiesLinkRequestType["LDAP"] = "ldap";
22
23
  })(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"
@@ -18,6 +18,7 @@
18
18
  export var AdminIdentitiesListResponseDataBindingsItemType;
19
19
  (function (AdminIdentitiesListResponseDataBindingsItemType) {
20
20
  AdminIdentitiesListResponseDataBindingsItemType["SAML"] = "saml";
21
+ AdminIdentitiesListResponseDataBindingsItemType["OIDC"] = "oidc";
21
22
  AdminIdentitiesListResponseDataBindingsItemType["LDAP"] = "ldap";
22
23
  AdminIdentitiesListResponseDataBindingsItemType["SOCIAL"] = "social";
23
24
  AdminIdentitiesListResponseDataBindingsItemType["SOCIAL_ACCOUNT"] = "social_account";
@@ -0,0 +1,18 @@
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 { AdminSandboxSpawnResponseData1 } from './admin-sandbox-spawn-response-data1';
13
+ import type { SandboxTenant } from './sandbox-tenant';
14
+ /**
15
+ * @type AdminSandboxSpawnResponseData
16
+ * @export
17
+ */
18
+ export type AdminSandboxSpawnResponseData = AdminSandboxSpawnResponseData1 & SandboxTenant;
@@ -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,24 @@
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 AdminSandboxSpawnResponseData1
16
+ */
17
+ export interface AdminSandboxSpawnResponseData1 {
18
+ /**
19
+ * API key of the sandbox, with every Admin API scope. Shown only in this response; it expires with the sandbox.
20
+ * @type {string}
21
+ * @memberof AdminSandboxSpawnResponseData1
22
+ */
23
+ 'api_key': string;
24
+ }
@@ -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 {};
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { SandboxTenant } from './sandbox-tenant';
12
+ import type { AdminSandboxSpawnResponseData } from './admin-sandbox-spawn-response-data';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,8 +18,8 @@ import type { SandboxTenant } from './sandbox-tenant';
18
18
  export interface AdminSandboxSpawnResponse {
19
19
  /**
20
20
  *
21
- * @type {SandboxTenant}
21
+ * @type {AdminSandboxSpawnResponseData}
22
22
  * @memberof AdminSandboxSpawnResponse
23
23
  */
24
- 'data'?: SandboxTenant;
24
+ 'data'?: AdminSandboxSpawnResponseData;
25
25
  }
@@ -0,0 +1,48 @@
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 AdminWebhooksDeliveryReplayResponseData
16
+ */
17
+ export interface AdminWebhooksDeliveryReplayResponseData {
18
+ /**
19
+ * Id of the new delivery
20
+ * @type {string}
21
+ * @memberof AdminWebhooksDeliveryReplayResponseData
22
+ */
23
+ 'delivery_id'?: string;
24
+ /**
25
+ * Id of the delivery that was replayed
26
+ * @type {string}
27
+ * @memberof AdminWebhooksDeliveryReplayResponseData
28
+ */
29
+ 'replay_of'?: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof AdminWebhooksDeliveryReplayResponseData
34
+ */
35
+ 'webhook_id'?: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof AdminWebhooksDeliveryReplayResponseData
40
+ */
41
+ 'event_name'?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof AdminWebhooksDeliveryReplayResponseData
46
+ */
47
+ 'status'?: string;
48
+ }
@@ -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 {};
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { WebhookDelivery } from './webhook-delivery';
12
+ import type { AdminWebhooksDeliveryReplayResponseData } from './admin-webhooks-delivery-replay-response-data';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,10 +18,10 @@ import type { WebhookDelivery } from './webhook-delivery';
18
18
  export interface AdminWebhooksDeliveryReplayResponse {
19
19
  /**
20
20
  *
21
- * @type {WebhookDelivery}
21
+ * @type {AdminWebhooksDeliveryReplayResponseData}
22
22
  * @memberof AdminWebhooksDeliveryReplayResponse
23
23
  */
24
- 'data'?: WebhookDelivery;
24
+ 'data'?: AdminWebhooksDeliveryReplayResponseData;
25
25
  /**
26
26
  *
27
27
  * @type {string}
@@ -27,6 +27,12 @@ export interface AdminWebhooksTestResponse {
27
27
  * @memberof AdminWebhooksTestResponse
28
28
  */
29
29
  'statusCode'?: number;
30
+ /**
31
+ * Id of the delivery row (the `X-LumoAuth-Delivery` header of the request)
32
+ * @type {string}
33
+ * @memberof AdminWebhooksTestResponse
34
+ */
35
+ 'deliveryId'?: string;
30
36
  /**
31
37
  *
32
38
  * @type {string}
@@ -34,7 +34,7 @@ export interface AttestResponseIdentity {
34
34
  */
35
35
  'issuer'?: string;
36
36
  /**
37
- * True when the registered audience is not specific to this deployment (operators should move to the agent-specific audience).
37
+ * True when the registered audience is not specific to LumoAuth (move to the agent-specific audience).
38
38
  * @type {boolean}
39
39
  * @memberof AttestResponseIdentity
40
40
  */
@@ -150,7 +150,7 @@ export interface AuditLogEntry {
150
150
  */
151
151
  'requestId'?: string | null;
152
152
  /**
153
- * Detailed responses only
153
+ * Result of the event: success, failure, pending or partial
154
154
  * @type {string}
155
155
  * @memberof AuditLogEntry
156
156
  */