/** * HubSpot Node - Version 1 * Discriminator: resource=ticket, operation=update */ interface Credentials { hubspotApi: CredentialReference; hubspotAppToken: CredentialReference; hubspotOAuth2Api: CredentialReference; } /** Update a company */ export type HubspotV1TicketUpdateParams = { resource: 'ticket'; operation: 'update'; authentication?: 'apiKey' | 'appToken' | 'oAuth2' | Expression; /** * Unique identifier for a particular ticket */ ticketId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Companies associated with the ticket. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ associatedCompanyIds?: string[]; /** Contact associated with the ticket. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ associatedContactIds?: string[]; /** Main reason customer reached out for help. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ category?: string | Expression; /** The date the ticket was closed */ closeDate?: string | Expression; /** The date the ticket was created */ createDate?: string | Expression; /** Description of the ticket */ description?: string | Expression | PlaceholderValue; /** The ID of the pipeline the ticket is in. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ pipelineId?: string | Expression; /** The level of attention needed on the ticket. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ priority?: string | Expression; /** The action taken to resolve the ticket. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ resolution?: string | Expression; /** Channel where ticket was originally submitted. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ source?: string | Expression; /** The stage ID of the pipeline the ticket is in; depends on Pipeline ID. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ stageId?: string | Expression; /** The ID of the pipeline the ticket is in */ ticketName?: string | Expression | PlaceholderValue; /** The user from your team that the ticket is assigned to. You can assign additional users to a ticket record by creating a custom HubSpot user property. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ ticketOwnerId?: string | Expression; }; }; export type HubspotV1TicketUpdateNode = { type: 'n8n-nodes-base.hubspot'; version: 1; credentials?: Credentials; config: NodeConfig; };