import { SingHttpMethods } from '../enums/sing-http-methods.enum'; import { SingHttpPayload } from './sing-http-payload'; export interface SingHttpMetaData { /** * HTTP method. */ method: SingHttpMethods; /** * URL to endpoint */ url: string; /** * If true: full error response will be thrown, otherwise only the detail/title will be thrown */ throwFullError?: boolean; /** * If true: error alert will not display. */ hideErrorAlert?: boolean; /** * Request query params. * Used with GET method */ queryParams?: Record; /** * If true: empty or nullish query params will be added to the URL * default: false */ allowEmptyQueryParams?: boolean; /** * Request payload. * payload is body in the terminology of angular httpClient. * Used with POST | PUT | DELETE methods */ payload?: SingHttpPayload; } //# sourceMappingURL=sing-http-meta-data.interface.d.ts.map