update Note Visibility
suspend fun updateNoteVisibility(noteUid: String, noteVisibilityType: ZyncNoteVisibilityType, jobUid: String?, customerUid: String?): UpdateNoteVisibilityResult
Updates the visibility settings of a note with offline-first support.
Changes are immediately applied to local storage and queued for server synchronization. This operation supports all visibility types including private, customer-visible, and public notes.
Features:
Immediate local updates
Automatic background sync
Support for all visibility types and associations
Context-aware visibility rules
Return
UpdateNoteVisibilityResult containing success status or error information
Parameters
note Uid
Unique identifier of the note to update
note Visibility Type
The new visibility type for the note
job Uid
Associated job UID (required for job-specific visibility)
customer Uid
Associated customer UID (required for customer-visible notes)