...
Bellow you can find all valid section conditions and explanations when they are met:
hasPassword has-password - shared link is secured with password,
allowExternalUsers allow-external-users - 'Selected Users' added on share,
hasRegistrationUrl has-registration-url - 'Selected Users' added on share,
hasExpiration has-expiration - expiration date is set on share,
allowAddCommentsAndAttachments allow-add-comments-and-attachments - both ‘View comments' and 'View attachments’ options checked,
allowAddAttachments allow-add-attachments - only 'View attachments’ option checked,
allowAddComments allow-add-comments - only 'View comments’ option checked.
...