/** * @example * { * name: "Deal: Connect with company" * } */ export interface PostCrmDealsRequest { /** Attributes for deal creation To assign owner of a Deal you can send attributes.deal_owner and utilize the account email or ID. If you want to create a deal on a specific pipeline and stage you can use the following attributes `pipeline` and `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}` */ attributes?: Record; /** Company ids to be linked with deal */ linkedCompaniesIds?: string[]; /** Contact ids to be linked with deal */ linkedContactsIds?: number[]; /** Name of deal */ name: string; }