Integrate committee ballots with Voting
This commit is contained in:
@@ -37,9 +37,22 @@ class CommitteeBallotFinalizeRequest(BaseModel):
|
||||
idempotency_key: str = Field(min_length=1, max_length=255)
|
||||
|
||||
|
||||
class CommitteeVotingFinalizeRequest(BaseModel):
|
||||
model_config = ConfigDict(extra="forbid")
|
||||
|
||||
voting_ballot_id: str = Field(min_length=1, max_length=255)
|
||||
voting_expected_revision: int = Field(ge=1)
|
||||
approval_ref: dict[str, Any]
|
||||
expected_revision: int = Field(ge=1)
|
||||
recorded_at: datetime
|
||||
change_reason: str = Field(min_length=1, max_length=1_000)
|
||||
idempotency_key: str = Field(min_length=1, max_length=255)
|
||||
|
||||
|
||||
__all__ = [
|
||||
"CommitteeWorkspaceHistoryResponse",
|
||||
"CommitteeWorkspaceListResponse",
|
||||
"CommitteeWorkspaceWriteRequest",
|
||||
"CommitteeBallotFinalizeRequest",
|
||||
"CommitteeVotingFinalizeRequest",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user