import type { AxiosInstance } from 'contentful-sdk-core' ; import { AppDetailsProps , CreateAppDetailsProps } from '../../../entities/app-details' ; import * as raw from './raw' ; import { RestEndpoint } from '../types' ; import { GetAppDefinitionParams } from '../../../common-types' ; export const get = ( http , params ) => { return raw . get < AppDetailsProps > ( http , `/organizations/${ params . organizationId }/app_definitions/${ params . appDefinitionId }/details` ) ; } ; export const upsert = ( http , params , data ) => { return raw . put < AppDetailsProps > ( http , `/organizations/${ params . organizationId }/app_definitions/${ params . appDefinitionId }/details` , data ) ; } ; export const del = ( http , params ) => { return raw . del ( http , `/organizations/${ params . organizationId }/app_definitions/${ params . appDefinitionId }/details` ) ; } ;