/** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * 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 { RootType } from './RootType'; import type { ResourceRootFolder } from './ResourceRootFolder'; /** * * @export * @interface ResourceRoot */ export interface ResourceRoot { /** * * @type {string} * @memberof ResourceRoot */ 'id': string; /** * * @type {RootType} * @memberof ResourceRoot */ 'type': RootType; /** * * @type {string} * @memberof ResourceRoot */ 'subtype': ResourceRootSubtypeEnum | null; /** * * @type {boolean} * @memberof ResourceRoot */ 'isPrivate': boolean; /** * * @type {ResourceRootFolder} * @memberof ResourceRoot */ 'folder': ResourceRootFolder; } /** * @export */ export declare const ResourceRootSubtypeEnum: { readonly GoogleDrive: "GOOGLE_DRIVE"; readonly Gmail: "GMAIL"; readonly Github: "GITHUB"; readonly IosDevice: "IOS_DEVICE"; readonly AndroidDevice: "ANDROID_DEVICE"; readonly Rss: "RSS"; readonly Notion: "NOTION"; readonly LocalFs: "LOCAL_FS"; readonly Dropbox: "DROPBOX"; readonly Onedrive: "ONEDRIVE"; readonly Mixpanel: "MIXPANEL"; readonly Stripe: "STRIPE"; readonly Inbox: "inbox"; readonly Bin: "bin"; readonly Example: "example"; }; export type ResourceRootSubtypeEnum = typeof ResourceRootSubtypeEnum[keyof typeof ResourceRootSubtypeEnum]; /** * Check if a given object implements the ResourceRoot interface. */ export declare function instanceOfResourceRoot(value: object): value is ResourceRoot; export declare function ResourceRootFromJSON(json: any): ResourceRoot; export declare function ResourceRootFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceRoot; export declare function ResourceRootToJSON(json: any): ResourceRoot; export declare function ResourceRootToJSONTyped(value?: ResourceRoot | null, ignoreDiscriminator?: boolean): any;