/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface WebhookDeliverySlimV2 */ export interface WebhookDeliverySlimV2 { /** * Time taken by the request, in milliseconds */ duration_ms?: number; /** * The interpolated URL the request was sent to. Redirects are followed, so this is the URL requested rather than the URL that ultimately served it */ endpoint: string; /** * HTTP method used for the request */ method: string; /** * The result of the delivery attempt. Only success and non_2xx have a response */ outcome: WebhookDeliverySlimV2OutcomeEnum; /** * HTTP status code returned by the endpoint. Absent when no response was received */ status_code?: number; } /** * @export */ export declare const WebhookDeliverySlimV2OutcomeEnum: { readonly Success: "success"; readonly Non2xx: "non_2xx"; readonly Timeout: "timeout"; readonly Unreachable: "unreachable"; readonly NetworkError: "network_error"; readonly TlsError: "tls_error"; }; export type WebhookDeliverySlimV2OutcomeEnum = typeof WebhookDeliverySlimV2OutcomeEnum[keyof typeof WebhookDeliverySlimV2OutcomeEnum]; /** * Check if a given object implements the WebhookDeliverySlimV2 interface. */ export declare function instanceOfWebhookDeliverySlimV2(value: object): value is WebhookDeliverySlimV2; export declare function WebhookDeliverySlimV2FromJSON(json: any): WebhookDeliverySlimV2; export declare function WebhookDeliverySlimV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookDeliverySlimV2; export declare function WebhookDeliverySlimV2ToJSON(json: any): WebhookDeliverySlimV2; export declare function WebhookDeliverySlimV2ToJSONTyped(value?: WebhookDeliverySlimV2 | null, ignoreDiscriminator?: boolean): any;