import { GustoEmbeddedCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { GustoEmbeddedError } from "../models/errors/gustoembeddederror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { NotFoundErrorObject } from "../models/errors/notfounderrorobject.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { UnprocessableEntityError } from "../models/errors/unprocessableentityerror.js"; import { PostV1CompaniesAttachmentRequest, PostV1CompaniesAttachmentResponse } from "../models/operations/postv1companiesattachment.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Create Company Attachment and Upload File * * @remarks * Upload a file and create a company attachment. We recommend uploading PDF files for optimal compatibility. However, the following file types are allowed: .qbb, .qbm, .gif, .jpg, .png, .pdf, .xls, .xlsx, .doc and .docx. * * ### Related guides * - [Manage company attachments](doc:manage-company-attachments) * * scope: `company_attachments:write` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function companyAttachmentsCreate(client: GustoEmbeddedCore, request: PostV1CompaniesAttachmentRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=companyAttachmentsCreate.d.ts.map