Skip to content

Commit 8cb0b20

Browse files
feat: add XAA resource app, branding identifiers, session actor, and 3P SSO ticket config (#1375)
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
1 parent ab625f6 commit 8cb0b20

11 files changed

Lines changed: 770 additions & 97 deletions

File tree

.fern/replay.lock

Lines changed: 490 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/management/api/requests/requests.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export interface ListClientsRequestParameters {
216216
is_first_party?: boolean | null;
217217
/** Optional filter by a comma-separated list of application types. */
218218
app_type?: string | null;
219-
/** Optional filter by the <a href="https://www.ietf.org/archive/id/draft-ietf-oauth-client-id-metadata-document-04.html">Client ID Metadata Document</a> URI for CIMD-registered clients. */
219+
/** Optional filter by the <a href="https://drafts.oauth.net/draft-ietf-oauth-client-id-metadata-document/draft-ietf-oauth-client-id-metadata-document.html">Client ID Metadata Document</a> URI for CIMD-registered clients. */
220220
external_client_id?: string | null;
221221
/** Advanced Query in <a href="https://lucene.apache.org/core/2_9_4/queryparsersyntax.html">Lucene</a> syntax.<br /><b>Permitted Queries</b>:<br /><ul><li><i>client_grant.organization_id:{organization_id}</i></li><li><i>client_grant.allow_any_organization:true</i></li></ul><b>Additional Restrictions</b>:<br /><ul><li>Cannot be used in combination with other filters</li><li>Requires use of the <i>from</i> and <i>take</i> paging parameters (checkpoint paginatinon)</li><li>Reduced rate limits apply. See <a href="https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy/rate-limit-configurations/enterprise-public">Rate Limit Configurations</a></li></ul><i><b>Note</b>: Recent updates may not be immediately reflected in query results</i> */
222222
q?: string | null;
@@ -312,6 +312,7 @@ export interface CreateClientRequestContent {
312312
token_quota?: Management.CreateTokenQuota;
313313
/** The identifier of the resource server that this client is linked to. */
314314
resource_server_identifier?: string;
315+
identity_assertion_authorization_grant?: Management.CreateIdentityAssertionAuthorizationGrant;
315316
third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum;
316317
redirection_policy?: Management.ClientRedirectionPolicyEnum;
317318
express_configuration?: Management.ExpressConfiguration;
@@ -412,6 +413,7 @@ export interface UpdateClientRequestContent {
412413
custom_login_page?: string;
413414
custom_login_page_preview?: string;
414415
token_quota?: Management.UpdateTokenQuota | null;
416+
identity_assertion_authorization_grant?: Management.UpdateIdentityAssertionAuthorizationGrant | null;
415417
/** Form template for WS-Federation protocol */
416418
form_template?: string;
417419
addons?: Management.ClientAddons;
@@ -548,6 +550,7 @@ export interface CreateConnectionRequestContent {
548550
authentication?: Management.ConnectionAuthenticationPurpose;
549551
connected_accounts?: Management.ConnectionConnectedAccountsPurpose;
550552
cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp;
553+
cross_app_access_resource_app?: Management.CreateCrossAppAccessResourceApp;
551554
}
552555

553556
/**
@@ -584,6 +587,7 @@ export interface UpdateConnectionRequestContent {
584587
authentication?: Management.ConnectionAuthenticationPurpose;
585588
connected_accounts?: Management.ConnectionConnectedAccountsPurpose;
586589
cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp;
590+
cross_app_access_resource_app?: Management.UpdateCrossAppAccessResourceApp | null;
587591
}
588592

589593
/**
@@ -2349,6 +2353,7 @@ export interface CreateBrandingThemeRequestContent {
23492353
/** Display Name */
23502354
displayName?: string;
23512355
fonts: Management.BrandingThemeFonts;
2356+
identifiers?: Management.BrandingThemeIdentifiers;
23522357
page_background: Management.BrandingThemePageBackground;
23532358
widget: Management.BrandingThemeWidget;
23542359
}
@@ -2434,6 +2439,7 @@ export interface UpdateBrandingThemeRequestContent {
24342439
/** Display Name */
24352440
displayName?: string;
24362441
fonts: Management.BrandingThemeFonts;
2442+
identifiers?: Management.BrandingThemeIdentifiers;
24372443
page_background: Management.BrandingThemePageBackground;
24382444
widget: Management.BrandingThemeWidget;
24392445
}
@@ -3874,6 +3880,7 @@ export interface CreateSelfServiceProfileSsoTicketRequestContent {
38743880
provisioning_config?: Management.SelfServiceProfileSsoTicketProvisioningConfig;
38753881
/** Indicates whether a verified domain should be used for organization discovery during authentication. */
38763882
use_for_organization_discovery?: boolean;
3883+
third_party_client_access_config?: Management.ThirdPartyClientAccessConfig;
38773884
enabled_features?: Management.SelfServiceProfileSsoTicketEnabledFeatures;
38783885
}
38793886

src/management/api/types/types.ts

Lines changed: 150 additions & 0 deletions
Large diffs are not rendered by default.

src/management/tests/wire/branding/themes.test.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ describe("ThemesClient", () => {
108108
subtitle: { bold: true, size: 1.1 },
109109
title: { bold: true, size: 1.1 },
110110
},
111+
identifiers: {
112+
login_display: "separate",
113+
otp_autocomplete: true,
114+
phone_display: { formatting: "international", masking: "hide_country_code" },
115+
},
111116
page_background: {
112117
background_color: "background_color",
113118
background_image_url: "background_image_url",
@@ -977,6 +982,11 @@ describe("ThemesClient", () => {
977982
subtitle: { bold: true, size: 1.1 },
978983
title: { bold: true, size: 1.1 },
979984
},
985+
identifiers: {
986+
login_display: "separate",
987+
otp_autocomplete: true,
988+
phone_display: { formatting: "international", masking: "hide_country_code" },
989+
},
980990
page_background: {
981991
background_color: "background_color",
982992
background_image_url: "background_image_url",
@@ -1130,6 +1140,11 @@ describe("ThemesClient", () => {
11301140
subtitle: { bold: true, size: 1.1 },
11311141
title: { bold: true, size: 1.1 },
11321142
},
1143+
identifiers: {
1144+
login_display: "separate",
1145+
otp_autocomplete: true,
1146+
phone_display: { formatting: "international", masking: "hide_country_code" },
1147+
},
11331148
page_background: {
11341149
background_color: "background_color",
11351150
background_image_url: "background_image_url",
@@ -1422,6 +1437,11 @@ describe("ThemesClient", () => {
14221437
subtitle: { bold: true, size: 1.1 },
14231438
title: { bold: true, size: 1.1 },
14241439
},
1440+
identifiers: {
1441+
login_display: "separate",
1442+
otp_autocomplete: true,
1443+
phone_display: { formatting: "international", masking: "hide_country_code" },
1444+
},
14251445
page_background: {
14261446
background_color: "background_color",
14271447
background_image_url: "background_image_url",

src/management/tests/wire/clients.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ describe("ClientsClient", () => {
7070
allowed_strategies: ["pingfederate"],
7171
connection_deletion_behavior: "allow",
7272
},
73+
identity_assertion_authorization_grant: { active: true },
7374
third_party_security_mode: "strict",
7475
redirection_policy: "allow_always",
7576
resource_server_identifier: "resource_server_identifier",
@@ -393,6 +394,7 @@ describe("ClientsClient", () => {
393394
connection_deletion_behavior: "allow",
394395
invitation_landing_client_id: "invitation_landing_client_id",
395396
},
397+
identity_assertion_authorization_grant: { active: true },
396398
third_party_security_mode: "strict",
397399
redirection_policy: "allow_always",
398400
resource_server_identifier: "resource_server_identifier",
@@ -1054,6 +1056,7 @@ describe("ClientsClient", () => {
10541056
connection_deletion_behavior: "allow",
10551057
invitation_landing_client_id: "invitation_landing_client_id",
10561058
},
1059+
identity_assertion_authorization_grant: { active: true },
10571060
third_party_security_mode: "strict",
10581061
redirection_policy: "allow_always",
10591062
resource_server_identifier: "resource_server_identifier",
@@ -1407,6 +1410,7 @@ describe("ClientsClient", () => {
14071410
connection_deletion_behavior: "allow",
14081411
invitation_landing_client_id: "invitation_landing_client_id",
14091412
},
1413+
identity_assertion_authorization_grant: { active: true },
14101414
third_party_security_mode: "strict",
14111415
redirection_policy: "allow_always",
14121416
resource_server_identifier: "resource_server_identifier",
@@ -1737,6 +1741,7 @@ describe("ClientsClient", () => {
17371741
connection_deletion_behavior: "allow",
17381742
invitation_landing_client_id: "invitation_landing_client_id",
17391743
},
1744+
identity_assertion_authorization_grant: { active: true },
17401745
third_party_security_mode: "strict",
17411746
redirection_policy: "allow_always",
17421747
resource_server_identifier: "resource_server_identifier",

src/management/tests/wire/clients/connections.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ describe("ConnectionsClient", () => {
2323
authentication: { active: true },
2424
connected_accounts: { active: true },
2525
cross_app_access_requesting_app: { active: true },
26+
cross_app_access_resource_app: { status: "enabled" },
2627
},
2728
],
2829
next: "next",

src/management/tests/wire/connections.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ describe("ConnectionsClient", () => {
2424
authentication: { active: true },
2525
connected_accounts: { active: true },
2626
cross_app_access_requesting_app: { active: true },
27+
cross_app_access_resource_app: { status: "enabled" },
2728
},
2829
],
2930
};
@@ -122,6 +123,7 @@ describe("ConnectionsClient", () => {
122123
authentication: { active: true },
123124
connected_accounts: { active: true, cross_app_access: true },
124125
cross_app_access_requesting_app: { active: true },
126+
cross_app_access_resource_app: { status: "enabled" },
125127
};
126128

127129
server
@@ -273,6 +275,7 @@ describe("ConnectionsClient", () => {
273275
authentication: { active: true },
274276
connected_accounts: { active: true, cross_app_access: true },
275277
cross_app_access_requesting_app: { active: true },
278+
cross_app_access_resource_app: { status: "enabled" },
276279
};
277280

278281
server.mockEndpoint().get("/connections/id").respondWith().statusCode(200).jsonBody(rawResponseBody).build();
@@ -429,6 +432,7 @@ describe("ConnectionsClient", () => {
429432
authentication: { active: true },
430433
connected_accounts: { active: true, cross_app_access: true },
431434
cross_app_access_requesting_app: { active: true },
435+
cross_app_access_resource_app: { status: "enabled" },
432436
};
433437

434438
server

src/management/tests/wire/sessions.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ describe("SessionsClient", () => {
3030
authentication: { methods: [{}] },
3131
cookie: { mode: "non-persistent" },
3232
session_metadata: { key: "value" },
33+
actor: { sub: "sub" },
3334
};
3435

3536
server.mockEndpoint().get("/sessions/id").respondWith().statusCode(200).jsonBody(rawResponseBody).build();
@@ -177,6 +178,7 @@ describe("SessionsClient", () => {
177178
authentication: { methods: [{}] },
178179
cookie: { mode: "non-persistent" },
179180
session_metadata: { key: "value" },
181+
actor: { sub: "sub" },
180182
};
181183

182184
server

src/management/tests/wire/users/sessions.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ describe("SessionsClient", () => {
2222
last_interacted_at: "2024-01-15T09:30:00Z",
2323
clients: [{}],
2424
session_metadata: { key: "value" },
25+
actor: { sub: "sub" },
2526
},
2627
],
2728
next: "next",

src/management/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "5.14.0";
1+
export const SDK_VERSION = "6.0.0";

0 commit comments

Comments
 (0)