import { Injectable } from '@nestjs/common' ; import { UserPreferencesFcpRequest , UserPreferencesFcpResponse , } from '../interfaces' ; @ Injectable ( ) export class UserPreferencesFcpService { todo private async mockCall ( options ) { const response = { status : 200 , message : 'Success' , headers : { 'Content-Type' : 'application/json' , } , data : null , } ; if ( options ?. data ) { response . data = { foo : 'bar' , } ; } return response ; } }