Check if the batch is empty.
Get the number of operations in the batch.
Build the UpdateCapTable command without executing it.
The command and disclosed contracts for manual submission
Clear all operations from the batch.
Add a create operation to the batch.
The OCF entity type to create (e.g., 'stakeholder', 'stockClass')
The native OCF data for the entity
This for chaining
Add a delete operation to the batch.
The OCF entity type to delete
The OCF object ID to delete
This for chaining
Add an edit operation to the batch.
The OCF entity type to edit
The updated native OCF data (must include the entity's id)
This for chaining
Build and execute the batch update.
The result containing the update ID (transaction ID), updated cap table contract ID, and affected entity IDs
Fluent builder for batch cap table updates.
Collects creates, edits, and deletes and builds them into a single UpdateCapTable command for atomic execution.