/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { incidentTimestampsGet } from "../funcs/incidentTimestampsGet.js"; import { incidentTimestampsList } from "../funcs/incidentTimestampsList.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class IncidentTimestamps extends ClientSDK { /** * List Incident Timestamps V2 * * @remarks * List all incident timestamps for an organisation. */ async list( options?: RequestOptions, ): Promise { return unwrapAsync(incidentTimestampsList( this, options, )); } /** * Show Incident Timestamps V2 * * @remarks * Get a single incident timestamp. */ async get( request: operations.IncidentTimestampsV2NumberShowRequest, options?: RequestOptions, ): Promise { return unwrapAsync(incidentTimestampsGet( this, request, options, )); } }