package constants

// Configuration Keys for Actions and Flows
const (
	ConfigTargetObject    = "target_object"
	ConfigFieldMappings   = "field_mappings"
	ConfigRecordID        = "record_id"
	ConfigPayload         = "payload"
	ConfigHeaders         = "headers"
	ConfigTo              = "to"
	ConfigSubject         = "subject"
	ConfigBody            = "body"
	ConfigCc              = "cc"
	ConfigBcc             = "bcc"
	ConfigEmailTemplate   = "emailTemplate"
	ConfigRecipient       = "recipient"
	ConfigURL             = "url"
	ConfigMethod          = "method"
	ConfigActionID        = "action_id"
	ConfigApproverID      = "approver_id"
	ConfigApproverFormula = "approver_formula"
	ConfigComments        = "comments"
)

// Context Keys
const (
	ContextKeyUser  = "user"
	ContextKeyToken = "token"
	// ContextKeySessionID carries the validated JWT session identifier
	// (jti / RegisteredClaims.ID). Downstream audit/capture code uses this
	// to correlate a request with its session WITHOUT ever handling the
	// raw bearer token — a DB dump of `_System_RequestCapture` must not
	// yield replayable credentials.
	ContextKeySessionID = "session_id"
)

// System Field Aliases
// Maps Logical API Name -> Physical DB Column Name

