@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
59 lines (58 loc) • 1.62 kB
TypeScript
/**
* AskNews API
* AskNews API
*
* The version of the OpenAPI document: 0.21.1
* 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 { 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 {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;