@@ -4712,6 +4712,11 @@ public enum Components {
47124712 }
47134713 /// - Remark: Generated from `#/components/schemas/security-and-analysis`.
47144714 public struct SecurityAndAnalysis: Codable, Hashable, Sendable {
4715+ /// Enable or disable GitHub Advanced Security for the repository.
4716+ ///
4717+ /// For standalone Code Scanning or Secret Protection products, this parameter cannot be used.
4718+ ///
4719+ ///
47154720 /// - Remark: Generated from `#/components/schemas/security-and-analysis/advanced_security`.
47164721 public struct AdvancedSecurityPayload: Codable, Hashable, Sendable {
47174722 /// - Remark: Generated from `#/components/schemas/security-and-analysis/advanced_security/status`.
@@ -4732,6 +4737,11 @@ public enum Components {
47324737 case status
47334738 }
47344739 }
4740+ /// Enable or disable GitHub Advanced Security for the repository.
4741+ ///
4742+ /// For standalone Code Scanning or Secret Protection products, this parameter cannot be used.
4743+ ///
4744+ ///
47354745 /// - Remark: Generated from `#/components/schemas/security-and-analysis/advanced_security`.
47364746 public var advancedSecurity: Components.Schemas.SecurityAndAnalysis.AdvancedSecurityPayload?
47374747 /// - Remark: Generated from `#/components/schemas/security-and-analysis/code_security`.
@@ -4877,7 +4887,7 @@ public enum Components {
48774887 /// Creates a new `SecurityAndAnalysis`.
48784888 ///
48794889 /// - Parameters:
4880- /// - advancedSecurity:
4890+ /// - advancedSecurity: Enable or disable GitHub Advanced Security for the repository.
48814891 /// - codeSecurity:
48824892 /// - dependabotSecurityUpdates: Enable or disable Dependabot security updates for the repository.
48834893 /// - secretScanning:
@@ -6985,6 +6995,15 @@ public enum Components {
69856995 ///
69866996 /// - Remark: Generated from `#/components/schemas/org-membership/role`.
69876997 public var role: Components.Schemas.OrgMembership.RolePayload
6998+ /// Whether the user has direct membership in the organization.
6999+ ///
7000+ /// - Remark: Generated from `#/components/schemas/org-membership/direct_membership`.
7001+ public var directMembership: Swift.Bool?
7002+ /// The slugs of the enterprise teams providing the user with indirect membership in the organization.
7003+ /// A limit of 100 enterprise team slugs is returned.
7004+ ///
7005+ /// - Remark: Generated from `#/components/schemas/org-membership/enterprise_teams_providing_indirect_membership`.
7006+ public var enterpriseTeamsProvidingIndirectMembership: [Swift.String]?
69887007 /// - Remark: Generated from `#/components/schemas/org-membership/organization_url`.
69897008 public var organizationUrl: Swift.String
69907009 /// - Remark: Generated from `#/components/schemas/org-membership/organization`.
@@ -7014,6 +7033,8 @@ public enum Components {
70147033 /// - url:
70157034 /// - state: The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.
70167035 /// - role: The user's membership type in the organization.
7036+ /// - directMembership: Whether the user has direct membership in the organization.
7037+ /// - enterpriseTeamsProvidingIndirectMembership: The slugs of the enterprise teams providing the user with indirect membership in the organization.
70177038 /// - organizationUrl:
70187039 /// - organization:
70197040 /// - user:
@@ -7022,6 +7043,8 @@ public enum Components {
70227043 url: Swift.String,
70237044 state: Components.Schemas.OrgMembership.StatePayload,
70247045 role: Components.Schemas.OrgMembership.RolePayload,
7046+ directMembership: Swift.Bool? = nil,
7047+ enterpriseTeamsProvidingIndirectMembership: [Swift.String]? = nil,
70257048 organizationUrl: Swift.String,
70267049 organization: Components.Schemas.OrganizationSimple,
70277050 user: Components.Schemas.NullableSimpleUser? = nil,
@@ -7030,6 +7053,8 @@ public enum Components {
70307053 self.url = url
70317054 self.state = state
70327055 self.role = role
7056+ self.directMembership = directMembership
7057+ self.enterpriseTeamsProvidingIndirectMembership = enterpriseTeamsProvidingIndirectMembership
70337058 self.organizationUrl = organizationUrl
70347059 self.organization = organization
70357060 self.user = user
@@ -7039,6 +7064,8 @@ public enum Components {
70397064 case url
70407065 case state
70417066 case role
7067+ case directMembership = "direct_membership"
7068+ case enterpriseTeamsProvidingIndirectMembership = "enterprise_teams_providing_indirect_membership"
70427069 case organizationUrl = "organization_url"
70437070 case organization
70447071 case user
0 commit comments