import { dict , lazy , object , Schema } from '../schema' ; import { UpdateTeamMemberRequest , updateTeamMemberRequestSchema , } from './updateTeamMemberRequest' ; /** Represents a bulk update request for `TeamMember` objects. */ export interface BulkUpdateTeamMembersRequest { /** The data used to update the `TeamMember` objects. Each key is the `team_member_id` that maps to the `UpdateTeamMemberRequest`. */ teamMembers : Record < string , UpdateTeamMemberRequest > ; } export const bulkUpdateTeamMembersRequestSchema = object ( { teamMembers : [ 'team_members' , dict ( lazy ( ( ) => updateTeamMemberRequestSchema ) ) , ] , } ) ;