UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
28 lines (27 loc) 1.01 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 { OrganizationProfile } from './OrganizationProfile'; import type { UserProfile } from './UserProfile'; /** * @type Profile * * @export */ export type Profile = { identityType: 'organization'; } & OrganizationProfile | { identityType: 'user'; } & UserProfile; export declare function ProfileFromJSON(json: any): Profile; export declare function ProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): Profile; export declare function ProfileToJSON(json: any): any; export declare function ProfileToJSONTyped(value?: Profile | null, ignoreDiscriminator?: boolean): any;