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