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