TypeAlias.AccountAssignment
type AccountAssignment = {
application: string;
balance?: bigint | null;
createdAt: string;
email?: string | null;
id: string;
name?: string | null;
phoneNumber?: string | null;
rewardTier?: | {
application: string;
bgImageUrl?: string | null;
createdAt: string;
currencyToPointRatio: number;
id: string;
name: string;
requiredVisits: number;
updatedAt: string;
}
| null;
updatedAt: string;
};
Pending loyalty assignment created before an account exists.
Pre-seeds loyalty balances, reward tiers, and contact details for accounts that will be created later. Useful for bulk imports or pre-registrations.
Type Declaration
| Name | Type |
|---|---|
application | string |
balance? | bigint |
createdAt | string |
email? | string |
id | string |
name? | string |
phoneNumber? | string |
rewardTier? | |
updatedAt | string |