export type User = {
    attributes: Record<string, any>;
    id: string;
    externalUserId: string;
    name: string;
    type: string;
    campaignId: string;
    createdAt: Date;
    updatedAt: Date;
};
export type Auth = {
    accessToken: string;
    refreshToken: string;
};
export type CreateUserResponse = {
    user: User;
    auth: Auth;
};
export type CommonCreateUserParams = {
    campaignId: string;
    type: string;
    name: string;
};
export type CreateExternalUserParams = CommonCreateUserParams & {
    externalUserId: string;
};
export type CreateWebUserParams = CommonCreateUserParams;
export type CreateUserParams = CreateExternalUserParams | CreateWebUserParams;
export type ApiKey = {
    apiKey: string;
};
export type UpdateUserParams = {
    name: string;
};
