import { Model , model , property } from '@loopback/repository' ; @ model ( { settings : { strict : false } } ) export class UpsertResponse extends Model { @ property ( { type : 'object' , } ) created ? : object ; @ property ( { type : 'object' , } ) updated ? : object ; @ property ( { type : 'object' , } ) failed ? : object ; [ prop ] : any ; constructor ( data ? ) { super ( data ) ; } }