@@ -18834,16 +18834,120 @@ export interface UserAttributeProfile {
1883418834 */
1883518835 user_attributes?: UserAttributeProfileUserAttributes;
1883618836}
18837+ /**
18838+ * OIDC mapping for this attribute
18839+ */
18840+ export interface UserAttributeProfileOidcMapping {
18841+ /**
18842+ * OIDC mapping field
18843+ *
18844+ */
18845+ mapping: string;
18846+ /**
18847+ * Display name for the OIDC mapping
18848+ *
18849+ */
18850+ display_name?: string;
18851+ }
1883718852/**
1883818853 *
1883918854 */
1884018855export type UserAttributeProfilePatchUserId = UserAttributeProfileUserId;
18856+ /**
18857+ * SAML mapping override for this strategy
18858+ */
18859+ export interface UserAttributeProfileSamlMapping extends Array<string> {}
18860+ /**
18861+ * Strategy-specific overrides for this attribute
18862+ */
18863+ export interface UserAttributeProfileStrategyOverrides {
18864+ /**
18865+ */
18866+ pingfederate?: UserAttributeProfileStrategyOverridesMapping;
18867+ /**
18868+ */
18869+ ad?: UserAttributeProfileStrategyOverridesMapping;
18870+ /**
18871+ */
18872+ adfs?: UserAttributeProfileStrategyOverridesMapping;
18873+ /**
18874+ */
18875+ waad?: UserAttributeProfileStrategyOverridesMapping;
18876+ /**
18877+ */
18878+ 'google-apps'?: UserAttributeProfileStrategyOverridesMapping;
18879+ /**
18880+ */
18881+ okta?: UserAttributeProfileStrategyOverridesMapping;
18882+ /**
18883+ */
18884+ oidc?: UserAttributeProfileStrategyOverridesMapping;
18885+ /**
18886+ */
18887+ samlp?: UserAttributeProfileStrategyOverridesMapping;
18888+ }
18889+ /**
18890+ *
18891+ */
18892+ export interface UserAttributeProfileStrategyOverridesMapping {
18893+ /**
18894+ */
18895+ oidc_mapping?: UserAttributeProfileOidcMapping;
18896+ /**
18897+ */
18898+ saml_mapping?: UserAttributeProfileSamlMapping;
18899+ /**
18900+ * SCIM mapping override for this strategy
18901+ *
18902+ */
18903+ scim_mapping?: string;
18904+ }
1884118905/**
1884218906 * Strategy-specific overrides for user ID
1884318907 */
1884418908export interface UserAttributeProfileStrategyOverridesUserId {
18845- [key: string]: any;
18909+ /**
18910+ */
18911+ pingfederate?: UserAttributeProfileStrategyOverridesUserIdMapping;
18912+ /**
18913+ */
18914+ ad?: UserAttributeProfileStrategyOverridesUserIdMapping;
18915+ /**
18916+ */
18917+ adfs?: UserAttributeProfileStrategyOverridesUserIdMapping;
18918+ /**
18919+ */
18920+ waad?: UserAttributeProfileStrategyOverridesUserIdMapping;
18921+ /**
18922+ */
18923+ 'google-apps'?: UserAttributeProfileStrategyOverridesUserIdMapping;
18924+ /**
18925+ */
18926+ okta?: UserAttributeProfileStrategyOverridesUserIdMapping;
18927+ /**
18928+ */
18929+ oidc?: UserAttributeProfileStrategyOverridesUserIdMapping;
18930+ /**
18931+ */
18932+ samlp?: UserAttributeProfileStrategyOverridesUserIdMapping;
1884618933}
18934+ /**
18935+ *
18936+ */
18937+ export interface UserAttributeProfileStrategyOverridesUserIdMapping {
18938+ /**
18939+ */
18940+ oidc_mapping?: UserAttributeProfileUserIdOidcStrategyOverrideMapping;
18941+ /**
18942+ */
18943+ saml_mapping?: UserAttributeProfileSamlMapping;
18944+ /**
18945+ * SCIM mapping override for this strategy
18946+ *
18947+ */
18948+ scim_mapping?: string;
18949+ }
18950+
1884718951/**
1884818952 * The structure of the template, which can be used as the payload for creating or updating a User Attribute Profile.
1884918953 */
@@ -18879,10 +18983,49 @@ export interface UserAttributeProfileTemplateItem {
1887918983 template?: UserAttributeProfileTemplate;
1888018984}
1888118985/**
18882- * User attributes configuration
18986+ *
18987+ */
18988+ export interface UserAttributeProfileUserAttributeAdditionalProperties {
18989+ /**
18990+ * Description of this attribute
18991+ *
18992+ */
18993+ description: string;
18994+ /**
18995+ * Display label for this attribute
18996+ *
18997+ */
18998+ label: string;
18999+ /**
19000+ * Whether this attribute is required in the profile
19001+ *
19002+ */
19003+ profile_required: boolean;
19004+ /**
19005+ * Auth0 mapping for this attribute
19006+ *
19007+ */
19008+ auth0_mapping: string;
19009+ /**
19010+ */
19011+ oidc_mapping?: UserAttributeProfileOidcMapping;
19012+ /**
19013+ */
19014+ saml_mapping?: UserAttributeProfileSamlMapping;
19015+ /**
19016+ * SCIM mapping for this attribute
19017+ *
19018+ */
19019+ scim_mapping?: string;
19020+ /**
19021+ */
19022+ strategy_overrides?: UserAttributeProfileStrategyOverrides;
19023+ }
19024+ /**
19025+ * User attributes configuration map. Keys are attribute names, values are the mapping configuration for each attribute.
1888319026 */
1888419027export interface UserAttributeProfileUserAttributes {
18885- [key: string]: any ;
19028+ [key: string]: UserAttributeProfileUserAttributeAdditionalProperties ;
1888619029}
1888719030/**
1888819031 * User ID mapping configuration
@@ -18913,10 +19056,21 @@ export const UserAttributeProfileUserIdOidcMappingEnum = {
1891319056export type UserAttributeProfileUserIdOidcMappingEnum =
1891419057 (typeof UserAttributeProfileUserIdOidcMappingEnum)[keyof typeof UserAttributeProfileUserIdOidcMappingEnum];
1891519058
19059+ /**
19060+ * OIDC mapping override for this strategy
19061+ */
19062+ export const UserAttributeProfileUserIdOidcStrategyOverrideMapping = {
19063+ sub: 'sub',
19064+ oid: 'oid',
19065+ email: 'email',
19066+ } as const;
19067+ export type UserAttributeProfileUserIdOidcStrategyOverrideMapping =
19068+ (typeof UserAttributeProfileUserIdOidcStrategyOverrideMapping)[keyof typeof UserAttributeProfileUserIdOidcStrategyOverrideMapping];
19069+
1891619070/**
1891719071 * SAML mapping for user ID
1891819072 */
18919- export type UserAttributeProfileUserIdSamlMapping = Array<string> | string;
19073+ export interface UserAttributeProfileUserIdSamlMapping extends Array<string> {}
1892019074/**
1892119075 *
1892219076 */
0 commit comments