import type { PageResult } from "../../../common/types";
import type { TeamAccessType } from "../team/team.enum";
/**
 * UserRecordTeamAssociation represents the association between a {@link https://developers.google.com/ad-manager/api/reference/v202405/UserService.UserRecord UserRecord}
 *  and a {@link https://developers.google.com/ad-manager/api/reference/v202405/TeamService.Team Team}.
 */
export type UserRecordTeamAssociation = {
    /**
     * The Team.id of the team.
     */
    teamId: number;
    /**
     * The overridden team access type. This field is null if team access type is not overridden.
     */
    overriddenTeamAccessType: TeamAccessType;
    /**
     * The default team access type Team.teamAccessType. This field is read-only and is populated by Google.
     */
    defaultTeamAccessType: TeamAccessType;
};
/**
 * UserTeamAssociation associates a {@link https://developers.google.com/ad-manager/api/reference/v202405/UserService.User User}
 * with a {@link https://developers.google.com/ad-manager/api/reference/v202405/TeamService.Team Team} to provide the user access to the entities that belong to the team.
 */
export type UserTeamAssociation = UserRecordTeamAssociation & {
    /**
     * Refers to the User.id.
     */
    userId: number;
};
/**
 * Captures a page of {@link https://developers.google.com/ad-manager/api/reference/v202405/UserTeamAssociationService.UserTeamAssociation UserTeamAssociation} objects.
 */
export type UserTeamAssociationPage = PageResult<UserTeamAssociation>;
//# sourceMappingURL=userTeamAssociation.type.d.ts.map