Add a company or contact to a pipeline. recordId is the Gleap id of the record — a
company's _id (see GET /companies) or a contact's id, matching the pipeline's
recordType. laneId picks the stage and defaults to the pipeline's first stage; values
sets initial field values keyed by fieldId (see GET /pipelines/{pipelineId}/properties).
A record sits on a pipeline at most once: adding one that is already present returns the existing entry unchanged instead of creating a duplicate. Pipeline automations configured for "record added" run on a genuine add.
Bearer <token>.Gleap id of the record to add, matching the pipeline's recordType: a company's _id (see
GET /companies) or a contact's id. Not your own external companyId / userId.
Stage to add the entry to — a lane id from the pipeline's lanes. Defaults to the
pipeline's first stage.
Initial field values, keyed by the pipeline's field fieldIds (see
GET /pipelines/{pipelineId}/properties). Primitive values only.
Ok
What a pipeline holds. Persisted values — never rename a member, only add.
Construct a type with a set of properties K of type T