import { messaging } from 'firebase-admin'; export declare enum Gender { male = "MALE", female = "FEMALE" } export declare enum Operation { create = "create", add = "add", remove = "remove" } export interface PrevUser { id: string; phoneNumber: string; } export interface User { id: string; birthday: Date | null; gender: Gender | null; email?: string | null; displayName?: string | null; photoURL?: string | null; phoneNumber?: string | null; prevPhoneNumbers?: string[]; } export interface DeviceGroup { id: string; name: string | null; key: string | null; } export interface ManageDeviceGroupPayload { operation: Operation; notification_key_name: string; notification_key?: string; registration_ids: string[]; } export interface GetClaimsByRestaurant { restaurantId: string; businessId: string; } export interface NotifyOptions { uid?: string; payload: messaging.MessagingPayload; sms?: boolean; phoneNo?: string; url?: string; } export interface SmsResponse { response: any; phoneNumber: string | null; } export interface NotifyResponse extends messaging.MessagingDeviceGroupResponse { smsResponse: SmsResponse; appUrl?: string; } export interface AddressObject { name: string; address: Address; } export interface Address { full: string; coordinates: number[]; } export interface UpdateProfile { birthday?: Date | null; gender?: Gender | null; email?: string | null; displayName?: string; photoURL?: string | null; addresses?: AddressObject[]; } export interface UpdateNotificationToken { token: string; operation: Operation; }