/*! * Copyright (c) 2017-present, Okta, Inc. and/or its affiliates. All rights reserved. * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") * * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and limitations under the License. */ /** * Okta Admin Management * Allows customers to easily access the Okta Management APIs * * OpenAPI spec version: 5.1.0 * Contact: devex-public@okta.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AppUserCredentials } from './../models/AppUserCredentials'; import { AppUserProfile } from './../models/AppUserProfile'; import { AppUserStatus } from './../models/AppUserStatus'; import { AppUserSyncState } from './../models/AppUserSyncState'; import { LinksAppAndUser } from './../models/LinksAppAndUser'; /** * The application user object defines a user\'s app-specific profile and credentials for an app */ export declare class AppUser { /** * Timestamp when the object was created */ 'created'?: Date; 'credentials'?: AppUserCredentials; /** * The ID of the user in the target app that\'s linked to the Okta application user object. This value is the native app-specific identifier or primary key for the user in the target app. The `externalId` is set during import when the user is confirmed (reconciled) or during provisioning when the user is created in the target app. This value isn\'t populated for SSO app assignments (for example, SAML or SWA) because it isn\'t synchronized with a target app. */ 'externalId'?: string; /** * Unique identifier for the Okta user */ 'id'?: string; /** * Timestamp of the last synchronization operation. This value is only updated for apps with the `IMPORT_PROFILE_UPDATES` or `PUSH PROFILE_UPDATES` feature. */ 'lastSync'?: Date; /** * Timestamp when the object was last updated */ 'lastUpdated'?: Date; /** * Timestamp when the application user password was last changed */ 'passwordChanged'?: Date | null; 'profile'?: AppUserProfile; /** * Indicates if the assignment is direct (`USER`) or by group membership (`GROUP`). */ 'scope'?: AppUserScopeEnum; 'status'?: AppUserStatus; /** * Timestamp when the application user status was last changed */ 'statusChanged'?: Date; 'syncState'?: AppUserSyncState; /** * Embedded resources related to the application user using the [JSON Hypertext Application Language](https://datatracker.ietf.org/doc/html/draft-kelly-json-hal-06) specification */ '_embedded'?: { [key: string]: any; }; '_links'?: LinksAppAndUser; static readonly discriminator: string | undefined; static readonly attributeTypeMap: Array<{ name: string; baseName: string; type: string; format: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; format: string; }[]; constructor(); } export type AppUserScopeEnum = 'USER' | 'GROUP';