@@ -25,6 +25,12 @@ union AccessLevel
2525 traverse
2626 "The collaborator can only view the shared folder that they have
2727 access to."
28+ no_access
29+ "If there is a Righteous Link on the folder which grants access
30+ and the user has visited such link, they are allowed to perform
31+ certain action (i.e. add themselves to the folder) via the link
32+ access even though the user themselves are not a member on the
33+ shared folder yet."
2834
2935struct FolderPolicy
3036 "A set of policies governing membership and privileges for a shared
@@ -349,6 +355,9 @@ struct SharedFolderMetadataBase
349355 "The ID of the parent shared folder. This field is present only if the
350356 folder is contained within another shared folder."
351357
358+ path_display String?
359+ "The full path of this shared folder. Absent for unmounted folders."
360+
352361 path_lower String?
353362 "The lower-cased full path of this shared folder. Absent for unmounted folders."
354363
@@ -425,6 +434,8 @@ union SharedFolderAccessError
425434 not_a_member
426435 "The user is not a member of the shared folder
427436 thus cannot access it."
437+ invalid_member
438+ "The user does not exist or their account is disabled."
428439 email_unverified
429440 "Never set."
430441 unmounted
@@ -666,9 +677,9 @@ struct ShareFolderArgBase
666677 member_policy MemberPolicy?
667678 "Who can be a member of this shared folder. Only applicable if the
668679 current user is on a team."
669- path files.WritePath
670- "The path to the folder to share. If it does not exist, then a new one
671- is created."
680+ path files.WritePathOrId
681+ "The path or the file id to the folder to share. If it does not exist,
682+ then a new one is created."
672683 shared_link_policy SharedLinkPolicy?
673684 "The policy to apply to shared links created for content inside this
674685 shared folder. The current user must be on a team to set this policy to
0 commit comments