UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
66 lines (65 loc) 1.96 kB
/** * AskNews API * AskNews API [![status](https://status.asknews.app/api/badge/2/status?style=for-the-badge)](https://status.asknews.app/status/prod) * * The version of the OpenAPI document: 0.24.22 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { UserProfileOrganization } from './UserProfileOrganization'; import type { UserProfileSubscription } from './UserProfileSubscription'; /** * * @export * @interface UserProfile */ export interface UserProfile { /** * * @type {string} * @memberof UserProfile */ identityType?: UserProfileIdentityTypeEnum; /** * * @type {string} * @memberof UserProfile */ id: string; /** * * @type {UserProfileSubscription} * @memberof UserProfile */ subscription: UserProfileSubscription; /** * * @type {UserProfileOrganization} * @memberof UserProfile */ organization?: UserProfileOrganization | null; /** * * @type {boolean} * @memberof UserProfile */ suspended?: boolean; } /** * @export */ export declare const UserProfileIdentityTypeEnum: { readonly User: "user"; }; export type UserProfileIdentityTypeEnum = typeof UserProfileIdentityTypeEnum[keyof typeof UserProfileIdentityTypeEnum]; /** * Check if a given object implements the UserProfile interface. */ export declare function instanceOfUserProfile(value: object): value is UserProfile; export declare function UserProfileFromJSON(json: any): UserProfile; export declare function UserProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserProfile; export declare function UserProfileToJSON(json: any): UserProfile; export declare function UserProfileToJSONTyped(value?: UserProfile | null, ignoreDiscriminator?: boolean): any;