import type { AxiosInstance } from 'contentful-sdk-core' ; import { CollectionProp , QueryParams } from '../../../common-types' ; import { UsageProps } from '../../../entities/usage' ; import { RestEndpoint } from '../types' ; import * as raw from './raw' ; export const getManyForSpace = ( http , params ) => { return raw . get < CollectionProp < UsageProps > > ( http , `/organizations/${ params . organizationId }/space_periodic_usages` , { params : params . query , } ) ; } ; export const getManyForOrganization = ( http , params ) => { return raw . get < CollectionProp < UsageProps > > ( http , `/organizations/${ params . organizationId }/organization_periodic_usages` , { params : params . query , } ) ; } ;