package contract // RegisterCustomerDeviceRequest is PUT /customer/devices: the FCM token the customer // app got for this device. Send it after login and whenever FCM refreshes the token. type RegisterCustomerDeviceRequest struct { DeviceID string `json:"device_id" binding:"required"` FCMToken string `json:"fcm_token" binding:"required"` // android, ios or web. Platform *string `json:"platform"` AppVersion *string `json:"app_version"` }