import { IHeader, IHttpCancelRequestToken } from '@kontent-ai/core-sdk'; import { ResponseType } from 'axios'; import { BaseResponses } from '../responses/base-responses'; export interface IContentManagementQueryConfig { headers: IHeader[]; cancelTokenRequest?: IHttpCancelRequestToken; } export interface IContentManagementInternalQueryConfig { responseType?: ResponseType; } export interface IContentManagementListQueryConfig { /** * Delay between each HTTP requests. Helps being rate limited by number of calls towards CM API. */ delayBetweenRequests?: number; /** * Executed when a list response is loaded */ responseFetched?: (response: TResponse, continuationToken?: string) => void; }