Publish agreements.
ids
List of agreement IDs to (un)publish.
isPublished
Determine if agreements will be published or not.
Returns AgreementBulkPublish .