A pipeline stage definition.

Constructors

Properties

archived: boolean

Whether the pipeline is archived.

archivedAt?: Date

The date the pipeline was archived. archivedAt will only be present if the pipeline is archived.

createdAt: Date

The date the pipeline stage was created. The stages on default pipelines will have createdAt = 0.

displayOrder: number

The order for displaying this pipeline stage. If two pipeline stages have a matching displayOrder, they will be sorted alphabetically by label.

id: string

A unique identifier generated by HubSpot that can be used to retrieve and update the pipeline stage.

label: string

A label used to organize pipeline stages in HubSpot's UI. Each pipeline stage's label must be unique within that pipeline.

metadata: {
    [key: string]: string;
}

A JSON object containing properties that are not present on all object pipelines. For deals pipelines, the probability field is required ({ \"probability\": 0.5 }), and represents the likelihood a deal will close. Possible values are between 0.0 and 1.0 in increments of 0.1. For tickets pipelines, the ticketState field is optional ({ \"ticketState\": \"OPEN\" }), and represents whether the ticket remains open or has been closed by a member of your Support team. Possible values are OPEN or CLOSED.

updatedAt: Date

The date the pipeline stage was last updated.

attributeTypeMap: {
    baseName: string;
    format: string;
    name: string;
    type: string;
}[] = ...
discriminator: undefined | string = undefined

Methods

  • Returns {
        baseName: string;
        format: string;
        name: string;
        type: string;
    }[]