import type { SpaceResource } from '../../helpers'; import type { Drive, DriveUpdate } from '../generated'; import { ListMyDrivesBetaSelectEnum } from '../generated'; import type { GraphRequestOptions } from '../types'; export interface GraphDrives { getDrive: (id: string, options?: { select?: Array; }, requestOptions?: GraphRequestOptions) => Promise; createDrive: (data: Drive, requestOptions?: GraphRequestOptions) => Promise; updateDrive: (id: string, data: DriveUpdate, requestOptions?: GraphRequestOptions) => Promise; disableDrive: (id: string, ifMatch?: string, requestOptions?: GraphRequestOptions) => Promise; deleteDrive: (id: string, ifMatch?: string, requestOptions?: GraphRequestOptions) => Promise; listMyDrives: (options?: { orderBy?: string; filter?: string; expand?: string; select?: Array; }, requestOptions?: GraphRequestOptions) => Promise; listAllDrives: (options?: { orderBy?: string; filter?: string; expand?: string; select?: Array; }, requestOptions?: GraphRequestOptions) => Promise; }