diff --git a/README.md b/README.md index db65eca9f3..a8281b726d 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,99 @@ const management = new ManagementClient({ }); ``` +#### Individual Management sub-clients (smaller bundles) + +If you only need a few Management API resources, you can import them individually instead of +the full `ManagementClient`. Each resource has its own entry point (for example +`auth0/clients`, `auth0/users`, `auth0/connections`), so a bundler ships only the resources +you use. This keeps bundles small on size-constrained runtimes such as Cloudflare Workers. + +To avoid wiring up authentication for every client, use `createManagementAuth` from +`auth0/management`. It handles the token once (fetching and refreshing via client +credentials, or accepting a static token) and gives you an options object you spread into +any sub-client. The token is cached and shared, so you are not re-authenticating per client. + +```js +import { createManagementAuth } from "auth0/management"; +import { ClientsClient } from "auth0/clients"; +import { UsersClient } from "auth0/users"; + +// Configure auth once and reuse it across clients. +const auth = createManagementAuth({ + domain: "{YOUR_TENANT_AND_REGION}.auth0.com", + clientId: "{YOUR_CLIENT_ID}", + clientSecret: "{YOUR_CLIENT_SECRET}", +}); + +// Create each sub-client once and reuse the instances throughout your app. +export const clients = new ClientsClient(auth.clientOptions); +export const users = new UsersClient(auth.clientOptions); + +await users.list({ page: 0, per_page: 10 }); +``` + +You can also pass a static token: + +```js +const auth = createManagementAuth({ + domain: "{YOUR_TENANT_AND_REGION}.auth0.com", + token: "{YOUR_API_V2_TOKEN}", +}); +``` + +For lower-level control over the token lifecycle, `TokenProvider` is also exported from +`auth0/management`. It performs the client credentials grant and caches the token until +shortly before it expires: + +```js +import { TokenProvider } from "auth0/management"; +import { ClientsClient } from "auth0/clients"; + +const tokenProvider = new TokenProvider({ + domain: "{YOUR_TENANT_AND_REGION}.auth0.com", + clientId: "{YOUR_CLIENT_ID}", + clientSecret: "{YOUR_CLIENT_SECRET}", + audience: "https://{YOUR_TENANT_AND_REGION}.auth0.com/api/v2/", +}); + +const clients = new ClientsClient({ + baseUrl: "https://{YOUR_TENANT_AND_REGION}.auth0.com/api/v2", + token: () => tokenProvider.getAccessToken(), +}); +``` + +Request and response types for these clients live under the shared `Management` namespace and +are imported separately with `import type { Management } from "auth0"`: + +```ts +import type { Management } from "auth0"; + +const body: Management.CreateClientRequestContent = { name: "My App" }; +const created: Management.CreateClientResponseContent = await clients.create(body); +``` + +Because they are TypeScript interfaces, `import type` is erased at compile time, so importing +types from the root `auth0` entry adds nothing to your bundle and does not pull in the full +`ManagementClient`. + +**Recommendations for small bundles** + +- Import each client as a **value** from its own entry point (`auth0/clients`, `auth0/users`, + and so on), not from the root `auth0`. A value import from the root pulls the full + `ManagementClient` and all resources into the module graph. +- Import request and response types with `import type { Management } from "auth0"`. Types are + erased, so this is always free regardless of the entry point. +- Prefer `import type` over a plain `import` for anything you only use in type positions. It + guarantees the import is erased and never accidentally ships runtime code (the one thing + that does add bytes is referencing an enum **value**, such as `OauthScope.CreateActions`). +- Configure authentication once with `createManagementAuth` (or a single shared + `TokenProvider`) and reuse the returned `clientOptions` across every sub-client. Create each + sub-client once and reuse the instance rather than constructing new clients per request. + +> These smaller bundles rely on tree-shaking, so they apply when you consume the SDK as ESM +> through a bundler. A plain CommonJS `require()` cannot tree-shake and loads the full +> resource graph. + #### UserInfo API Client This client can be used to retrieve user profile information. diff --git a/package.json b/package.json index 893c28695d..d30fc657d1 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,1601 @@ }, "default": "./dist/cjs/index.js" }, + "./management": { + "import": { + "types": "./dist/esm/management/index.d.mts", + "default": "./dist/esm/management/index.mjs" + }, + "require": { + "types": "./dist/cjs/management/index.d.ts", + "default": "./dist/cjs/management/index.js" + }, + "default": "./dist/cjs/management/index.js" + }, + "./actions": { + "import": { + "types": "./dist/esm/management/api/resources/actions/exports.d.mts", + "default": "./dist/esm/management/api/resources/actions/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/actions/exports.d.ts", + "default": "./dist/cjs/management/api/resources/actions/exports.js" + }, + "default": "./dist/cjs/management/api/resources/actions/exports.js" + }, + "./branding": { + "import": { + "types": "./dist/esm/management/api/resources/branding/exports.d.mts", + "default": "./dist/esm/management/api/resources/branding/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/branding/exports.d.ts", + "default": "./dist/cjs/management/api/resources/branding/exports.js" + }, + "default": "./dist/cjs/management/api/resources/branding/exports.js" + }, + "./clientGrants": { + "import": { + "types": "./dist/esm/management/api/resources/clientGrants/exports.d.mts", + "default": "./dist/esm/management/api/resources/clientGrants/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/clientGrants/exports.d.ts", + "default": "./dist/cjs/management/api/resources/clientGrants/exports.js" + }, + "default": "./dist/cjs/management/api/resources/clientGrants/exports.js" + }, + "./clients": { + "import": { + "types": "./dist/esm/management/api/resources/clients/exports.d.mts", + "default": "./dist/esm/management/api/resources/clients/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/clients/exports.d.ts", + "default": "./dist/cjs/management/api/resources/clients/exports.js" + }, + "default": "./dist/cjs/management/api/resources/clients/exports.js" + }, + "./connectionProfiles": { + "import": { + "types": "./dist/esm/management/api/resources/connectionProfiles/exports.d.mts", + "default": "./dist/esm/management/api/resources/connectionProfiles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/connectionProfiles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/connectionProfiles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/connectionProfiles/exports.js" + }, + "./connections": { + "import": { + "types": "./dist/esm/management/api/resources/connections/exports.d.mts", + "default": "./dist/esm/management/api/resources/connections/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/connections/exports.d.ts", + "default": "./dist/cjs/management/api/resources/connections/exports.js" + }, + "default": "./dist/cjs/management/api/resources/connections/exports.js" + }, + "./customDomains": { + "import": { + "types": "./dist/esm/management/api/resources/customDomains/exports.d.mts", + "default": "./dist/esm/management/api/resources/customDomains/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/customDomains/exports.d.ts", + "default": "./dist/cjs/management/api/resources/customDomains/exports.js" + }, + "default": "./dist/cjs/management/api/resources/customDomains/exports.js" + }, + "./deviceCredentials": { + "import": { + "types": "./dist/esm/management/api/resources/deviceCredentials/exports.d.mts", + "default": "./dist/esm/management/api/resources/deviceCredentials/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/deviceCredentials/exports.d.ts", + "default": "./dist/cjs/management/api/resources/deviceCredentials/exports.js" + }, + "default": "./dist/cjs/management/api/resources/deviceCredentials/exports.js" + }, + "./emailTemplates": { + "import": { + "types": "./dist/esm/management/api/resources/emailTemplates/exports.d.mts", + "default": "./dist/esm/management/api/resources/emailTemplates/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/emailTemplates/exports.d.ts", + "default": "./dist/cjs/management/api/resources/emailTemplates/exports.js" + }, + "default": "./dist/cjs/management/api/resources/emailTemplates/exports.js" + }, + "./eventStreams": { + "import": { + "types": "./dist/esm/management/api/resources/eventStreams/exports.d.mts", + "default": "./dist/esm/management/api/resources/eventStreams/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/eventStreams/exports.d.ts", + "default": "./dist/cjs/management/api/resources/eventStreams/exports.js" + }, + "default": "./dist/cjs/management/api/resources/eventStreams/exports.js" + }, + "./events": { + "import": { + "types": "./dist/esm/management/api/resources/events/exports.d.mts", + "default": "./dist/esm/management/api/resources/events/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/events/exports.d.ts", + "default": "./dist/cjs/management/api/resources/events/exports.js" + }, + "default": "./dist/cjs/management/api/resources/events/exports.js" + }, + "./flows": { + "import": { + "types": "./dist/esm/management/api/resources/flows/exports.d.mts", + "default": "./dist/esm/management/api/resources/flows/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/flows/exports.d.ts", + "default": "./dist/cjs/management/api/resources/flows/exports.js" + }, + "default": "./dist/cjs/management/api/resources/flows/exports.js" + }, + "./forms": { + "import": { + "types": "./dist/esm/management/api/resources/forms/exports.d.mts", + "default": "./dist/esm/management/api/resources/forms/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/forms/exports.d.ts", + "default": "./dist/cjs/management/api/resources/forms/exports.js" + }, + "default": "./dist/cjs/management/api/resources/forms/exports.js" + }, + "./userGrants": { + "import": { + "types": "./dist/esm/management/api/resources/userGrants/exports.d.mts", + "default": "./dist/esm/management/api/resources/userGrants/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/userGrants/exports.d.ts", + "default": "./dist/cjs/management/api/resources/userGrants/exports.js" + }, + "default": "./dist/cjs/management/api/resources/userGrants/exports.js" + }, + "./groups": { + "import": { + "types": "./dist/esm/management/api/resources/groups/exports.d.mts", + "default": "./dist/esm/management/api/resources/groups/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/groups/exports.d.ts", + "default": "./dist/cjs/management/api/resources/groups/exports.js" + }, + "default": "./dist/cjs/management/api/resources/groups/exports.js" + }, + "./hooks": { + "import": { + "types": "./dist/esm/management/api/resources/hooks/exports.d.mts", + "default": "./dist/esm/management/api/resources/hooks/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/hooks/exports.d.ts", + "default": "./dist/cjs/management/api/resources/hooks/exports.js" + }, + "default": "./dist/cjs/management/api/resources/hooks/exports.js" + }, + "./jobs": { + "import": { + "types": "./dist/esm/management/api/resources/jobs/exports.d.mts", + "default": "./dist/esm/management/api/resources/jobs/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/jobs/exports.d.ts", + "default": "./dist/cjs/management/api/resources/jobs/exports.js" + }, + "default": "./dist/cjs/management/api/resources/jobs/exports.js" + }, + "./logStreams": { + "import": { + "types": "./dist/esm/management/api/resources/logStreams/exports.d.mts", + "default": "./dist/esm/management/api/resources/logStreams/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/logStreams/exports.d.ts", + "default": "./dist/cjs/management/api/resources/logStreams/exports.js" + }, + "default": "./dist/cjs/management/api/resources/logStreams/exports.js" + }, + "./logs": { + "import": { + "types": "./dist/esm/management/api/resources/logs/exports.d.mts", + "default": "./dist/esm/management/api/resources/logs/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/logs/exports.d.ts", + "default": "./dist/cjs/management/api/resources/logs/exports.js" + }, + "default": "./dist/cjs/management/api/resources/logs/exports.js" + }, + "./networkAcls": { + "import": { + "types": "./dist/esm/management/api/resources/networkAcls/exports.d.mts", + "default": "./dist/esm/management/api/resources/networkAcls/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/networkAcls/exports.d.ts", + "default": "./dist/cjs/management/api/resources/networkAcls/exports.js" + }, + "default": "./dist/cjs/management/api/resources/networkAcls/exports.js" + }, + "./organizations": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/exports.js" + }, + "./prompts": { + "import": { + "types": "./dist/esm/management/api/resources/prompts/exports.d.mts", + "default": "./dist/esm/management/api/resources/prompts/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/prompts/exports.d.ts", + "default": "./dist/cjs/management/api/resources/prompts/exports.js" + }, + "default": "./dist/cjs/management/api/resources/prompts/exports.js" + }, + "./rateLimitPolicies": { + "import": { + "types": "./dist/esm/management/api/resources/rateLimitPolicies/exports.d.mts", + "default": "./dist/esm/management/api/resources/rateLimitPolicies/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/rateLimitPolicies/exports.d.ts", + "default": "./dist/cjs/management/api/resources/rateLimitPolicies/exports.js" + }, + "default": "./dist/cjs/management/api/resources/rateLimitPolicies/exports.js" + }, + "./refreshTokens": { + "import": { + "types": "./dist/esm/management/api/resources/refreshTokens/exports.d.mts", + "default": "./dist/esm/management/api/resources/refreshTokens/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/refreshTokens/exports.d.ts", + "default": "./dist/cjs/management/api/resources/refreshTokens/exports.js" + }, + "default": "./dist/cjs/management/api/resources/refreshTokens/exports.js" + }, + "./resourceServers": { + "import": { + "types": "./dist/esm/management/api/resources/resourceServers/exports.d.mts", + "default": "./dist/esm/management/api/resources/resourceServers/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/resourceServers/exports.d.ts", + "default": "./dist/cjs/management/api/resources/resourceServers/exports.js" + }, + "default": "./dist/cjs/management/api/resources/resourceServers/exports.js" + }, + "./roles": { + "import": { + "types": "./dist/esm/management/api/resources/roles/exports.d.mts", + "default": "./dist/esm/management/api/resources/roles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/roles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/roles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/roles/exports.js" + }, + "./rules": { + "import": { + "types": "./dist/esm/management/api/resources/rules/exports.d.mts", + "default": "./dist/esm/management/api/resources/rules/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/rules/exports.d.ts", + "default": "./dist/cjs/management/api/resources/rules/exports.js" + }, + "default": "./dist/cjs/management/api/resources/rules/exports.js" + }, + "./rulesConfigs": { + "import": { + "types": "./dist/esm/management/api/resources/rulesConfigs/exports.d.mts", + "default": "./dist/esm/management/api/resources/rulesConfigs/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/rulesConfigs/exports.d.ts", + "default": "./dist/cjs/management/api/resources/rulesConfigs/exports.js" + }, + "default": "./dist/cjs/management/api/resources/rulesConfigs/exports.js" + }, + "./selfServiceProfiles": { + "import": { + "types": "./dist/esm/management/api/resources/selfServiceProfiles/exports.d.mts", + "default": "./dist/esm/management/api/resources/selfServiceProfiles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/selfServiceProfiles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/selfServiceProfiles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/selfServiceProfiles/exports.js" + }, + "./sessions": { + "import": { + "types": "./dist/esm/management/api/resources/sessions/exports.d.mts", + "default": "./dist/esm/management/api/resources/sessions/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/sessions/exports.d.ts", + "default": "./dist/cjs/management/api/resources/sessions/exports.js" + }, + "default": "./dist/cjs/management/api/resources/sessions/exports.js" + }, + "./stats": { + "import": { + "types": "./dist/esm/management/api/resources/stats/exports.d.mts", + "default": "./dist/esm/management/api/resources/stats/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/stats/exports.d.ts", + "default": "./dist/cjs/management/api/resources/stats/exports.js" + }, + "default": "./dist/cjs/management/api/resources/stats/exports.js" + }, + "./supplementalSignals": { + "import": { + "types": "./dist/esm/management/api/resources/supplementalSignals/exports.d.mts", + "default": "./dist/esm/management/api/resources/supplementalSignals/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/supplementalSignals/exports.d.ts", + "default": "./dist/cjs/management/api/resources/supplementalSignals/exports.js" + }, + "default": "./dist/cjs/management/api/resources/supplementalSignals/exports.js" + }, + "./tickets": { + "import": { + "types": "./dist/esm/management/api/resources/tickets/exports.d.mts", + "default": "./dist/esm/management/api/resources/tickets/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/tickets/exports.d.ts", + "default": "./dist/cjs/management/api/resources/tickets/exports.js" + }, + "default": "./dist/cjs/management/api/resources/tickets/exports.js" + }, + "./tokenExchangeProfiles": { + "import": { + "types": "./dist/esm/management/api/resources/tokenExchangeProfiles/exports.d.mts", + "default": "./dist/esm/management/api/resources/tokenExchangeProfiles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/tokenExchangeProfiles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/tokenExchangeProfiles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/tokenExchangeProfiles/exports.js" + }, + "./userAttributeProfiles": { + "import": { + "types": "./dist/esm/management/api/resources/userAttributeProfiles/exports.d.mts", + "default": "./dist/esm/management/api/resources/userAttributeProfiles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/userAttributeProfiles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/userAttributeProfiles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/userAttributeProfiles/exports.js" + }, + "./userBlocks": { + "import": { + "types": "./dist/esm/management/api/resources/userBlocks/exports.d.mts", + "default": "./dist/esm/management/api/resources/userBlocks/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/userBlocks/exports.d.ts", + "default": "./dist/cjs/management/api/resources/userBlocks/exports.js" + }, + "default": "./dist/cjs/management/api/resources/userBlocks/exports.js" + }, + "./users": { + "import": { + "types": "./dist/esm/management/api/resources/users/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/exports.js" + }, + "./actions/versions": { + "import": { + "types": "./dist/esm/management/api/resources/actions/resources/versions/exports.d.mts", + "default": "./dist/esm/management/api/resources/actions/resources/versions/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/actions/resources/versions/exports.d.ts", + "default": "./dist/cjs/management/api/resources/actions/resources/versions/exports.js" + }, + "default": "./dist/cjs/management/api/resources/actions/resources/versions/exports.js" + }, + "./actions/executions": { + "import": { + "types": "./dist/esm/management/api/resources/actions/resources/executions/exports.d.mts", + "default": "./dist/esm/management/api/resources/actions/resources/executions/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/actions/resources/executions/exports.d.ts", + "default": "./dist/cjs/management/api/resources/actions/resources/executions/exports.js" + }, + "default": "./dist/cjs/management/api/resources/actions/resources/executions/exports.js" + }, + "./actions/modules": { + "import": { + "types": "./dist/esm/management/api/resources/actions/resources/modules/exports.d.mts", + "default": "./dist/esm/management/api/resources/actions/resources/modules/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/actions/resources/modules/exports.d.ts", + "default": "./dist/cjs/management/api/resources/actions/resources/modules/exports.js" + }, + "default": "./dist/cjs/management/api/resources/actions/resources/modules/exports.js" + }, + "./actions/triggers": { + "import": { + "types": "./dist/esm/management/api/resources/actions/resources/triggers/exports.d.mts", + "default": "./dist/esm/management/api/resources/actions/resources/triggers/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/actions/resources/triggers/exports.d.ts", + "default": "./dist/cjs/management/api/resources/actions/resources/triggers/exports.js" + }, + "default": "./dist/cjs/management/api/resources/actions/resources/triggers/exports.js" + }, + "./actions/modules/versions": { + "import": { + "types": "./dist/esm/management/api/resources/actions/resources/modules/resources/versions/exports.d.mts", + "default": "./dist/esm/management/api/resources/actions/resources/modules/resources/versions/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/actions/resources/modules/resources/versions/exports.d.ts", + "default": "./dist/cjs/management/api/resources/actions/resources/modules/resources/versions/exports.js" + }, + "default": "./dist/cjs/management/api/resources/actions/resources/modules/resources/versions/exports.js" + }, + "./actions/triggers/bindings": { + "import": { + "types": "./dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/exports.d.mts", + "default": "./dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/exports.d.ts", + "default": "./dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/exports.js" + }, + "default": "./dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/exports.js" + }, + "./anomaly": { + "import": { + "types": "./dist/esm/management/api/resources/anomaly/exports.d.mts", + "default": "./dist/esm/management/api/resources/anomaly/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/anomaly/exports.d.ts", + "default": "./dist/cjs/management/api/resources/anomaly/exports.js" + }, + "default": "./dist/cjs/management/api/resources/anomaly/exports.js" + }, + "./anomaly/blocks": { + "import": { + "types": "./dist/esm/management/api/resources/anomaly/resources/blocks/exports.d.mts", + "default": "./dist/esm/management/api/resources/anomaly/resources/blocks/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/anomaly/resources/blocks/exports.d.ts", + "default": "./dist/cjs/management/api/resources/anomaly/resources/blocks/exports.js" + }, + "default": "./dist/cjs/management/api/resources/anomaly/resources/blocks/exports.js" + }, + "./attackProtection": { + "import": { + "types": "./dist/esm/management/api/resources/attackProtection/exports.d.mts", + "default": "./dist/esm/management/api/resources/attackProtection/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/attackProtection/exports.d.ts", + "default": "./dist/cjs/management/api/resources/attackProtection/exports.js" + }, + "default": "./dist/cjs/management/api/resources/attackProtection/exports.js" + }, + "./attackProtection/botDetection": { + "import": { + "types": "./dist/esm/management/api/resources/attackProtection/resources/botDetection/exports.d.mts", + "default": "./dist/esm/management/api/resources/attackProtection/resources/botDetection/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/attackProtection/resources/botDetection/exports.d.ts", + "default": "./dist/cjs/management/api/resources/attackProtection/resources/botDetection/exports.js" + }, + "default": "./dist/cjs/management/api/resources/attackProtection/resources/botDetection/exports.js" + }, + "./attackProtection/breachedPasswordDetection": { + "import": { + "types": "./dist/esm/management/api/resources/attackProtection/resources/breachedPasswordDetection/exports.d.mts", + "default": "./dist/esm/management/api/resources/attackProtection/resources/breachedPasswordDetection/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/attackProtection/resources/breachedPasswordDetection/exports.d.ts", + "default": "./dist/cjs/management/api/resources/attackProtection/resources/breachedPasswordDetection/exports.js" + }, + "default": "./dist/cjs/management/api/resources/attackProtection/resources/breachedPasswordDetection/exports.js" + }, + "./attackProtection/bruteForceProtection": { + "import": { + "types": "./dist/esm/management/api/resources/attackProtection/resources/bruteForceProtection/exports.d.mts", + "default": "./dist/esm/management/api/resources/attackProtection/resources/bruteForceProtection/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/attackProtection/resources/bruteForceProtection/exports.d.ts", + "default": "./dist/cjs/management/api/resources/attackProtection/resources/bruteForceProtection/exports.js" + }, + "default": "./dist/cjs/management/api/resources/attackProtection/resources/bruteForceProtection/exports.js" + }, + "./attackProtection/captcha": { + "import": { + "types": "./dist/esm/management/api/resources/attackProtection/resources/captcha/exports.d.mts", + "default": "./dist/esm/management/api/resources/attackProtection/resources/captcha/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/attackProtection/resources/captcha/exports.d.ts", + "default": "./dist/cjs/management/api/resources/attackProtection/resources/captcha/exports.js" + }, + "default": "./dist/cjs/management/api/resources/attackProtection/resources/captcha/exports.js" + }, + "./attackProtection/phoneProviderProtection": { + "import": { + "types": "./dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/exports.d.mts", + "default": "./dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/exports.d.ts", + "default": "./dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/exports.js" + }, + "default": "./dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/exports.js" + }, + "./attackProtection/suspiciousIpThrottling": { + "import": { + "types": "./dist/esm/management/api/resources/attackProtection/resources/suspiciousIpThrottling/exports.d.mts", + "default": "./dist/esm/management/api/resources/attackProtection/resources/suspiciousIpThrottling/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/attackProtection/resources/suspiciousIpThrottling/exports.d.ts", + "default": "./dist/cjs/management/api/resources/attackProtection/resources/suspiciousIpThrottling/exports.js" + }, + "default": "./dist/cjs/management/api/resources/attackProtection/resources/suspiciousIpThrottling/exports.js" + }, + "./branding/templates": { + "import": { + "types": "./dist/esm/management/api/resources/branding/resources/templates/exports.d.mts", + "default": "./dist/esm/management/api/resources/branding/resources/templates/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/branding/resources/templates/exports.d.ts", + "default": "./dist/cjs/management/api/resources/branding/resources/templates/exports.js" + }, + "default": "./dist/cjs/management/api/resources/branding/resources/templates/exports.js" + }, + "./branding/themes": { + "import": { + "types": "./dist/esm/management/api/resources/branding/resources/themes/exports.d.mts", + "default": "./dist/esm/management/api/resources/branding/resources/themes/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/branding/resources/themes/exports.d.ts", + "default": "./dist/cjs/management/api/resources/branding/resources/themes/exports.js" + }, + "default": "./dist/cjs/management/api/resources/branding/resources/themes/exports.js" + }, + "./branding/phone": { + "import": { + "types": "./dist/esm/management/api/resources/branding/resources/phone/exports.d.mts", + "default": "./dist/esm/management/api/resources/branding/resources/phone/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/branding/resources/phone/exports.d.ts", + "default": "./dist/cjs/management/api/resources/branding/resources/phone/exports.js" + }, + "default": "./dist/cjs/management/api/resources/branding/resources/phone/exports.js" + }, + "./branding/phone/providers": { + "import": { + "types": "./dist/esm/management/api/resources/branding/resources/phone/resources/providers/exports.d.mts", + "default": "./dist/esm/management/api/resources/branding/resources/phone/resources/providers/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/branding/resources/phone/resources/providers/exports.d.ts", + "default": "./dist/cjs/management/api/resources/branding/resources/phone/resources/providers/exports.js" + }, + "default": "./dist/cjs/management/api/resources/branding/resources/phone/resources/providers/exports.js" + }, + "./branding/phone/templates": { + "import": { + "types": "./dist/esm/management/api/resources/branding/resources/phone/resources/templates/exports.d.mts", + "default": "./dist/esm/management/api/resources/branding/resources/phone/resources/templates/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/branding/resources/phone/resources/templates/exports.d.ts", + "default": "./dist/cjs/management/api/resources/branding/resources/phone/resources/templates/exports.js" + }, + "default": "./dist/cjs/management/api/resources/branding/resources/phone/resources/templates/exports.js" + }, + "./clientGrants/organizations": { + "import": { + "types": "./dist/esm/management/api/resources/clientGrants/resources/organizations/exports.d.mts", + "default": "./dist/esm/management/api/resources/clientGrants/resources/organizations/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/clientGrants/resources/organizations/exports.d.ts", + "default": "./dist/cjs/management/api/resources/clientGrants/resources/organizations/exports.js" + }, + "default": "./dist/cjs/management/api/resources/clientGrants/resources/organizations/exports.js" + }, + "./clients/credentials": { + "import": { + "types": "./dist/esm/management/api/resources/clients/resources/credentials/exports.d.mts", + "default": "./dist/esm/management/api/resources/clients/resources/credentials/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/clients/resources/credentials/exports.d.ts", + "default": "./dist/cjs/management/api/resources/clients/resources/credentials/exports.js" + }, + "default": "./dist/cjs/management/api/resources/clients/resources/credentials/exports.js" + }, + "./clients/connections": { + "import": { + "types": "./dist/esm/management/api/resources/clients/resources/connections/exports.d.mts", + "default": "./dist/esm/management/api/resources/clients/resources/connections/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/clients/resources/connections/exports.d.ts", + "default": "./dist/cjs/management/api/resources/clients/resources/connections/exports.js" + }, + "default": "./dist/cjs/management/api/resources/clients/resources/connections/exports.js" + }, + "./connections/directoryProvisioning": { + "import": { + "types": "./dist/esm/management/api/resources/connections/resources/directoryProvisioning/exports.d.mts", + "default": "./dist/esm/management/api/resources/connections/resources/directoryProvisioning/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/connections/resources/directoryProvisioning/exports.d.ts", + "default": "./dist/cjs/management/api/resources/connections/resources/directoryProvisioning/exports.js" + }, + "default": "./dist/cjs/management/api/resources/connections/resources/directoryProvisioning/exports.js" + }, + "./connections/scimConfiguration": { + "import": { + "types": "./dist/esm/management/api/resources/connections/resources/scimConfiguration/exports.d.mts", + "default": "./dist/esm/management/api/resources/connections/resources/scimConfiguration/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/connections/resources/scimConfiguration/exports.d.ts", + "default": "./dist/cjs/management/api/resources/connections/resources/scimConfiguration/exports.js" + }, + "default": "./dist/cjs/management/api/resources/connections/resources/scimConfiguration/exports.js" + }, + "./connections/clients": { + "import": { + "types": "./dist/esm/management/api/resources/connections/resources/clients/exports.d.mts", + "default": "./dist/esm/management/api/resources/connections/resources/clients/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/connections/resources/clients/exports.d.ts", + "default": "./dist/cjs/management/api/resources/connections/resources/clients/exports.js" + }, + "default": "./dist/cjs/management/api/resources/connections/resources/clients/exports.js" + }, + "./connections/keys": { + "import": { + "types": "./dist/esm/management/api/resources/connections/resources/keys/exports.d.mts", + "default": "./dist/esm/management/api/resources/connections/resources/keys/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/connections/resources/keys/exports.d.ts", + "default": "./dist/cjs/management/api/resources/connections/resources/keys/exports.js" + }, + "default": "./dist/cjs/management/api/resources/connections/resources/keys/exports.js" + }, + "./connections/users": { + "import": { + "types": "./dist/esm/management/api/resources/connections/resources/users/exports.d.mts", + "default": "./dist/esm/management/api/resources/connections/resources/users/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/connections/resources/users/exports.d.ts", + "default": "./dist/cjs/management/api/resources/connections/resources/users/exports.js" + }, + "default": "./dist/cjs/management/api/resources/connections/resources/users/exports.js" + }, + "./connections/directoryProvisioning/synchronizations": { + "import": { + "types": "./dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/exports.d.mts", + "default": "./dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/exports.d.ts", + "default": "./dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/exports.js" + }, + "default": "./dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/exports.js" + }, + "./connections/scimConfiguration/tokens": { + "import": { + "types": "./dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/exports.d.mts", + "default": "./dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/exports.d.ts", + "default": "./dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/exports.js" + }, + "default": "./dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/exports.js" + }, + "./emails": { + "import": { + "types": "./dist/esm/management/api/resources/emails/exports.d.mts", + "default": "./dist/esm/management/api/resources/emails/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/emails/exports.d.ts", + "default": "./dist/cjs/management/api/resources/emails/exports.js" + }, + "default": "./dist/cjs/management/api/resources/emails/exports.js" + }, + "./emails/provider": { + "import": { + "types": "./dist/esm/management/api/resources/emails/resources/provider/exports.d.mts", + "default": "./dist/esm/management/api/resources/emails/resources/provider/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/emails/resources/provider/exports.d.ts", + "default": "./dist/cjs/management/api/resources/emails/resources/provider/exports.js" + }, + "default": "./dist/cjs/management/api/resources/emails/resources/provider/exports.js" + }, + "./eventStreams/deliveries": { + "import": { + "types": "./dist/esm/management/api/resources/eventStreams/resources/deliveries/exports.d.mts", + "default": "./dist/esm/management/api/resources/eventStreams/resources/deliveries/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/eventStreams/resources/deliveries/exports.d.ts", + "default": "./dist/cjs/management/api/resources/eventStreams/resources/deliveries/exports.js" + }, + "default": "./dist/cjs/management/api/resources/eventStreams/resources/deliveries/exports.js" + }, + "./eventStreams/redeliveries": { + "import": { + "types": "./dist/esm/management/api/resources/eventStreams/resources/redeliveries/exports.d.mts", + "default": "./dist/esm/management/api/resources/eventStreams/resources/redeliveries/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/eventStreams/resources/redeliveries/exports.d.ts", + "default": "./dist/cjs/management/api/resources/eventStreams/resources/redeliveries/exports.js" + }, + "default": "./dist/cjs/management/api/resources/eventStreams/resources/redeliveries/exports.js" + }, + "./flows/executions": { + "import": { + "types": "./dist/esm/management/api/resources/flows/resources/executions/exports.d.mts", + "default": "./dist/esm/management/api/resources/flows/resources/executions/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/flows/resources/executions/exports.d.ts", + "default": "./dist/cjs/management/api/resources/flows/resources/executions/exports.js" + }, + "default": "./dist/cjs/management/api/resources/flows/resources/executions/exports.js" + }, + "./flows/vault": { + "import": { + "types": "./dist/esm/management/api/resources/flows/resources/vault/exports.d.mts", + "default": "./dist/esm/management/api/resources/flows/resources/vault/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/flows/resources/vault/exports.d.ts", + "default": "./dist/cjs/management/api/resources/flows/resources/vault/exports.js" + }, + "default": "./dist/cjs/management/api/resources/flows/resources/vault/exports.js" + }, + "./flows/vault/connections": { + "import": { + "types": "./dist/esm/management/api/resources/flows/resources/vault/resources/connections/exports.d.mts", + "default": "./dist/esm/management/api/resources/flows/resources/vault/resources/connections/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/flows/resources/vault/resources/connections/exports.d.ts", + "default": "./dist/cjs/management/api/resources/flows/resources/vault/resources/connections/exports.js" + }, + "default": "./dist/cjs/management/api/resources/flows/resources/vault/resources/connections/exports.js" + }, + "./groups/members": { + "import": { + "types": "./dist/esm/management/api/resources/groups/resources/members/exports.d.mts", + "default": "./dist/esm/management/api/resources/groups/resources/members/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/groups/resources/members/exports.d.ts", + "default": "./dist/cjs/management/api/resources/groups/resources/members/exports.js" + }, + "default": "./dist/cjs/management/api/resources/groups/resources/members/exports.js" + }, + "./groups/roles": { + "import": { + "types": "./dist/esm/management/api/resources/groups/resources/roles/exports.d.mts", + "default": "./dist/esm/management/api/resources/groups/resources/roles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/groups/resources/roles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/groups/resources/roles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/groups/resources/roles/exports.js" + }, + "./guardian": { + "import": { + "types": "./dist/esm/management/api/resources/guardian/exports.d.mts", + "default": "./dist/esm/management/api/resources/guardian/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/guardian/exports.d.ts", + "default": "./dist/cjs/management/api/resources/guardian/exports.js" + }, + "default": "./dist/cjs/management/api/resources/guardian/exports.js" + }, + "./guardian/enrollments": { + "import": { + "types": "./dist/esm/management/api/resources/guardian/resources/enrollments/exports.d.mts", + "default": "./dist/esm/management/api/resources/guardian/resources/enrollments/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/guardian/resources/enrollments/exports.d.ts", + "default": "./dist/cjs/management/api/resources/guardian/resources/enrollments/exports.js" + }, + "default": "./dist/cjs/management/api/resources/guardian/resources/enrollments/exports.js" + }, + "./guardian/factors": { + "import": { + "types": "./dist/esm/management/api/resources/guardian/resources/factors/exports.d.mts", + "default": "./dist/esm/management/api/resources/guardian/resources/factors/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/guardian/resources/factors/exports.d.ts", + "default": "./dist/cjs/management/api/resources/guardian/resources/factors/exports.js" + }, + "default": "./dist/cjs/management/api/resources/guardian/resources/factors/exports.js" + }, + "./guardian/policies": { + "import": { + "types": "./dist/esm/management/api/resources/guardian/resources/policies/exports.d.mts", + "default": "./dist/esm/management/api/resources/guardian/resources/policies/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/guardian/resources/policies/exports.d.ts", + "default": "./dist/cjs/management/api/resources/guardian/resources/policies/exports.js" + }, + "default": "./dist/cjs/management/api/resources/guardian/resources/policies/exports.js" + }, + "./guardian/factors/phone": { + "import": { + "types": "./dist/esm/management/api/resources/guardian/resources/factors/resources/phone/exports.d.mts", + "default": "./dist/esm/management/api/resources/guardian/resources/factors/resources/phone/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/phone/exports.d.ts", + "default": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/phone/exports.js" + }, + "default": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/phone/exports.js" + }, + "./guardian/factors/pushNotification": { + "import": { + "types": "./dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/exports.d.mts", + "default": "./dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/exports.d.ts", + "default": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/exports.js" + }, + "default": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/exports.js" + }, + "./guardian/factors/sms": { + "import": { + "types": "./dist/esm/management/api/resources/guardian/resources/factors/resources/sms/exports.d.mts", + "default": "./dist/esm/management/api/resources/guardian/resources/factors/resources/sms/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/sms/exports.d.ts", + "default": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/sms/exports.js" + }, + "default": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/sms/exports.js" + }, + "./guardian/factors/duo": { + "import": { + "types": "./dist/esm/management/api/resources/guardian/resources/factors/resources/duo/exports.d.mts", + "default": "./dist/esm/management/api/resources/guardian/resources/factors/resources/duo/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/exports.d.ts", + "default": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/exports.js" + }, + "default": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/exports.js" + }, + "./guardian/factors/duo/settings": { + "import": { + "types": "./dist/esm/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/exports.d.mts", + "default": "./dist/esm/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/exports.d.ts", + "default": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/exports.js" + }, + "default": "./dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/exports.js" + }, + "./hooks/secrets": { + "import": { + "types": "./dist/esm/management/api/resources/hooks/resources/secrets/exports.d.mts", + "default": "./dist/esm/management/api/resources/hooks/resources/secrets/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/hooks/resources/secrets/exports.d.ts", + "default": "./dist/cjs/management/api/resources/hooks/resources/secrets/exports.js" + }, + "default": "./dist/cjs/management/api/resources/hooks/resources/secrets/exports.js" + }, + "./jobs/usersExports": { + "import": { + "types": "./dist/esm/management/api/resources/jobs/resources/usersExports/exports.d.mts", + "default": "./dist/esm/management/api/resources/jobs/resources/usersExports/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/jobs/resources/usersExports/exports.d.ts", + "default": "./dist/cjs/management/api/resources/jobs/resources/usersExports/exports.js" + }, + "default": "./dist/cjs/management/api/resources/jobs/resources/usersExports/exports.js" + }, + "./jobs/usersImports": { + "import": { + "types": "./dist/esm/management/api/resources/jobs/resources/usersImports/exports.d.mts", + "default": "./dist/esm/management/api/resources/jobs/resources/usersImports/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/jobs/resources/usersImports/exports.d.ts", + "default": "./dist/cjs/management/api/resources/jobs/resources/usersImports/exports.js" + }, + "default": "./dist/cjs/management/api/resources/jobs/resources/usersImports/exports.js" + }, + "./jobs/verificationEmail": { + "import": { + "types": "./dist/esm/management/api/resources/jobs/resources/verificationEmail/exports.d.mts", + "default": "./dist/esm/management/api/resources/jobs/resources/verificationEmail/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/jobs/resources/verificationEmail/exports.d.ts", + "default": "./dist/cjs/management/api/resources/jobs/resources/verificationEmail/exports.js" + }, + "default": "./dist/cjs/management/api/resources/jobs/resources/verificationEmail/exports.js" + }, + "./jobs/errors": { + "import": { + "types": "./dist/esm/management/api/resources/jobs/resources/errors/exports.d.mts", + "default": "./dist/esm/management/api/resources/jobs/resources/errors/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/jobs/resources/errors/exports.d.ts", + "default": "./dist/cjs/management/api/resources/jobs/resources/errors/exports.js" + }, + "default": "./dist/cjs/management/api/resources/jobs/resources/errors/exports.js" + }, + "./keys": { + "import": { + "types": "./dist/esm/management/api/resources/keys/exports.d.mts", + "default": "./dist/esm/management/api/resources/keys/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/keys/exports.d.ts", + "default": "./dist/cjs/management/api/resources/keys/exports.js" + }, + "default": "./dist/cjs/management/api/resources/keys/exports.js" + }, + "./keys/customSigning": { + "import": { + "types": "./dist/esm/management/api/resources/keys/resources/customSigning/exports.d.mts", + "default": "./dist/esm/management/api/resources/keys/resources/customSigning/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/keys/resources/customSigning/exports.d.ts", + "default": "./dist/cjs/management/api/resources/keys/resources/customSigning/exports.js" + }, + "default": "./dist/cjs/management/api/resources/keys/resources/customSigning/exports.js" + }, + "./keys/encryption": { + "import": { + "types": "./dist/esm/management/api/resources/keys/resources/encryption/exports.d.mts", + "default": "./dist/esm/management/api/resources/keys/resources/encryption/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/keys/resources/encryption/exports.d.ts", + "default": "./dist/cjs/management/api/resources/keys/resources/encryption/exports.js" + }, + "default": "./dist/cjs/management/api/resources/keys/resources/encryption/exports.js" + }, + "./keys/signing": { + "import": { + "types": "./dist/esm/management/api/resources/keys/resources/signing/exports.d.mts", + "default": "./dist/esm/management/api/resources/keys/resources/signing/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/keys/resources/signing/exports.d.ts", + "default": "./dist/cjs/management/api/resources/keys/resources/signing/exports.js" + }, + "default": "./dist/cjs/management/api/resources/keys/resources/signing/exports.js" + }, + "./organizations/clientGrants": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/clientGrants/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/clientGrants/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/clientGrants/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/clientGrants/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/clientGrants/exports.js" + }, + "./organizations/connections": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/connections/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/connections/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/connections/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/connections/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/connections/exports.js" + }, + "./organizations/discoveryDomains": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/discoveryDomains/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/discoveryDomains/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/discoveryDomains/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/discoveryDomains/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/discoveryDomains/exports.js" + }, + "./organizations/enabledConnections": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/enabledConnections/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/enabledConnections/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/enabledConnections/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/enabledConnections/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/enabledConnections/exports.js" + }, + "./organizations/invitations": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/invitations/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/invitations/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/invitations/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/invitations/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/invitations/exports.js" + }, + "./organizations/members": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/members/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/members/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/members/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/members/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/members/exports.js" + }, + "./organizations/groups": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/groups/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/groups/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/groups/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/groups/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/groups/exports.js" + }, + "./organizations/groups/roles": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/groups/resources/roles/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/groups/resources/roles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/exports.js" + }, + "./organizations/members/effectiveRoles": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/exports.js" + }, + "./organizations/members/roles": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/members/resources/roles/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/members/resources/roles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/members/resources/roles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/members/resources/roles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/members/resources/roles/exports.js" + }, + "./organizations/members/effectiveRoles/sources": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/exports.js" + }, + "./organizations/members/effectiveRoles/sources/groups": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/exports.js" + }, + "./organizations/roles": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/roles/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/roles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/roles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/roles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/roles/exports.js" + }, + "./organizations/roles/members": { + "import": { + "types": "./dist/esm/management/api/resources/organizations/resources/roles/resources/members/exports.d.mts", + "default": "./dist/esm/management/api/resources/organizations/resources/roles/resources/members/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/organizations/resources/roles/resources/members/exports.d.ts", + "default": "./dist/cjs/management/api/resources/organizations/resources/roles/resources/members/exports.js" + }, + "default": "./dist/cjs/management/api/resources/organizations/resources/roles/resources/members/exports.js" + }, + "./prompts/rendering": { + "import": { + "types": "./dist/esm/management/api/resources/prompts/resources/rendering/exports.d.mts", + "default": "./dist/esm/management/api/resources/prompts/resources/rendering/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/prompts/resources/rendering/exports.d.ts", + "default": "./dist/cjs/management/api/resources/prompts/resources/rendering/exports.js" + }, + "default": "./dist/cjs/management/api/resources/prompts/resources/rendering/exports.js" + }, + "./prompts/customText": { + "import": { + "types": "./dist/esm/management/api/resources/prompts/resources/customText/exports.d.mts", + "default": "./dist/esm/management/api/resources/prompts/resources/customText/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/prompts/resources/customText/exports.d.ts", + "default": "./dist/cjs/management/api/resources/prompts/resources/customText/exports.js" + }, + "default": "./dist/cjs/management/api/resources/prompts/resources/customText/exports.js" + }, + "./prompts/partials": { + "import": { + "types": "./dist/esm/management/api/resources/prompts/resources/partials/exports.d.mts", + "default": "./dist/esm/management/api/resources/prompts/resources/partials/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/prompts/resources/partials/exports.d.ts", + "default": "./dist/cjs/management/api/resources/prompts/resources/partials/exports.js" + }, + "default": "./dist/cjs/management/api/resources/prompts/resources/partials/exports.js" + }, + "./riskAssessments": { + "import": { + "types": "./dist/esm/management/api/resources/riskAssessments/exports.d.mts", + "default": "./dist/esm/management/api/resources/riskAssessments/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/riskAssessments/exports.d.ts", + "default": "./dist/cjs/management/api/resources/riskAssessments/exports.js" + }, + "default": "./dist/cjs/management/api/resources/riskAssessments/exports.js" + }, + "./riskAssessments/settings": { + "import": { + "types": "./dist/esm/management/api/resources/riskAssessments/resources/settings/exports.d.mts", + "default": "./dist/esm/management/api/resources/riskAssessments/resources/settings/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/riskAssessments/resources/settings/exports.d.ts", + "default": "./dist/cjs/management/api/resources/riskAssessments/resources/settings/exports.js" + }, + "default": "./dist/cjs/management/api/resources/riskAssessments/resources/settings/exports.js" + }, + "./riskAssessments/settings/newDevice": { + "import": { + "types": "./dist/esm/management/api/resources/riskAssessments/resources/settings/resources/newDevice/exports.d.mts", + "default": "./dist/esm/management/api/resources/riskAssessments/resources/settings/resources/newDevice/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/exports.d.ts", + "default": "./dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/exports.js" + }, + "default": "./dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/exports.js" + }, + "./roles/groups": { + "import": { + "types": "./dist/esm/management/api/resources/roles/resources/groups/exports.d.mts", + "default": "./dist/esm/management/api/resources/roles/resources/groups/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/roles/resources/groups/exports.d.ts", + "default": "./dist/cjs/management/api/resources/roles/resources/groups/exports.js" + }, + "default": "./dist/cjs/management/api/resources/roles/resources/groups/exports.js" + }, + "./roles/permissions": { + "import": { + "types": "./dist/esm/management/api/resources/roles/resources/permissions/exports.d.mts", + "default": "./dist/esm/management/api/resources/roles/resources/permissions/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/roles/resources/permissions/exports.d.ts", + "default": "./dist/cjs/management/api/resources/roles/resources/permissions/exports.js" + }, + "default": "./dist/cjs/management/api/resources/roles/resources/permissions/exports.js" + }, + "./roles/users": { + "import": { + "types": "./dist/esm/management/api/resources/roles/resources/users/exports.d.mts", + "default": "./dist/esm/management/api/resources/roles/resources/users/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/roles/resources/users/exports.d.ts", + "default": "./dist/cjs/management/api/resources/roles/resources/users/exports.js" + }, + "default": "./dist/cjs/management/api/resources/roles/resources/users/exports.js" + }, + "./selfServiceProfiles/customText": { + "import": { + "types": "./dist/esm/management/api/resources/selfServiceProfiles/resources/customText/exports.d.mts", + "default": "./dist/esm/management/api/resources/selfServiceProfiles/resources/customText/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/exports.d.ts", + "default": "./dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/exports.js" + }, + "default": "./dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/exports.js" + }, + "./selfServiceProfiles/ssoTicket": { + "import": { + "types": "./dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/exports.d.mts", + "default": "./dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/exports.d.ts", + "default": "./dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/exports.js" + }, + "default": "./dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/exports.js" + }, + "./tenants": { + "import": { + "types": "./dist/esm/management/api/resources/tenants/exports.d.mts", + "default": "./dist/esm/management/api/resources/tenants/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/tenants/exports.d.ts", + "default": "./dist/cjs/management/api/resources/tenants/exports.js" + }, + "default": "./dist/cjs/management/api/resources/tenants/exports.js" + }, + "./tenants/settings": { + "import": { + "types": "./dist/esm/management/api/resources/tenants/resources/settings/exports.d.mts", + "default": "./dist/esm/management/api/resources/tenants/resources/settings/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/tenants/resources/settings/exports.d.ts", + "default": "./dist/cjs/management/api/resources/tenants/resources/settings/exports.js" + }, + "default": "./dist/cjs/management/api/resources/tenants/resources/settings/exports.js" + }, + "./users/authenticationMethods": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/authenticationMethods/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/authenticationMethods/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/authenticationMethods/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/authenticationMethods/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/authenticationMethods/exports.js" + }, + "./users/authenticators": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/authenticators/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/authenticators/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/authenticators/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/authenticators/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/authenticators/exports.js" + }, + "./users/connectedAccounts": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/connectedAccounts/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/connectedAccounts/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/connectedAccounts/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/connectedAccounts/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/connectedAccounts/exports.js" + }, + "./users/effectivePermissions": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/effectivePermissions/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/effectivePermissions/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/effectivePermissions/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/effectivePermissions/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/effectivePermissions/exports.js" + }, + "./users/effectiveRoles": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/effectiveRoles/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/effectiveRoles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/effectiveRoles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/effectiveRoles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/effectiveRoles/exports.js" + }, + "./users/enrollments": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/enrollments/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/enrollments/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/enrollments/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/enrollments/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/enrollments/exports.js" + }, + "./users/groups": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/groups/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/groups/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/groups/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/groups/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/groups/exports.js" + }, + "./users/identities": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/identities/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/identities/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/identities/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/identities/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/identities/exports.js" + }, + "./users/logs": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/logs/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/logs/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/logs/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/logs/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/logs/exports.js" + }, + "./users/multifactor": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/multifactor/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/multifactor/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/multifactor/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/multifactor/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/multifactor/exports.js" + }, + "./users/organizations": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/organizations/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/organizations/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/organizations/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/organizations/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/organizations/exports.js" + }, + "./users/permissions": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/permissions/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/permissions/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/permissions/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/permissions/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/permissions/exports.js" + }, + "./users/riskAssessments": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/riskAssessments/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/riskAssessments/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/riskAssessments/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/riskAssessments/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/riskAssessments/exports.js" + }, + "./users/roles": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/roles/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/roles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/roles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/roles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/roles/exports.js" + }, + "./users/refreshToken": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/refreshToken/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/refreshToken/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/refreshToken/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/refreshToken/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/refreshToken/exports.js" + }, + "./users/sessions": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/sessions/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/sessions/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/sessions/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/sessions/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/sessions/exports.js" + }, + "./users/effectivePermissions/sources": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/exports.js" + }, + "./users/effectivePermissions/sources/roles": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/exports.js" + }, + "./users/effectiveRoles/sources": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/exports.js" + }, + "./users/effectiveRoles/sources/groups": { + "import": { + "types": "./dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/exports.d.mts", + "default": "./dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/exports.d.ts", + "default": "./dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/exports.js" + }, + "default": "./dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/exports.js" + }, + "./verifiableCredentials": { + "import": { + "types": "./dist/esm/management/api/resources/verifiableCredentials/exports.d.mts", + "default": "./dist/esm/management/api/resources/verifiableCredentials/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/verifiableCredentials/exports.d.ts", + "default": "./dist/cjs/management/api/resources/verifiableCredentials/exports.js" + }, + "default": "./dist/cjs/management/api/resources/verifiableCredentials/exports.js" + }, + "./verifiableCredentials/verification": { + "import": { + "types": "./dist/esm/management/api/resources/verifiableCredentials/resources/verification/exports.d.mts", + "default": "./dist/esm/management/api/resources/verifiableCredentials/resources/verification/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/verifiableCredentials/resources/verification/exports.d.ts", + "default": "./dist/cjs/management/api/resources/verifiableCredentials/resources/verification/exports.js" + }, + "default": "./dist/cjs/management/api/resources/verifiableCredentials/resources/verification/exports.js" + }, + "./verifiableCredentials/verification/templates": { + "import": { + "types": "./dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/exports.d.mts", + "default": "./dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/exports.mjs" + }, + "require": { + "types": "./dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/exports.d.ts", + "default": "./dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/exports.js" + }, + "default": "./dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/exports.js" + }, "./package.json": "./package.json", "./legacy": { "types": "./legacy/exports/index.d.ts", diff --git a/src/management/api/resources/actions/exports.ts b/src/management/api/resources/actions/exports.ts new file mode 100644 index 0000000000..4b0253c038 --- /dev/null +++ b/src/management/api/resources/actions/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ActionsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/actions/resources/executions/exports.ts b/src/management/api/resources/actions/resources/executions/exports.ts new file mode 100644 index 0000000000..07cde92cff --- /dev/null +++ b/src/management/api/resources/actions/resources/executions/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ExecutionsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/actions/resources/modules/exports.ts b/src/management/api/resources/actions/resources/modules/exports.ts new file mode 100644 index 0000000000..d96c8d5703 --- /dev/null +++ b/src/management/api/resources/actions/resources/modules/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ModulesClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/actions/resources/modules/resources/versions/exports.ts b/src/management/api/resources/actions/resources/modules/resources/versions/exports.ts new file mode 100644 index 0000000000..49e3ffd9d1 --- /dev/null +++ b/src/management/api/resources/actions/resources/modules/resources/versions/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { VersionsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/actions/resources/triggers/exports.ts b/src/management/api/resources/actions/resources/triggers/exports.ts new file mode 100644 index 0000000000..68df02ff1c --- /dev/null +++ b/src/management/api/resources/actions/resources/triggers/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { TriggersClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/actions/resources/triggers/resources/bindings/exports.ts b/src/management/api/resources/actions/resources/triggers/resources/bindings/exports.ts new file mode 100644 index 0000000000..7756e0bc9a --- /dev/null +++ b/src/management/api/resources/actions/resources/triggers/resources/bindings/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { BindingsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/actions/resources/versions/exports.ts b/src/management/api/resources/actions/resources/versions/exports.ts new file mode 100644 index 0000000000..49e3ffd9d1 --- /dev/null +++ b/src/management/api/resources/actions/resources/versions/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { VersionsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/anomaly/exports.ts b/src/management/api/resources/anomaly/exports.ts new file mode 100644 index 0000000000..4bb4868269 --- /dev/null +++ b/src/management/api/resources/anomaly/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { AnomalyClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/anomaly/resources/blocks/exports.ts b/src/management/api/resources/anomaly/resources/blocks/exports.ts new file mode 100644 index 0000000000..d16818b0b6 --- /dev/null +++ b/src/management/api/resources/anomaly/resources/blocks/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { BlocksClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/attackProtection/exports.ts b/src/management/api/resources/attackProtection/exports.ts new file mode 100644 index 0000000000..1cb2bb3c63 --- /dev/null +++ b/src/management/api/resources/attackProtection/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { AttackProtectionClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/attackProtection/resources/botDetection/exports.ts b/src/management/api/resources/attackProtection/resources/botDetection/exports.ts new file mode 100644 index 0000000000..db4f1c965c --- /dev/null +++ b/src/management/api/resources/attackProtection/resources/botDetection/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { BotDetectionClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/attackProtection/resources/breachedPasswordDetection/exports.ts b/src/management/api/resources/attackProtection/resources/breachedPasswordDetection/exports.ts new file mode 100644 index 0000000000..1532f2ef64 --- /dev/null +++ b/src/management/api/resources/attackProtection/resources/breachedPasswordDetection/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { BreachedPasswordDetectionClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/attackProtection/resources/bruteForceProtection/exports.ts b/src/management/api/resources/attackProtection/resources/bruteForceProtection/exports.ts new file mode 100644 index 0000000000..02eca94e9e --- /dev/null +++ b/src/management/api/resources/attackProtection/resources/bruteForceProtection/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { BruteForceProtectionClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/attackProtection/resources/captcha/exports.ts b/src/management/api/resources/attackProtection/resources/captcha/exports.ts new file mode 100644 index 0000000000..4b019791bb --- /dev/null +++ b/src/management/api/resources/attackProtection/resources/captcha/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { CaptchaClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/attackProtection/resources/phoneProviderProtection/exports.ts b/src/management/api/resources/attackProtection/resources/phoneProviderProtection/exports.ts new file mode 100644 index 0000000000..b25658a407 --- /dev/null +++ b/src/management/api/resources/attackProtection/resources/phoneProviderProtection/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { PhoneProviderProtectionClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/attackProtection/resources/suspiciousIpThrottling/exports.ts b/src/management/api/resources/attackProtection/resources/suspiciousIpThrottling/exports.ts new file mode 100644 index 0000000000..1c8833b7b0 --- /dev/null +++ b/src/management/api/resources/attackProtection/resources/suspiciousIpThrottling/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SuspiciousIpThrottlingClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/branding/exports.ts b/src/management/api/resources/branding/exports.ts new file mode 100644 index 0000000000..71da07a0d2 --- /dev/null +++ b/src/management/api/resources/branding/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { BrandingClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/branding/resources/phone/exports.ts b/src/management/api/resources/branding/resources/phone/exports.ts new file mode 100644 index 0000000000..63647e11b2 --- /dev/null +++ b/src/management/api/resources/branding/resources/phone/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { PhoneClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/branding/resources/phone/resources/providers/exports.ts b/src/management/api/resources/branding/resources/phone/resources/providers/exports.ts new file mode 100644 index 0000000000..ef0c482ca6 --- /dev/null +++ b/src/management/api/resources/branding/resources/phone/resources/providers/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ProvidersClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/branding/resources/phone/resources/templates/exports.ts b/src/management/api/resources/branding/resources/phone/resources/templates/exports.ts new file mode 100644 index 0000000000..3d66c02d76 --- /dev/null +++ b/src/management/api/resources/branding/resources/phone/resources/templates/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { TemplatesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/branding/resources/templates/exports.ts b/src/management/api/resources/branding/resources/templates/exports.ts new file mode 100644 index 0000000000..3d66c02d76 --- /dev/null +++ b/src/management/api/resources/branding/resources/templates/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { TemplatesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/branding/resources/themes/exports.ts b/src/management/api/resources/branding/resources/themes/exports.ts new file mode 100644 index 0000000000..2280c51fdf --- /dev/null +++ b/src/management/api/resources/branding/resources/themes/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ThemesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/clientGrants/exports.ts b/src/management/api/resources/clientGrants/exports.ts new file mode 100644 index 0000000000..3f2a25d7a2 --- /dev/null +++ b/src/management/api/resources/clientGrants/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ClientGrantsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/clientGrants/resources/organizations/exports.ts b/src/management/api/resources/clientGrants/resources/organizations/exports.ts new file mode 100644 index 0000000000..15329b91bd --- /dev/null +++ b/src/management/api/resources/clientGrants/resources/organizations/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { OrganizationsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/clients/exports.ts b/src/management/api/resources/clients/exports.ts new file mode 100644 index 0000000000..93a57edfae --- /dev/null +++ b/src/management/api/resources/clients/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ClientsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/clients/resources/connections/exports.ts b/src/management/api/resources/clients/resources/connections/exports.ts new file mode 100644 index 0000000000..6bbb96c4c5 --- /dev/null +++ b/src/management/api/resources/clients/resources/connections/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ConnectionsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/clients/resources/credentials/exports.ts b/src/management/api/resources/clients/resources/credentials/exports.ts new file mode 100644 index 0000000000..4b39da599f --- /dev/null +++ b/src/management/api/resources/clients/resources/credentials/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { CredentialsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/connectionProfiles/exports.ts b/src/management/api/resources/connectionProfiles/exports.ts new file mode 100644 index 0000000000..354a820b12 --- /dev/null +++ b/src/management/api/resources/connectionProfiles/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ConnectionProfilesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/connections/exports.ts b/src/management/api/resources/connections/exports.ts new file mode 100644 index 0000000000..336f3117df --- /dev/null +++ b/src/management/api/resources/connections/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ConnectionsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/connections/resources/clients/exports.ts b/src/management/api/resources/connections/resources/clients/exports.ts new file mode 100644 index 0000000000..9fa83201ae --- /dev/null +++ b/src/management/api/resources/connections/resources/clients/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ClientsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/connections/resources/directoryProvisioning/exports.ts b/src/management/api/resources/connections/resources/directoryProvisioning/exports.ts new file mode 100644 index 0000000000..79b7a92867 --- /dev/null +++ b/src/management/api/resources/connections/resources/directoryProvisioning/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { DirectoryProvisioningClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/exports.ts b/src/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/exports.ts new file mode 100644 index 0000000000..ff27285269 --- /dev/null +++ b/src/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SynchronizationsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/connections/resources/keys/exports.ts b/src/management/api/resources/connections/resources/keys/exports.ts new file mode 100644 index 0000000000..53b74685a2 --- /dev/null +++ b/src/management/api/resources/connections/resources/keys/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { KeysClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/connections/resources/scimConfiguration/exports.ts b/src/management/api/resources/connections/resources/scimConfiguration/exports.ts new file mode 100644 index 0000000000..70df40e605 --- /dev/null +++ b/src/management/api/resources/connections/resources/scimConfiguration/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ScimConfigurationClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/connections/resources/scimConfiguration/resources/tokens/exports.ts b/src/management/api/resources/connections/resources/scimConfiguration/resources/tokens/exports.ts new file mode 100644 index 0000000000..6b51ec13fd --- /dev/null +++ b/src/management/api/resources/connections/resources/scimConfiguration/resources/tokens/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { TokensClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/connections/resources/users/exports.ts b/src/management/api/resources/connections/resources/users/exports.ts new file mode 100644 index 0000000000..788add4edb --- /dev/null +++ b/src/management/api/resources/connections/resources/users/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { UsersClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/customDomains/exports.ts b/src/management/api/resources/customDomains/exports.ts new file mode 100644 index 0000000000..f33cd45ec6 --- /dev/null +++ b/src/management/api/resources/customDomains/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { CustomDomainsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/deviceCredentials/exports.ts b/src/management/api/resources/deviceCredentials/exports.ts new file mode 100644 index 0000000000..6c353a3253 --- /dev/null +++ b/src/management/api/resources/deviceCredentials/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { DeviceCredentialsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/emailTemplates/exports.ts b/src/management/api/resources/emailTemplates/exports.ts new file mode 100644 index 0000000000..bc4a2373be --- /dev/null +++ b/src/management/api/resources/emailTemplates/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { EmailTemplatesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/emails/exports.ts b/src/management/api/resources/emails/exports.ts new file mode 100644 index 0000000000..0bca3fd179 --- /dev/null +++ b/src/management/api/resources/emails/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { EmailsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/emails/resources/provider/exports.ts b/src/management/api/resources/emails/resources/provider/exports.ts new file mode 100644 index 0000000000..938a973442 --- /dev/null +++ b/src/management/api/resources/emails/resources/provider/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ProviderClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/eventStreams/exports.ts b/src/management/api/resources/eventStreams/exports.ts new file mode 100644 index 0000000000..2a599f4f21 --- /dev/null +++ b/src/management/api/resources/eventStreams/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { EventStreamsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/eventStreams/resources/deliveries/exports.ts b/src/management/api/resources/eventStreams/resources/deliveries/exports.ts new file mode 100644 index 0000000000..45678fede7 --- /dev/null +++ b/src/management/api/resources/eventStreams/resources/deliveries/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { DeliveriesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/eventStreams/resources/redeliveries/exports.ts b/src/management/api/resources/eventStreams/resources/redeliveries/exports.ts new file mode 100644 index 0000000000..7501d1ba45 --- /dev/null +++ b/src/management/api/resources/eventStreams/resources/redeliveries/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RedeliveriesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/events/exports.ts b/src/management/api/resources/events/exports.ts new file mode 100644 index 0000000000..64c4a04629 --- /dev/null +++ b/src/management/api/resources/events/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { EventsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/flows/exports.ts b/src/management/api/resources/flows/exports.ts new file mode 100644 index 0000000000..53ca059ddb --- /dev/null +++ b/src/management/api/resources/flows/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { FlowsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/flows/resources/executions/exports.ts b/src/management/api/resources/flows/resources/executions/exports.ts new file mode 100644 index 0000000000..07cde92cff --- /dev/null +++ b/src/management/api/resources/flows/resources/executions/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ExecutionsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/flows/resources/vault/exports.ts b/src/management/api/resources/flows/resources/vault/exports.ts new file mode 100644 index 0000000000..edd1915847 --- /dev/null +++ b/src/management/api/resources/flows/resources/vault/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { VaultClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/flows/resources/vault/resources/connections/exports.ts b/src/management/api/resources/flows/resources/vault/resources/connections/exports.ts new file mode 100644 index 0000000000..6bbb96c4c5 --- /dev/null +++ b/src/management/api/resources/flows/resources/vault/resources/connections/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ConnectionsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/forms/exports.ts b/src/management/api/resources/forms/exports.ts new file mode 100644 index 0000000000..0a0bf328dd --- /dev/null +++ b/src/management/api/resources/forms/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { FormsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/groups/exports.ts b/src/management/api/resources/groups/exports.ts new file mode 100644 index 0000000000..4b2f906937 --- /dev/null +++ b/src/management/api/resources/groups/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { GroupsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/groups/resources/members/exports.ts b/src/management/api/resources/groups/resources/members/exports.ts new file mode 100644 index 0000000000..e078fdc2e6 --- /dev/null +++ b/src/management/api/resources/groups/resources/members/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { MembersClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/groups/resources/roles/exports.ts b/src/management/api/resources/groups/resources/roles/exports.ts new file mode 100644 index 0000000000..9be4df57ce --- /dev/null +++ b/src/management/api/resources/groups/resources/roles/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RolesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/guardian/exports.ts b/src/management/api/resources/guardian/exports.ts new file mode 100644 index 0000000000..509239b77c --- /dev/null +++ b/src/management/api/resources/guardian/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { GuardianClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/guardian/resources/enrollments/exports.ts b/src/management/api/resources/guardian/resources/enrollments/exports.ts new file mode 100644 index 0000000000..504cae587c --- /dev/null +++ b/src/management/api/resources/guardian/resources/enrollments/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { EnrollmentsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/guardian/resources/factors/exports.ts b/src/management/api/resources/guardian/resources/factors/exports.ts new file mode 100644 index 0000000000..63833c4596 --- /dev/null +++ b/src/management/api/resources/guardian/resources/factors/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { FactorsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/guardian/resources/factors/resources/duo/exports.ts b/src/management/api/resources/guardian/resources/factors/resources/duo/exports.ts new file mode 100644 index 0000000000..58902e8c5c --- /dev/null +++ b/src/management/api/resources/guardian/resources/factors/resources/duo/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { DuoClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/exports.ts b/src/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/exports.ts new file mode 100644 index 0000000000..a6d715ac62 --- /dev/null +++ b/src/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SettingsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/guardian/resources/factors/resources/phone/exports.ts b/src/management/api/resources/guardian/resources/factors/resources/phone/exports.ts new file mode 100644 index 0000000000..694f097998 --- /dev/null +++ b/src/management/api/resources/guardian/resources/factors/resources/phone/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { PhoneClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/guardian/resources/factors/resources/pushNotification/exports.ts b/src/management/api/resources/guardian/resources/factors/resources/pushNotification/exports.ts new file mode 100644 index 0000000000..654acf5da4 --- /dev/null +++ b/src/management/api/resources/guardian/resources/factors/resources/pushNotification/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { PushNotificationClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/guardian/resources/factors/resources/sms/exports.ts b/src/management/api/resources/guardian/resources/factors/resources/sms/exports.ts new file mode 100644 index 0000000000..24208cb757 --- /dev/null +++ b/src/management/api/resources/guardian/resources/factors/resources/sms/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SmsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/guardian/resources/policies/exports.ts b/src/management/api/resources/guardian/resources/policies/exports.ts new file mode 100644 index 0000000000..493ce56e03 --- /dev/null +++ b/src/management/api/resources/guardian/resources/policies/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { PoliciesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/hooks/exports.ts b/src/management/api/resources/hooks/exports.ts new file mode 100644 index 0000000000..74a86a6b55 --- /dev/null +++ b/src/management/api/resources/hooks/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { HooksClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/hooks/resources/secrets/exports.ts b/src/management/api/resources/hooks/resources/secrets/exports.ts new file mode 100644 index 0000000000..f1bfdadde3 --- /dev/null +++ b/src/management/api/resources/hooks/resources/secrets/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SecretsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/jobs/exports.ts b/src/management/api/resources/jobs/exports.ts new file mode 100644 index 0000000000..c85c9f5778 --- /dev/null +++ b/src/management/api/resources/jobs/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { JobsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/jobs/resources/errors/exports.ts b/src/management/api/resources/jobs/resources/errors/exports.ts new file mode 100644 index 0000000000..dc240bda90 --- /dev/null +++ b/src/management/api/resources/jobs/resources/errors/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ErrorsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/jobs/resources/usersExports/exports.ts b/src/management/api/resources/jobs/resources/usersExports/exports.ts new file mode 100644 index 0000000000..cd318d8112 --- /dev/null +++ b/src/management/api/resources/jobs/resources/usersExports/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { UsersExportsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/jobs/resources/usersImports/exports.ts b/src/management/api/resources/jobs/resources/usersImports/exports.ts new file mode 100644 index 0000000000..5b81de5903 --- /dev/null +++ b/src/management/api/resources/jobs/resources/usersImports/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { UsersImportsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/jobs/resources/verificationEmail/exports.ts b/src/management/api/resources/jobs/resources/verificationEmail/exports.ts new file mode 100644 index 0000000000..fa9a184666 --- /dev/null +++ b/src/management/api/resources/jobs/resources/verificationEmail/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { VerificationEmailClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/keys/exports.ts b/src/management/api/resources/keys/exports.ts new file mode 100644 index 0000000000..d73c8b7d36 --- /dev/null +++ b/src/management/api/resources/keys/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { KeysClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/keys/resources/customSigning/exports.ts b/src/management/api/resources/keys/resources/customSigning/exports.ts new file mode 100644 index 0000000000..3c682fa971 --- /dev/null +++ b/src/management/api/resources/keys/resources/customSigning/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { CustomSigningClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/keys/resources/encryption/exports.ts b/src/management/api/resources/keys/resources/encryption/exports.ts new file mode 100644 index 0000000000..fd5d228939 --- /dev/null +++ b/src/management/api/resources/keys/resources/encryption/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { EncryptionClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/keys/resources/signing/exports.ts b/src/management/api/resources/keys/resources/signing/exports.ts new file mode 100644 index 0000000000..0e8a05b329 --- /dev/null +++ b/src/management/api/resources/keys/resources/signing/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SigningClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/logStreams/exports.ts b/src/management/api/resources/logStreams/exports.ts new file mode 100644 index 0000000000..0910085073 --- /dev/null +++ b/src/management/api/resources/logStreams/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { LogStreamsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/logs/exports.ts b/src/management/api/resources/logs/exports.ts new file mode 100644 index 0000000000..99a6fbb713 --- /dev/null +++ b/src/management/api/resources/logs/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { LogsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/networkAcls/exports.ts b/src/management/api/resources/networkAcls/exports.ts new file mode 100644 index 0000000000..d8815fb95e --- /dev/null +++ b/src/management/api/resources/networkAcls/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { NetworkAclsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/organizations/exports.ts b/src/management/api/resources/organizations/exports.ts new file mode 100644 index 0000000000..73c32ccf77 --- /dev/null +++ b/src/management/api/resources/organizations/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { OrganizationsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/organizations/resources/clientGrants/exports.ts b/src/management/api/resources/organizations/resources/clientGrants/exports.ts new file mode 100644 index 0000000000..5457a2b91a --- /dev/null +++ b/src/management/api/resources/organizations/resources/clientGrants/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ClientGrantsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/organizations/resources/connections/exports.ts b/src/management/api/resources/organizations/resources/connections/exports.ts new file mode 100644 index 0000000000..6bbb96c4c5 --- /dev/null +++ b/src/management/api/resources/organizations/resources/connections/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ConnectionsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/organizations/resources/discoveryDomains/exports.ts b/src/management/api/resources/organizations/resources/discoveryDomains/exports.ts new file mode 100644 index 0000000000..8975ba340f --- /dev/null +++ b/src/management/api/resources/organizations/resources/discoveryDomains/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { DiscoveryDomainsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/organizations/resources/enabledConnections/exports.ts b/src/management/api/resources/organizations/resources/enabledConnections/exports.ts new file mode 100644 index 0000000000..be023333c4 --- /dev/null +++ b/src/management/api/resources/organizations/resources/enabledConnections/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { EnabledConnectionsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/organizations/resources/groups/exports.ts b/src/management/api/resources/organizations/resources/groups/exports.ts new file mode 100644 index 0000000000..4b2f906937 --- /dev/null +++ b/src/management/api/resources/organizations/resources/groups/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { GroupsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/organizations/resources/groups/resources/roles/exports.ts b/src/management/api/resources/organizations/resources/groups/resources/roles/exports.ts new file mode 100644 index 0000000000..9be4df57ce --- /dev/null +++ b/src/management/api/resources/organizations/resources/groups/resources/roles/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RolesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/organizations/resources/invitations/exports.ts b/src/management/api/resources/organizations/resources/invitations/exports.ts new file mode 100644 index 0000000000..912df7e345 --- /dev/null +++ b/src/management/api/resources/organizations/resources/invitations/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { InvitationsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/organizations/resources/members/exports.ts b/src/management/api/resources/organizations/resources/members/exports.ts new file mode 100644 index 0000000000..648c2b3e2e --- /dev/null +++ b/src/management/api/resources/organizations/resources/members/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { MembersClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/organizations/resources/members/resources/effectiveRoles/exports.ts b/src/management/api/resources/organizations/resources/members/resources/effectiveRoles/exports.ts new file mode 100644 index 0000000000..4da46c652f --- /dev/null +++ b/src/management/api/resources/organizations/resources/members/resources/effectiveRoles/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { EffectiveRolesClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/exports.ts b/src/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/exports.ts new file mode 100644 index 0000000000..684deea389 --- /dev/null +++ b/src/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SourcesClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/exports.ts b/src/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/exports.ts new file mode 100644 index 0000000000..35ab81e434 --- /dev/null +++ b/src/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { GroupsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/organizations/resources/members/resources/roles/exports.ts b/src/management/api/resources/organizations/resources/members/resources/roles/exports.ts new file mode 100644 index 0000000000..9be4df57ce --- /dev/null +++ b/src/management/api/resources/organizations/resources/members/resources/roles/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RolesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/organizations/resources/roles/exports.ts b/src/management/api/resources/organizations/resources/roles/exports.ts new file mode 100644 index 0000000000..45a7efa852 --- /dev/null +++ b/src/management/api/resources/organizations/resources/roles/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RolesClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/organizations/resources/roles/resources/members/exports.ts b/src/management/api/resources/organizations/resources/roles/resources/members/exports.ts new file mode 100644 index 0000000000..e078fdc2e6 --- /dev/null +++ b/src/management/api/resources/organizations/resources/roles/resources/members/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { MembersClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/prompts/exports.ts b/src/management/api/resources/prompts/exports.ts new file mode 100644 index 0000000000..6c5b4bf4d5 --- /dev/null +++ b/src/management/api/resources/prompts/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { PromptsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/prompts/resources/customText/exports.ts b/src/management/api/resources/prompts/resources/customText/exports.ts new file mode 100644 index 0000000000..67e8d4148f --- /dev/null +++ b/src/management/api/resources/prompts/resources/customText/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { CustomTextClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/prompts/resources/partials/exports.ts b/src/management/api/resources/prompts/resources/partials/exports.ts new file mode 100644 index 0000000000..73f64c2e15 --- /dev/null +++ b/src/management/api/resources/prompts/resources/partials/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { PartialsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/prompts/resources/rendering/exports.ts b/src/management/api/resources/prompts/resources/rendering/exports.ts new file mode 100644 index 0000000000..75ccfde7d1 --- /dev/null +++ b/src/management/api/resources/prompts/resources/rendering/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RenderingClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/rateLimitPolicies/exports.ts b/src/management/api/resources/rateLimitPolicies/exports.ts new file mode 100644 index 0000000000..224a3fe83e --- /dev/null +++ b/src/management/api/resources/rateLimitPolicies/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RateLimitPoliciesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/refreshTokens/exports.ts b/src/management/api/resources/refreshTokens/exports.ts new file mode 100644 index 0000000000..39f6b165f8 --- /dev/null +++ b/src/management/api/resources/refreshTokens/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RefreshTokensClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/resourceServers/exports.ts b/src/management/api/resources/resourceServers/exports.ts new file mode 100644 index 0000000000..bc58971c7c --- /dev/null +++ b/src/management/api/resources/resourceServers/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ResourceServersClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/riskAssessments/exports.ts b/src/management/api/resources/riskAssessments/exports.ts new file mode 100644 index 0000000000..524a62c218 --- /dev/null +++ b/src/management/api/resources/riskAssessments/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RiskAssessmentsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/riskAssessments/resources/settings/exports.ts b/src/management/api/resources/riskAssessments/resources/settings/exports.ts new file mode 100644 index 0000000000..9de5d6aeab --- /dev/null +++ b/src/management/api/resources/riskAssessments/resources/settings/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SettingsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/riskAssessments/resources/settings/resources/newDevice/exports.ts b/src/management/api/resources/riskAssessments/resources/settings/resources/newDevice/exports.ts new file mode 100644 index 0000000000..9577a6eedc --- /dev/null +++ b/src/management/api/resources/riskAssessments/resources/settings/resources/newDevice/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { NewDeviceClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/roles/exports.ts b/src/management/api/resources/roles/exports.ts new file mode 100644 index 0000000000..45a7efa852 --- /dev/null +++ b/src/management/api/resources/roles/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RolesClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/roles/resources/groups/exports.ts b/src/management/api/resources/roles/resources/groups/exports.ts new file mode 100644 index 0000000000..35ab81e434 --- /dev/null +++ b/src/management/api/resources/roles/resources/groups/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { GroupsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/roles/resources/permissions/exports.ts b/src/management/api/resources/roles/resources/permissions/exports.ts new file mode 100644 index 0000000000..4691acb6ba --- /dev/null +++ b/src/management/api/resources/roles/resources/permissions/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { PermissionsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/roles/resources/users/exports.ts b/src/management/api/resources/roles/resources/users/exports.ts new file mode 100644 index 0000000000..788add4edb --- /dev/null +++ b/src/management/api/resources/roles/resources/users/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { UsersClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/rules/exports.ts b/src/management/api/resources/rules/exports.ts new file mode 100644 index 0000000000..818b33428f --- /dev/null +++ b/src/management/api/resources/rules/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RulesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/rulesConfigs/exports.ts b/src/management/api/resources/rulesConfigs/exports.ts new file mode 100644 index 0000000000..06a24153c7 --- /dev/null +++ b/src/management/api/resources/rulesConfigs/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RulesConfigsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/selfServiceProfiles/exports.ts b/src/management/api/resources/selfServiceProfiles/exports.ts new file mode 100644 index 0000000000..d97b34eb77 --- /dev/null +++ b/src/management/api/resources/selfServiceProfiles/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SelfServiceProfilesClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/selfServiceProfiles/resources/customText/exports.ts b/src/management/api/resources/selfServiceProfiles/resources/customText/exports.ts new file mode 100644 index 0000000000..67e8d4148f --- /dev/null +++ b/src/management/api/resources/selfServiceProfiles/resources/customText/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { CustomTextClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/selfServiceProfiles/resources/ssoTicket/exports.ts b/src/management/api/resources/selfServiceProfiles/resources/ssoTicket/exports.ts new file mode 100644 index 0000000000..9f2dc8da46 --- /dev/null +++ b/src/management/api/resources/selfServiceProfiles/resources/ssoTicket/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SsoTicketClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/sessions/exports.ts b/src/management/api/resources/sessions/exports.ts new file mode 100644 index 0000000000..989fb8a75f --- /dev/null +++ b/src/management/api/resources/sessions/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SessionsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/stats/exports.ts b/src/management/api/resources/stats/exports.ts new file mode 100644 index 0000000000..e0ff35f5e5 --- /dev/null +++ b/src/management/api/resources/stats/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { StatsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/supplementalSignals/exports.ts b/src/management/api/resources/supplementalSignals/exports.ts new file mode 100644 index 0000000000..4a9aa493e4 --- /dev/null +++ b/src/management/api/resources/supplementalSignals/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SupplementalSignalsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/tenants/exports.ts b/src/management/api/resources/tenants/exports.ts new file mode 100644 index 0000000000..e163288e2f --- /dev/null +++ b/src/management/api/resources/tenants/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { TenantsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/tenants/resources/settings/exports.ts b/src/management/api/resources/tenants/resources/settings/exports.ts new file mode 100644 index 0000000000..a6d715ac62 --- /dev/null +++ b/src/management/api/resources/tenants/resources/settings/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SettingsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/tickets/exports.ts b/src/management/api/resources/tickets/exports.ts new file mode 100644 index 0000000000..6b2593b859 --- /dev/null +++ b/src/management/api/resources/tickets/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { TicketsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/tokenExchangeProfiles/exports.ts b/src/management/api/resources/tokenExchangeProfiles/exports.ts new file mode 100644 index 0000000000..cba38caff2 --- /dev/null +++ b/src/management/api/resources/tokenExchangeProfiles/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { TokenExchangeProfilesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/userAttributeProfiles/exports.ts b/src/management/api/resources/userAttributeProfiles/exports.ts new file mode 100644 index 0000000000..f9e751d39e --- /dev/null +++ b/src/management/api/resources/userAttributeProfiles/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { UserAttributeProfilesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/userBlocks/exports.ts b/src/management/api/resources/userBlocks/exports.ts new file mode 100644 index 0000000000..7590209287 --- /dev/null +++ b/src/management/api/resources/userBlocks/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { UserBlocksClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/userGrants/exports.ts b/src/management/api/resources/userGrants/exports.ts new file mode 100644 index 0000000000..b1a306c72a --- /dev/null +++ b/src/management/api/resources/userGrants/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { UserGrantsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/exports.ts b/src/management/api/resources/users/exports.ts new file mode 100644 index 0000000000..10da7ffd02 --- /dev/null +++ b/src/management/api/resources/users/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { UsersClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/users/resources/authenticationMethods/exports.ts b/src/management/api/resources/users/resources/authenticationMethods/exports.ts new file mode 100644 index 0000000000..c07b0a38bb --- /dev/null +++ b/src/management/api/resources/users/resources/authenticationMethods/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { AuthenticationMethodsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/authenticators/exports.ts b/src/management/api/resources/users/resources/authenticators/exports.ts new file mode 100644 index 0000000000..2ce53cd091 --- /dev/null +++ b/src/management/api/resources/users/resources/authenticators/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { AuthenticatorsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/connectedAccounts/exports.ts b/src/management/api/resources/users/resources/connectedAccounts/exports.ts new file mode 100644 index 0000000000..506c92351e --- /dev/null +++ b/src/management/api/resources/users/resources/connectedAccounts/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { ConnectedAccountsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/effectivePermissions/exports.ts b/src/management/api/resources/users/resources/effectivePermissions/exports.ts new file mode 100644 index 0000000000..b8e8487dd3 --- /dev/null +++ b/src/management/api/resources/users/resources/effectivePermissions/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { EffectivePermissionsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/users/resources/effectivePermissions/resources/sources/exports.ts b/src/management/api/resources/users/resources/effectivePermissions/resources/sources/exports.ts new file mode 100644 index 0000000000..684deea389 --- /dev/null +++ b/src/management/api/resources/users/resources/effectivePermissions/resources/sources/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SourcesClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/exports.ts b/src/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/exports.ts new file mode 100644 index 0000000000..9be4df57ce --- /dev/null +++ b/src/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RolesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/effectiveRoles/exports.ts b/src/management/api/resources/users/resources/effectiveRoles/exports.ts new file mode 100644 index 0000000000..4da46c652f --- /dev/null +++ b/src/management/api/resources/users/resources/effectiveRoles/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { EffectiveRolesClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/users/resources/effectiveRoles/resources/sources/exports.ts b/src/management/api/resources/users/resources/effectiveRoles/resources/sources/exports.ts new file mode 100644 index 0000000000..684deea389 --- /dev/null +++ b/src/management/api/resources/users/resources/effectiveRoles/resources/sources/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SourcesClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/exports.ts b/src/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/exports.ts new file mode 100644 index 0000000000..35ab81e434 --- /dev/null +++ b/src/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { GroupsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/enrollments/exports.ts b/src/management/api/resources/users/resources/enrollments/exports.ts new file mode 100644 index 0000000000..504cae587c --- /dev/null +++ b/src/management/api/resources/users/resources/enrollments/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { EnrollmentsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/groups/exports.ts b/src/management/api/resources/users/resources/groups/exports.ts new file mode 100644 index 0000000000..35ab81e434 --- /dev/null +++ b/src/management/api/resources/users/resources/groups/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { GroupsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/identities/exports.ts b/src/management/api/resources/users/resources/identities/exports.ts new file mode 100644 index 0000000000..b015cb57ce --- /dev/null +++ b/src/management/api/resources/users/resources/identities/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { IdentitiesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/logs/exports.ts b/src/management/api/resources/users/resources/logs/exports.ts new file mode 100644 index 0000000000..99a6fbb713 --- /dev/null +++ b/src/management/api/resources/users/resources/logs/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { LogsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/multifactor/exports.ts b/src/management/api/resources/users/resources/multifactor/exports.ts new file mode 100644 index 0000000000..f21a8f5e36 --- /dev/null +++ b/src/management/api/resources/users/resources/multifactor/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { MultifactorClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/organizations/exports.ts b/src/management/api/resources/users/resources/organizations/exports.ts new file mode 100644 index 0000000000..15329b91bd --- /dev/null +++ b/src/management/api/resources/users/resources/organizations/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { OrganizationsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/permissions/exports.ts b/src/management/api/resources/users/resources/permissions/exports.ts new file mode 100644 index 0000000000..4691acb6ba --- /dev/null +++ b/src/management/api/resources/users/resources/permissions/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { PermissionsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/refreshToken/exports.ts b/src/management/api/resources/users/resources/refreshToken/exports.ts new file mode 100644 index 0000000000..0d48014d30 --- /dev/null +++ b/src/management/api/resources/users/resources/refreshToken/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RefreshTokenClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/riskAssessments/exports.ts b/src/management/api/resources/users/resources/riskAssessments/exports.ts new file mode 100644 index 0000000000..7b0a6f04f1 --- /dev/null +++ b/src/management/api/resources/users/resources/riskAssessments/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RiskAssessmentsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/roles/exports.ts b/src/management/api/resources/users/resources/roles/exports.ts new file mode 100644 index 0000000000..9be4df57ce --- /dev/null +++ b/src/management/api/resources/users/resources/roles/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { RolesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/users/resources/sessions/exports.ts b/src/management/api/resources/users/resources/sessions/exports.ts new file mode 100644 index 0000000000..989fb8a75f --- /dev/null +++ b/src/management/api/resources/users/resources/sessions/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { SessionsClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/api/resources/verifiableCredentials/exports.ts b/src/management/api/resources/verifiableCredentials/exports.ts new file mode 100644 index 0000000000..dd0ffc6f82 --- /dev/null +++ b/src/management/api/resources/verifiableCredentials/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { VerifiableCredentialsClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/verifiableCredentials/resources/verification/exports.ts b/src/management/api/resources/verifiableCredentials/resources/verification/exports.ts new file mode 100644 index 0000000000..3743e5a75d --- /dev/null +++ b/src/management/api/resources/verifiableCredentials/resources/verification/exports.ts @@ -0,0 +1,5 @@ +// This file was auto-generated by Fern from our API Definition. + +export { VerificationClient } from "./client/Client.js"; +export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/management/api/resources/verifiableCredentials/resources/verification/resources/templates/exports.ts b/src/management/api/resources/verifiableCredentials/resources/verification/resources/templates/exports.ts new file mode 100644 index 0000000000..3d66c02d76 --- /dev/null +++ b/src/management/api/resources/verifiableCredentials/resources/verification/resources/templates/exports.ts @@ -0,0 +1,4 @@ +// This file was auto-generated by Fern from our API Definition. + +export { TemplatesClient } from "./client/Client.js"; +export * from "./client/index.js"; diff --git a/src/management/index.ts b/src/management/index.ts index 69c868a67f..92e8f96a9d 100644 --- a/src/management/index.ts +++ b/src/management/index.ts @@ -1,6 +1,9 @@ export * as Management from "./api/index.js"; export { ManagementError, ManagementTimeoutError } from "./errors/index.js"; export { ManagementClient } from "./wrapper/ManagementClient.js"; +export { TokenProvider } from "./wrapper/token-provider.js"; +export { createManagementAuth } from "./wrapper/management-auth.js"; +export type { ManagementAuth, ManagementAuthOptions } from "./wrapper/management-auth.js"; export { ManagementEnvironment } from "./environments.js"; export { CustomDomainHeader, withTimeout, withRetries, withHeaders, withAbortSignal } from "./request-options.js"; export * from "./exports.js"; diff --git a/src/management/wrapper/ManagementClient.ts b/src/management/wrapper/ManagementClient.ts index ba96160d73..6b91f0a155 100644 --- a/src/management/wrapper/ManagementClient.ts +++ b/src/management/wrapper/ManagementClient.ts @@ -1,8 +1,7 @@ import { ManagementClient as FernClient } from "../Client.js"; import * as core from "../core/index.js"; -import { TokenProvider } from "./token-provider.js"; -import { Auth0ClientTelemetry } from "../../lib/middleware/auth0-client-telemetry.js"; import { withCustomDomainHeader } from "../request-options.js"; +import { createTelemetryHeaders, createTokenSupplier } from "./auth-helpers.js"; /** * All supported configuration options for the ManagementClient. @@ -22,8 +21,10 @@ export declare namespace ManagementClient { * @group Management API * @public */ - export interface ManagementClientOptions - extends Omit { + export interface ManagementClientOptions extends Omit< + FernClient.Options, + "token" | "environment" | "fetcher" | "baseUrl" | "fetch" + > { /** Auth0 domain (e.g., 'your-tenant.auth0.com') */ domain: string; /** @@ -226,107 +227,3 @@ export class ManagementClient extends FernClient { super(clientOptions); } } - -/** - * Type guard to determine if options use token-based authentication. - * - * @param _options - The management client configuration options - * @returns True if the options contain a token property - * @group Management API - * @namespace ManagementClient.Utils - * @private - */ -function isClientOptionsWithToken( - _options: ManagementClientConfig, -): _options is ManagementClient.ManagementClientOptionsWithToken { - return "token" in _options; -} - -/** - * Creates telemetry headers for the Management Client. - * Adds the Auth0-Client header when telemetry is enabled. - * - * @param _options - The management client configuration options - * @returns Headers object including telemetry information - * @group Management API - * @namespace ManagementClient.Utils - * @private - */ -function createTelemetryHeaders( - _options: ManagementClientConfig, -): Record | null | undefined> { - const headers = { ...(_options.headers ?? {}) }; - - if (_options.telemetry !== false) { - const telemetry = new Auth0ClientTelemetry({ - clientInfo: _options.clientInfo, - }); - - const auth0ClientHeader = telemetry.getAuth0ClientHeader(); - if (auth0ClientHeader) { - headers["Auth0-Client"] = auth0ClientHeader; - } - } - - return headers; -} - -/** - * Type guard to check if options contain client secret. - * - * @param _options - Client credentials configuration options - * @returns True if the options contain a clientSecret property - * @group Management API - * @namespace ManagementClient.Utils - * @private - */ -function hasClientSecret( - _options: ManagementClient.ManagementClientOptionsWithClientCredentials, -): _options is ManagementClient.ManagementClientOptionsWithClientSecret { - return "clientSecret" in _options; -} - -/** - * Creates a token supplier based on the authentication method. - * Returns the provided token for token-based auth, or creates a TokenProvider - * for client credentials (secret or assertion) authentication. - * - * @param _options - The management client configuration options - * @returns A function that returns an access token - * @group Management API - * @namespace ManagementClient.Utils - * @private - */ -function createTokenSupplier(_options: ManagementClientConfig): core.Supplier { - if (isClientOptionsWithToken(_options)) { - return _options.token; - } - - // Handle client credentials with proper type checking - const baseOptions = { - ..._options, - audience: _options.audience ?? `https://${_options.domain}/api/v2/`, - clientId: _options.clientId, - useMTLS: _options.useMTLS, - }; - - if (hasClientSecret(_options)) { - // Client secret authentication - const tokenProviderOptions: ManagementClient.ManagementClientOptionsWithClientSecret & { audience: string } = { - ...baseOptions, - clientSecret: _options.clientSecret, - }; - const tokenProvider = new TokenProvider(tokenProviderOptions); - return () => tokenProvider.getAccessToken(); - } else { - // Client assertion authentication - const tokenProviderOptions: ManagementClient.ManagementClientOptionsWithClientAssertion & { audience: string } = - { - ...baseOptions, - clientAssertionSigningKey: _options.clientAssertionSigningKey, - clientAssertionSigningAlg: _options.clientAssertionSigningAlg, - }; - const tokenProvider = new TokenProvider(tokenProviderOptions); - return () => tokenProvider.getAccessToken(); - } -} diff --git a/src/management/wrapper/auth-helpers.ts b/src/management/wrapper/auth-helpers.ts new file mode 100644 index 0000000000..3a5509d393 --- /dev/null +++ b/src/management/wrapper/auth-helpers.ts @@ -0,0 +1,117 @@ +import * as core from "../core/index.js"; +import type { ManagementClient } from "./ManagementClient.js"; +import { TokenProvider } from "./token-provider.js"; +import { Auth0ClientTelemetry } from "../../lib/middleware/auth0-client-telemetry.js"; + +/** + * Headers accepted by the Management client and its sub-clients. + * + * @group Management API + * @internal + */ +export type ManagementHeaders = Record | null | undefined>; + +/** + * The full set of authentication configurations accepted by the Management client, either a + * static token or client credentials (client secret or client assertion). + * + * @group Management API + * @internal + */ +export type ManagementAuthConfig = + | ManagementClient.ManagementClientOptionsWithToken + | ManagementClient.ManagementClientOptionsWithClientCredentials; + +/** + * Builds the Management API v2 base URL for a tenant domain. + * + * @group Management API + * @internal + */ +export function buildManagementBaseUrl(domain: string): string { + return `https://${domain}/api/v2`; +} + +/** + * Type guard that determines if options use static token authentication. + * + * @group Management API + * @internal + */ +export function isClientOptionsWithToken( + options: ManagementAuthConfig, +): options is ManagementClient.ManagementClientOptionsWithToken { + return "token" in options; +} + +/** + * Type guard that narrows client credentials to the client-secret variant. + * + * @group Management API + * @internal + */ +function hasClientSecret( + options: ManagementClient.ManagementClientOptionsWithClientCredentials, +): options is ManagementClient.ManagementClientOptionsWithClientSecret { + return "clientSecret" in options; +} + +/** + * Creates a token supplier from the provided options. + * + * Returns the supplied token as-is for token-based auth, or a self-refreshing + * {@link TokenProvider}-backed supplier for client credentials (secret or assertion). + * + * @group Management API + * @internal + */ +export function createTokenSupplier(options: ManagementAuthConfig): core.Supplier { + if (isClientOptionsWithToken(options)) { + return options.token; + } + + const audience = options.audience ?? `${buildManagementBaseUrl(options.domain)}/`; + + // The named type guard narrows the union so each branch matches one of TokenProvider's + // overloaded constructors (client secret vs client assertion). Both branches forward the + // full options object, which is what selects the signing method downstream. + if (hasClientSecret(options)) { + const tokenProviderOptions: ManagementClient.ManagementClientOptionsWithClientSecret & { audience: string } = { + ...options, + audience, + }; + const tokenProvider = new TokenProvider(tokenProviderOptions); + return () => tokenProvider.getAccessToken(); + } else { + const tokenProviderOptions: ManagementClient.ManagementClientOptionsWithClientAssertion & { + audience: string; + } = { + ...options, + audience, + }; + const tokenProvider = new TokenProvider(tokenProviderOptions); + return () => tokenProvider.getAccessToken(); + } +} + +/** + * Builds the request headers for the Management client, including the `Auth0-Client` telemetry + * header when telemetry is enabled. Respects `telemetry: false` and custom `clientInfo`, and + * preserves any user-supplied headers. + * + * @group Management API + * @internal + */ +export function createTelemetryHeaders(options: ManagementAuthConfig): ManagementHeaders { + const headers: ManagementHeaders = { ...(options.headers ?? {}) }; + + if (options.telemetry !== false) { + const telemetry = new Auth0ClientTelemetry({ clientInfo: options.clientInfo }); + const auth0ClientHeader = telemetry.getAuth0ClientHeader(); + if (auth0ClientHeader) { + headers["Auth0-Client"] = auth0ClientHeader; + } + } + + return headers; +} diff --git a/src/management/wrapper/management-auth.ts b/src/management/wrapper/management-auth.ts new file mode 100644 index 0000000000..1221af6efb --- /dev/null +++ b/src/management/wrapper/management-auth.ts @@ -0,0 +1,148 @@ +import * as core from "../core/index.js"; +import type { ManagementClient } from "./ManagementClient.js"; +import { withCustomDomainHeader } from "../request-options.js"; +import { + buildManagementBaseUrl, + createTelemetryHeaders, + createTokenSupplier, + type ManagementHeaders, +} from "./auth-helpers.js"; + +/** + * Options for {@link createManagementAuth}. + * + * Provide either a static `token`, or client credentials (`clientId` plus either + * `clientSecret` or `clientAssertionSigningKey`) to have a token fetched and refreshed + * automatically. + * + * @group Management API + * @public + */ +export type ManagementAuthOptions = + | ManagementClient.ManagementClientOptionsWithToken + | ManagementClient.ManagementClientOptionsWithClientCredentials; + +/** + * Ready-to-spread options for any Management sub-client constructor. + * + * These mirror the options that the full {@link ManagementClient} passes to its sub-clients, + * so individually imported clients share the same base URL, self-refreshing token, telemetry + * headers, and request behaviour. + * + * @group Management API + * @public + */ +export interface ManagementAuthClientOptions { + /** The Management API v2 base URL for the tenant. */ + baseUrl: string; + /** A supplier that returns a valid access token, fetching or refreshing it when needed. */ + token: core.Supplier; + /** Headers to send with every request, including the `Auth0-Client` telemetry header when enabled. */ + headers?: ManagementHeaders; + /** The default maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The default number of times to retry a request. */ + maxRetries?: number; + /** Logging configuration for the client. */ + logging?: core.logging.LogConfig | core.logging.Logger; + /** Custom fetcher, set automatically when a custom domain header is configured. */ + fetcher?: (args: any) => Promise; +} + +/** + * A reusable authentication context for the Management API. + * + * Spread {@link ManagementAuth.clientOptions} into any Management sub-client constructor so + * every client shares the same base URL and self-refreshing token. + * + * @group Management API + * @public + */ +export interface ManagementAuth { + /** The Management API v2 base URL for the tenant, e.g. `https://tenant.auth0.com/api/v2`. */ + baseUrl: string; + /** Returns a valid access token, fetching or refreshing it when needed. */ + getToken: () => Promise; + /** Ready-to-spread options for any Management sub-client constructor. */ + clientOptions: ManagementAuthClientOptions; +} + +/** + * Creates a shared authentication context for the Auth0 Management API without pulling in the + * full {@link ManagementClient}. This is useful for size-constrained runtimes (for example + * Cloudflare Workers) where you import individual sub-clients such as `auth0/clients` and + * `auth0/users` and want to handle auth once. + * + * When client credentials are provided, tokens are obtained via the client credentials grant + * and cached until shortly before they expire. When a static `token` is provided, it is used + * as-is. + * + * The returned {@link ManagementAuth.clientOptions} carry the same telemetry headers, request + * timeouts, retry counts, logging, and custom domain behaviour that the full `ManagementClient` + * applies, so individually imported sub-clients behave consistently. + * + * @group Management API + * @public + * + * @example Client credentials with individual sub-clients + * ```ts + * import { createManagementAuth } from "auth0/management"; + * import { ClientsClient } from "auth0/clients"; + * import { UsersClient } from "auth0/users"; + * + * const auth = createManagementAuth({ + * domain: "your-tenant.auth0.com", + * clientId: "your-client-id", + * clientSecret: "your-client-secret", + * }); + * + * const clients = new ClientsClient(auth.clientOptions); + * const users = new UsersClient(auth.clientOptions); + * ``` + * + * @example Static token + * ```ts + * const auth = createManagementAuth({ + * domain: "your-tenant.auth0.com", + * token: "your-api-v2-token", + * }); + * ``` + * + * @example Custom domain header (applied to whitelisted endpoints) + * ```ts + * const auth = createManagementAuth({ + * domain: "your-tenant.auth0.com", + * clientId: "your-client-id", + * clientSecret: "your-client-secret", + * withCustomDomainHeader: "auth.example.com", + * }); + * ``` + */ +export function createManagementAuth(options: ManagementAuthOptions): ManagementAuth { + const baseUrl = buildManagementBaseUrl(options.domain); + + const tokenSupplier = createTokenSupplier(options); + const getToken = () => core.Supplier.get(tokenSupplier); + + const headers = createTelemetryHeaders(options); + + let clientOptions: ManagementAuthClientOptions = { + baseUrl, + token: getToken, + ...(Object.keys(headers).length > 0 ? { headers } : {}), + ...(options.timeoutInSeconds !== undefined ? { timeoutInSeconds: options.timeoutInSeconds } : {}), + ...(options.maxRetries !== undefined ? { maxRetries: options.maxRetries } : {}), + ...(options.logging !== undefined ? { logging: options.logging } : {}), + }; + + // Apply custom domain header configuration if provided, matching the full ManagementClient. + if ("withCustomDomainHeader" in options && options.withCustomDomainHeader !== undefined) { + clientOptions = withCustomDomainHeader(options.withCustomDomainHeader, clientOptions); + } + + return { + baseUrl, + getToken, + clientOptions, + }; +}