/**
 * Products file relationship
 */ import { Identifiable , ResourceList } from './core' ; export interface PcmFileRelationship extends Identifiable { meta ? : { created_at : string ; tags ? : string [ ] ; } ; type : string ; } export type ProductFileRelationshipResource = string | { id : string ; meta ? : { tags : string [ ] ; } ; } ; export interface PcmFileRelationshipEndpoint { endpoint : 'relationships/files' ; param productId constructor All ( productId ) : Promise < ResourceList < PcmFileRelationship > > ; param productId param resources constructor Create ( productId , resources ? ) : Promise < void > ; param productId param resources constructor Delete ( productId , resources ? ) : Promise < void > ; param productId param resources constructor Update ( productId , resources ? ) : Promise < void > ; }