UNPKG

flowus-api-sdk

Version:

Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks

113 lines (112 loc) 2.27 kB
/** * FlowUs API * FlowUs Developer API * * The version of the OpenAPI document: 1.0.0 * * * 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 { Cover } from './Cover'; import type { User } from './User'; import type { Parent } from './Parent'; import type { PropertyValue } from './PropertyValue'; import type { Icon } from './Icon'; /** * * @export * @interface Page */ export interface Page { /** * * @type {string} * @memberof Page */ object?: PageObjectEnum; /** * * @type {string} * @memberof Page */ id?: string; /** * * @type {Date} * @memberof Page */ created_time?: Date; /** * * @type {User} * @memberof Page */ created_by?: User; /** * * @type {Date} * @memberof Page */ last_edited_time?: Date; /** * * @type {User} * @memberof Page */ last_edited_by?: User; /** * * @type {boolean} * @memberof Page */ archived?: boolean; /** * * @type {{ [key: string]: PropertyValue; }} * @memberof Page */ properties?: { [key: string]: PropertyValue; }; /** * * @type {Parent} * @memberof Page */ parent?: Parent; /** * * @type {string} * @memberof Page */ url?: string; /** * * @type {Icon} * @memberof Page */ icon?: Icon; /** * * @type {Cover} * @memberof Page */ cover?: Cover; } /** * @export */ export declare const PageObjectEnum: { readonly Page: "page"; }; export type PageObjectEnum = typeof PageObjectEnum[keyof typeof PageObjectEnum]; /** * Check if a given object implements the Page interface. */ export declare function instanceOfPage(value: object): value is Page; export declare function PageFromJSON(json: any): Page; export declare function PageFromJSONTyped(json: any, ignoreDiscriminator: boolean): Page; export declare function PageToJSON(json: any): Page; export declare function PageToJSONTyped(value?: Page | null, ignoreDiscriminator?: boolean): any;