@@ -97,6 +97,24 @@ type Organization struct {
9797 SecretScanningPushProtectionEnabledForNewRepos * bool `json:"secret_scanning_push_protection_enabled_for_new_repositories,omitempty"`
9898 // SecretScanningValidityChecksEnabled toggles whether secret scanning validity check is enabled.
9999 SecretScanningValidityChecksEnabled * bool `json:"secret_scanning_validity_checks_enabled,omitempty"`
100+ // MembersCanDeleteRepositories toggles whether members with admin permissions can delete a repository.
101+ MembersCanDeleteRepositories * bool `json:"members_can_delete_repositories,omitempty"`
102+ // MembersCanChangeRepoVisibility toggles whether members with admin permissions can change the visibility for a repository.
103+ MembersCanChangeRepoVisibility * bool `json:"members_can_change_repo_visiblilty,omitempty"`
104+ // MembersCanInviteOutsideCollaborators toggles whether members with admin permissions can invite outside collaborators.
105+ MembersCanInviteOutsideCollaborators * bool `json:"members_can_invite_outside_collaborators,omitempty"`
106+ // MembersCanDeleteIssues toggles whether members with admin permissions can delete issues.
107+ MembersCanDeleteIssues * bool `json:"members_can_delete_issues,omitempty"`
108+ // DisplayCommenterFullNameSettingEnabled toggles whether members can see the comment author's profile name in private repositories.
109+ DisplayCommenterFullNameSettingEnabled * bool `json:"display_commenter_full_name_setting_enabled,omitempty"`
110+ // ReadersCanCreateDiscussions toggles whether users with read access can create and comment on discussions.
111+ ReadersCanCreateDiscussions * bool `json:"readers_can_create_discussions,omitempty"`
112+ // MembersCanCreateTeams toggles whether members of an organization can create new teams.
113+ MembersCanCreateTeams * bool `json:"members_can_create_teams,omitempty"`
114+ // MembersCanViewDependencyInsights toggles whether members may view dependency insights.
115+ MembersCanViewDependencyInsights * bool `json:"members_can_view_dependency_insights,omitempty"`
116+ // DefaultRepositoryBranch is the default branch for new repositories in the organization.
117+ DefaultRepositoryBranch * string `json:"default_repository_branch,omitempty"`
100118
101119 // API URLs
102120 URL * string `json:"url,omitempty"`
0 commit comments