okta-mcp-server
Version:
Model Context Protocol (MCP) server for Okta API operations with support for bulk operations and caching
1,944 lines • 78.6 kB
TypeScript
import { z } from 'zod';
export declare const AppSignOnModeSchema: z.ZodEnum<["AUTO_LOGIN", "BASIC_AUTH", "BOOKMARK", "BROWSER_PLUGIN", "OPENID_CONNECT", "SAML_1_1", "SAML_2_0", "SECURE_PASSWORD_STORE", "WS_FEDERATION"]>;
export declare const AppStatusSchema: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
export declare const SamlSettingsSchema: z.ZodObject<{
signOn: z.ZodObject<{
defaultRelayState: z.ZodOptional<z.ZodString>;
ssoAcsUrl: z.ZodString;
idpIssuer: z.ZodOptional<z.ZodString>;
audience: z.ZodString;
recipient: z.ZodString;
destination: z.ZodString;
subjectNameIdTemplate: z.ZodString;
subjectNameIdFormat: z.ZodString;
responseSigned: z.ZodDefault<z.ZodBoolean>;
assertionSigned: z.ZodDefault<z.ZodBoolean>;
signatureAlgorithm: z.ZodDefault<z.ZodEnum<["RSA_SHA256", "RSA_SHA1"]>>;
digestAlgorithm: z.ZodDefault<z.ZodEnum<["SHA256", "SHA1"]>>;
honorForceAuthn: z.ZodOptional<z.ZodBoolean>;
authnContextClassRef: z.ZodOptional<z.ZodString>;
attributeStatements: z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodEnum<["EXPRESSION", "GROUP"]>;
name: z.ZodString;
namespace: z.ZodOptional<z.ZodString>;
values: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}, {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
responseSigned: boolean;
assertionSigned: boolean;
signatureAlgorithm: "RSA_SHA256" | "RSA_SHA1";
digestAlgorithm: "SHA256" | "SHA1";
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
}, {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
responseSigned?: boolean | undefined;
assertionSigned?: boolean | undefined;
signatureAlgorithm?: "RSA_SHA256" | "RSA_SHA1" | undefined;
digestAlgorithm?: "SHA256" | "SHA1" | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
}>;
}, "strip", z.ZodTypeAny, {
signOn: {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
responseSigned: boolean;
assertionSigned: boolean;
signatureAlgorithm: "RSA_SHA256" | "RSA_SHA1";
digestAlgorithm: "SHA256" | "SHA1";
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
};
}, {
signOn: {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
responseSigned?: boolean | undefined;
assertionSigned?: boolean | undefined;
signatureAlgorithm?: "RSA_SHA256" | "RSA_SHA1" | undefined;
digestAlgorithm?: "SHA256" | "SHA1" | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
};
}>;
export declare const OidcSettingsSchema: z.ZodObject<{
oauthClient: z.ZodObject<{
client_uri: z.ZodOptional<z.ZodString>;
logo_uri: z.ZodOptional<z.ZodString>;
redirect_uris: z.ZodArray<z.ZodString, "many">;
post_logout_redirect_uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
response_types: z.ZodArray<z.ZodEnum<["code", "token", "id_token"]>, "many">;
grant_types: z.ZodArray<z.ZodEnum<["authorization_code", "implicit", "password", "refresh_token", "client_credentials"]>, "many">;
application_type: z.ZodEnum<["web", "native", "browser", "service"]>;
consent_method: z.ZodOptional<z.ZodEnum<["REQUIRED", "TRUSTED"]>>;
issuer_mode: z.ZodOptional<z.ZodEnum<["CUSTOM_URL", "ORG_URL", "DYNAMIC"]>>;
initiate_login_uri: z.ZodOptional<z.ZodString>;
wildcard_redirect: z.ZodOptional<z.ZodEnum<["DISABLED", "SUBDOMAIN"]>>;
}, "strip", z.ZodTypeAny, {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
}, {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
}>;
}, "strip", z.ZodTypeAny, {
oauthClient: {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
};
}, {
oauthClient: {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
};
}>;
export declare const BasicAuthSettingsSchema: z.ZodObject<{
app: z.ZodObject<{
url: z.ZodString;
authURL: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
url: string;
authURL?: string | undefined;
}, {
url: string;
authURL?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
app: {
url: string;
authURL?: string | undefined;
};
}, {
app: {
url: string;
authURL?: string | undefined;
};
}>;
export declare const BookmarkSettingsSchema: z.ZodObject<{
app: z.ZodObject<{
requestIntegration: z.ZodOptional<z.ZodBoolean>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
url: string;
requestIntegration?: boolean | undefined;
}, {
url: string;
requestIntegration?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
app: {
url: string;
requestIntegration?: boolean | undefined;
};
}, {
app: {
url: string;
requestIntegration?: boolean | undefined;
};
}>;
export declare const AppCredentialsSchema: z.ZodObject<{
scheme: z.ZodOptional<z.ZodEnum<["SHARED_USERNAME_AND_PASSWORD", "EXTERNAL_PASSWORD_SYNC", "EDIT_USERNAME_AND_PASSWORD", "EDIT_PASSWORD_ONLY", "ADMIN_SETS_CREDENTIALS"]>>;
userNameTemplate: z.ZodOptional<z.ZodObject<{
template: z.ZodString;
type: z.ZodEnum<["NONE", "CUSTOM", "BUILT_IN"]>;
}, "strip", z.ZodTypeAny, {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
}, {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
}>>;
signing: z.ZodOptional<z.ZodObject<{
kid: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
kid?: string | undefined;
}, {
kid?: string | undefined;
}>>;
oauthClient: z.ZodOptional<z.ZodObject<{
autoKeyRotation: z.ZodOptional<z.ZodBoolean>;
client_id: z.ZodOptional<z.ZodString>;
client_secret: z.ZodOptional<z.ZodString>;
token_endpoint_auth_method: z.ZodOptional<z.ZodEnum<["client_secret_basic", "client_secret_post", "client_secret_jwt", "private_key_jwt", "none"]>>;
}, "strip", z.ZodTypeAny, {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
}, {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
}, {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
}>;
export declare const AppUserSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodString>;
externalId: z.ZodOptional<z.ZodString>;
created: z.ZodOptional<z.ZodString>;
lastUpdated: z.ZodOptional<z.ZodString>;
scope: z.ZodOptional<z.ZodEnum<["USER", "GROUP"]>>;
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "STAGED"]>>;
statusChanged: z.ZodOptional<z.ZodString>;
passwordChanged: z.ZodOptional<z.ZodString>;
syncState: z.ZodOptional<z.ZodEnum<["DISABLED", "OUT_OF_SYNC", "SYNCING", "SYNCHRONIZED", "ERROR"]>>;
profile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
credentials: z.ZodOptional<z.ZodObject<{
userName: z.ZodOptional<z.ZodString>;
password: z.ZodOptional<z.ZodObject<{
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
}, {
value: string;
}>>;
}, "strip", z.ZodTypeAny, {
password?: {
value: string;
} | undefined;
userName?: string | undefined;
}, {
password?: {
value: string;
} | undefined;
userName?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
id?: string | undefined;
status?: "ACTIVE" | "INACTIVE" | "STAGED" | undefined;
lastUpdated?: string | undefined;
created?: string | undefined;
profile?: Record<string, unknown> | undefined;
credentials?: {
password?: {
value: string;
} | undefined;
userName?: string | undefined;
} | undefined;
statusChanged?: string | undefined;
passwordChanged?: string | undefined;
externalId?: string | undefined;
scope?: "GROUP" | "USER" | undefined;
syncState?: "ERROR" | "DISABLED" | "OUT_OF_SYNC" | "SYNCING" | "SYNCHRONIZED" | undefined;
}, {
id?: string | undefined;
status?: "ACTIVE" | "INACTIVE" | "STAGED" | undefined;
lastUpdated?: string | undefined;
created?: string | undefined;
profile?: Record<string, unknown> | undefined;
credentials?: {
password?: {
value: string;
} | undefined;
userName?: string | undefined;
} | undefined;
statusChanged?: string | undefined;
passwordChanged?: string | undefined;
externalId?: string | undefined;
scope?: "GROUP" | "USER" | undefined;
syncState?: "ERROR" | "DISABLED" | "OUT_OF_SYNC" | "SYNCING" | "SYNCHRONIZED" | undefined;
}>;
export declare const ListAppsSchema: z.ZodObject<{
limit: z.ZodDefault<z.ZodNumber>;
after: z.ZodOptional<z.ZodString>;
filter: z.ZodOptional<z.ZodString>;
q: z.ZodOptional<z.ZodString>;
expand: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
limit: number;
after?: string | undefined;
filter?: string | undefined;
q?: string | undefined;
expand?: string | undefined;
}, {
limit?: number | undefined;
after?: string | undefined;
filter?: string | undefined;
q?: string | undefined;
expand?: string | undefined;
}>;
export declare const GetAppSchema: z.ZodObject<{
appId: z.ZodString;
expand: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
appId: string;
expand?: string | undefined;
}, {
appId: string;
expand?: string | undefined;
}>;
export declare const CreateAppSchema: z.ZodObject<{
name: z.ZodString;
label: z.ZodString;
signOnMode: z.ZodEnum<["AUTO_LOGIN", "BASIC_AUTH", "BOOKMARK", "BROWSER_PLUGIN", "OPENID_CONNECT", "SAML_1_1", "SAML_2_0", "SECURE_PASSWORD_STORE", "WS_FEDERATION"]>;
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE"]>>;
accessibility: z.ZodOptional<z.ZodObject<{
selfService: z.ZodOptional<z.ZodBoolean>;
errorRedirectUrl: z.ZodOptional<z.ZodString>;
loginRedirectUrl: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
selfService?: boolean | undefined;
errorRedirectUrl?: string | undefined;
loginRedirectUrl?: string | undefined;
}, {
selfService?: boolean | undefined;
errorRedirectUrl?: string | undefined;
loginRedirectUrl?: string | undefined;
}>>;
visibility: z.ZodOptional<z.ZodObject<{
autoSubmitToolbar: z.ZodOptional<z.ZodBoolean>;
hide: z.ZodOptional<z.ZodObject<{
iOS: z.ZodOptional<z.ZodBoolean>;
web: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
web?: boolean | undefined;
iOS?: boolean | undefined;
}, {
web?: boolean | undefined;
iOS?: boolean | undefined;
}>>;
appLinks: z.ZodOptional<z.ZodObject<{
mainLink: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
mainLink?: string | undefined;
}, {
mainLink?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
autoSubmitToolbar?: boolean | undefined;
hide?: {
web?: boolean | undefined;
iOS?: boolean | undefined;
} | undefined;
appLinks?: {
mainLink?: string | undefined;
} | undefined;
}, {
autoSubmitToolbar?: boolean | undefined;
hide?: {
web?: boolean | undefined;
iOS?: boolean | undefined;
} | undefined;
appLinks?: {
mainLink?: string | undefined;
} | undefined;
}>>;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
settings: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
signOn: z.ZodObject<{
defaultRelayState: z.ZodOptional<z.ZodString>;
ssoAcsUrl: z.ZodString;
idpIssuer: z.ZodOptional<z.ZodString>;
audience: z.ZodString;
recipient: z.ZodString;
destination: z.ZodString;
subjectNameIdTemplate: z.ZodString;
subjectNameIdFormat: z.ZodString;
responseSigned: z.ZodDefault<z.ZodBoolean>;
assertionSigned: z.ZodDefault<z.ZodBoolean>;
signatureAlgorithm: z.ZodDefault<z.ZodEnum<["RSA_SHA256", "RSA_SHA1"]>>;
digestAlgorithm: z.ZodDefault<z.ZodEnum<["SHA256", "SHA1"]>>;
honorForceAuthn: z.ZodOptional<z.ZodBoolean>;
authnContextClassRef: z.ZodOptional<z.ZodString>;
attributeStatements: z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodEnum<["EXPRESSION", "GROUP"]>;
name: z.ZodString;
namespace: z.ZodOptional<z.ZodString>;
values: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}, {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
responseSigned: boolean;
assertionSigned: boolean;
signatureAlgorithm: "RSA_SHA256" | "RSA_SHA1";
digestAlgorithm: "SHA256" | "SHA1";
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
}, {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
responseSigned?: boolean | undefined;
assertionSigned?: boolean | undefined;
signatureAlgorithm?: "RSA_SHA256" | "RSA_SHA1" | undefined;
digestAlgorithm?: "SHA256" | "SHA1" | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
}>;
}, "strip", z.ZodTypeAny, {
signOn: {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
responseSigned: boolean;
assertionSigned: boolean;
signatureAlgorithm: "RSA_SHA256" | "RSA_SHA1";
digestAlgorithm: "SHA256" | "SHA1";
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
};
}, {
signOn: {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
responseSigned?: boolean | undefined;
assertionSigned?: boolean | undefined;
signatureAlgorithm?: "RSA_SHA256" | "RSA_SHA1" | undefined;
digestAlgorithm?: "SHA256" | "SHA1" | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
};
}>, z.ZodObject<{
oauthClient: z.ZodObject<{
client_uri: z.ZodOptional<z.ZodString>;
logo_uri: z.ZodOptional<z.ZodString>;
redirect_uris: z.ZodArray<z.ZodString, "many">;
post_logout_redirect_uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
response_types: z.ZodArray<z.ZodEnum<["code", "token", "id_token"]>, "many">;
grant_types: z.ZodArray<z.ZodEnum<["authorization_code", "implicit", "password", "refresh_token", "client_credentials"]>, "many">;
application_type: z.ZodEnum<["web", "native", "browser", "service"]>;
consent_method: z.ZodOptional<z.ZodEnum<["REQUIRED", "TRUSTED"]>>;
issuer_mode: z.ZodOptional<z.ZodEnum<["CUSTOM_URL", "ORG_URL", "DYNAMIC"]>>;
initiate_login_uri: z.ZodOptional<z.ZodString>;
wildcard_redirect: z.ZodOptional<z.ZodEnum<["DISABLED", "SUBDOMAIN"]>>;
}, "strip", z.ZodTypeAny, {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
}, {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
}>;
}, "strip", z.ZodTypeAny, {
oauthClient: {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
};
}, {
oauthClient: {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
};
}>, z.ZodObject<{
app: z.ZodObject<{
url: z.ZodString;
authURL: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
url: string;
authURL?: string | undefined;
}, {
url: string;
authURL?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
app: {
url: string;
authURL?: string | undefined;
};
}, {
app: {
url: string;
authURL?: string | undefined;
};
}>, z.ZodObject<{
app: z.ZodObject<{
requestIntegration: z.ZodOptional<z.ZodBoolean>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
url: string;
requestIntegration?: boolean | undefined;
}, {
url: string;
requestIntegration?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
app: {
url: string;
requestIntegration?: boolean | undefined;
};
}, {
app: {
url: string;
requestIntegration?: boolean | undefined;
};
}>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>;
credentials: z.ZodOptional<z.ZodObject<{
scheme: z.ZodOptional<z.ZodEnum<["SHARED_USERNAME_AND_PASSWORD", "EXTERNAL_PASSWORD_SYNC", "EDIT_USERNAME_AND_PASSWORD", "EDIT_PASSWORD_ONLY", "ADMIN_SETS_CREDENTIALS"]>>;
userNameTemplate: z.ZodOptional<z.ZodObject<{
template: z.ZodString;
type: z.ZodEnum<["NONE", "CUSTOM", "BUILT_IN"]>;
}, "strip", z.ZodTypeAny, {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
}, {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
}>>;
signing: z.ZodOptional<z.ZodObject<{
kid: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
kid?: string | undefined;
}, {
kid?: string | undefined;
}>>;
oauthClient: z.ZodOptional<z.ZodObject<{
autoKeyRotation: z.ZodOptional<z.ZodBoolean>;
client_id: z.ZodOptional<z.ZodString>;
client_secret: z.ZodOptional<z.ZodString>;
token_endpoint_auth_method: z.ZodOptional<z.ZodEnum<["client_secret_basic", "client_secret_post", "client_secret_jwt", "private_key_jwt", "none"]>>;
}, "strip", z.ZodTypeAny, {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
}, {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
}, {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
}>>;
licensing: z.ZodOptional<z.ZodObject<{
seatCount: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
seatCount?: number | undefined;
}, {
seatCount?: number | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
name: string;
label: string;
signOnMode: "SAML_2_0" | "WS_FEDERATION" | "OPENID_CONNECT" | "BOOKMARK" | "AUTO_LOGIN" | "BASIC_AUTH" | "BROWSER_PLUGIN" | "SAML_1_1" | "SECURE_PASSWORD_STORE";
status?: "ACTIVE" | "INACTIVE" | undefined;
features?: string[] | undefined;
accessibility?: {
selfService?: boolean | undefined;
errorRedirectUrl?: string | undefined;
loginRedirectUrl?: string | undefined;
} | undefined;
visibility?: {
autoSubmitToolbar?: boolean | undefined;
hide?: {
web?: boolean | undefined;
iOS?: boolean | undefined;
} | undefined;
appLinks?: {
mainLink?: string | undefined;
} | undefined;
} | undefined;
settings?: {
signOn: {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
responseSigned: boolean;
assertionSigned: boolean;
signatureAlgorithm: "RSA_SHA256" | "RSA_SHA1";
digestAlgorithm: "SHA256" | "SHA1";
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
};
} | {
oauthClient: {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
};
} | {
app: {
url: string;
authURL?: string | undefined;
};
} | {
app: {
url: string;
requestIntegration?: boolean | undefined;
};
} | {} | undefined;
credentials?: {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
} | undefined;
licensing?: {
seatCount?: number | undefined;
} | undefined;
}, {
name: string;
label: string;
signOnMode: "SAML_2_0" | "WS_FEDERATION" | "OPENID_CONNECT" | "BOOKMARK" | "AUTO_LOGIN" | "BASIC_AUTH" | "BROWSER_PLUGIN" | "SAML_1_1" | "SECURE_PASSWORD_STORE";
status?: "ACTIVE" | "INACTIVE" | undefined;
features?: string[] | undefined;
accessibility?: {
selfService?: boolean | undefined;
errorRedirectUrl?: string | undefined;
loginRedirectUrl?: string | undefined;
} | undefined;
visibility?: {
autoSubmitToolbar?: boolean | undefined;
hide?: {
web?: boolean | undefined;
iOS?: boolean | undefined;
} | undefined;
appLinks?: {
mainLink?: string | undefined;
} | undefined;
} | undefined;
settings?: {
signOn: {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
responseSigned?: boolean | undefined;
assertionSigned?: boolean | undefined;
signatureAlgorithm?: "RSA_SHA256" | "RSA_SHA1" | undefined;
digestAlgorithm?: "SHA256" | "SHA1" | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
};
} | {
oauthClient: {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
};
} | {
app: {
url: string;
authURL?: string | undefined;
};
} | {
app: {
url: string;
requestIntegration?: boolean | undefined;
};
} | {} | undefined;
credentials?: {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
} | undefined;
licensing?: {
seatCount?: number | undefined;
} | undefined;
}>;
export declare const UpdateAppSchema: z.ZodObject<{
appId: z.ZodString;
name: z.ZodOptional<z.ZodString>;
label: z.ZodOptional<z.ZodString>;
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE"]>>;
accessibility: z.ZodOptional<z.ZodObject<{
selfService: z.ZodOptional<z.ZodBoolean>;
errorRedirectUrl: z.ZodOptional<z.ZodString>;
loginRedirectUrl: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
selfService?: boolean | undefined;
errorRedirectUrl?: string | undefined;
loginRedirectUrl?: string | undefined;
}, {
selfService?: boolean | undefined;
errorRedirectUrl?: string | undefined;
loginRedirectUrl?: string | undefined;
}>>;
visibility: z.ZodOptional<z.ZodObject<{
autoSubmitToolbar: z.ZodOptional<z.ZodBoolean>;
hide: z.ZodOptional<z.ZodObject<{
iOS: z.ZodOptional<z.ZodBoolean>;
web: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
web?: boolean | undefined;
iOS?: boolean | undefined;
}, {
web?: boolean | undefined;
iOS?: boolean | undefined;
}>>;
appLinks: z.ZodOptional<z.ZodObject<{
mainLink: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
mainLink?: string | undefined;
}, {
mainLink?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
autoSubmitToolbar?: boolean | undefined;
hide?: {
web?: boolean | undefined;
iOS?: boolean | undefined;
} | undefined;
appLinks?: {
mainLink?: string | undefined;
} | undefined;
}, {
autoSubmitToolbar?: boolean | undefined;
hide?: {
web?: boolean | undefined;
iOS?: boolean | undefined;
} | undefined;
appLinks?: {
mainLink?: string | undefined;
} | undefined;
}>>;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
settings: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
signOn: z.ZodOptional<z.ZodObject<{
defaultRelayState: z.ZodOptional<z.ZodString>;
ssoAcsUrl: z.ZodString;
idpIssuer: z.ZodOptional<z.ZodString>;
audience: z.ZodString;
recipient: z.ZodString;
destination: z.ZodString;
subjectNameIdTemplate: z.ZodString;
subjectNameIdFormat: z.ZodString;
responseSigned: z.ZodDefault<z.ZodBoolean>;
assertionSigned: z.ZodDefault<z.ZodBoolean>;
signatureAlgorithm: z.ZodDefault<z.ZodEnum<["RSA_SHA256", "RSA_SHA1"]>>;
digestAlgorithm: z.ZodDefault<z.ZodEnum<["SHA256", "SHA1"]>>;
honorForceAuthn: z.ZodOptional<z.ZodBoolean>;
authnContextClassRef: z.ZodOptional<z.ZodString>;
attributeStatements: z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodEnum<["EXPRESSION", "GROUP"]>;
name: z.ZodString;
namespace: z.ZodOptional<z.ZodString>;
values: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}, {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
responseSigned: boolean;
assertionSigned: boolean;
signatureAlgorithm: "RSA_SHA256" | "RSA_SHA1";
digestAlgorithm: "SHA256" | "SHA1";
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
}, {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
responseSigned?: boolean | undefined;
assertionSigned?: boolean | undefined;
signatureAlgorithm?: "RSA_SHA256" | "RSA_SHA1" | undefined;
digestAlgorithm?: "SHA256" | "SHA1" | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
signOn?: {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
responseSigned: boolean;
assertionSigned: boolean;
signatureAlgorithm: "RSA_SHA256" | "RSA_SHA1";
digestAlgorithm: "SHA256" | "SHA1";
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
} | undefined;
}, {
signOn?: {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
responseSigned?: boolean | undefined;
assertionSigned?: boolean | undefined;
signatureAlgorithm?: "RSA_SHA256" | "RSA_SHA1" | undefined;
digestAlgorithm?: "SHA256" | "SHA1" | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
} | undefined;
}>, z.ZodObject<{
oauthClient: z.ZodOptional<z.ZodObject<{
client_uri: z.ZodOptional<z.ZodString>;
logo_uri: z.ZodOptional<z.ZodString>;
redirect_uris: z.ZodArray<z.ZodString, "many">;
post_logout_redirect_uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
response_types: z.ZodArray<z.ZodEnum<["code", "token", "id_token"]>, "many">;
grant_types: z.ZodArray<z.ZodEnum<["authorization_code", "implicit", "password", "refresh_token", "client_credentials"]>, "many">;
application_type: z.ZodEnum<["web", "native", "browser", "service"]>;
consent_method: z.ZodOptional<z.ZodEnum<["REQUIRED", "TRUSTED"]>>;
issuer_mode: z.ZodOptional<z.ZodEnum<["CUSTOM_URL", "ORG_URL", "DYNAMIC"]>>;
initiate_login_uri: z.ZodOptional<z.ZodString>;
wildcard_redirect: z.ZodOptional<z.ZodEnum<["DISABLED", "SUBDOMAIN"]>>;
}, "strip", z.ZodTypeAny, {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
}, {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
oauthClient?: {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
} | undefined;
}, {
oauthClient?: {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
} | undefined;
}>, z.ZodObject<{
app: z.ZodOptional<z.ZodObject<{
url: z.ZodString;
authURL: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
url: string;
authURL?: string | undefined;
}, {
url: string;
authURL?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
app?: {
url: string;
authURL?: string | undefined;
} | undefined;
}, {
app?: {
url: string;
authURL?: string | undefined;
} | undefined;
}>, z.ZodObject<{
app: z.ZodOptional<z.ZodObject<{
requestIntegration: z.ZodOptional<z.ZodBoolean>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
url: string;
requestIntegration?: boolean | undefined;
}, {
url: string;
requestIntegration?: boolean | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
app?: {
url: string;
requestIntegration?: boolean | undefined;
} | undefined;
}, {
app?: {
url: string;
requestIntegration?: boolean | undefined;
} | undefined;
}>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>;
credentials: z.ZodOptional<z.ZodObject<{
scheme: z.ZodOptional<z.ZodEnum<["SHARED_USERNAME_AND_PASSWORD", "EXTERNAL_PASSWORD_SYNC", "EDIT_USERNAME_AND_PASSWORD", "EDIT_PASSWORD_ONLY", "ADMIN_SETS_CREDENTIALS"]>>;
userNameTemplate: z.ZodOptional<z.ZodObject<{
template: z.ZodString;
type: z.ZodEnum<["NONE", "CUSTOM", "BUILT_IN"]>;
}, "strip", z.ZodTypeAny, {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
}, {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
}>>;
signing: z.ZodOptional<z.ZodObject<{
kid: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
kid?: string | undefined;
}, {
kid?: string | undefined;
}>>;
oauthClient: z.ZodOptional<z.ZodObject<{
autoKeyRotation: z.ZodOptional<z.ZodBoolean>;
client_id: z.ZodOptional<z.ZodString>;
client_secret: z.ZodOptional<z.ZodString>;
token_endpoint_auth_method: z.ZodOptional<z.ZodEnum<["client_secret_basic", "client_secret_post", "client_secret_jwt", "private_key_jwt", "none"]>>;
}, "strip", z.ZodTypeAny, {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
}, {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
}, {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
}>>;
licensing: z.ZodOptional<z.ZodObject<{
seatCount: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
seatCount?: number | undefined;
}, {
seatCount?: number | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
appId: string;
name?: string | undefined;
label?: string | undefined;
status?: "ACTIVE" | "INACTIVE" | undefined;
features?: string[] | undefined;
accessibility?: {
selfService?: boolean | undefined;
errorRedirectUrl?: string | undefined;
loginRedirectUrl?: string | undefined;
} | undefined;
visibility?: {
autoSubmitToolbar?: boolean | undefined;
hide?: {
web?: boolean | undefined;
iOS?: boolean | undefined;
} | undefined;
appLinks?: {
mainLink?: string | undefined;
} | undefined;
} | undefined;
settings?: {
signOn?: {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
responseSigned: boolean;
assertionSigned: boolean;
signatureAlgorithm: "RSA_SHA256" | "RSA_SHA1";
digestAlgorithm: "SHA256" | "SHA1";
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
} | undefined;
} | {
oauthClient?: {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
} | undefined;
} | {
app?: {
url: string;
authURL?: string | undefined;
} | undefined;
} | {
app?: {
url: string;
requestIntegration?: boolean | undefined;
} | undefined;
} | {} | undefined;
credentials?: {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
} | undefined;
licensing?: {
seatCount?: number | undefined;
} | undefined;
}, {
appId: string;
name?: string | undefined;
label?: string | undefined;
status?: "ACTIVE" | "INACTIVE" | undefined;
features?: string[] | undefined;
accessibility?: {
selfService?: boolean | undefined;
errorRedirectUrl?: string | undefined;
loginRedirectUrl?: string | undefined;
} | undefined;
visibility?: {
autoSubmitToolbar?: boolean | undefined;
hide?: {
web?: boolean | undefined;
iOS?: boolean | undefined;
} | undefined;
appLinks?: {
mainLink?: string | undefined;
} | undefined;
} | undefined;
settings?: {
signOn?: {
ssoAcsUrl: string;
audience: string;
recipient: string;
destination: string;
subjectNameIdTemplate: string;
subjectNameIdFormat: string;
defaultRelayState?: string | undefined;
idpIssuer?: string | undefined;
responseSigned?: boolean | undefined;
assertionSigned?: boolean | undefined;
signatureAlgorithm?: "RSA_SHA256" | "RSA_SHA1" | undefined;
digestAlgorithm?: "SHA256" | "SHA1" | undefined;
honorForceAuthn?: boolean | undefined;
authnContextClassRef?: string | undefined;
attributeStatements?: {
name: string;
type: "EXPRESSION" | "GROUP";
values: string[];
namespace?: string | undefined;
}[] | undefined;
} | undefined;
} | {
oauthClient?: {
redirect_uris: string[];
response_types: ("code" | "token" | "id_token")[];
grant_types: ("authorization_code" | "refresh_token" | "password" | "implicit" | "client_credentials")[];
application_type: "web" | "service" | "native" | "browser";
client_uri?: string | undefined;
logo_uri?: string | undefined;
post_logout_redirect_uris?: string[] | undefined;
consent_method?: "REQUIRED" | "TRUSTED" | undefined;
issuer_mode?: "CUSTOM_URL" | "ORG_URL" | "DYNAMIC" | undefined;
initiate_login_uri?: string | undefined;
wildcard_redirect?: "DISABLED" | "SUBDOMAIN" | undefined;
} | undefined;
} | {
app?: {
url: string;
authURL?: string | undefined;
} | undefined;
} | {
app?: {
url: string;
requestIntegration?: boolean | undefined;
} | undefined;
} | {} | undefined;
credentials?: {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
} | undefined;
licensing?: {
seatCount?: number | undefined;
} | undefined;
}>;
export declare const DeleteAppSchema: z.ZodObject<{
appId: z.ZodString;
}, "strip", z.ZodTypeAny, {
appId: string;
}, {
appId: string;
}>;
export declare const AppLifecycleSchema: z.ZodObject<{
appId: z.ZodString;
}, "strip", z.ZodTypeAny, {
appId: string;
}, {
appId: string;
}>;
export declare const AssignUserToAppSchema: z.ZodObject<{
appId: z.ZodString;
userId: z.ZodString;
profile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
credentials: z.ZodOptional<z.ZodObject<{
userName: z.ZodOptional<z.ZodString>;
password: z.ZodOptional<z.ZodObject<{
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
}, {
value: string;
}>>;
}, "strip", z.ZodTypeAny, {
password?: {
value: string;
} | undefined;
userName?: string | undefined;
}, {
password?: {
value: string;
} | undefined;
userName?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
userId: string;
appId: string;
profile?: Record<string, unknown> | undefined;
credentials?: {
password?: {
value: string;
} | undefined;
userName?: string | undefined;
} | undefined;
}, {
userId: string;
appId: string;
profile?: Record<string, unknown> | undefined;
credentials?: {
password?: {
value: string;
} | undefined;
userName?: string | undefined;
} | undefined;
}>;
export declare const AssignGroupToAppSchema: z.ZodObject<{
appId: z.ZodString;
groupId: z.ZodString;
priority: z.ZodOptional<z.ZodNumber>;
profile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
groupId: string;
appId: string;
priority?: number | undefined;
profile?: Record<string, unknown> | undefined;
}, {
groupId: string;
appId: string;
priority?: number | undefined;
profile?: Record<string, unknown> | undefined;
}>;
export declare const RemoveUserFromAppSchema: z.ZodObject<{
appId: z.ZodString;
userId: z.ZodString;
sendEmail: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
sendEmail: boolean;
userId: string;
appId: string;
}, {
userId: string;
appId: string;
sendEmail?: boolean | undefined;
}>;
export declare const RemoveGroupFromAppSchema: z.ZodObject<{
appId: z.ZodString;
groupId: z.ZodString;
}, "strip", z.ZodTypeAny, {
groupId: string;
appId: string;
}, {
groupId: string;
appId: string;
}>;
export declare const ListAppUsersSchema: z.ZodObject<{
appId: z.ZodString;
limit: z.ZodDefault<z.ZodNumber>;
after: z.ZodOptional<z.ZodString>;
q: z.ZodOptional<z.ZodString>;
filter: z.ZodOptional<z.ZodString>;
expand: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
limit: number;
appId: string;
after?: string | undefined;
filter?: string | undefined;
q?: string | undefined;
expand?: string | undefined;
}, {
appId: string;
limit?: number | undefined;
after?: string | undefined;
filter?: string | undefined;
q?: string | undefined;
expand?: string | undefined;
}>;
export declare const ListAppGroupsSchema: z.ZodObject<{
appId: z.ZodString;
limit: z.ZodDefault<z.ZodNumber>;
after: z.ZodOptional<z.ZodString>;
q: z.ZodOptional<z.ZodString>;
expand: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
limit: number;
appId: string;
after?: string | undefined;
q?: string | undefined;
expand?: string | undefined;
}, {
appId: string;
limit?: number | undefined;
after?: string | undefined;
q?: string | undefined;
expand?: string | undefined;
}>;
export declare const UpdateAppUserSchema: z.ZodObject<{
appId: z.ZodString;
userId: z.ZodString;
profile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
credentials: z.ZodOptional<z.ZodObject<{
userName: z.ZodOptional<z.ZodString>;
password: z.ZodOptional<z.ZodObject<{
value: z.ZodString;
}, "strip", z.ZodTypeAny, {
value: string;
}, {
value: string;
}>>;
}, "strip", z.ZodTypeAny, {
password?: {
value: string;
} | undefined;
userName?: string | undefined;
}, {
password?: {
value: string;
} | undefined;
userName?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
userId: string;
appId: string;
profile?: Record<string, unknown> | undefined;
credentials?: {
password?: {
value: string;
} | undefined;
userName?: string | undefined;
} | undefined;
}, {
userId: string;
appId: string;
profile?: Record<string, unknown> | undefined;
credentials?: {
password?: {
value: string;
} | undefined;
userName?: string | undefined;
} | undefined;
}>;
export declare const AppResponseSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
label: z.ZodString;
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
lastUpdated: z.ZodString;
created: z.ZodString;
accessibility: z.ZodOptional<z.ZodObject<{
selfService: z.ZodOptional<z.ZodBoolean>;
errorRedirectUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
loginRedirectUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
selfService?: boolean | undefined;
errorRedirectUrl?: string | null | undefined;
loginRedirectUrl?: string | null | undefined;
}, {
selfService?: boolean | undefined;
errorRedirectUrl?: string | null | undefined;
loginRedirectUrl?: string | null | undefined;
}>>;
visibility: z.ZodOptional<z.ZodObject<{
autoSubmitToolbar: z.ZodOptional<z.ZodBoolean>;
hide: z.ZodOptional<z.ZodObject<{
iOS: z.ZodOptional<z.ZodBoolean>;
web: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
web?: boolean | undefined;
iOS?: boolean | undefined;
}, {
web?: boolean | undefined;
iOS?: boolean | undefined;
}>>;
appLinks: z.ZodOptional<z.ZodObject<{
mainLink: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
mainLink?: string | undefined;
}, {
mainLink?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
autoSubmitToolbar?: boolean | undefined;
hide?: {
web?: boolean | undefined;
iOS?: boolean | undefined;
} | undefined;
appLinks?: {
mainLink?: string | undefined;
} | undefined;
}, {
autoSubmitToolbar?: boolean | undefined;
hide?: {
web?: boolean | undefined;
iOS?: boolean | undefined;
} | undefined;
appLinks?: {
mainLink?: string | undefined;
} | undefined;
}>>;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
signOnMode: z.ZodEnum<["AUTO_LOGIN", "BASIC_AUTH", "BOOKMARK", "BROWSER_PLUGIN", "OPENID_CONNECT", "SAML_1_1", "SAML_2_0", "SECURE_PASSWORD_STORE", "WS_FEDERATION"]>;
credentials: z.ZodOptional<z.ZodObject<{
scheme: z.ZodOptional<z.ZodEnum<["SHARED_USERNAME_AND_PASSWORD", "EXTERNAL_PASSWORD_SYNC", "EDIT_USERNAME_AND_PASSWORD", "EDIT_PASSWORD_ONLY", "ADMIN_SETS_CREDENTIALS"]>>;
userNameTemplate: z.ZodOptional<z.ZodObject<{
template: z.ZodString;
type: z.ZodEnum<["NONE", "CUSTOM", "BUILT_IN"]>;
}, "strip", z.ZodTypeAny, {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
}, {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
}>>;
signing: z.ZodOptional<z.ZodObject<{
kid: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
kid?: string | undefined;
}, {
kid?: string | undefined;
}>>;
oauthClient: z.ZodOptional<z.ZodObject<{
autoKeyRotation: z.ZodOptional<z.ZodBoolean>;
client_id: z.ZodOptional<z.ZodString>;
client_secret: z.ZodOptional<z.ZodString>;
token_endpoint_auth_method: z.ZodOptional<z.ZodEnum<["client_secret_basic", "client_secret_post", "client_secret_jwt", "private_key_jwt", "none"]>>;
}, "strip", z.ZodTypeAny, {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
}, {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
}, {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
}>>;
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
_links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
_embedded: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
id: string;
name: string;
label: string;
status: "ACTIVE" | "INACTIVE";
lastUpdated: string;
created: string;
signOnMode: "SAML_2_0" | "WS_FEDERATION" | "OPENID_CONNECT" | "BOOKMARK" | "AUTO_LOGIN" | "BASIC_AUTH" | "BROWSER_PLUGIN" | "SAML_1_1" | "SECURE_PASSWORD_STORE";
features?: string[] | undefined;
accessibility?: {
selfService?: boolean | undefined;
errorRedirectUrl?: string | null | undefined;
loginRedirectUrl?: string | null | undefined;
} | undefined;
visibility?: {
autoSubmitToolbar?: boolean | undefined;
hide?: {
web?: boolean | undefined;
iOS?: boolean | undefined;
} | undefined;
appLinks?: {
mainLink?: string | undefined;
} | undefined;
} | undefined;
settings?: Record<string, unknown> | undefined;
credentials?: {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
} | undefined;
_links?: Record<string, unknown> | undefined;
_embedded?: Record<string, unknown> | undefined;
}, {
id: string;
name: string;
label: string;
status: "ACTIVE" | "INACTIVE";
lastUpdated: string;
created: string;
signOnMode: "SAML_2_0" | "WS_FEDERATION" | "OPENID_CONNECT" | "BOOKMARK" | "AUTO_LOGIN" | "BASIC_AUTH" | "BROWSER_PLUGIN" | "SAML_1_1" | "SECURE_PASSWORD_STORE";
features?: string[] | undefined;
accessibility?: {
selfService?: boolean | undefined;
errorRedirectUrl?: string | null | undefined;
loginRedirectUrl?: string | null | undefined;
} | undefined;
visibility?: {
autoSubmitToolbar?: boolean | undefined;
hide?: {
web?: boolean | undefined;
iOS?: boolean | undefined;
} | undefined;
appLinks?: {
mainLink?: string | undefined;
} | undefined;
} | undefined;
settings?: Record<string, unknown> | undefined;
credentials?: {
oauthClient?: {
autoKeyRotation?: boolean | undefined;
client_id?: string | undefined;
client_secret?: string | undefined;
token_endpoint_auth_method?: "client_secret_basic" | "none" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | undefined;
} | undefined;
scheme?: "SHARED_USERNAME_AND_PASSWORD" | "EXTERNAL_PASSWORD_SYNC" | "EDIT_USERNAME_AND_PASSWORD" | "EDIT_PASSWORD_ONLY" | "ADMIN_SETS_CREDENTIALS" | undefined;
userNameTemplate?: {
type: "BUILT_IN" | "NONE" | "CUSTOM";
template: string;
} | undefined;
signing?: {
kid?: string | undefined;
} | undefined;
} | undefined;
_links?: Record<string, unknown> | undefined;
_embedded?: Record<string, unknown> | undefined;
}>;
export declare const AppUserResponseSchema: z.ZodObject<{
id: z.ZodString;
externalId: z.ZodOptional<z.ZodString>;
created: z.ZodString;
lastUpdated: z.ZodString;
scope: z.ZodString;
status: z.ZodString;
statusChanged: z.ZodOptional<z.ZodString>;
passwordChanged: z.ZodOptional<z.ZodString>;
syncState: z.ZodOptional<z.ZodString>;
profile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
credentials: z.ZodOptional<z.ZodObject<{
userName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
userName?: string | undefined;
}, {
userName?: string | undefined;
}>>;
_links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
id: string;
status: string;
lastUpdated: string;
created: string;
scope: string;
profile?: Record<string, unknown> | undefined;
credentials?: {
userName?: string | undefined;
} | undefined;
statusChanged?: string | undefined;
passwordChanged?: string | undefined;
_links?: Record<string, unknown> | undefined;
externalId?: string | undefined;
syncState?: string | undefined;
}, {
id: string;
status: string;
lastUpdated: string;
created: string;
scope: string;
profile?: Record<string, unknown> | undefined;
credentials?: {
userName?: string | undefined;
} | undefined;
statusChanged?: string | undefined;
passwordChanged?: string | undefined;
_links?: Record<string, unknown> | undefined;
externalId?: string | undefined;
syncState?: string | undefined;
}>;
export declare const AppGroupResponseSchema: z.ZodObject<{
id: z.ZodString;
lastUpdated: z.ZodString;
priority: z.ZodOptional<z.ZodNumber>;
profile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
_links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
_embedded: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
id: string;
lastUpdated: string;
priority?: number | undefined;
profile?: Record<string, unknown> | undefined;
_links?: Record<string, unknown> | undefined;
_embedded?: Record<string, unknown> | undefined;
}, {
id: string;
lastUpdated: string;
priority?: number | undefined;
profile?: Record<string, unknown> | undefined;
_links?: Record<string, unknown> | undefined;
_embedded?: Record<string, unknown> | undefined;
}>;
//# sourceMappingURL=schemas.d.ts.map