import { array , object , optional , Schema , string } from '../schema' ; /** An object that represents a team member's assignment to locations. */ export interface TeamMemberAssignedLocations { /** Enumerates the possible assignment types that the team member can have. */ assignmentType ? : string ; /** The locations that the team member is assigned to. */ locationIds ? : string [ ] ; } export const teamMemberAssignedLocationsSchema = object ( { assignmentType : [ 'assignment_type' , optional ( string ( ) ) ] , locationIds : [ 'location_ids' , optional ( array ( string ( ) ) ) ] , } ) ;