From 517b19122f22f3b18042a6919151aef71634c3e1 Mon Sep 17 00:00:00 2001 From: Aaron Sky Date: Sat, 24 Aug 2024 21:07:38 -0400 Subject: [PATCH] Adjusts alpha-casing of fields, enum-cases, and type names in many special situations (#29) --- .github/workflows/swiftpm.yml | 2 +- Examples/register_device/RegisterDevice.swift | 4 +-- Examples/upload_preview/UploadPreview.swift | 8 +++--- .../upload_screenshot/UploadScreenshot.swift | 8 +++--- .../Generated/Entities/BundleIDPlatform.swift | 4 +-- .../Generated/Entities/CertificateType.swift | 4 +-- .../Generated/Entities/CiAction.swift | 26 +++++++++---------- .../Generated/Entities/PerfPowerMetric.swift | 2 +- .../Generated/Entities/Platform.swift | 8 +++--- .../Generated/Entities/Profile.swift | 16 ++++++------ .../Entities/ProfileCreateRequest.swift | 16 ++++++------ .../Entities/TerritoryAvailability.swift | 2 +- .../Paths/PathsV1AppCategories.swift | 8 +++--- .../PathsV1AppEncryptionDeclarations.swift | 8 +++--- ...ppStoreVersionsWithIDCustomerReviews.swift | 4 +-- .../Generated/Paths/PathsV1Apps.swift | 14 +++++----- ...1AppsWithIDAppEncryptionDeclarations.swift | 8 +++--- .../PathsV1AppsWithIDAppStoreVersions.swift | 8 +++--- .../PathsV1AppsWithIDCustomerReviews.swift | 4 +-- ...1AppsWithIDGameCenterEnabledVersions.swift | 10 +++---- .../PathsV1AppsWithIDInAppPurchases.swift | 6 ++--- .../PathsV1AppsWithIDInAppPurchasesV2.swift | 4 +-- .../PathsV1AppsWithIDPerfPowerMetrics.swift | 2 +- .../PathsV1AppsWithIDReviewSubmissions.swift | 8 +++--- .../PathsV1AppsWithIDSubscriptionGroups.swift | 2 +- .../Generated/Paths/PathsV1BetaGroups.swift | 8 +++--- .../Generated/Paths/PathsV1BetaTesters.swift | 10 +++---- .../Generated/Paths/PathsV1Builds.swift | 14 +++++----- .../PathsV1BuildsWithIDPerfPowerMetrics.swift | 2 +- .../Generated/Paths/PathsV1BundleIDs.swift | 14 +++++----- .../Generated/Paths/PathsV1Certificates.swift | 12 ++++----- .../PathsV1CiBuildRunsWithIDBuilds.swift | 14 +++++----- .../PathsV1CiProductsWithIDBuildRuns.swift | 2 +- .../PathsV1CiWorkflowsWithIDBuildRuns.swift | 2 +- .../Generated/Paths/PathsV1Devices.swift | 14 +++++----- ...hIDMetricsClassicMatchmakingRequests.swift | 8 +++--- ...DMetricsRuleBasedMatchmakingRequests.swift | 8 +++--- ...bledVersionsWithIDCompatibleVersions.swift | 10 +++---- ...tricsExperimentMatchmakingQueueSizes.swift | 8 +++--- ...MetricsExperimentMatchmakingRequests.swift | 8 +++--- ...esWithIDMetricsMatchmakingQueueSizes.swift | 8 +++--- ...euesWithIDMetricsMatchmakingRequests.swift | 8 +++--- ...euesWithIDMetricsMatchmakingSessions.swift | 8 +++--- ...MetricsMatchmakingBooleanRuleResults.swift | 2 +- ...DMetricsMatchmakingNumberRuleResults.swift | 8 +++--- ...esWithIDMetricsMatchmakingRuleErrors.swift | 2 +- .../Paths/PathsV1PreReleaseVersions.swift | 10 +++---- .../Generated/Paths/PathsV1Profiles.swift | 24 ++++++++--------- .../Paths/PathsV1ReviewSubmissions.swift | 8 +++--- ...ubscriptionGroupsWithIDSubscriptions.swift | 2 +- .../Paths/PathsV1UserInvitations.swift | 4 +-- .../Generated/Paths/PathsV1Users.swift | 4 +-- .../Generated/Entities/BundleIDPlatform.swift | 4 +-- .../Generated/Entities/CertificateType.swift | 4 +-- .../Generated/Entities/Profile.swift | 16 ++++++------ .../Entities/ProfileCreateRequest.swift | 16 ++++++------ .../Generated/Paths/PathsV1BundleIDs.swift | 14 +++++----- .../Generated/Paths/PathsV1Certificates.swift | 12 ++++----- .../Generated/Paths/PathsV1Devices.swift | 14 +++++----- .../Generated/Paths/PathsV1PassTypeIDs.swift | 6 ++--- ...PathsV1PassTypeIDsWithIDCertificates.swift | 12 ++++----- .../Generated/Paths/PathsV1Profiles.swift | 24 ++++++++--------- .../Paths/PathsV1UserInvitations.swift | 4 +-- .../Generated/Paths/PathsV1Users.swift | 4 +-- bazel/extensions.bzl | 6 ++--- bazel/tools/create_api/create_api.tpl.sh | 15 ++++++++--- 66 files changed, 284 insertions(+), 275 deletions(-) diff --git a/.github/workflows/swiftpm.yml b/.github/workflows/swiftpm.yml index 33d4e4a1..baf0a8b3 100644 --- a/.github/workflows/swiftpm.yml +++ b/.github/workflows/swiftpm.yml @@ -28,7 +28,7 @@ jobs: runs-on: macos-14 strategy: matrix: - xcode: ['15.4', '16_beta_5'] + xcode: ['15.4', '16.1_beta'] env: DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer steps: diff --git a/Examples/register_device/RegisterDevice.swift b/Examples/register_device/RegisterDevice.swift index f83f5995..09026b2b 100644 --- a/Examples/register_device/RegisterDevice.swift +++ b/Examples/register_device/RegisterDevice.swift @@ -45,9 +45,9 @@ extension BundleIDPlatform { init(_ platform: RegisterDevice.Platform) { switch platform { case .iOS: - self = .ios + self = .iOS case .macOS: - self = .macOs + self = .macOS } } } diff --git a/Examples/upload_preview/UploadPreview.swift b/Examples/upload_preview/UploadPreview.swift index 5a9fa100..da672d3e 100644 --- a/Examples/upload_preview/UploadPreview.swift +++ b/Examples/upload_preview/UploadPreview.swift @@ -188,13 +188,13 @@ extension Resources.V1.Apps.WithID.AppStoreVersions.FilterPlatform { init(_ platform: UploadPreview.Platform) { switch platform { case .iOS: - self = .ios + self = .iOS case .macOS: - self = .macOs + self = .macOS case .tvOS: - self = .tvOs + self = .tvOS case .visionOS: - self = .visionOs + self = .visionOS } } } diff --git a/Examples/upload_screenshot/UploadScreenshot.swift b/Examples/upload_screenshot/UploadScreenshot.swift index 2255e1d2..b8201f77 100644 --- a/Examples/upload_screenshot/UploadScreenshot.swift +++ b/Examples/upload_screenshot/UploadScreenshot.swift @@ -206,13 +206,13 @@ extension Resources.V1.Apps.WithID.AppStoreVersions.FilterPlatform { init(_ platform: UploadScreenshot.Platform) { switch platform { case .iOS: - self = .ios + self = .iOS case .macOS: - self = .macOs + self = .macOS case .tvOS: - self = .tvOs + self = .tvOS case .visionOS: - self = .visionOs + self = .visionOS } } } diff --git a/Sources/AppStoreAPI/Generated/Entities/BundleIDPlatform.swift b/Sources/AppStoreAPI/Generated/Entities/BundleIDPlatform.swift index f1a785ce..71bb8237 100644 --- a/Sources/AppStoreAPI/Generated/Entities/BundleIDPlatform.swift +++ b/Sources/AppStoreAPI/Generated/Entities/BundleIDPlatform.swift @@ -7,6 +7,6 @@ import Foundation import AppStoreConnect public enum BundleIDPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" + case iOS = "IOS" + case macOS = "MAC_OS" } diff --git a/Sources/AppStoreAPI/Generated/Entities/CertificateType.swift b/Sources/AppStoreAPI/Generated/Entities/CertificateType.swift index f6ffab52..c3747548 100644 --- a/Sources/AppStoreAPI/Generated/Entities/CertificateType.swift +++ b/Sources/AppStoreAPI/Generated/Entities/CertificateType.swift @@ -7,8 +7,8 @@ import Foundation import AppStoreConnect public enum CertificateType: String, CaseIterable, Codable, Sendable { - case iosDevelopment = "IOS_DEVELOPMENT" - case iosDistribution = "IOS_DISTRIBUTION" + case iOSDevelopment = "IOS_DEVELOPMENT" + case iOSDistribution = "IOS_DISTRIBUTION" case macAppDistribution = "MAC_APP_DISTRIBUTION" case macInstallerDistribution = "MAC_INSTALLER_DISTRIBUTION" case macAppDevelopment = "MAC_APP_DEVELOPMENT" diff --git a/Sources/AppStoreAPI/Generated/Entities/CiAction.swift b/Sources/AppStoreAPI/Generated/Entities/CiAction.swift index 1d4c54ff..41ffb6bf 100644 --- a/Sources/AppStoreAPI/Generated/Entities/CiAction.swift +++ b/Sources/AppStoreAPI/Generated/Entities/CiAction.swift @@ -17,16 +17,16 @@ public struct CiAction: Codable, Equatable, Sendable { public var isRequiredToPass: Bool? public enum Destination: String, CaseIterable, Codable, Sendable { - case anyIosDevice = "ANY_IOS_DEVICE" - case anyIosSimulator = "ANY_IOS_SIMULATOR" - case anyTvosDevice = "ANY_TVOS_DEVICE" - case anyTvosSimulator = "ANY_TVOS_SIMULATOR" - case anyWatchosDevice = "ANY_WATCHOS_DEVICE" - case anyWatchosSimulator = "ANY_WATCHOS_SIMULATOR" + case anyiOSDevice = "ANY_IOS_DEVICE" + case anyiOSSimulator = "ANY_IOS_SIMULATOR" + case anytvOSDevice = "ANY_TVOS_DEVICE" + case anytvOSSimulator = "ANY_TVOS_SIMULATOR" + case anywatchOSDevice = "ANY_WATCHOS_DEVICE" + case anywatchOSSimulator = "ANY_WATCHOS_SIMULATOR" case anyMac = "ANY_MAC" case anyMacCatalyst = "ANY_MAC_CATALYST" - case anyVisionosDevice = "ANY_VISIONOS_DEVICE" - case anyVisionosSimulator = "ANY_VISIONOS_SIMULATOR" + case anyvisionOSDevice = "ANY_VISIONOS_DEVICE" + case anyvisionOSSimulator = "ANY_VISIONOS_SIMULATOR" } public struct TestConfiguration: Codable, Equatable, Sendable { @@ -47,11 +47,11 @@ public struct CiAction: Codable, Equatable, Sendable { } public enum Platform: String, CaseIterable, Codable, Sendable { - case macos = "MACOS" - case ios = "IOS" - case tvos = "TVOS" - case watchos = "WATCHOS" - case visionos = "VISIONOS" + case macOS = "MACOS" + case iOS = "IOS" + case tvOS = "TVOS" + case watchOS = "WATCHOS" + case visionOS = "VISIONOS" } public init(name: String? = nil, actionType: CiActionType? = nil, destination: Destination? = nil, buildDistributionAudience: BuildAudienceType? = nil, testConfiguration: TestConfiguration? = nil, scheme: String? = nil, platform: Platform? = nil, isRequiredToPass: Bool? = nil) { diff --git a/Sources/AppStoreAPI/Generated/Entities/PerfPowerMetric.swift b/Sources/AppStoreAPI/Generated/Entities/PerfPowerMetric.swift index 00576747..0d5c7932 100644 --- a/Sources/AppStoreAPI/Generated/Entities/PerfPowerMetric.swift +++ b/Sources/AppStoreAPI/Generated/Entities/PerfPowerMetric.swift @@ -22,7 +22,7 @@ public struct PerfPowerMetric: Codable, Equatable, Identifiable, Sendable { public var deviceType: String? public enum Platform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" + case iOS = "IOS" } public enum MetricType: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Entities/Platform.swift b/Sources/AppStoreAPI/Generated/Entities/Platform.swift index cdc4b54a..b62e6086 100644 --- a/Sources/AppStoreAPI/Generated/Entities/Platform.swift +++ b/Sources/AppStoreAPI/Generated/Entities/Platform.swift @@ -7,8 +7,8 @@ import Foundation import AppStoreConnect public enum Platform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } diff --git a/Sources/AppStoreAPI/Generated/Entities/Profile.swift b/Sources/AppStoreAPI/Generated/Entities/Profile.swift index cebe7839..e346352d 100644 --- a/Sources/AppStoreAPI/Generated/Entities/Profile.swift +++ b/Sources/AppStoreAPI/Generated/Entities/Profile.swift @@ -28,17 +28,17 @@ public struct Profile: Codable, Equatable, Identifiable, Sendable { public var expirationDate: Date? public enum ProfileType: String, CaseIterable, Codable, Sendable { - case iosAppDevelopment = "IOS_APP_DEVELOPMENT" - case iosAppStore = "IOS_APP_STORE" - case iosAppAdhoc = "IOS_APP_ADHOC" - case iosAppInhouse = "IOS_APP_INHOUSE" + case iOSAppDevelopment = "IOS_APP_DEVELOPMENT" + case iOSAppStore = "IOS_APP_STORE" + case iOSAppAdhoc = "IOS_APP_ADHOC" + case iOSAppInhouse = "IOS_APP_INHOUSE" case macAppDevelopment = "MAC_APP_DEVELOPMENT" case macAppStore = "MAC_APP_STORE" case macAppDirect = "MAC_APP_DIRECT" - case tvosAppDevelopment = "TVOS_APP_DEVELOPMENT" - case tvosAppStore = "TVOS_APP_STORE" - case tvosAppAdhoc = "TVOS_APP_ADHOC" - case tvosAppInhouse = "TVOS_APP_INHOUSE" + case tvOSAppDevelopment = "TVOS_APP_DEVELOPMENT" + case tvOSAppStore = "TVOS_APP_STORE" + case tvOSAppAdhoc = "TVOS_APP_ADHOC" + case tvOSAppInhouse = "TVOS_APP_INHOUSE" case macCatalystAppDevelopment = "MAC_CATALYST_APP_DEVELOPMENT" case macCatalystAppStore = "MAC_CATALYST_APP_STORE" case macCatalystAppDirect = "MAC_CATALYST_APP_DIRECT" diff --git a/Sources/AppStoreAPI/Generated/Entities/ProfileCreateRequest.swift b/Sources/AppStoreAPI/Generated/Entities/ProfileCreateRequest.swift index 04984b0b..397c7b3a 100644 --- a/Sources/AppStoreAPI/Generated/Entities/ProfileCreateRequest.swift +++ b/Sources/AppStoreAPI/Generated/Entities/ProfileCreateRequest.swift @@ -23,17 +23,17 @@ public struct ProfileCreateRequest: Codable, Equatable, Sendable { public var profileType: ProfileType public enum ProfileType: String, CaseIterable, Codable, Sendable { - case iosAppDevelopment = "IOS_APP_DEVELOPMENT" - case iosAppStore = "IOS_APP_STORE" - case iosAppAdhoc = "IOS_APP_ADHOC" - case iosAppInhouse = "IOS_APP_INHOUSE" + case iOSAppDevelopment = "IOS_APP_DEVELOPMENT" + case iOSAppStore = "IOS_APP_STORE" + case iOSAppAdhoc = "IOS_APP_ADHOC" + case iOSAppInhouse = "IOS_APP_INHOUSE" case macAppDevelopment = "MAC_APP_DEVELOPMENT" case macAppStore = "MAC_APP_STORE" case macAppDirect = "MAC_APP_DIRECT" - case tvosAppDevelopment = "TVOS_APP_DEVELOPMENT" - case tvosAppStore = "TVOS_APP_STORE" - case tvosAppAdhoc = "TVOS_APP_ADHOC" - case tvosAppInhouse = "TVOS_APP_INHOUSE" + case tvOSAppDevelopment = "TVOS_APP_DEVELOPMENT" + case tvOSAppStore = "TVOS_APP_STORE" + case tvOSAppAdhoc = "TVOS_APP_ADHOC" + case tvOSAppInhouse = "TVOS_APP_INHOUSE" case macCatalystAppDevelopment = "MAC_CATALYST_APP_DEVELOPMENT" case macCatalystAppStore = "MAC_CATALYST_APP_STORE" case macCatalystAppDirect = "MAC_CATALYST_APP_DIRECT" diff --git a/Sources/AppStoreAPI/Generated/Entities/TerritoryAvailability.swift b/Sources/AppStoreAPI/Generated/Entities/TerritoryAvailability.swift index 30e247f0..b1c4aac7 100644 --- a/Sources/AppStoreAPI/Generated/Entities/TerritoryAvailability.swift +++ b/Sources/AppStoreAPI/Generated/Entities/TerritoryAvailability.swift @@ -40,7 +40,7 @@ public struct TerritoryAvailability: Codable, Equatable, Identifiable, Sendable case unverifiedGrn = "UNVERIFIED_GRN" case cannotSellSeventeenPlusApps = "CANNOT_SELL_SEVENTEEN_PLUS_APPS" case cannotSellSexuallyExplicit = "CANNOT_SELL_SEXUALLY_EXPLICIT" - case cannotSellNonIosGames = "CANNOT_SELL_NON_IOS_GAMES" + case cannotSellNoniOSGames = "CANNOT_SELL_NON_IOS_GAMES" case cannotSellSeventeenPlusGames = "CANNOT_SELL_SEVENTEEN_PLUS_GAMES" case cannotSellFrequentIntenseGambling = "CANNOT_SELL_FREQUENT_INTENSE_GAMBLING" case cannotSellCasino = "CANNOT_SELL_CASINO" diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppCategories.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppCategories.swift index 3cd1d2a9..eb25c6f3 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppCategories.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppCategories.swift @@ -32,10 +32,10 @@ extension Resources.V1 { } public enum FilterPlatforms: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } public enum FieldsAppCategories: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift index f224a43e..00f13daf 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift @@ -35,10 +35,10 @@ extension Resources.V1 { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } public enum FieldsAppEncryptionDeclarations: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDCustomerReviews.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDCustomerReviews.swift index 7e6f890d..3e7c469d 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDCustomerReviews.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDCustomerReviews.swift @@ -270,9 +270,9 @@ extension Resources.V1.AppStoreVersions.WithID { public enum Sort: String, CaseIterable, Codable, Sendable { case createdDate - case minuscreatedDate = "-createdDate" + case minusCreatedDate = "-createdDate" case rating - case minusrating = "-rating" + case minusRating = "-rating" } public enum FieldsCustomerReviews: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1Apps.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1Apps.swift index e75a7325..c976584f 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1Apps.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1Apps.swift @@ -128,19 +128,19 @@ extension Resources.V1 { } public enum FilterAppStoreVersionsPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } public enum Sort: String, CaseIterable, Codable, Sendable { case bundleID = "bundleId" - case minusbundleID = "-bundleId" + case minusBundleID = "-bundleId" case name - case minusname = "-name" + case minusName = "-name" case sku - case minussku = "-sku" + case minusSku = "-sku" } public enum FieldsApps: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift index ac02fd6a..0a6d73d3 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift @@ -35,10 +35,10 @@ extension Resources.V1.Apps.WithID { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } public enum FieldsAppEncryptionDeclarations: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift index 2c296288..b40481eb 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift @@ -89,10 +89,10 @@ extension Resources.V1.Apps.WithID { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } public enum FieldsAgeRatingDeclarations: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDCustomerReviews.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDCustomerReviews.swift index 8a01fd51..ebe3ffb9 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDCustomerReviews.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDCustomerReviews.swift @@ -270,9 +270,9 @@ extension Resources.V1.Apps.WithID { public enum Sort: String, CaseIterable, Codable, Sendable { case createdDate - case minuscreatedDate = "-createdDate" + case minusCreatedDate = "-createdDate" case rating - case minusrating = "-rating" + case minusRating = "-rating" } public enum FieldsCustomerReviews: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift index 266a2ada..e6d9bc08 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift @@ -35,15 +35,15 @@ extension Resources.V1.Apps.WithID { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } public enum Sort: String, CaseIterable, Codable, Sendable { case versionString - case minusversionString = "-versionString" + case minusVersionString = "-versionString" } public enum FieldsGameCenterEnabledVersions: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift index 87945359..ca772077 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift @@ -43,11 +43,11 @@ extension Resources.V1.Apps.WithID { public enum Sort: String, CaseIterable, Codable, Sendable { case inAppPurchaseType - case minusinAppPurchaseType = "-inAppPurchaseType" + case minusInAppPurchaseType = "-inAppPurchaseType" case productID = "productId" - case minusproductID = "-productId" + case minusProductID = "-productId" case referenceName - case minusreferenceName = "-referenceName" + case minusReferenceName = "-referenceName" } public enum FieldsInAppPurchases: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift index 9ae2d504..91939ebf 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift @@ -63,9 +63,9 @@ extension Resources.V1.Apps.WithID { public enum Sort: String, CaseIterable, Codable, Sendable { case inAppPurchaseType - case minusinAppPurchaseType = "-inAppPurchaseType" + case minusInAppPurchaseType = "-inAppPurchaseType" case name - case minusname = "-name" + case minusName = "-name" } public enum FieldsInAppPurchaseAppStoreReviewScreenshots: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDPerfPowerMetrics.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDPerfPowerMetrics.swift index a6204bc6..870f8d33 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDPerfPowerMetrics.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDPerfPowerMetrics.swift @@ -39,7 +39,7 @@ extension Resources.V1.Apps.WithID { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" + case iOS = "IOS" } } } diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift index f0494c1f..1020c521 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift @@ -36,10 +36,10 @@ extension Resources.V1.Apps.WithID { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } public enum FilterState: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift index 3633112a..9e6cb480 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift @@ -50,7 +50,7 @@ extension Resources.V1.Apps.WithID { public enum Sort: String, CaseIterable, Codable, Sendable { case referenceName - case minusreferenceName = "-referenceName" + case minusReferenceName = "-referenceName" } public enum FieldsSubscriptions: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1BetaGroups.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1BetaGroups.swift index ce1b4994..c1275f2d 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1BetaGroups.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1BetaGroups.swift @@ -44,13 +44,13 @@ extension Resources.V1 { public enum Sort: String, CaseIterable, Codable, Sendable { case createdDate - case minuscreatedDate = "-createdDate" + case minusCreatedDate = "-createdDate" case name - case minusname = "-name" + case minusName = "-name" case publicLinkEnabled - case minuspublicLinkEnabled = "-publicLinkEnabled" + case minusPublicLinkEnabled = "-publicLinkEnabled" case publicLinkLimit - case minuspublicLinkLimit = "-publicLinkLimit" + case minusPublicLinkLimit = "-publicLinkLimit" } public enum FieldsBetaGroups: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1BetaTesters.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1BetaTesters.swift index 06ba8705..950ca8f6 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1BetaTesters.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1BetaTesters.swift @@ -50,15 +50,15 @@ extension Resources.V1 { public enum Sort: String, CaseIterable, Codable, Sendable { case email - case minusemail = "-email" + case minusEmail = "-email" case firstName - case minusfirstName = "-firstName" + case minusFirstName = "-firstName" case inviteType - case minusinviteType = "-inviteType" + case minusInviteType = "-inviteType" case lastName - case minuslastName = "-lastName" + case minusLastName = "-lastName" case state - case minusstate = "-state" + case minusState = "-state" } public enum FieldsBetaTesters: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1Builds.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1Builds.swift index 5ccde1d2..b22be3a7 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1Builds.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1Builds.swift @@ -71,10 +71,10 @@ extension Resources.V1 { } public enum FilterPreReleaseVersionPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } public enum FilterProcessingState: String, CaseIterable, Codable, Sendable { @@ -86,11 +86,11 @@ extension Resources.V1 { public enum Sort: String, CaseIterable, Codable, Sendable { case preReleaseVersion - case minuspreReleaseVersion = "-preReleaseVersion" + case minusPreReleaseVersion = "-preReleaseVersion" case uploadedDate - case minusuploadedDate = "-uploadedDate" + case minusUploadedDate = "-uploadedDate" case version - case minusversion = "-version" + case minusVersion = "-version" } public enum FieldsBuilds: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1BuildsWithIDPerfPowerMetrics.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1BuildsWithIDPerfPowerMetrics.swift index 1fa60fe8..44f8fe66 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1BuildsWithIDPerfPowerMetrics.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1BuildsWithIDPerfPowerMetrics.swift @@ -39,7 +39,7 @@ extension Resources.V1.Builds.WithID { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" + case iOS = "IOS" } } } diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1BundleIDs.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1BundleIDs.swift index 9e9184de..36258244 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1BundleIDs.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1BundleIDs.swift @@ -40,21 +40,21 @@ extension Resources.V1 { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" + case iOS = "IOS" + case macOS = "MAC_OS" } public enum Sort: String, CaseIterable, Codable, Sendable { case id - case minusid = "-id" + case minusID = "-id" case identifier - case minusidentifier = "-identifier" + case minusIdentifier = "-identifier" case name - case minusname = "-name" + case minusName = "-name" case platform - case minusplatform = "-platform" + case minusPlatform = "-platform" case seedID = "seedId" - case minusseedID = "-seedId" + case minusSeedID = "-seedId" } public enum FieldsBundleIDs: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1Certificates.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1Certificates.swift index d0bb01f7..28804ba8 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1Certificates.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1Certificates.swift @@ -33,8 +33,8 @@ extension Resources.V1 { } public enum FilterCertificateType: String, CaseIterable, Codable, Sendable { - case iosDevelopment = "IOS_DEVELOPMENT" - case iosDistribution = "IOS_DISTRIBUTION" + case iOSDevelopment = "IOS_DEVELOPMENT" + case iOSDistribution = "IOS_DISTRIBUTION" case macAppDistribution = "MAC_APP_DISTRIBUTION" case macInstallerDistribution = "MAC_INSTALLER_DISTRIBUTION" case macAppDevelopment = "MAC_APP_DEVELOPMENT" @@ -48,13 +48,13 @@ extension Resources.V1 { public enum Sort: String, CaseIterable, Codable, Sendable { case certificateType - case minuscertificateType = "-certificateType" + case minusCertificateType = "-certificateType" case displayName - case minusdisplayName = "-displayName" + case minusDisplayName = "-displayName" case id - case minusid = "-id" + case minusID = "-id" case serialNumber - case minusserialNumber = "-serialNumber" + case minusSerialNumber = "-serialNumber" } public enum FieldsCertificates: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift index 2b0e4679..95c25eeb 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift @@ -71,10 +71,10 @@ extension Resources.V1.CiBuildRuns.WithID { } public enum FilterPreReleaseVersionPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } public enum FilterProcessingState: String, CaseIterable, Codable, Sendable { @@ -86,11 +86,11 @@ extension Resources.V1.CiBuildRuns.WithID { public enum Sort: String, CaseIterable, Codable, Sendable { case preReleaseVersion - case minuspreReleaseVersion = "-preReleaseVersion" + case minusPreReleaseVersion = "-preReleaseVersion" case uploadedDate - case minusuploadedDate = "-uploadedDate" + case minusUploadedDate = "-uploadedDate" case version - case minusversion = "-version" + case minusVersion = "-version" } public enum FieldsBuildBundles: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift index 44912416..4f315035 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift @@ -38,7 +38,7 @@ extension Resources.V1.CiProducts.WithID { public enum Sort: String, CaseIterable, Codable, Sendable { case number - case minusnumber = "-number" + case minusNumber = "-number" } public enum FieldsScmGitReferences: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift index b091dce7..491fd03a 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift @@ -38,7 +38,7 @@ extension Resources.V1.CiWorkflows.WithID { public enum Sort: String, CaseIterable, Codable, Sendable { case number - case minusnumber = "-number" + case minusNumber = "-number" } public enum FieldsScmGitReferences: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1Devices.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1Devices.swift index 0d99c13f..ab331b00 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1Devices.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1Devices.swift @@ -34,8 +34,8 @@ extension Resources.V1 { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" + case iOS = "IOS" + case macOS = "MAC_OS" } public enum FilterStatus: String, CaseIterable, Codable, Sendable { @@ -45,15 +45,15 @@ extension Resources.V1 { public enum Sort: String, CaseIterable, Codable, Sendable { case id - case minusid = "-id" + case minusID = "-id" case name - case minusname = "-name" + case minusName = "-name" case platform - case minusplatform = "-platform" + case minusPlatform = "-platform" case status - case minusstatus = "-status" + case minusStatus = "-status" case udid - case minusudid = "-udid" + case minusUdid = "-udid" } public enum FieldsDevices: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift index 4c1497c6..a36dd7ef 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift @@ -48,13 +48,13 @@ extension Resources.V1.GameCenterDetails.WithID.Metrics { public enum Sort: String, CaseIterable, Codable, Sendable { case averageSecondsInQueue - case minusaverageSecondsInQueue = "-averageSecondsInQueue" + case minusAverageSecondsInQueue = "-averageSecondsInQueue" case count - case minuscount = "-count" + case minusCount = "-count" case p50SecondsInQueue - case minusp50SecondsInQueue = "-p50SecondsInQueue" + case minusP50SecondsInQueue = "-p50SecondsInQueue" case p95SecondsInQueue - case minusp95SecondsInQueue = "-p95SecondsInQueue" + case minusP95SecondsInQueue = "-p95SecondsInQueue" } } } diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift index 13c038e9..5cb68556 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift @@ -48,13 +48,13 @@ extension Resources.V1.GameCenterDetails.WithID.Metrics { public enum Sort: String, CaseIterable, Codable, Sendable { case averageSecondsInQueue - case minusaverageSecondsInQueue = "-averageSecondsInQueue" + case minusAverageSecondsInQueue = "-averageSecondsInQueue" case count - case minuscount = "-count" + case minusCount = "-count" case p50SecondsInQueue - case minusp50SecondsInQueue = "-p50SecondsInQueue" + case minusP50SecondsInQueue = "-p50SecondsInQueue" case p95SecondsInQueue - case minusp95SecondsInQueue = "-p95SecondsInQueue" + case minusP95SecondsInQueue = "-p95SecondsInQueue" } } } diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift index c2e2bd42..eb177334 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift @@ -36,15 +36,15 @@ extension Resources.V1.GameCenterEnabledVersions.WithID { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } public enum Sort: String, CaseIterable, Codable, Sendable { case versionString - case minusversionString = "-versionString" + case minusVersionString = "-versionString" } public enum FieldsGameCenterEnabledVersions: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift index 5370d8c1..c5f76f45 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift @@ -36,13 +36,13 @@ extension Resources.V1.GameCenterMatchmakingQueues.WithID.Metrics { public enum Sort: String, CaseIterable, Codable, Sendable { case averageNumberOfRequests - case minusaverageNumberOfRequests = "-averageNumberOfRequests" + case minusAverageNumberOfRequests = "-averageNumberOfRequests" case count - case minuscount = "-count" + case minusCount = "-count" case p50NumberOfRequests - case minusp50NumberOfRequests = "-p50NumberOfRequests" + case minusP50NumberOfRequests = "-p50NumberOfRequests" case p95NumberOfRequests - case minusp95NumberOfRequests = "-p95NumberOfRequests" + case minusP95NumberOfRequests = "-p95NumberOfRequests" } } } diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift index b1a702ff..67917fdc 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift @@ -50,13 +50,13 @@ extension Resources.V1.GameCenterMatchmakingQueues.WithID.Metrics { public enum Sort: String, CaseIterable, Codable, Sendable { case averageSecondsInQueue - case minusaverageSecondsInQueue = "-averageSecondsInQueue" + case minusAverageSecondsInQueue = "-averageSecondsInQueue" case count - case minuscount = "-count" + case minusCount = "-count" case p50SecondsInQueue - case minusp50SecondsInQueue = "-p50SecondsInQueue" + case minusP50SecondsInQueue = "-p50SecondsInQueue" case p95SecondsInQueue - case minusp95SecondsInQueue = "-p95SecondsInQueue" + case minusP95SecondsInQueue = "-p95SecondsInQueue" } } } diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift index 8fdef819..63654ddb 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift @@ -36,13 +36,13 @@ extension Resources.V1.GameCenterMatchmakingQueues.WithID.Metrics { public enum Sort: String, CaseIterable, Codable, Sendable { case averageNumberOfRequests - case minusaverageNumberOfRequests = "-averageNumberOfRequests" + case minusAverageNumberOfRequests = "-averageNumberOfRequests" case count - case minuscount = "-count" + case minusCount = "-count" case p50NumberOfRequests - case minusp50NumberOfRequests = "-p50NumberOfRequests" + case minusP50NumberOfRequests = "-p50NumberOfRequests" case p95NumberOfRequests - case minusp95NumberOfRequests = "-p95NumberOfRequests" + case minusP95NumberOfRequests = "-p95NumberOfRequests" } } } diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift index ce14945e..225c021d 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift @@ -50,13 +50,13 @@ extension Resources.V1.GameCenterMatchmakingQueues.WithID.Metrics { public enum Sort: String, CaseIterable, Codable, Sendable { case averageSecondsInQueue - case minusaverageSecondsInQueue = "-averageSecondsInQueue" + case minusAverageSecondsInQueue = "-averageSecondsInQueue" case count - case minuscount = "-count" + case minusCount = "-count" case p50SecondsInQueue - case minusp50SecondsInQueue = "-p50SecondsInQueue" + case minusP50SecondsInQueue = "-p50SecondsInQueue" case p95SecondsInQueue - case minusp95SecondsInQueue = "-p95SecondsInQueue" + case minusP95SecondsInQueue = "-p95SecondsInQueue" } } } diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift index 80ebb56d..4c6b90ad 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift @@ -36,13 +36,13 @@ extension Resources.V1.GameCenterMatchmakingQueues.WithID.Metrics { public enum Sort: String, CaseIterable, Codable, Sendable { case averagePlayerCount - case minusaveragePlayerCount = "-averagePlayerCount" + case minusAveragePlayerCount = "-averagePlayerCount" case count - case minuscount = "-count" + case minusCount = "-count" case p50PlayerCount - case minusp50PlayerCount = "-p50PlayerCount" + case minusP50PlayerCount = "-p50PlayerCount" case p95PlayerCount - case minusp95PlayerCount = "-p95PlayerCount" + case minusP95PlayerCount = "-p95PlayerCount" } } } diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift index da56b971..9d477841 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift @@ -44,7 +44,7 @@ extension Resources.V1.GameCenterMatchmakingRules.WithID.Metrics { public enum Sort: String, CaseIterable, Codable, Sendable { case count - case minuscount = "-count" + case minusCount = "-count" } } } diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift index c783eda4..3c8b70aa 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift @@ -42,13 +42,13 @@ extension Resources.V1.GameCenterMatchmakingRules.WithID.Metrics { public enum Sort: String, CaseIterable, Codable, Sendable { case averageResult - case minusaverageResult = "-averageResult" + case minusAverageResult = "-averageResult" case count - case minuscount = "-count" + case minusCount = "-count" case p50Result - case minusp50Result = "-p50Result" + case minusP50Result = "-p50Result" case p95Result - case minusp95Result = "-p95Result" + case minusP95Result = "-p95Result" } } } diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift index 29cc8d7c..30c82cb6 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift @@ -42,7 +42,7 @@ extension Resources.V1.GameCenterMatchmakingRules.WithID.Metrics { public enum Sort: String, CaseIterable, Codable, Sendable { case count - case minuscount = "-count" + case minusCount = "-count" } } } diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1PreReleaseVersions.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1PreReleaseVersions.swift index f9bd0185..c904c4cd 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1PreReleaseVersions.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1PreReleaseVersions.swift @@ -47,15 +47,15 @@ extension Resources.V1 { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } public enum Sort: String, CaseIterable, Codable, Sendable { case version - case minusversion = "-version" + case minusVersion = "-version" } public enum FieldsPreReleaseVersions: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1Profiles.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1Profiles.swift index 9077b7a4..2918d2a4 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1Profiles.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1Profiles.swift @@ -44,17 +44,17 @@ extension Resources.V1 { } public enum FilterProfileType: String, CaseIterable, Codable, Sendable { - case iosAppDevelopment = "IOS_APP_DEVELOPMENT" - case iosAppStore = "IOS_APP_STORE" - case iosAppAdhoc = "IOS_APP_ADHOC" - case iosAppInhouse = "IOS_APP_INHOUSE" + case iOSAppDevelopment = "IOS_APP_DEVELOPMENT" + case iOSAppStore = "IOS_APP_STORE" + case iOSAppAdhoc = "IOS_APP_ADHOC" + case iOSAppInhouse = "IOS_APP_INHOUSE" case macAppDevelopment = "MAC_APP_DEVELOPMENT" case macAppStore = "MAC_APP_STORE" case macAppDirect = "MAC_APP_DIRECT" - case tvosAppDevelopment = "TVOS_APP_DEVELOPMENT" - case tvosAppStore = "TVOS_APP_STORE" - case tvosAppAdhoc = "TVOS_APP_ADHOC" - case tvosAppInhouse = "TVOS_APP_INHOUSE" + case tvOSAppDevelopment = "TVOS_APP_DEVELOPMENT" + case tvOSAppStore = "TVOS_APP_STORE" + case tvOSAppAdhoc = "TVOS_APP_ADHOC" + case tvOSAppInhouse = "TVOS_APP_INHOUSE" case macCatalystAppDevelopment = "MAC_CATALYST_APP_DEVELOPMENT" case macCatalystAppStore = "MAC_CATALYST_APP_STORE" case macCatalystAppDirect = "MAC_CATALYST_APP_DIRECT" @@ -62,13 +62,13 @@ extension Resources.V1 { public enum Sort: String, CaseIterable, Codable, Sendable { case id - case minusid = "-id" + case minusID = "-id" case name - case minusname = "-name" + case minusName = "-name" case profileState - case minusprofileState = "-profileState" + case minusProfileState = "-profileState" case profileType - case minusprofileType = "-profileType" + case minusProfileType = "-profileType" } public enum FieldsProfiles: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1ReviewSubmissions.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1ReviewSubmissions.swift index 1d2d6830..02a624f0 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1ReviewSubmissions.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1ReviewSubmissions.swift @@ -34,10 +34,10 @@ extension Resources.V1 { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + case iOS = "IOS" + case macOS = "MAC_OS" + case tvOS = "TV_OS" + case visionOS = "VISION_OS" } public enum FilterState: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift index 7d64bab8..1f555f2e 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift @@ -61,7 +61,7 @@ extension Resources.V1.SubscriptionGroups.WithID { public enum Sort: String, CaseIterable, Codable, Sendable { case name - case minusname = "-name" + case minusName = "-name" } public enum FieldsPromotedPurchases: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1UserInvitations.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1UserInvitations.swift index c3d57c0e..bd0ce9d7 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1UserInvitations.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1UserInvitations.swift @@ -52,9 +52,9 @@ extension Resources.V1 { public enum Sort: String, CaseIterable, Codable, Sendable { case email - case minusemail = "-email" + case minusEmail = "-email" case lastName - case minuslastName = "-lastName" + case minusLastName = "-lastName" } public enum FieldsUserInvitations: String, CaseIterable, Codable, Sendable { diff --git a/Sources/AppStoreAPI/Generated/Paths/PathsV1Users.swift b/Sources/AppStoreAPI/Generated/Paths/PathsV1Users.swift index 18498d21..edde974a 100644 --- a/Sources/AppStoreAPI/Generated/Paths/PathsV1Users.swift +++ b/Sources/AppStoreAPI/Generated/Paths/PathsV1Users.swift @@ -52,9 +52,9 @@ extension Resources.V1 { public enum Sort: String, CaseIterable, Codable, Sendable { case lastName - case minuslastName = "-lastName" + case minusLastName = "-lastName" case username - case minususername = "-username" + case minusUsername = "-username" } public enum FieldsUsers: String, CaseIterable, Codable, Sendable { diff --git a/Sources/EnterpriseAPI/Generated/Entities/BundleIDPlatform.swift b/Sources/EnterpriseAPI/Generated/Entities/BundleIDPlatform.swift index f1a785ce..71bb8237 100644 --- a/Sources/EnterpriseAPI/Generated/Entities/BundleIDPlatform.swift +++ b/Sources/EnterpriseAPI/Generated/Entities/BundleIDPlatform.swift @@ -7,6 +7,6 @@ import Foundation import AppStoreConnect public enum BundleIDPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" + case iOS = "IOS" + case macOS = "MAC_OS" } diff --git a/Sources/EnterpriseAPI/Generated/Entities/CertificateType.swift b/Sources/EnterpriseAPI/Generated/Entities/CertificateType.swift index f6ffab52..c3747548 100644 --- a/Sources/EnterpriseAPI/Generated/Entities/CertificateType.swift +++ b/Sources/EnterpriseAPI/Generated/Entities/CertificateType.swift @@ -7,8 +7,8 @@ import Foundation import AppStoreConnect public enum CertificateType: String, CaseIterable, Codable, Sendable { - case iosDevelopment = "IOS_DEVELOPMENT" - case iosDistribution = "IOS_DISTRIBUTION" + case iOSDevelopment = "IOS_DEVELOPMENT" + case iOSDistribution = "IOS_DISTRIBUTION" case macAppDistribution = "MAC_APP_DISTRIBUTION" case macInstallerDistribution = "MAC_INSTALLER_DISTRIBUTION" case macAppDevelopment = "MAC_APP_DEVELOPMENT" diff --git a/Sources/EnterpriseAPI/Generated/Entities/Profile.swift b/Sources/EnterpriseAPI/Generated/Entities/Profile.swift index 30ae065d..95d7d518 100644 --- a/Sources/EnterpriseAPI/Generated/Entities/Profile.swift +++ b/Sources/EnterpriseAPI/Generated/Entities/Profile.swift @@ -28,17 +28,17 @@ public struct Profile: Codable, Equatable, Identifiable, Sendable { public var expirationDate: Date? public enum ProfileType: String, CaseIterable, Codable, Sendable { - case iosAppDevelopment = "IOS_APP_DEVELOPMENT" - case iosAppStore = "IOS_APP_STORE" - case iosAppAdhoc = "IOS_APP_ADHOC" - case iosAppInhouse = "IOS_APP_INHOUSE" + case iOSAppDevelopment = "IOS_APP_DEVELOPMENT" + case iOSAppStore = "IOS_APP_STORE" + case iOSAppAdhoc = "IOS_APP_ADHOC" + case iOSAppInhouse = "IOS_APP_INHOUSE" case macAppDevelopment = "MAC_APP_DEVELOPMENT" case macAppStore = "MAC_APP_STORE" case macAppDirect = "MAC_APP_DIRECT" - case tvosAppDevelopment = "TVOS_APP_DEVELOPMENT" - case tvosAppStore = "TVOS_APP_STORE" - case tvosAppAdhoc = "TVOS_APP_ADHOC" - case tvosAppInhouse = "TVOS_APP_INHOUSE" + case tvOSAppDevelopment = "TVOS_APP_DEVELOPMENT" + case tvOSAppStore = "TVOS_APP_STORE" + case tvOSAppAdhoc = "TVOS_APP_ADHOC" + case tvOSAppInhouse = "TVOS_APP_INHOUSE" case macCatalystAppDevelopment = "MAC_CATALYST_APP_DEVELOPMENT" case macCatalystAppStore = "MAC_CATALYST_APP_STORE" case macCatalystAppDirect = "MAC_CATALYST_APP_DIRECT" diff --git a/Sources/EnterpriseAPI/Generated/Entities/ProfileCreateRequest.swift b/Sources/EnterpriseAPI/Generated/Entities/ProfileCreateRequest.swift index 04984b0b..397c7b3a 100644 --- a/Sources/EnterpriseAPI/Generated/Entities/ProfileCreateRequest.swift +++ b/Sources/EnterpriseAPI/Generated/Entities/ProfileCreateRequest.swift @@ -23,17 +23,17 @@ public struct ProfileCreateRequest: Codable, Equatable, Sendable { public var profileType: ProfileType public enum ProfileType: String, CaseIterable, Codable, Sendable { - case iosAppDevelopment = "IOS_APP_DEVELOPMENT" - case iosAppStore = "IOS_APP_STORE" - case iosAppAdhoc = "IOS_APP_ADHOC" - case iosAppInhouse = "IOS_APP_INHOUSE" + case iOSAppDevelopment = "IOS_APP_DEVELOPMENT" + case iOSAppStore = "IOS_APP_STORE" + case iOSAppAdhoc = "IOS_APP_ADHOC" + case iOSAppInhouse = "IOS_APP_INHOUSE" case macAppDevelopment = "MAC_APP_DEVELOPMENT" case macAppStore = "MAC_APP_STORE" case macAppDirect = "MAC_APP_DIRECT" - case tvosAppDevelopment = "TVOS_APP_DEVELOPMENT" - case tvosAppStore = "TVOS_APP_STORE" - case tvosAppAdhoc = "TVOS_APP_ADHOC" - case tvosAppInhouse = "TVOS_APP_INHOUSE" + case tvOSAppDevelopment = "TVOS_APP_DEVELOPMENT" + case tvOSAppStore = "TVOS_APP_STORE" + case tvOSAppAdhoc = "TVOS_APP_ADHOC" + case tvOSAppInhouse = "TVOS_APP_INHOUSE" case macCatalystAppDevelopment = "MAC_CATALYST_APP_DEVELOPMENT" case macCatalystAppStore = "MAC_CATALYST_APP_STORE" case macCatalystAppDirect = "MAC_CATALYST_APP_DIRECT" diff --git a/Sources/EnterpriseAPI/Generated/Paths/PathsV1BundleIDs.swift b/Sources/EnterpriseAPI/Generated/Paths/PathsV1BundleIDs.swift index 77e4cd06..c8ab5e72 100644 --- a/Sources/EnterpriseAPI/Generated/Paths/PathsV1BundleIDs.swift +++ b/Sources/EnterpriseAPI/Generated/Paths/PathsV1BundleIDs.swift @@ -40,21 +40,21 @@ extension Resources { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" + case iOS = "IOS" + case macOS = "MAC_OS" } public enum Sort: String, CaseIterable, Codable, Sendable { case id - case minusid = "-id" + case minusID = "-id" case identifier - case minusidentifier = "-identifier" + case minusIdentifier = "-identifier" case name - case minusname = "-name" + case minusName = "-name" case platform - case minusplatform = "-platform" + case minusPlatform = "-platform" case seedID = "seedId" - case minusseedID = "-seedId" + case minusSeedID = "-seedId" } public enum FieldsBundleIDs: String, CaseIterable, Codable, Sendable { diff --git a/Sources/EnterpriseAPI/Generated/Paths/PathsV1Certificates.swift b/Sources/EnterpriseAPI/Generated/Paths/PathsV1Certificates.swift index a8d209e0..1545a0b8 100644 --- a/Sources/EnterpriseAPI/Generated/Paths/PathsV1Certificates.swift +++ b/Sources/EnterpriseAPI/Generated/Paths/PathsV1Certificates.swift @@ -36,8 +36,8 @@ extension Resources { } public enum FilterCertificateType: String, CaseIterable, Codable, Sendable { - case iosDevelopment = "IOS_DEVELOPMENT" - case iosDistribution = "IOS_DISTRIBUTION" + case iOSDevelopment = "IOS_DEVELOPMENT" + case iOSDistribution = "IOS_DISTRIBUTION" case macAppDistribution = "MAC_APP_DISTRIBUTION" case macInstallerDistribution = "MAC_INSTALLER_DISTRIBUTION" case macAppDevelopment = "MAC_APP_DEVELOPMENT" @@ -51,13 +51,13 @@ extension Resources { public enum Sort: String, CaseIterable, Codable, Sendable { case certificateType - case minuscertificateType = "-certificateType" + case minusCertificateType = "-certificateType" case displayName - case minusdisplayName = "-displayName" + case minusDisplayName = "-displayName" case id - case minusid = "-id" + case minusID = "-id" case serialNumber - case minusserialNumber = "-serialNumber" + case minusSerialNumber = "-serialNumber" } public enum FieldsCertificates: String, CaseIterable, Codable, Sendable { diff --git a/Sources/EnterpriseAPI/Generated/Paths/PathsV1Devices.swift b/Sources/EnterpriseAPI/Generated/Paths/PathsV1Devices.swift index 21f43c41..351a9e2a 100644 --- a/Sources/EnterpriseAPI/Generated/Paths/PathsV1Devices.swift +++ b/Sources/EnterpriseAPI/Generated/Paths/PathsV1Devices.swift @@ -35,8 +35,8 @@ extension Resources { } public enum FilterPlatform: String, CaseIterable, Codable, Sendable { - case ios = "IOS" - case macOs = "MAC_OS" + case iOS = "IOS" + case macOS = "MAC_OS" } public enum FilterStatus: String, CaseIterable, Codable, Sendable { @@ -46,15 +46,15 @@ extension Resources { public enum Sort: String, CaseIterable, Codable, Sendable { case id - case minusid = "-id" + case minusID = "-id" case name - case minusname = "-name" + case minusName = "-name" case platform - case minusplatform = "-platform" + case minusPlatform = "-platform" case status - case minusstatus = "-status" + case minusStatus = "-status" case udid - case minusudid = "-udid" + case minusUdid = "-udid" } public enum FieldsDevices: String, CaseIterable, Codable, Sendable { diff --git a/Sources/EnterpriseAPI/Generated/Paths/PathsV1PassTypeIDs.swift b/Sources/EnterpriseAPI/Generated/Paths/PathsV1PassTypeIDs.swift index e5fab7ab..30ced2f2 100644 --- a/Sources/EnterpriseAPI/Generated/Paths/PathsV1PassTypeIDs.swift +++ b/Sources/EnterpriseAPI/Generated/Paths/PathsV1PassTypeIDs.swift @@ -37,11 +37,11 @@ extension Resources { public enum Sort: String, CaseIterable, Codable, Sendable { case id - case minusid = "-id" + case minusID = "-id" case identifier - case minusidentifier = "-identifier" + case minusIdentifier = "-identifier" case name - case minusname = "-name" + case minusName = "-name" } public enum FieldsPassTypeIDs: String, CaseIterable, Codable, Sendable { diff --git a/Sources/EnterpriseAPI/Generated/Paths/PathsV1PassTypeIDsWithIDCertificates.swift b/Sources/EnterpriseAPI/Generated/Paths/PathsV1PassTypeIDsWithIDCertificates.swift index 69f0b70f..43273301 100644 --- a/Sources/EnterpriseAPI/Generated/Paths/PathsV1PassTypeIDsWithIDCertificates.swift +++ b/Sources/EnterpriseAPI/Generated/Paths/PathsV1PassTypeIDsWithIDCertificates.swift @@ -36,8 +36,8 @@ extension Resources.PassTypeIDs.WithID { } public enum FilterCertificateType: String, CaseIterable, Codable, Sendable { - case iosDevelopment = "IOS_DEVELOPMENT" - case iosDistribution = "IOS_DISTRIBUTION" + case iOSDevelopment = "IOS_DEVELOPMENT" + case iOSDistribution = "IOS_DISTRIBUTION" case macAppDistribution = "MAC_APP_DISTRIBUTION" case macInstallerDistribution = "MAC_INSTALLER_DISTRIBUTION" case macAppDevelopment = "MAC_APP_DEVELOPMENT" @@ -51,13 +51,13 @@ extension Resources.PassTypeIDs.WithID { public enum Sort: String, CaseIterable, Codable, Sendable { case certificateType - case minuscertificateType = "-certificateType" + case minusCertificateType = "-certificateType" case displayName - case minusdisplayName = "-displayName" + case minusDisplayName = "-displayName" case id - case minusid = "-id" + case minusID = "-id" case serialNumber - case minusserialNumber = "-serialNumber" + case minusSerialNumber = "-serialNumber" } public enum FieldsCertificates: String, CaseIterable, Codable, Sendable { diff --git a/Sources/EnterpriseAPI/Generated/Paths/PathsV1Profiles.swift b/Sources/EnterpriseAPI/Generated/Paths/PathsV1Profiles.swift index d54a2d5f..250271a6 100644 --- a/Sources/EnterpriseAPI/Generated/Paths/PathsV1Profiles.swift +++ b/Sources/EnterpriseAPI/Generated/Paths/PathsV1Profiles.swift @@ -45,17 +45,17 @@ extension Resources { } public enum FilterProfileType: String, CaseIterable, Codable, Sendable { - case iosAppDevelopment = "IOS_APP_DEVELOPMENT" - case iosAppStore = "IOS_APP_STORE" - case iosAppAdhoc = "IOS_APP_ADHOC" - case iosAppInhouse = "IOS_APP_INHOUSE" + case iOSAppDevelopment = "IOS_APP_DEVELOPMENT" + case iOSAppStore = "IOS_APP_STORE" + case iOSAppAdhoc = "IOS_APP_ADHOC" + case iOSAppInhouse = "IOS_APP_INHOUSE" case macAppDevelopment = "MAC_APP_DEVELOPMENT" case macAppStore = "MAC_APP_STORE" case macAppDirect = "MAC_APP_DIRECT" - case tvosAppDevelopment = "TVOS_APP_DEVELOPMENT" - case tvosAppStore = "TVOS_APP_STORE" - case tvosAppAdhoc = "TVOS_APP_ADHOC" - case tvosAppInhouse = "TVOS_APP_INHOUSE" + case tvOSAppDevelopment = "TVOS_APP_DEVELOPMENT" + case tvOSAppStore = "TVOS_APP_STORE" + case tvOSAppAdhoc = "TVOS_APP_ADHOC" + case tvOSAppInhouse = "TVOS_APP_INHOUSE" case macCatalystAppDevelopment = "MAC_CATALYST_APP_DEVELOPMENT" case macCatalystAppStore = "MAC_CATALYST_APP_STORE" case macCatalystAppDirect = "MAC_CATALYST_APP_DIRECT" @@ -63,13 +63,13 @@ extension Resources { public enum Sort: String, CaseIterable, Codable, Sendable { case id - case minusid = "-id" + case minusID = "-id" case name - case minusname = "-name" + case minusName = "-name" case profileState - case minusprofileState = "-profileState" + case minusProfileState = "-profileState" case profileType - case minusprofileType = "-profileType" + case minusProfileType = "-profileType" } public enum FieldsProfiles: String, CaseIterable, Codable, Sendable { diff --git a/Sources/EnterpriseAPI/Generated/Paths/PathsV1UserInvitations.swift b/Sources/EnterpriseAPI/Generated/Paths/PathsV1UserInvitations.swift index 47c9f3ef..8e266669 100644 --- a/Sources/EnterpriseAPI/Generated/Paths/PathsV1UserInvitations.swift +++ b/Sources/EnterpriseAPI/Generated/Paths/PathsV1UserInvitations.swift @@ -39,9 +39,9 @@ extension Resources { public enum Sort: String, CaseIterable, Codable, Sendable { case email - case minusemail = "-email" + case minusEmail = "-email" case lastName - case minuslastName = "-lastName" + case minusLastName = "-lastName" } public enum FieldsUserInvitations: String, CaseIterable, Codable, Sendable { diff --git a/Sources/EnterpriseAPI/Generated/Paths/PathsV1Users.swift b/Sources/EnterpriseAPI/Generated/Paths/PathsV1Users.swift index fa3585a4..b8e325f1 100644 --- a/Sources/EnterpriseAPI/Generated/Paths/PathsV1Users.swift +++ b/Sources/EnterpriseAPI/Generated/Paths/PathsV1Users.swift @@ -39,9 +39,9 @@ extension Resources { public enum Sort: String, CaseIterable, Codable, Sendable { case lastName - case minuslastName = "-lastName" + case minusLastName = "-lastName" case username - case minususername = "-username" + case minusUsername = "-username" } public enum FieldsUsers: String, CaseIterable, Codable, Sendable { diff --git a/bazel/extensions.bzl b/bazel/extensions.bzl index 3aedda14..be6f9317 100644 --- a/bazel/extensions.bzl +++ b/bazel/extensions.bzl @@ -36,9 +36,9 @@ def _asc_swift_dev_deps_impl(_mctx): http_archive( name = "com_github_aaronsky_createapi", build_file = "@asc_swift//bazel/third_party:com_github_aaronsky_createapi/BUILD.overlay", - sha256 = "ceafb020bbbb35dbccd12be691f767cd643ef27aff4ae34e72ee314ff3e4474f", - strip_prefix = "CreateAPI-0.2.0-alpha.3", - url = "https://github.com/aaronsky/CreateAPI/archive/refs/tags/0.2.0-alpha.3.zip", + sha256 = "69ae5a4822e5950dafd92ff5c07cf681adbfb1e0141ee751065289c7ed2f837d", + strip_prefix = "CreateAPI-0.2.0-alpha.4", + url = "https://github.com/aaronsky/CreateAPI/archive/refs/tags/0.2.0-alpha.4.zip", ) http_archive( name = "com_github_apple_swift_argument_parser", diff --git a/bazel/tools/create_api/create_api.tpl.sh b/bazel/tools/create_api/create_api.tpl.sh index 5da93412..33ab913c 100755 --- a/bazel/tools/create_api/create_api.tpl.sh +++ b/bazel/tools/create_api/create_api.tpl.sh @@ -23,16 +23,19 @@ sed_i() { } workspace_dir="${BUILD_WORKSPACE_DIRECTORY}" +workspace_sources_dir="$workspace_dir/Sources" create_api_tool="$(rlocation com_github_aaronsky_createapi/create-api)" create_api_config="$(rlocation asc_swift/bazel/tools/create_api/.create-api.yml)" appstore_api_version="@@APPSTORE_API_VERSION@@" enterprise_api_version="@@ENTERPRISE_API_VERSION@@" +# Keep these two arrays in sync, order-wise specs=( "$(rlocation com_apple_app_store_connect_api/app_store_connect_api_${appstore_api_version}_openapi.json)" "$(rlocation com_apple_enterprise_program_api/enterprise_program_api_${enterprise_api_version}_openapi.json)" ) +modules=(AppStoreAPI EnterpriseAPI) output_files_to_merge=( "Entities/ErrorLinks.swift" @@ -42,20 +45,23 @@ output_files_to_merge=( "Entities/PagedDocumentLinks.swift" "Extensions/AnyJSON.swift" ) -merge_to_path="$workspace_dir/Sources/AppStoreConnect/Entities" +merge_to_path="$workspace_sources_dir/AppStoreConnect/Entities" output_files_to_delete=( "Extensions/StringCodingKey.swift" ) -for spec in "${specs[@]}"; do +for index in "${!specs[@]}"; do + spec="${specs[$index]}" + module_name="${modules[$index]}" + if [ -z "$spec" ]; then echo "path to spec is empty. cannot run create-api" exit 1 fi spec_dir="$(dirname "$spec")" - module_name="$(basename "$spec_dir")" output_dir="$spec_dir/Generated" + dest_dir="$workspace_sources_dir/$module_name/Generated" "$create_api_tool" \ generate "$spec" \ @@ -84,4 +90,7 @@ for spec in "${specs[@]}"; do for file in "${output_files_to_delete[@]}"; do rm "$output_dir/$file" done + + rm -rf "$dest_dir" || true + cp -R "$output_dir" "$dest_dir" done