You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/apps/Types.swift
+36-5Lines changed: 36 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2487,6 +2487,17 @@ public enum Components {
2487
2487
///
2488
2488
/// - Remark: Generated from `#/components/schemas/app-permissions/workflows`.
2489
2489
public var workflows: Components.Schemas.AppPermissions.WorkflowsPayload?
2490
+
/// The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.
2491
+
///
2492
+
/// - Remark: Generated from `#/components/schemas/app-permissions/custom_properties_for_organizations`.
2493
+
@frozen public enum CustomPropertiesForOrganizationsPayload: String, Codable, Hashable, Sendable, CaseIterable {
2494
+
case read = "read"
2495
+
case write = "write"
2496
+
}
2497
+
/// The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.
2498
+
///
2499
+
/// - Remark: Generated from `#/components/schemas/app-permissions/custom_properties_for_organizations`.
2500
+
public var customPropertiesForOrganizations: Components.Schemas.AppPermissions.CustomPropertiesForOrganizationsPayload?
2490
2501
/// The level of permission to grant the access token for organization teams and members.
2491
2502
///
2492
2503
/// - Remark: Generated from `#/components/schemas/app-permissions/members`.
@@ -2760,6 +2771,18 @@ public enum Components {
2760
2771
///
2761
2772
/// - Remark: Generated from `#/components/schemas/app-permissions/starring`.
2762
2773
public var starring: Components.Schemas.AppPermissions.StarringPayload?
2774
+
/// The level of permission to grant the access token for organization custom properties management at the enterprise level.
2775
+
///
2776
+
/// - Remark: Generated from `#/components/schemas/app-permissions/enterprise_custom_properties_for_organizations`.
2777
+
@frozen public enum EnterpriseCustomPropertiesForOrganizationsPayload: String, Codable, Hashable, Sendable, CaseIterable {
2778
+
case read = "read"
2779
+
case write = "write"
2780
+
case admin = "admin"
2781
+
}
2782
+
/// The level of permission to grant the access token for organization custom properties management at the enterprise level.
2783
+
///
2784
+
/// - Remark: Generated from `#/components/schemas/app-permissions/enterprise_custom_properties_for_organizations`.
2785
+
public var enterpriseCustomPropertiesForOrganizations: Components.Schemas.AppPermissions.EnterpriseCustomPropertiesForOrganizationsPayload?
2763
2786
/// Creates a new `AppPermissions`.
2764
2787
///
2765
2788
/// - Parameters:
@@ -2786,6 +2809,7 @@ public enum Components {
2786
2809
/// - statuses: The level of permission to grant the access token for commit statuses.
2787
2810
/// - vulnerabilityAlerts: The level of permission to grant the access token to manage Dependabot alerts.
2788
2811
/// - workflows: The level of permission to grant the access token to update GitHub Actions workflow files.
2812
+
/// - customPropertiesForOrganizations: The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.
2789
2813
/// - members: The level of permission to grant the access token for organization teams and members.
2790
2814
/// - organizationAdministration: The level of permission to grant the access token to manage access to an organization.
2791
2815
/// - organizationCustomRoles: The level of permission to grant the access token for custom repository roles management.
@@ -2811,6 +2835,7 @@ public enum Components {
2811
2835
/// - interactionLimits: The level of permission to grant the access token to view and manage interaction limits on a repository.
2812
2836
/// - profile: The level of permission to grant the access token to manage the profile settings belonging to a user.
2813
2837
/// - starring: The level of permission to grant the access token to list and manage repositories a user is starring.
2838
+
/// - enterpriseCustomPropertiesForOrganizations: The level of permission to grant the access token for organization custom properties management at the enterprise level.
Copy file name to clipboardExpand all lines: Sources/billing/Client.swift
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,8 @@ public struct Client: APIProtocol {
42
42
///
43
43
/// Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.
44
44
///
45
+
/// **Note:** Only data from the past 24 months is accessible via this endpoint.
0 commit comments