Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,920 changes: 1,913 additions & 7 deletions .fern/replay.lock

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -19287,7 +19287,7 @@ await client.connections.clients.update("id", [
<dl>
<dd>

Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy.
Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy. The response includes both signing keys and encryption keys, told apart by `key_use`. Encryption keys apply only to OIDC and Okta connections.

</dd>
</dl>
Expand Down Expand Up @@ -19350,7 +19350,9 @@ await client.connections.keys.get("id");
<dl>
<dd>

Provision initial connection keys for Okta, OIDC, or SAML (samlp) connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication, enabling zero-downtime transitions.
Provision initial connection keys for Okta, OIDC, or SAML (samlp) connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication or encrypted ID tokens, enabling zero-downtime transitions.

Set `key_use` to `signing` (default) to provision signing keys, optionally choosing `signing_alg`, or to `encryption` to provision encryption keys, optionally choosing `encryption_alg`. `signing_alg` and `encryption_alg` each apply only to their own key use. Encryption keys and encrypted ID tokens apply only to OIDC and Okta connections. The response lists all of the connection's keys.

</dd>
</dl>
Expand Down Expand Up @@ -19423,6 +19425,8 @@ await client.connections.keys.create("id");

Rotates the connection keys for the Okta, OIDC, or SAML (samlp) connection strategies.

Set `key_use` to `signing` (default) to rotate the signing key, optionally choosing `signing_alg`, or to `encryption` to rotate the encryption key, optionally choosing `encryption_alg`. Rotating signing keys requires the connection to be configured to use JWT Client Authentication. Rotating encryption keys requires the connection to be configured to use encrypted ID tokens (`id_token_encrypted_response_alg` set), which applies only to OIDC and Okta connections. When `encryption_alg` is omitted, the new encryption key uses `id_token_encrypted_response_alg`.

</dd>
</dl>
</dd>
Expand Down Expand Up @@ -19948,9 +19952,6 @@ a name of configuration set in `configuration_set_name` property. Value must be
```typescript
await client.emails.provider.create({
name: "mailgun",
credentials: {
api_key: "api_key",
},
});
```

Expand Down
12 changes: 6 additions & 6 deletions src/management/api/requests/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ export interface CreateClientRequestContent {
express_configuration?: Management.ExpressConfiguration;
b2b_integration_configuration?: Management.B2BIntegrationConfiguration;
my_organization_configuration?: Management.ClientMyOrganizationPostConfiguration;
google_account_linking?: Management.GoogleAccountLinkingConfigurationCreate;
async_approval_notification_channels?: Management.ClientAsyncApprovalNotificationsChannelsApiPostConfiguration;
/** ID of the agent to associate with this client. */
agent_id?: string | null;
Expand Down Expand Up @@ -606,6 +607,7 @@ export interface UpdateClientRequestContent {
express_configuration?: Management.ExpressConfigurationOrNull | null;
b2b_integration_configuration?: Management.B2BIntegrationConfiguration;
my_organization_configuration?: Management.ClientMyOrganizationPatchConfiguration | null;
google_account_linking?: Management.GoogleAccountLinkingConfigurationOrNull | null;
async_approval_notification_channels?:
| (Management.ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration | undefined)
| null;
Expand Down Expand Up @@ -3075,10 +3077,7 @@ export interface GetEmailProviderRequestParameters {
/**
* @example
* {
* name: "mailgun",
* credentials: {
* api_key: "api_key"
* }
* name: "mailgun"
* }
*/
export interface CreateEmailProviderRequestContent {
Expand All @@ -3087,7 +3086,7 @@ export interface CreateEmailProviderRequestContent {
enabled?: boolean;
/** Email address to use as "from" when no other address specified. */
default_from_address?: string;
credentials: Management.EmailProviderCredentialsSchema;
credentials?: Management.EmailProviderCredentialsSchema;
settings?: (Management.EmailSpecificProviderSettingsWithAdditionalProperties | undefined) | null;
}

Expand Down Expand Up @@ -4552,6 +4551,7 @@ export interface CreateSelfServiceProfileSsoTicketRequestContent {
/** Indicates whether a verified domain should be used for organization discovery during authentication. */
use_for_organization_discovery?: boolean;
third_party_client_access_config?: Management.ThirdPartyClientAccessConfig;
universal_logout_config?: Management.SelfServiceProfileSsoTicketUniversalLogoutConfig;
enabled_features?: Management.SelfServiceProfileSsoTicketEnabledFeatures;
}

Expand Down Expand Up @@ -4784,7 +4784,7 @@ export interface GetUserGroupsRequestParameters {
fields?: string | null;
/** Whether specified fields are to be included (true) or excluded (false). */
include_fields?: boolean | null;
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). The returned total reflects at most 1,000 results. */
include_totals?: boolean | null;
/** Optional Id from which to start selection. */
from?: string | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class KeysClient {
}

/**
* Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy.
* Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy. The response includes both signing keys and encryption keys, told apart by `key_use`. Encryption keys apply only to OIDC and Okta connections.
*
* @param {string} id - ID of the connection
* @param {KeysClient.RequestOptions} requestOptions - Request-specific configuration.
Expand Down Expand Up @@ -102,7 +102,9 @@ export class KeysClient {
}

/**
* Provision initial connection keys for Okta, OIDC, or SAML (samlp) connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication, enabling zero-downtime transitions.
* Provision initial connection keys for Okta, OIDC, or SAML (samlp) connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication or encrypted ID tokens, enabling zero-downtime transitions.
*
* Set `key_use` to `signing` (default) to provision signing keys, optionally choosing `signing_alg`, or to `encryption` to provision encryption keys, optionally choosing `encryption_alg`. `signing_alg` and `encryption_alg` each apply only to their own key use. Encryption keys and encrypted ID tokens apply only to OIDC and Okta connections. The response lists all of the connection's keys.
*
* @param {string} id - ID of the connection
* @param {Management.PostConnectionKeysRequestContent | null} request
Expand Down Expand Up @@ -194,6 +196,8 @@ export class KeysClient {
/**
* Rotates the connection keys for the Okta, OIDC, or SAML (samlp) connection strategies.
*
* Set `key_use` to `signing` (default) to rotate the signing key, optionally choosing `signing_alg`, or to `encryption` to rotate the encryption key, optionally choosing `encryption_alg`. Rotating signing keys requires the connection to be configured to use JWT Client Authentication. Rotating encryption keys requires the connection to be configured to use encrypted ID tokens (`id_token_encrypted_response_alg` set), which applies only to OIDC and Okta connections. When `encryption_alg` is omitted, the new encryption key uses `id_token_encrypted_response_alg`.
*
* @param {string} id - ID of the connection
* @param {Management.RotateConnectionKeysRequestContent | null} request
* @param {KeysClient.RequestOptions} requestOptions - Request-specific configuration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,7 @@ export class ProviderClient {
*
* @example
* await client.emails.provider.create({
* name: "mailgun",
* credentials: {
* api_key: "api_key"
* }
* name: "mailgun"
* })
*/
public create(
Expand Down
Loading
Loading