/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { companyAttachmentGetDownloadUrl } from "../funcs/companyAttachmentGetDownloadUrl.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { GetV1CompaniesAttachmentUrlRequest, GetV1CompaniesAttachmentUrlResponse, } from "../models/operations/getv1companiesattachmenturl.js"; import { unwrapAsync } from "../types/fp.js"; export class CompanyAttachment extends ClientSDK { /** * Get a temporary url to download the Company Attachment file * * @remarks * Retrieve a temporary url to download an attachment file uploaded by the company. * * ### Related guides * - [Manage company attachments](doc:manage-company-attachments) * * scope: `company_attachments:read` */ async getDownloadUrl( request: GetV1CompaniesAttachmentUrlRequest, options?: RequestOptions, ): Promise { return unwrapAsync(companyAttachmentGetDownloadUrl( this, request, options, )); } }