@@ -517,6 +517,8 @@ export namespace Application {
517517
518518 created_at ?: string ;
519519
520+ custom_claims ?: AccessOIDCSaasApp . CustomClaims ;
521+
520522 /**
521523 * The OIDC flows supported by this application
522524 */
@@ -545,6 +547,41 @@ export namespace Application {
545547
546548 updated_at ?: string ;
547549 }
550+
551+ export namespace AccessOIDCSaasApp {
552+ export interface CustomClaims {
553+ /**
554+ * The name of the claim.
555+ */
556+ name ?: string ;
557+
558+ /**
559+ * A mapping from IdP ID to claim name.
560+ */
561+ name_by_idp ?: Record < string , string > ;
562+
563+ /**
564+ * If the claim is required when building an OIDC token.
565+ */
566+ required ?: boolean ;
567+
568+ /**
569+ * The scope of the claim.
570+ */
571+ scope ?: 'groups' | 'profile' | 'email' | 'openid' ;
572+
573+ source ?: CustomClaims . Source ;
574+ }
575+
576+ export namespace CustomClaims {
577+ export interface Source {
578+ /**
579+ * The name of the IdP claim.
580+ */
581+ name ?: string ;
582+ }
583+ }
584+ }
548585 }
549586
550587 export interface BrowserSSHApplication {
@@ -1104,6 +1141,11 @@ export interface SaasAppSource {
11041141 * The name of the IdP attribute.
11051142 */
11061143 name ?: string ;
1144+
1145+ /**
1146+ * A mapping from IdP ID to attribute name.
1147+ */
1148+ name_by_idp ?: Record < string , string > ;
11071149}
11081150
11091151export interface SAMLSaasApp {
@@ -1176,6 +1218,11 @@ export interface SAMLSaasApp {
11761218
11771219export namespace SAMLSaasApp {
11781220 export interface CustomAttributes {
1221+ /**
1222+ * The SAML FriendlyName of the attribute.
1223+ */
1224+ friendly_name ?: string ;
1225+
11791226 /**
11801227 * The name of the attribute.
11811228 */
@@ -1186,6 +1233,11 @@ export namespace SAMLSaasApp {
11861233 */
11871234 name_format ?: ApplicationsAPI . SaasAppNameFormat ;
11881235
1236+ /**
1237+ * If the attribute is required when building a SAML assertion.
1238+ */
1239+ required ?: boolean ;
1240+
11891241 source ?: ApplicationsAPI . SaasAppSource ;
11901242 }
11911243}
@@ -1450,6 +1502,8 @@ export namespace ApplicationCreateParams {
14501502 */
14511503 client_secret ?: string ;
14521504
1505+ custom_claims ?: AccessOIDCSaasApp . CustomClaims ;
1506+
14531507 /**
14541508 * The OIDC flows supported by this application
14551509 */
@@ -1476,6 +1530,41 @@ export namespace ApplicationCreateParams {
14761530 */
14771531 scopes ?: Array < 'openid' | 'groups' | 'email' | 'profile' > ;
14781532 }
1533+
1534+ export namespace AccessOIDCSaasApp {
1535+ export interface CustomClaims {
1536+ /**
1537+ * The name of the claim.
1538+ */
1539+ name ?: string ;
1540+
1541+ /**
1542+ * A mapping from IdP ID to claim name.
1543+ */
1544+ name_by_idp ?: Record < string , string > ;
1545+
1546+ /**
1547+ * If the claim is required when building an OIDC token.
1548+ */
1549+ required ?: boolean ;
1550+
1551+ /**
1552+ * The scope of the claim.
1553+ */
1554+ scope ?: 'groups' | 'profile' | 'email' | 'openid' ;
1555+
1556+ source ?: CustomClaims . Source ;
1557+ }
1558+
1559+ export namespace CustomClaims {
1560+ export interface Source {
1561+ /**
1562+ * The name of the IdP claim.
1563+ */
1564+ name ?: string ;
1565+ }
1566+ }
1567+ }
14791568 }
14801569
14811570 export interface BrowserSSHApplication {
@@ -2182,6 +2271,8 @@ export namespace ApplicationUpdateParams {
21822271 */
21832272 client_secret ?: string ;
21842273
2274+ custom_claims ?: AccessOIDCSaasApp . CustomClaims ;
2275+
21852276 /**
21862277 * The OIDC flows supported by this application
21872278 */
@@ -2208,6 +2299,41 @@ export namespace ApplicationUpdateParams {
22082299 */
22092300 scopes ?: Array < 'openid' | 'groups' | 'email' | 'profile' > ;
22102301 }
2302+
2303+ export namespace AccessOIDCSaasApp {
2304+ export interface CustomClaims {
2305+ /**
2306+ * The name of the claim.
2307+ */
2308+ name ?: string ;
2309+
2310+ /**
2311+ * A mapping from IdP ID to claim name.
2312+ */
2313+ name_by_idp ?: Record < string , string > ;
2314+
2315+ /**
2316+ * If the claim is required when building an OIDC token.
2317+ */
2318+ required ?: boolean ;
2319+
2320+ /**
2321+ * The scope of the claim.
2322+ */
2323+ scope ?: 'groups' | 'profile' | 'email' | 'openid' ;
2324+
2325+ source ?: CustomClaims . Source ;
2326+ }
2327+
2328+ export namespace CustomClaims {
2329+ export interface Source {
2330+ /**
2331+ * The name of the IdP claim.
2332+ */
2333+ name ?: string ;
2334+ }
2335+ }
2336+ }
22112337 }
22122338
22132339 export interface BrowserSSHApplication {
0 commit comments