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
170 changes: 169 additions & 1 deletion reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ const pageableResponse = await client.clientGrants.list({
client_id: "client_id",
allow_any_organization: true,
subject_type: "client",
default_for: "third_party_clients",
});
for await (const item of pageableResponse) {
console.log(item);
Expand All @@ -676,6 +677,7 @@ let page = await client.clientGrants.list({
client_id: "client_id",
allow_any_organization: true,
subject_type: "client",
default_for: "third_party_clients",
});
while (page.hasNextPage()) {
page = page.getNextPage();
Expand Down Expand Up @@ -3962,7 +3964,7 @@ await client.eventStreams.update("id");

```typescript
await client.eventStreams.test("id", {
event_type: "user.created",
event_type: "group.created",
});
```

Expand Down Expand Up @@ -15929,6 +15931,172 @@ await client.connections.directoryProvisioning.getDefaultMapping("id");
</dl>
</details>

<details><summary><code>client.connections.directoryProvisioning.<a href="/src/management/api/resources/connections/resources/directoryProvisioning/client/Client.ts">listSynchronizedGroups</a>(id, { ...params }) -> core.Page&lt;Management.SynchronizedGroupPayload, Management.ListSynchronizedGroupsResponseContent&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieve the configured synchronized groups for a connection directory provisioning configuration.

</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
const pageableResponse = await client.connections.directoryProvisioning.listSynchronizedGroups("id", {
from: "from",
take: 1,
});
for await (const item of pageableResponse) {
console.log(item);
}

// Or you can manually iterate page-by-page
let page = await client.connections.directoryProvisioning.listSynchronizedGroups("id", {
from: "from",
take: 1,
});
while (page.hasNextPage()) {
page = page.getNextPage();
}

// You can also access the underlying response
const response = page.response;
```

</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The id of the connection to list synchronized groups for.

</dd>
</dl>

<dl>
<dd>

**request:** `Management.ListSynchronizedGroupsRequestParameters`

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DirectoryProvisioningClient.RequestOptions`

</dd>
</dl>
</dd>
</dl>

</dd>
</dl>
</details>

<details><summary><code>client.connections.directoryProvisioning.<a href="/src/management/api/resources/connections/resources/directoryProvisioning/client/Client.ts">set</a>(id, { ...params }) -> void</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Create or replace the selected groups for a connection directory provisioning configuration.

</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.connections.directoryProvisioning.set("id", {
groups: [
{
id: "id",
},
],
});
```

</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The id of the connection to create or replace synchronized groups for

</dd>
</dl>

<dl>
<dd>

**request:** `Management.ReplaceSynchronizedGroupsRequestContent`

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DirectoryProvisioningClient.RequestOptions`

</dd>
</dl>
</dd>
</dl>

</dd>
</dl>
</details>

## Connections ScimConfiguration

<details><summary><code>client.connections.scimConfiguration.<a href="/src/management/api/resources/connections/resources/scimConfiguration/client/Client.ts">list</a>({ ...params }) -> core.Page&lt;Management.ScimConfiguration, Management.ListScimConfigurationsResponseContent&gt;</code></summary>
Expand Down
45 changes: 43 additions & 2 deletions src/management/api/requests/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ export interface UpdateBrandingRequestContent {
* audience: "audience",
* client_id: "client_id",
* allow_any_organization: true,
* subject_type: "client"
* subject_type: "client",
* default_for: "third_party_clients"
* }
*/
export interface ListClientGrantsRequestParameters {
Expand All @@ -139,6 +140,8 @@ export interface ListClientGrantsRequestParameters {
allow_any_organization?: Management.ClientGrantAllowAnyOrganizationEnum | null;
/** The type of application access the client grant allows. */
subject_type?: Management.ClientGrantSubjectTypeEnum | null;
/** Used to filter the returned client grants to include only default client grants for the specified group of clients. */
default_for?: Management.ClientGrantDefaultForEnum | null;
}

/**
Expand All @@ -152,6 +155,8 @@ export interface CreateClientGrantRequestContent {
client_id?: string;
/** The audience (API identifier) of this client grant */
audience: string;
/** Applies this client grant as the default for all clients in the specified group. The only accepted value is `third_party_clients`, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`. If specified, a value for `client_id` must not be specified. */
default_for?: Management.ClientGrantDefaultForEnum;
organization_usage?: Management.ClientGrantOrganizationUsageEnum;
/** If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations. */
allow_any_organization?: boolean;
Expand Down Expand Up @@ -306,7 +311,10 @@ export interface CreateClientRequestContent {
token_quota?: Management.CreateTokenQuota;
/** The identifier of the resource server that this client is linked to. */
resource_server_identifier?: string;
third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum;
redirection_policy?: Management.ClientRedirectionPolicyEnum;
express_configuration?: Management.ExpressConfiguration;
my_organization_configuration?: Management.ClientMyOrganizationPostConfiguration;
async_approval_notification_channels?: Management.ClientAsyncApprovalNotificationsChannelsApiPostConfiguration;
}

Expand Down Expand Up @@ -435,9 +443,12 @@ export interface UpdateClientRequestContent {
/** Specifies how long, in seconds, a Pushed Authorization Request URI remains valid */
par_request_expiry?: number | null;
express_configuration?: Management.ExpressConfigurationOrNull | null;
my_organization_configuration?: Management.ClientMyOrganizationPatchConfiguration | null;
async_approval_notification_channels?:
| (Management.ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration | undefined)
| null;
third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum;
redirection_policy?: Management.ClientRedirectionPolicyEnum;
}

/**
Expand Down Expand Up @@ -791,7 +802,7 @@ export interface UpdateEventStreamRequestContent {
/**
* @example
* {
* event_type: "user.created"
* event_type: "group.created"
* }
*/
export interface CreateEventStreamTestEventRequestContent {
Expand Down Expand Up @@ -2484,6 +2495,33 @@ export interface ListDirectoryProvisioningsRequestParameters {
take?: number | null;
}

/**
* @example
* {
* from: "from",
* take: 1
* }
*/
export interface ListSynchronizedGroupsRequestParameters {
/** Optional Id from which to start selection. */
from?: string | null;
/** Number of results per page. Defaults to 50. */
take?: number | null;
}

/**
* @example
* {
* groups: [{
* id: "id"
* }]
* }
*/
export interface ReplaceSynchronizedGroupsRequestContent {
/** Array of Google Workspace Directory group objects to synchronize. */
groups: Management.SynchronizedGroupPayload[];
}

/**
* @example
* {
Expand Down Expand Up @@ -3616,10 +3654,13 @@ export interface UpdateTenantSettingsRequestContent {
*/
skip_non_verifiable_callback_uri_confirmation_prompt?: boolean | null;
resource_parameter_profile?: Management.TenantSettingsResourceParameterProfile;
/** Whether the authorization server supports retrieving client metadata from a client_id URL. */
client_id_metadata_document_supported?: boolean;
/** Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. */
enable_ai_guide?: boolean;
/** Whether Phone Consolidated Experience is enabled for this tenant. */
phone_consolidated_experience?: boolean;
dynamic_client_registration_security_mode?: Management.TenantSettingsDynamicClientRegistrationSecurityMode;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export class ClientGrantsClient {
* audience: "audience",
* client_id: "client_id",
* allow_any_organization: true,
* subject_type: "client"
* subject_type: "client",
* default_for: "third_party_clients"
* })
*/
public async list(
Expand All @@ -63,6 +64,7 @@ export class ClientGrantsClient {
client_id: clientId,
allow_any_organization: allowAnyOrganization,
subject_type: subjectType,
default_for: defaultFor,
} = request;
const _queryParams: Record<string, unknown> = {
from: from_,
Expand All @@ -71,6 +73,7 @@ export class ClientGrantsClient {
client_id: clientId,
allow_any_organization: allowAnyOrganization,
subject_type: subjectType !== undefined ? subjectType : undefined,
default_for: defaultFor !== undefined ? defaultFor : undefined,
};
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
let _headers: core.Fetcher.Args["headers"] = mergeHeaders(
Expand Down
Loading
Loading