Magidoc

Proposal
Object

CRM proposal document linked to account, opportunity, snippets, source documents, and published versions.

Fields

#

docxDocumentId

reviewActionId

Review card holding approvals for this proposal's Word document.

_id

ID !
Non-null

workspaceId

ID !
Non-null

title

Non-null

accountId

opportunityId

ownerId

estimateId

templateFileId

File Library Word file the writer starts this proposal from; null starts from a blank page.

slateJson

Non-null

composerSectionOrder

outlineSections

Non-null

sourceDocuments

snippetIds

[ID !]!
Non-null

nonCashContributions

generatedArtifact

draftedAt

When Hive last finished a draft. A redraft revises the document once there is one.

publishedArtifact

docusignEnabled

Non-null

Whether DocuSign is configured for this environment. Each workspace connects its own account.

docusignConnected

Non-null

Whether the viewing Hive user has connected their DocuSign account.

docusignEnvelope

The newest DocuSign envelope, derived from immutable proposal versions.

publishedVersionId

versions

Non-null

acceptanceToken

acceptedAt

acceptedByName

declinedAt

When the current acceptance link was declined.

declineReason

Optional sanitized reason supplied by the recipient.

changeRequestedAt

When the recipient last requested proposal changes.

changeRequestReason

Optional sanitized change request supplied by the recipient.

changeOrder

Agreed, consumed and remaining per agreed line, against the revision this one replaced. Null until the proposal has been agreed at least once.

Naming toVersionId states the same document about a stored pair instead — the register's read of two revisions, derived the one way rather than a second. fromVersionId defaults to the nearest preceding version that froze a statement of its own. Null when the proposal does not have a version named here, or a version named here froze no commercial statement — either way the comparison asked for cannot be made, and half of it is not an answer to it.

validUntil

projectStartDate

Delivery start the agreement states. With the workspace opt-in, kickoff copies it onto an unset project start date. After a change order, kickoff also moves a project start date that still holds the previously signed one.

projectEndDate

Delivery end the agreement states. With the workspace opt-in, kickoff copies it onto an unset project end date. After a change order, kickoff also moves a project end date that still holds the previously signed one.

lastViewedAt

documentGenerationRun

Current background state of readiness-led whole-document generation.

proposalPlan

Pre-generation requirements, evidence coverage, and missing-input decisions.

createdAt

Non-null

modifiedAt

Non-null

commercialLines

Editable lines owned by this offer, independent of the opportunity's initial assumptions.

commercialCurrency

Currency of this proposal's commercial draft.

commercialLineTotals

Totals for included lines in this proposal's commercial draft.

defaultBillingRule

The SOW's billing rule: it governs every line that states no rule of its own. For an accepted proposal this is the rule frozen when the agreed version was sent, never a later edit.

Usages

#

References

#

  • Field generateProposalDocument from Mutation
  • Field analyzeProposalReadiness from Mutation