import type { AxiosInstance } from 'contentful-sdk-core' ; import { GetReleaseParams } from '../../../common-types' ; import { ReleaseActionQueryOptions } from '../../../entities/release-action' ; import { RestEndpoint } from '../types' ; import * as raw from './raw' ; export const get = ( http , params ) => { return raw . get ( http , `/spaces/${ params . spaceId }/environments/${ params . environmentId }/releases/${ params . releaseId }/actions/${ params . actionId }` ) ; } ; export const queryForRelease = ( http , params ) => { return raw . get ( http , `/spaces/${ params . spaceId }/environments/${ params . environmentId }/releases/${ params . releaseId }/actions` , { params : params . query , } ) ; } ;