/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { actionsGet } from "../funcs/actionsGet.js"; import { actionsList } from "../funcs/actionsList.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 Actions extends ClientSDK { /** * List Actions V1 * * @remarks * List all actions for an organisation. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ async list( request: operations.ActionsV1NumberListRequest, options?: RequestOptions, ): Promise { return unwrapAsync(actionsList( this, request, options, )); } /** * Show Actions V1 * * @remarks * Get a single incident action. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ async get( request: operations.ActionsV1NumberShowRequest, options?: RequestOptions, ): Promise { return unwrapAsync(actionsGet( this, request, options, )); } }