From 11b2fdf6bc4cac6f2dff4412ab5b52cd8504cfc1 Mon Sep 17 00:00:00 2001 From: Pol Piella Abadia <24246926+polpielladev@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:36:38 +0100 Subject: [PATCH] Update App Store Connect API spec to 3.7 (#292) * Updates ASC API spec to latest version * Removes patches for version 3.7.2 * Re-generates code after removing patches --- Makefile | 2 +- Sources/OpenAPI/Generated/Entities/App.swift | 76 +- .../Generated/Entities/AppAvailability.swift | 179 - .../AppAvailabilityCreateRequest.swift | 181 - .../Entities/AppAvailabilityResponse.swift | 61 - .../Entities/AppEventVideoClip.swift | 10 +- .../OpenAPI/Generated/Entities/AppInfo.swift | 10 +- .../AppInfoLocalizationCreateRequest.swift | 8 +- .../AppMediaPreviewFrameImageState.swift | 36 + .../Entities/AppMediaVideoState.swift | 38 + .../Generated/Entities/AppPreOrder.swift | 127 - .../Entities/AppPreOrderCreateRequest.swift | 133 - .../Entities/AppPreOrderResponse.swift | 34 - .../Entities/AppPreOrderUpdateRequest.swift | 71 - .../AppPreOrderWithoutIncludesResponse.swift | 29 - .../Generated/Entities/AppPreview.swift | 10 +- .../Generated/Entities/AppResponse.swift | 6 +- .../Generated/Entities/AppsResponse.swift | 6 +- .../Generated/Entities/CertificateType.swift | 3 +- .../Entities/GameCenterAchievement.swift | 2 + ...vementGroupAchievementLinkageRequest.swift | 1 + ...ementGroupAchievementLinkageResponse.swift | 1 + .../Entities/GameCenterLeaderboard.swift | 2 + ...rboardGroupLeaderboardLinkageRequest.swift | 1 + ...boardGroupLeaderboardLinkageResponse.swift | 1 + .../Entities/GameCenterLeaderboardSet.swift | 2 + ...SetGroupLeaderboardSetLinkageRequest.swift | 1 + ...etGroupLeaderboardSetLinkageResponse.swift | 1 + .../Entities/InAppPurchasePricePoint.swift | 24 +- .../Entities/InAppPurchasePriceSchedule.swift | 50 +- .../InAppPurchasePriceScheduleResponse.swift | 8 +- .../Entities/PreviewFrameImage.swift | 26 + .../Entities/SubscriptionAvailability.swift | 50 +- .../SubscriptionAvailabilityResponse.swift | 33 +- .../PathsV1AlternativeDistributionKeys.swift | 1 - ...sV1AlternativeDistributionKeysWithID.swift | 1 - ...lternativeDistributionPackagesWithID.swift | 1 - ...veDistributionPackagesWithIDVersions.swift | 1 - ...PathsV1AnalyticsReportRequestsWithID.swift | 1 - .../Paths/PathsV1AppAvailabilities.swift | 21 - .../PathsV1AppAvailabilitiesWithID.swift | 59 - ...labilitiesWithIDAvailableTerritories.swift | 32 - ...ppClipAdvancedExperienceImagesWithID.swift | 1 - ...hsV1AppClipAdvancedExperiencesWithID.swift | 1 - ...DefaultExperienceLocalizationsWithID.swift | 1 - ...ocalizationsWithIDAppClipHeaderImage.swift | 1 - ...thsV1AppClipDefaultExperiencesWithID.swift | 1 - ...cesWithIDAppClipAppStoreReviewDetail.swift | 1 - ...ppClipDefaultExperienceLocalizations.swift | 2 - ...ncesWithIDReleaseWithAppStoreVersion.swift | 7 - .../PathsV1AppClipHeaderImagesWithID.swift | 1 - .../Paths/PathsV1AppClipsWithID.swift | 1 - ...lipsWithIDAppClipAdvancedExperiences.swift | 2 - ...ClipsWithIDAppClipDefaultExperiences.swift | 1 - ...ageLocalizationsWithIDAppPreviewSets.swift | 3 +- ...LocalizationsWithIDAppScreenshotSets.swift | 1 - .../PathsV1AppCustomProductPagesWithID.swift | 2 - ...esWithIDAppCustomProductPageVersions.swift | 2 - ...EncryptionDeclarationDocumentsWithID.swift | 2 - .../PathsV1AppEncryptionDeclarations.swift | 4 - ...thsV1AppEncryptionDeclarationsWithID.swift | 4 - ...V1AppEncryptionDeclarationsWithIDApp.swift | 2 - ...thIDAppEncryptionDeclarationDocument.swift | 2 - .../PathsV1AppEventLocalizationsWithID.swift | 4 +- ...calizationsWithIDAppEventScreenshots.swift | 1 - ...ocalizationsWithIDAppEventVideoClips.swift | 3 +- .../PathsV1AppEventScreenshotsWithID.swift | 1 - .../PathsV1AppEventVideoClipsWithID.swift | 3 +- .../Paths/PathsV1AppEventsWithID.swift | 1 - .../PathsV1AppEventsWithIDLocalizations.swift | 5 +- .../Paths/PathsV1AppInfosWithID.swift | 1 + ...V1AppInfosWithIDAppInfoLocalizations.swift | 1 + .../Generated/Paths/PathsV1AppPreOrders.swift | 21 - .../Paths/PathsV1AppPreOrdersWithID.swift | 48 - .../Paths/PathsV1AppPreviewSetsWithID.swift | 3 +- ...thsV1AppPreviewSetsWithIDAppPreviews.swift | 3 +- .../Paths/PathsV1AppPreviewsWithID.swift | 3 +- .../PathsV1AppScreenshotSetsWithID.swift | 1 - ...ppScreenshotSetsWithIDAppScreenshots.swift | 1 - .../Paths/PathsV1AppScreenshotsWithID.swift | 1 - ...thsV1AppStoreReviewAttachmentsWithID.swift | 1 - .../PathsV1AppStoreReviewDetailsWithID.swift | 1 - ...tailsWithIDAppStoreReviewAttachments.swift | 1 - ...entLocalizationsWithIDAppPreviewSets.swift | 3 +- ...LocalizationsWithIDAppScreenshotSets.swift | 1 - ...hsV1AppStoreVersionExperimentsWithID.swift | 1 - ...DAppStoreVersionExperimentTreatments.swift | 1 - ...ionLocalizationsWithIDAppPreviewSets.swift | 3 +- ...LocalizationsWithIDAppScreenshotSets.swift | 1 - .../Paths/PathsV1AppStoreVersionsWithID.swift | 5 - ...WithIDAlternativeDistributionPackage.swift | 1 - ...rsionsWithIDAppClipDefaultExperience.swift | 1 - ...reVersionsWithIDAppStoreReviewDetail.swift | 1 - ...ionsWithIDAppStoreVersionExperiments.swift | 1 - ...nsWithIDAppStoreVersionExperimentsV2.swift | 3 - ...nsWithIDAppStoreVersionPhasedRelease.swift | 1 - ...toreVersionsWithIDRoutingAppCoverage.swift | 1 - .../OpenAPI/Generated/Paths/PathsV1Apps.swift | 24 +- .../Generated/Paths/PathsV1AppsWithID.swift | 24 +- ...AppsWithIDAlternativeDistributionKey.swift | 1 - ...sV1AppsWithIDAnalyticsReportRequests.swift | 1 - .../PathsV1AppsWithIDAppAvailability.swift | 110 - .../PathsV1AppsWithIDAppAvailabilityV2.swift | 1 - .../Paths/PathsV1AppsWithIDAppClips.swift | 3 - ...thsV1AppsWithIDAppCustomProductPages.swift | 4 - ...1AppsWithIDAppEncryptionDeclarations.swift | 4 - .../Paths/PathsV1AppsWithIDAppEvents.swift | 1 - .../Paths/PathsV1AppsWithIDAppInfos.swift | 3 +- .../PathsV1AppsWithIDAppPricePoints.swift | 2 - .../PathsV1AppsWithIDAppPriceSchedule.swift | 2 - ...psWithIDAppStoreVersionExperimentsV2.swift | 3 - .../PathsV1AppsWithIDAppStoreVersions.swift | 7 - .../Paths/PathsV1AppsWithIDCiProduct.swift | 2 - .../PathsV1AppsWithIDGameCenterDetail.swift | 2 - ...1AppsWithIDGameCenterEnabledVersions.swift | 2 - .../PathsV1AppsWithIDInAppPurchases.swift | 2 - .../PathsV1AppsWithIDInAppPurchasesV2.swift | 6 - ...sV1AppsWithIDMarketplaceSearchDetail.swift | 1 - .../Paths/PathsV1AppsWithIDPreOrder.swift | 33 - .../PathsV1AppsWithIDPromotedPurchases.swift | 3 - .../PathsV1AppsWithIDReviewSubmissions.swift | 7 - .../PathsV1AppsWithIDSubscriptionGroups.swift | 1 - .../PathsV1BetaAppClipInvocationsWithID.swift | 1 - .../Paths/PathsV1BetaAppLocalizations.swift | 2 - .../PathsV1BetaAppLocalizationsWithID.swift | 2 - ...PathsV1BetaAppLocalizationsWithIDApp.swift | 2 - .../Paths/PathsV1BetaAppReviewDetails.swift | 2 - .../PathsV1BetaAppReviewDetailsWithID.swift | 2 - ...PathsV1BetaAppReviewDetailsWithIDApp.swift | 2 - .../Generated/Paths/PathsV1BetaGroups.swift | 2 - .../Paths/PathsV1BetaGroupsWithID.swift | 2 - .../Paths/PathsV1BetaGroupsWithIDApp.swift | 2 - .../Paths/PathsV1BetaLicenseAgreements.swift | 2 - .../PathsV1BetaLicenseAgreementsWithID.swift | 2 - ...athsV1BetaLicenseAgreementsWithIDApp.swift | 2 - .../Generated/Paths/PathsV1BetaTesters.swift | 2 - .../Paths/PathsV1BetaTestersWithID.swift | 2 - .../Paths/PathsV1BetaTestersWithIDApps.swift | 2 - ...dBundlesWithIDBetaAppClipInvocations.swift | 2 - .../Generated/Paths/PathsV1Builds.swift | 2 - .../Generated/Paths/PathsV1BuildsWithID.swift | 2 - .../Paths/PathsV1BuildsWithIDApp.swift | 2 - .../PathsV1BuildsWithIDAppStoreVersion.swift | 7 - .../Generated/Paths/PathsV1BundleIDs.swift | 4 +- .../Paths/PathsV1BundleIDsWithID.swift | 3 - .../Paths/PathsV1BundleIDsWithIDApp.swift | 2 - ...1BundleIDsWithIDBundleIDCapabilities.swift | 1 - .../Generated/Paths/PathsV1Certificates.swift | 4 +- .../Paths/PathsV1CertificatesWithID.swift | 1 - .../Paths/PathsV1CiBuildActionsWithID.swift | 2 - .../PathsV1CiBuildActionsWithIDBuildRun.swift | 2 - .../Paths/PathsV1CiBuildRunsWithID.swift | 2 - .../PathsV1CiBuildRunsWithIDActions.swift | 2 - .../PathsV1CiBuildRunsWithIDBuilds.swift | 2 - .../Generated/Paths/PathsV1CiProducts.swift | 2 - .../Paths/PathsV1CiProductsWithID.swift | 2 - .../Paths/PathsV1CiProductsWithIDApp.swift | 24 +- .../PathsV1CiProductsWithIDBuildRuns.swift | 2 - .../PathsV1CiWorkflowsWithIDBuildRuns.swift | 2 - .../Generated/Paths/PathsV1Devices.swift | 1 + ...sV1GameCenterAchievementImagesWithID.swift | 1 - ...CenterAchievementLocalizationsWithID.swift | 1 - ...ionsWithIDGameCenterAchievementImage.swift | 1 - ...erAchievementsWithIDGroupAchievement.swift | 1 + ...enterAchievementsWithIDLocalizations.swift | 1 - ...sWithIDRelationshipsGroupAchievement.swift | 2 + ...nterAppVersionsWithIDAppStoreVersion.swift | 7 - ...bledVersionsWithIDCompatibleVersions.swift | 2 - ...eCenterGroupsWithIDGameCenterDetails.swift | 2 - ...sV1GameCenterLeaderboardImagesWithID.swift | 1 - ...CenterLeaderboardLocalizationsWithID.swift | 1 - ...ionsWithIDGameCenterLeaderboardImage.swift | 1 - ...GameCenterLeaderboardSetImagesWithID.swift | 1 - ...terLeaderboardSetLocalizationsWithID.swift | 1 - ...sWithIDGameCenterLeaderboardSetImage.swift | 1 - ...erboardSetsWithIDGroupLeaderboardSet.swift | 1 + ...erLeaderboardSetsWithIDLocalizations.swift | 1 - ...thIDRelationshipsGroupLeaderboardSet.swift | 2 + ...erLeaderboardsWithIDGroupLeaderboard.swift | 1 + ...enterLeaderboardsWithIDLocalizations.swift | 1 - ...sWithIDRelationshipsGroupLeaderboard.swift | 2 + ...PathsV1GameCenterMatchmakingRuleSets.swift | 2 - ...1GameCenterMatchmakingRuleSetsWithID.swift | 2 - ...CenterMatchmakingRuleSetsWithIDRules.swift | 1 - ...CenterMatchmakingRuleSetsWithIDTeams.swift | 1 - ...chaseAppStoreReviewScreenshotsWithID.swift | 1 - ...sV1InAppPurchaseAvailabilitiesWithID.swift | 1 - .../PathsV1InAppPurchaseImagesWithID.swift | 1 - .../PathsV1InAppPurchasePricePoints.swift | 16 + ...athsV1InAppPurchasePricePointsWithID.swift | 16 + ...rchasePricePointsWithIDEqualizations.swift | 64 + ...sV1InAppPurchasePriceSchedulesWithID.swift | 3 - ...ePriceSchedulesWithIDAutomaticPrices.swift | 3 +- ...hasePriceSchedulesWithIDManualPrices.swift | 3 +- .../Paths/PathsV1MarketplaceWebhooks.swift | 1 - .../Paths/PathsV1PreReleaseVersions.swift | 2 - .../PathsV1PreReleaseVersionsWithID.swift | 2 - .../PathsV1PreReleaseVersionsWithIDApp.swift | 2 - .../Generated/Paths/PathsV1Profiles.swift | 1 - .../Paths/PathsV1ProfilesWithID.swift | 1 - .../PathsV1ProfilesWithIDCertificates.swift | 1 - .../PathsV1PromotedPurchaseImagesWithID.swift | 1 - .../PathsV1PromotedPurchasesWithID.swift | 2 - ...omotedPurchasesWithIDPromotionImages.swift | 2 - .../Paths/PathsV1ReviewSubmissions.swift | 5 - .../PathsV1ReviewSubmissionsWithID.swift | 5 - .../PathsV1ReviewSubmissionsWithIDItems.swift | 5 - .../PathsV1RoutingAppCoveragesWithID.swift | 1 - .../Generated/Paths/PathsV1SalesReports.swift | 1 + ...ptionAppStoreReviewScreenshotsWithID.swift | 1 - ...hsV1SubscriptionAvailabilitiesWithID.swift | 2 - .../PathsV1SubscriptionGroupsWithID.swift | 1 - ...WithIDSubscriptionGroupLocalizations.swift | 1 - ...ubscriptionGroupsWithIDSubscriptions.swift | 8 - .../PathsV1SubscriptionImagesWithID.swift | 1 - ...V1SubscriptionOfferCodesWithIDPrices.swift | 1 - ...PathsV1SubscriptionPricePointsWithID.swift | 1 - ...iptionPricePointsWithIDEqualizations.swift | 1 - ...riptionPromotionalOffersWithIDPrices.swift | 1 - .../Paths/PathsV1SubscriptionsWithID.swift | 7 - ...ptionsWithIDAppStoreReviewScreenshot.swift | 1 - .../PathsV1SubscriptionsWithIDImages.swift | 1 - ...ubscriptionsWithIDIntroductoryOffers.swift | 1 - ...athsV1SubscriptionsWithIDPricePoints.swift | 1 - .../PathsV1SubscriptionsWithIDPrices.swift | 3 - ...1SubscriptionsWithIDPromotedPurchase.swift | 3 - ...ptionsWithIDSubscriptionAvailability.swift | 29 +- ...hsV1SubscriptionsWithIDWinBackOffers.swift | 1 - .../Paths/PathsV1UserInvitations.swift | 2 - .../Paths/PathsV1UserInvitationsWithID.swift | 2 - ...hsV1UserInvitationsWithIDVisibleApps.swift | 2 - .../Generated/Paths/PathsV1Users.swift | 2 - .../Generated/Paths/PathsV1UsersWithID.swift | 2 - .../Paths/PathsV1UsersWithIDVisibleApps.swift | 2 - .../Paths/PathsV1WinBackOffersWithID.swift | 1 - .../PathsV1WinBackOffersWithIDPrices.swift | 1 - .../PathsV2AppAvailabilitiesWithID.swift | 1 - ...hsV2AppStoreVersionExperimentsWithID.swift | 1 - ...DAppStoreVersionExperimentTreatments.swift | 1 - .../Paths/PathsV2InAppPurchasesWithID.swift | 8 +- ...chasesWithIDAppStoreReviewScreenshot.swift | 2 - .../PathsV2InAppPurchasesWithIDContent.swift | 1 - ...InAppPurchasesWithIDIapPriceSchedule.swift | 27 +- .../PathsV2InAppPurchasesWithIDImages.swift | 2 - ...hasesWithIDInAppPurchaseAvailability.swift | 1 - ...asesWithIDInAppPurchaseLocalizations.swift | 1 - ...thsV2InAppPurchasesWithIDPricePoints.swift | 2 +- ...InAppPurchasesWithIDPromotedPurchase.swift | 3 - ...sV3AppPricePointsWithIDEqualizations.swift | 2 - Sources/OpenAPI/app_store_connect_api.json | 3811 +++++------------ 250 files changed, 1383 insertions(+), 4600 deletions(-) delete mode 100644 Sources/OpenAPI/Generated/Entities/AppAvailability.swift delete mode 100644 Sources/OpenAPI/Generated/Entities/AppAvailabilityCreateRequest.swift delete mode 100644 Sources/OpenAPI/Generated/Entities/AppAvailabilityResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AppMediaPreviewFrameImageState.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AppMediaVideoState.swift delete mode 100644 Sources/OpenAPI/Generated/Entities/AppPreOrder.swift delete mode 100644 Sources/OpenAPI/Generated/Entities/AppPreOrderCreateRequest.swift delete mode 100644 Sources/OpenAPI/Generated/Entities/AppPreOrderResponse.swift delete mode 100644 Sources/OpenAPI/Generated/Entities/AppPreOrderUpdateRequest.swift delete mode 100644 Sources/OpenAPI/Generated/Entities/AppPreOrderWithoutIncludesResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/PreviewFrameImage.swift delete mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilities.swift delete mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithID.swift delete mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDAvailableTerritories.swift delete mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrders.swift delete mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrdersWithID.swift delete mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift delete mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreOrder.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePoints.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePointsWithID.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePointsWithIDEqualizations.swift diff --git a/Makefile b/Makefile index 8dbd4af2..8d5d0b10 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ update: download generate # see https://github.com/AvdLee/appstoreconnect-swift-sdk/pull/197 .PHONY: download download: - curl -fsSL -o - https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip | bsdtar -xOf - | jq '.components.schemas.BundleIdPlatform.enum |= [ "IOS", "MAC_OS", "UNIVERSAL", "SERVICES" ] | .paths."/v1/certificates".get.parameters = (.paths."/v1/certificates".get.parameters | map(if .name == "filter[certificateType]" then .schema.items.enum += ["DEVELOPER_ID_APPLICATION_G2"] else . end)) | .components.schemas.CertificateType.enum += ["DEVELOPER_ID_APPLICATION_G2"] | del(.["x-important"]) | del(.. |."enum"? | select(. != null and length == 0))' > Sources/OpenAPI/app_store_connect_api.json + curl -fsSL -o - https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip | bsdtar -xOf - | jq '.components.schemas.BundleIdPlatform.enum |= [ "IOS", "MAC_OS", "UNIVERSAL", "SERVICES" ] | del(.["x-important"]) | del(.. |."enum"? | select(. != null and length == 0))' > Sources/OpenAPI/app_store_connect_api.json # Runs the CreateAPI generator to update generated source code .PHONY: generate diff --git a/Sources/OpenAPI/Generated/Entities/App.swift b/Sources/OpenAPI/Generated/Entities/App.swift index e23ed512..b139ab8e 100644 --- a/Sources/OpenAPI/Generated/Entities/App.swift +++ b/Sources/OpenAPI/Generated/Entities/App.swift @@ -92,9 +92,7 @@ public struct App: Codable, Identifiable { public var appClips: AppClips? public var appPricePoints: AppPricePoints? public var endUserLicenseAgreement: EndUserLicenseAgreement? - public var preOrder: PreOrder? public var appPriceSchedule: AppPriceSchedule? - public var appAvailability: AppAvailability? public var appAvailabilityV2: AppAvailabilityV2? /// - warning: Deprecated. public var inAppPurchases: InAppPurchases? @@ -758,54 +756,6 @@ public struct App: Codable, Identifiable { } } - public struct PreOrder: Codable { - public var links: RelationshipLinks? - public var data: Data? - - public struct Data: Codable, Identifiable { - public var type: `Type` - public var id: String - - public enum `Type`: String, Codable, CaseIterable { - case appPreOrders - } - - public init(type: `Type`, id: String) { - self.type = type - self.id = id - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - } - } - - public init(links: RelationshipLinks? = nil, data: Data? = nil) { - self.links = links - self.data = data - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") - self.data = try values.decodeIfPresent(Data.self, forKey: "data") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(links, forKey: "links") - try values.encodeIfPresent(data, forKey: "data") - } - } - public struct AppPriceSchedule: Codable { public var links: RelationshipLinks? @@ -824,24 +774,6 @@ public struct App: Codable, Identifiable { } } - public struct AppAvailability: Codable { - public var links: RelationshipLinks? - - public init(links: RelationshipLinks? = nil) { - self.links = links - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(links, forKey: "links") - } - } - public struct AppAvailabilityV2: Codable { public var links: RelationshipLinks? @@ -1515,7 +1447,7 @@ public struct App: Codable, Identifiable { } } - public init(appEncryptionDeclarations: AppEncryptionDeclarations? = nil, ciProduct: CiProduct? = nil, betaTesters: BetaTesters? = nil, betaGroups: BetaGroups? = nil, appStoreVersions: AppStoreVersions? = nil, preReleaseVersions: PreReleaseVersions? = nil, betaAppLocalizations: BetaAppLocalizations? = nil, builds: Builds? = nil, betaLicenseAgreement: BetaLicenseAgreement? = nil, betaAppReviewDetail: BetaAppReviewDetail? = nil, appInfos: AppInfos? = nil, appClips: AppClips? = nil, appPricePoints: AppPricePoints? = nil, endUserLicenseAgreement: EndUserLicenseAgreement? = nil, preOrder: PreOrder? = nil, appPriceSchedule: AppPriceSchedule? = nil, appAvailability: AppAvailability? = nil, appAvailabilityV2: AppAvailabilityV2? = nil, inAppPurchases: InAppPurchases? = nil, subscriptionGroups: SubscriptionGroups? = nil, gameCenterEnabledVersions: GameCenterEnabledVersions? = nil, perfPowerMetrics: PerfPowerMetrics? = nil, appCustomProductPages: AppCustomProductPages? = nil, inAppPurchasesV2: InAppPurchasesV2? = nil, promotedPurchases: PromotedPurchases? = nil, appEvents: AppEvents? = nil, reviewSubmissions: ReviewSubmissions? = nil, subscriptionGracePeriod: SubscriptionGracePeriod? = nil, customerReviews: CustomerReviews? = nil, gameCenterDetail: GameCenterDetail? = nil, appStoreVersionExperimentsV2: AppStoreVersionExperimentsV2? = nil, alternativeDistributionKey: AlternativeDistributionKey? = nil, analyticsReportRequests: AnalyticsReportRequests? = nil, marketplaceSearchDetail: MarketplaceSearchDetail? = nil) { + public init(appEncryptionDeclarations: AppEncryptionDeclarations? = nil, ciProduct: CiProduct? = nil, betaTesters: BetaTesters? = nil, betaGroups: BetaGroups? = nil, appStoreVersions: AppStoreVersions? = nil, preReleaseVersions: PreReleaseVersions? = nil, betaAppLocalizations: BetaAppLocalizations? = nil, builds: Builds? = nil, betaLicenseAgreement: BetaLicenseAgreement? = nil, betaAppReviewDetail: BetaAppReviewDetail? = nil, appInfos: AppInfos? = nil, appClips: AppClips? = nil, appPricePoints: AppPricePoints? = nil, endUserLicenseAgreement: EndUserLicenseAgreement? = nil, appPriceSchedule: AppPriceSchedule? = nil, appAvailabilityV2: AppAvailabilityV2? = nil, inAppPurchases: InAppPurchases? = nil, subscriptionGroups: SubscriptionGroups? = nil, gameCenterEnabledVersions: GameCenterEnabledVersions? = nil, perfPowerMetrics: PerfPowerMetrics? = nil, appCustomProductPages: AppCustomProductPages? = nil, inAppPurchasesV2: InAppPurchasesV2? = nil, promotedPurchases: PromotedPurchases? = nil, appEvents: AppEvents? = nil, reviewSubmissions: ReviewSubmissions? = nil, subscriptionGracePeriod: SubscriptionGracePeriod? = nil, customerReviews: CustomerReviews? = nil, gameCenterDetail: GameCenterDetail? = nil, appStoreVersionExperimentsV2: AppStoreVersionExperimentsV2? = nil, alternativeDistributionKey: AlternativeDistributionKey? = nil, analyticsReportRequests: AnalyticsReportRequests? = nil, marketplaceSearchDetail: MarketplaceSearchDetail? = nil) { self.appEncryptionDeclarations = appEncryptionDeclarations self.ciProduct = ciProduct self.betaTesters = betaTesters @@ -1530,9 +1462,7 @@ public struct App: Codable, Identifiable { self.appClips = appClips self.appPricePoints = appPricePoints self.endUserLicenseAgreement = endUserLicenseAgreement - self.preOrder = preOrder self.appPriceSchedule = appPriceSchedule - self.appAvailability = appAvailability self.appAvailabilityV2 = appAvailabilityV2 self.inAppPurchases = inAppPurchases self.subscriptionGroups = subscriptionGroups @@ -1568,9 +1498,7 @@ public struct App: Codable, Identifiable { self.appClips = try values.decodeIfPresent(AppClips.self, forKey: "appClips") self.appPricePoints = try values.decodeIfPresent(AppPricePoints.self, forKey: "appPricePoints") self.endUserLicenseAgreement = try values.decodeIfPresent(EndUserLicenseAgreement.self, forKey: "endUserLicenseAgreement") - self.preOrder = try values.decodeIfPresent(PreOrder.self, forKey: "preOrder") self.appPriceSchedule = try values.decodeIfPresent(AppPriceSchedule.self, forKey: "appPriceSchedule") - self.appAvailability = try values.decodeIfPresent(AppAvailability.self, forKey: "appAvailability") self.appAvailabilityV2 = try values.decodeIfPresent(AppAvailabilityV2.self, forKey: "appAvailabilityV2") self.inAppPurchases = try values.decodeIfPresent(InAppPurchases.self, forKey: "inAppPurchases") self.subscriptionGroups = try values.decodeIfPresent(SubscriptionGroups.self, forKey: "subscriptionGroups") @@ -1606,9 +1534,7 @@ public struct App: Codable, Identifiable { try values.encodeIfPresent(appClips, forKey: "appClips") try values.encodeIfPresent(appPricePoints, forKey: "appPricePoints") try values.encodeIfPresent(endUserLicenseAgreement, forKey: "endUserLicenseAgreement") - try values.encodeIfPresent(preOrder, forKey: "preOrder") try values.encodeIfPresent(appPriceSchedule, forKey: "appPriceSchedule") - try values.encodeIfPresent(appAvailability, forKey: "appAvailability") try values.encodeIfPresent(appAvailabilityV2, forKey: "appAvailabilityV2") try values.encodeIfPresent(inAppPurchases, forKey: "inAppPurchases") try values.encodeIfPresent(subscriptionGroups, forKey: "subscriptionGroups") diff --git a/Sources/OpenAPI/Generated/Entities/AppAvailability.swift b/Sources/OpenAPI/Generated/Entities/AppAvailability.swift deleted file mode 100644 index 0007406a..00000000 --- a/Sources/OpenAPI/Generated/Entities/AppAvailability.swift +++ /dev/null @@ -1,179 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation - -@available(*, deprecated, message: "Deprecated") -public struct AppAvailability: Codable, Identifiable { - public var type: `Type` - public var id: String - public var attributes: Attributes? - public var relationships: Relationships? - public var links: ResourceLinks? - - public enum `Type`: String, Codable, CaseIterable { - case appAvailabilities - } - - public struct Attributes: Codable { - public var isAvailableInNewTerritories: Bool? - - public init(isAvailableInNewTerritories: Bool? = nil) { - self.isAvailableInNewTerritories = isAvailableInNewTerritories - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.isAvailableInNewTerritories = try values.decodeIfPresent(Bool.self, forKey: "availableInNewTerritories") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(isAvailableInNewTerritories, forKey: "availableInNewTerritories") - } - } - - public struct Relationships: Codable { - public var app: App? - public var availableTerritories: AvailableTerritories? - - public struct App: Codable { - public var data: Data? - - public struct Data: Codable, Identifiable { - public var type: `Type` - public var id: String - - public enum `Type`: String, Codable, CaseIterable { - case apps - } - - public init(type: `Type`, id: String) { - self.type = type - self.id = id - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - } - } - - public init(data: Data? = nil) { - self.data = data - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decodeIfPresent(Data.self, forKey: "data") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(data, forKey: "data") - } - } - - public struct AvailableTerritories: Codable { - public var links: RelationshipLinks? - public var meta: PagingInformation? - public var data: [Datum]? - - public struct Datum: Codable, Identifiable { - public var type: `Type` - public var id: String - - public enum `Type`: String, Codable, CaseIterable { - case territories - } - - public init(type: `Type`, id: String) { - self.type = type - self.id = id - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - } - } - - public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { - self.links = links - self.meta = meta - self.data = data - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") - self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") - self.data = try values.decodeIfPresent([Datum].self, forKey: "data") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(links, forKey: "links") - try values.encodeIfPresent(meta, forKey: "meta") - try values.encodeIfPresent(data, forKey: "data") - } - } - - public init(app: App? = nil, availableTerritories: AvailableTerritories? = nil) { - self.app = app - self.availableTerritories = availableTerritories - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.app = try values.decodeIfPresent(App.self, forKey: "app") - self.availableTerritories = try values.decodeIfPresent(AvailableTerritories.self, forKey: "availableTerritories") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(app, forKey: "app") - try values.encodeIfPresent(availableTerritories, forKey: "availableTerritories") - } - } - - public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil, links: ResourceLinks? = nil) { - self.type = type - self.id = id - self.attributes = attributes - self.relationships = relationships - self.links = links - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") - self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") - self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - try values.encodeIfPresent(attributes, forKey: "attributes") - try values.encodeIfPresent(relationships, forKey: "relationships") - try values.encodeIfPresent(links, forKey: "links") - } -} diff --git a/Sources/OpenAPI/Generated/Entities/AppAvailabilityCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppAvailabilityCreateRequest.swift deleted file mode 100644 index f121481c..00000000 --- a/Sources/OpenAPI/Generated/Entities/AppAvailabilityCreateRequest.swift +++ /dev/null @@ -1,181 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation - -@available(*, deprecated, message: "Deprecated") -public struct AppAvailabilityCreateRequest: Codable { - public var data: Data - - public struct Data: Codable { - public var type: `Type` - public var attributes: Attributes - public var relationships: Relationships - - public enum `Type`: String, Codable, CaseIterable { - case appAvailabilities - } - - public struct Attributes: Codable { - public var isAvailableInNewTerritories: Bool - - public init(isAvailableInNewTerritories: Bool) { - self.isAvailableInNewTerritories = isAvailableInNewTerritories - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.isAvailableInNewTerritories = try values.decode(Bool.self, forKey: "availableInNewTerritories") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(isAvailableInNewTerritories, forKey: "availableInNewTerritories") - } - } - - public struct Relationships: Codable { - public var app: App - public var availableTerritories: AvailableTerritories - - public struct App: Codable { - public var data: Data - - public struct Data: Codable, Identifiable { - public var type: `Type` - public var id: String - - public enum `Type`: String, Codable, CaseIterable { - case apps - } - - public init(type: `Type`, id: String) { - self.type = type - self.id = id - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - } - } - - public init(data: Data) { - self.data = data - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode(Data.self, forKey: "data") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(data, forKey: "data") - } - } - - public struct AvailableTerritories: Codable { - public var data: [Datum] - - public struct Datum: Codable, Identifiable { - public var type: `Type` - public var id: String - - public enum `Type`: String, Codable, CaseIterable { - case territories - } - - public init(type: `Type`, id: String) { - self.type = type - self.id = id - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - } - } - - public init(data: [Datum]) { - self.data = data - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode([Datum].self, forKey: "data") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(data, forKey: "data") - } - } - - public init(app: App, availableTerritories: AvailableTerritories) { - self.app = app - self.availableTerritories = availableTerritories - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.app = try values.decode(App.self, forKey: "app") - self.availableTerritories = try values.decode(AvailableTerritories.self, forKey: "availableTerritories") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(app, forKey: "app") - try values.encode(availableTerritories, forKey: "availableTerritories") - } - } - - public init(type: `Type`, attributes: Attributes, relationships: Relationships) { - self.type = type - self.attributes = attributes - self.relationships = relationships - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.attributes = try values.decode(Attributes.self, forKey: "attributes") - self.relationships = try values.decode(Relationships.self, forKey: "relationships") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(attributes, forKey: "attributes") - try values.encode(relationships, forKey: "relationships") - } - } - - public init(data: Data) { - self.data = data - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode(Data.self, forKey: "data") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(data, forKey: "data") - } -} diff --git a/Sources/OpenAPI/Generated/Entities/AppAvailabilityResponse.swift b/Sources/OpenAPI/Generated/Entities/AppAvailabilityResponse.swift deleted file mode 100644 index 3a553379..00000000 --- a/Sources/OpenAPI/Generated/Entities/AppAvailabilityResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation - -@available(*, deprecated, message: "Deprecated") -public struct AppAvailabilityResponse: Codable { - /// AppAvailability - /// - /// - warning: Deprecated. - public var data: AppAvailability - public var included: [IncludedItem]? - public var links: DocumentLinks - - public enum IncludedItem: Codable { - case app(App) - case territory(Territory) - - public init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let value = try? container.decode(App.self) { - self = .app(value) - } else if let value = try? container.decode(Territory.self) { - self = .territory(value) - } else { - throw DecodingError.dataCorruptedError( - in: container, - debugDescription: "Data could not be decoded as any of the expected types (App, Territory)." - ) - } - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .app(let value): try container.encode(value) - case .territory(let value): try container.encode(value) - } - } - } - - public init(data: AppAvailability, included: [IncludedItem]? = nil, links: DocumentLinks) { - self.data = data - self.included = included - self.links = links - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode(AppAvailability.self, forKey: "data") - self.included = try values.decodeIfPresent([IncludedItem].self, forKey: "included") - self.links = try values.decode(DocumentLinks.self, forKey: "links") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(data, forKey: "data") - try values.encodeIfPresent(included, forKey: "included") - try values.encode(links, forKey: "links") - } -} diff --git a/Sources/OpenAPI/Generated/Entities/AppEventVideoClip.swift b/Sources/OpenAPI/Generated/Entities/AppEventVideoClip.swift index b4e9d954..ab76bc1b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventVideoClip.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventVideoClip.swift @@ -19,19 +19,23 @@ public struct AppEventVideoClip: Codable, Identifiable { public var fileName: String? public var previewFrameTimeCode: String? public var videoURL: String? + public var previewFrameImage: PreviewFrameImage? public var previewImage: ImageAsset? public var uploadOperations: [UploadOperation]? public var assetDeliveryState: AppMediaAssetState? + public var videoDeliveryState: AppMediaVideoState? public var appEventAssetType: AppEventAssetType? - public init(fileSize: Int? = nil, fileName: String? = nil, previewFrameTimeCode: String? = nil, videoURL: String? = nil, previewImage: ImageAsset? = nil, uploadOperations: [UploadOperation]? = nil, assetDeliveryState: AppMediaAssetState? = nil, appEventAssetType: AppEventAssetType? = nil) { + public init(fileSize: Int? = nil, fileName: String? = nil, previewFrameTimeCode: String? = nil, videoURL: String? = nil, previewFrameImage: PreviewFrameImage? = nil, previewImage: ImageAsset? = nil, uploadOperations: [UploadOperation]? = nil, assetDeliveryState: AppMediaAssetState? = nil, videoDeliveryState: AppMediaVideoState? = nil, appEventAssetType: AppEventAssetType? = nil) { self.fileSize = fileSize self.fileName = fileName self.previewFrameTimeCode = previewFrameTimeCode self.videoURL = videoURL + self.previewFrameImage = previewFrameImage self.previewImage = previewImage self.uploadOperations = uploadOperations self.assetDeliveryState = assetDeliveryState + self.videoDeliveryState = videoDeliveryState self.appEventAssetType = appEventAssetType } @@ -41,9 +45,11 @@ public struct AppEventVideoClip: Codable, Identifiable { self.fileName = try values.decodeIfPresent(String.self, forKey: "fileName") self.previewFrameTimeCode = try values.decodeIfPresent(String.self, forKey: "previewFrameTimeCode") self.videoURL = try values.decodeIfPresent(String.self, forKey: "videoUrl") + self.previewFrameImage = try values.decodeIfPresent(PreviewFrameImage.self, forKey: "previewFrameImage") self.previewImage = try values.decodeIfPresent(ImageAsset.self, forKey: "previewImage") self.uploadOperations = try values.decodeIfPresent([UploadOperation].self, forKey: "uploadOperations") self.assetDeliveryState = try values.decodeIfPresent(AppMediaAssetState.self, forKey: "assetDeliveryState") + self.videoDeliveryState = try values.decodeIfPresent(AppMediaVideoState.self, forKey: "videoDeliveryState") self.appEventAssetType = try values.decodeIfPresent(AppEventAssetType.self, forKey: "appEventAssetType") } @@ -53,9 +59,11 @@ public struct AppEventVideoClip: Codable, Identifiable { try values.encodeIfPresent(fileName, forKey: "fileName") try values.encodeIfPresent(previewFrameTimeCode, forKey: "previewFrameTimeCode") try values.encodeIfPresent(videoURL, forKey: "videoUrl") + try values.encodeIfPresent(previewFrameImage, forKey: "previewFrameImage") try values.encodeIfPresent(previewImage, forKey: "previewImage") try values.encodeIfPresent(uploadOperations, forKey: "uploadOperations") try values.encodeIfPresent(assetDeliveryState, forKey: "assetDeliveryState") + try values.encodeIfPresent(videoDeliveryState, forKey: "videoDeliveryState") try values.encodeIfPresent(appEventAssetType, forKey: "appEventAssetType") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppInfo.swift b/Sources/OpenAPI/Generated/Entities/AppInfo.swift index e83d782f..8caab575 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfo.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfo.swift @@ -21,6 +21,7 @@ public struct AppInfo: Codable, Identifiable { public var australiaAgeRating: AustraliaAgeRating? public var brazilAgeRating: BrazilAgeRating? public var brazilAgeRatingV2: BrazilAgeRatingV2? + public var franceAgeRating: FranceAgeRating? public var koreaAgeRating: KoreaAgeRating? public var kidsAgeBand: KidsAgeBand? @@ -57,6 +58,10 @@ public struct AppInfo: Codable, Identifiable { case officialEighteen = "OFFICIAL_EIGHTEEN" } + public enum FranceAgeRating: String, Codable, CaseIterable { + case eighteen = "EIGHTEEN" + } + public enum KoreaAgeRating: String, Codable, CaseIterable { case all = "ALL" case twelve = "TWELVE" @@ -65,13 +70,14 @@ public struct AppInfo: Codable, Identifiable { case notApplicable = "NOT_APPLICABLE" } - public init(appStoreState: AppStoreVersionState? = nil, state: State? = nil, appStoreAgeRating: AppStoreAgeRating? = nil, australiaAgeRating: AustraliaAgeRating? = nil, brazilAgeRating: BrazilAgeRating? = nil, brazilAgeRatingV2: BrazilAgeRatingV2? = nil, koreaAgeRating: KoreaAgeRating? = nil, kidsAgeBand: KidsAgeBand? = nil) { + public init(appStoreState: AppStoreVersionState? = nil, state: State? = nil, appStoreAgeRating: AppStoreAgeRating? = nil, australiaAgeRating: AustraliaAgeRating? = nil, brazilAgeRating: BrazilAgeRating? = nil, brazilAgeRatingV2: BrazilAgeRatingV2? = nil, franceAgeRating: FranceAgeRating? = nil, koreaAgeRating: KoreaAgeRating? = nil, kidsAgeBand: KidsAgeBand? = nil) { self.appStoreState = appStoreState self.state = state self.appStoreAgeRating = appStoreAgeRating self.australiaAgeRating = australiaAgeRating self.brazilAgeRating = brazilAgeRating self.brazilAgeRatingV2 = brazilAgeRatingV2 + self.franceAgeRating = franceAgeRating self.koreaAgeRating = koreaAgeRating self.kidsAgeBand = kidsAgeBand } @@ -84,6 +90,7 @@ public struct AppInfo: Codable, Identifiable { self.australiaAgeRating = try values.decodeIfPresent(AustraliaAgeRating.self, forKey: "australiaAgeRating") self.brazilAgeRating = try values.decodeIfPresent(BrazilAgeRating.self, forKey: "brazilAgeRating") self.brazilAgeRatingV2 = try values.decodeIfPresent(BrazilAgeRatingV2.self, forKey: "brazilAgeRatingV2") + self.franceAgeRating = try values.decodeIfPresent(FranceAgeRating.self, forKey: "franceAgeRating") self.koreaAgeRating = try values.decodeIfPresent(KoreaAgeRating.self, forKey: "koreaAgeRating") self.kidsAgeBand = try values.decodeIfPresent(KidsAgeBand.self, forKey: "kidsAgeBand") } @@ -96,6 +103,7 @@ public struct AppInfo: Codable, Identifiable { try values.encodeIfPresent(australiaAgeRating, forKey: "australiaAgeRating") try values.encodeIfPresent(brazilAgeRating, forKey: "brazilAgeRating") try values.encodeIfPresent(brazilAgeRatingV2, forKey: "brazilAgeRatingV2") + try values.encodeIfPresent(franceAgeRating, forKey: "franceAgeRating") try values.encodeIfPresent(koreaAgeRating, forKey: "koreaAgeRating") try values.encodeIfPresent(kidsAgeBand, forKey: "kidsAgeBand") } diff --git a/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationCreateRequest.swift index 26f6c39f..6a0f635e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationCreateRequest.swift @@ -17,13 +17,13 @@ public struct AppInfoLocalizationCreateRequest: Codable { public struct Attributes: Codable { public var locale: String - public var name: String? + public var name: String public var subtitle: String? public var privacyPolicyURL: String? public var privacyChoicesURL: String? public var privacyPolicyText: String? - public init(locale: String, name: String? = nil, subtitle: String? = nil, privacyPolicyURL: String? = nil, privacyChoicesURL: String? = nil, privacyPolicyText: String? = nil) { + public init(locale: String, name: String, subtitle: String? = nil, privacyPolicyURL: String? = nil, privacyChoicesURL: String? = nil, privacyPolicyText: String? = nil) { self.locale = locale self.name = name self.subtitle = subtitle @@ -35,7 +35,7 @@ public struct AppInfoLocalizationCreateRequest: Codable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.locale = try values.decode(String.self, forKey: "locale") - self.name = try values.decodeIfPresent(String.self, forKey: "name") + self.name = try values.decode(String.self, forKey: "name") self.subtitle = try values.decodeIfPresent(String.self, forKey: "subtitle") self.privacyPolicyURL = try values.decodeIfPresent(String.self, forKey: "privacyPolicyUrl") self.privacyChoicesURL = try values.decodeIfPresent(String.self, forKey: "privacyChoicesUrl") @@ -45,7 +45,7 @@ public struct AppInfoLocalizationCreateRequest: Codable { public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(locale, forKey: "locale") - try values.encodeIfPresent(name, forKey: "name") + try values.encode(name, forKey: "name") try values.encodeIfPresent(subtitle, forKey: "subtitle") try values.encodeIfPresent(privacyPolicyURL, forKey: "privacyPolicyUrl") try values.encodeIfPresent(privacyChoicesURL, forKey: "privacyChoicesUrl") diff --git a/Sources/OpenAPI/Generated/Entities/AppMediaPreviewFrameImageState.swift b/Sources/OpenAPI/Generated/Entities/AppMediaPreviewFrameImageState.swift new file mode 100644 index 00000000..872ebbc1 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AppMediaPreviewFrameImageState.swift @@ -0,0 +1,36 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AppMediaPreviewFrameImageState: Codable { + public var errors: [AppMediaStateError]? + public var warnings: [AppMediaStateError]? + public var state: State? + + public enum State: String, Codable, CaseIterable { + case processing = "PROCESSING" + case complete = "COMPLETE" + case failed = "FAILED" + } + + public init(errors: [AppMediaStateError]? = nil, warnings: [AppMediaStateError]? = nil, state: State? = nil) { + self.errors = errors + self.warnings = warnings + self.state = state + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.errors = try values.decodeIfPresent([AppMediaStateError].self, forKey: "errors") + self.warnings = try values.decodeIfPresent([AppMediaStateError].self, forKey: "warnings") + self.state = try values.decodeIfPresent(State.self, forKey: "state") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(errors, forKey: "errors") + try values.encodeIfPresent(warnings, forKey: "warnings") + try values.encodeIfPresent(state, forKey: "state") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AppMediaVideoState.swift b/Sources/OpenAPI/Generated/Entities/AppMediaVideoState.swift new file mode 100644 index 00000000..f8ce44fb --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AppMediaVideoState.swift @@ -0,0 +1,38 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AppMediaVideoState: Codable { + public var errors: [AppMediaStateError]? + public var warnings: [AppMediaStateError]? + public var state: State? + + public enum State: String, Codable, CaseIterable { + case awaitingUpload = "AWAITING_UPLOAD" + case uploadComplete = "UPLOAD_COMPLETE" + case processing = "PROCESSING" + case complete = "COMPLETE" + case failed = "FAILED" + } + + public init(errors: [AppMediaStateError]? = nil, warnings: [AppMediaStateError]? = nil, state: State? = nil) { + self.errors = errors + self.warnings = warnings + self.state = state + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.errors = try values.decodeIfPresent([AppMediaStateError].self, forKey: "errors") + self.warnings = try values.decodeIfPresent([AppMediaStateError].self, forKey: "warnings") + self.state = try values.decodeIfPresent(State.self, forKey: "state") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(errors, forKey: "errors") + try values.encodeIfPresent(warnings, forKey: "warnings") + try values.encodeIfPresent(state, forKey: "state") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AppPreOrder.swift b/Sources/OpenAPI/Generated/Entities/AppPreOrder.swift deleted file mode 100644 index 21586be9..00000000 --- a/Sources/OpenAPI/Generated/Entities/AppPreOrder.swift +++ /dev/null @@ -1,127 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation - -@available(*, deprecated, message: "Deprecated") -public struct AppPreOrder: Codable, Identifiable { - public var type: `Type` - public var id: String - public var attributes: Attributes? - public var relationships: Relationships? - public var links: ResourceLinks? - - public enum `Type`: String, Codable, CaseIterable { - case appPreOrders - } - - public struct Attributes: Codable { - public var preOrderAvailableDate: String? - public var appReleaseDate: String? - - public init(preOrderAvailableDate: String? = nil, appReleaseDate: String? = nil) { - self.preOrderAvailableDate = preOrderAvailableDate - self.appReleaseDate = appReleaseDate - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.preOrderAvailableDate = try values.decodeIfPresent(String.self, forKey: "preOrderAvailableDate") - self.appReleaseDate = try values.decodeIfPresent(String.self, forKey: "appReleaseDate") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(preOrderAvailableDate, forKey: "preOrderAvailableDate") - try values.encodeIfPresent(appReleaseDate, forKey: "appReleaseDate") - } - } - - public struct Relationships: Codable { - public var app: App? - - public struct App: Codable { - public var data: Data? - - public struct Data: Codable, Identifiable { - public var type: `Type` - public var id: String - - public enum `Type`: String, Codable, CaseIterable { - case apps - } - - public init(type: `Type`, id: String) { - self.type = type - self.id = id - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - } - } - - public init(data: Data? = nil) { - self.data = data - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decodeIfPresent(Data.self, forKey: "data") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(data, forKey: "data") - } - } - - public init(app: App? = nil) { - self.app = app - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.app = try values.decodeIfPresent(App.self, forKey: "app") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(app, forKey: "app") - } - } - - public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil, links: ResourceLinks? = nil) { - self.type = type - self.id = id - self.attributes = attributes - self.relationships = relationships - self.links = links - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") - self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") - self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - try values.encodeIfPresent(attributes, forKey: "attributes") - try values.encodeIfPresent(relationships, forKey: "relationships") - try values.encodeIfPresent(links, forKey: "links") - } -} diff --git a/Sources/OpenAPI/Generated/Entities/AppPreOrderCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppPreOrderCreateRequest.swift deleted file mode 100644 index 1b4b4ae7..00000000 --- a/Sources/OpenAPI/Generated/Entities/AppPreOrderCreateRequest.swift +++ /dev/null @@ -1,133 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation - -@available(*, deprecated, message: "Deprecated") -public struct AppPreOrderCreateRequest: Codable { - public var data: Data - - public struct Data: Codable { - public var type: `Type` - public var attributes: Attributes? - public var relationships: Relationships - - public enum `Type`: String, Codable, CaseIterable { - case appPreOrders - } - - public struct Attributes: Codable { - public var appReleaseDate: String? - - public init(appReleaseDate: String? = nil) { - self.appReleaseDate = appReleaseDate - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.appReleaseDate = try values.decodeIfPresent(String.self, forKey: "appReleaseDate") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(appReleaseDate, forKey: "appReleaseDate") - } - } - - public struct Relationships: Codable { - public var app: App - - public struct App: Codable { - public var data: Data - - public struct Data: Codable, Identifiable { - public var type: `Type` - public var id: String - - public enum `Type`: String, Codable, CaseIterable { - case apps - } - - public init(type: `Type`, id: String) { - self.type = type - self.id = id - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - } - } - - public init(data: Data) { - self.data = data - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode(Data.self, forKey: "data") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(data, forKey: "data") - } - } - - public init(app: App) { - self.app = app - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.app = try values.decode(App.self, forKey: "app") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(app, forKey: "app") - } - } - - public init(type: `Type`, attributes: Attributes? = nil, relationships: Relationships) { - self.type = type - self.attributes = attributes - self.relationships = relationships - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") - self.relationships = try values.decode(Relationships.self, forKey: "relationships") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encodeIfPresent(attributes, forKey: "attributes") - try values.encode(relationships, forKey: "relationships") - } - } - - public init(data: Data) { - self.data = data - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode(Data.self, forKey: "data") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(data, forKey: "data") - } -} diff --git a/Sources/OpenAPI/Generated/Entities/AppPreOrderResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPreOrderResponse.swift deleted file mode 100644 index b5fb54e8..00000000 --- a/Sources/OpenAPI/Generated/Entities/AppPreOrderResponse.swift +++ /dev/null @@ -1,34 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation - -@available(*, deprecated, message: "Deprecated") -public struct AppPreOrderResponse: Codable { - /// AppPreOrder - /// - /// - warning: Deprecated. - public var data: AppPreOrder - public var included: [App]? - public var links: DocumentLinks - - public init(data: AppPreOrder, included: [App]? = nil, links: DocumentLinks) { - self.data = data - self.included = included - self.links = links - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode(AppPreOrder.self, forKey: "data") - self.included = try values.decodeIfPresent([App].self, forKey: "included") - self.links = try values.decode(DocumentLinks.self, forKey: "links") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(data, forKey: "data") - try values.encodeIfPresent(included, forKey: "included") - try values.encode(links, forKey: "links") - } -} diff --git a/Sources/OpenAPI/Generated/Entities/AppPreOrderUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppPreOrderUpdateRequest.swift deleted file mode 100644 index 1756ea5b..00000000 --- a/Sources/OpenAPI/Generated/Entities/AppPreOrderUpdateRequest.swift +++ /dev/null @@ -1,71 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation - -@available(*, deprecated, message: "Deprecated") -public struct AppPreOrderUpdateRequest: Codable { - public var data: Data - - public struct Data: Codable, Identifiable { - public var type: `Type` - public var id: String - public var attributes: Attributes? - - public enum `Type`: String, Codable, CaseIterable { - case appPreOrders - } - - public struct Attributes: Codable { - public var appReleaseDate: String? - - public init(appReleaseDate: String? = nil) { - self.appReleaseDate = appReleaseDate - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.appReleaseDate = try values.decodeIfPresent(String.self, forKey: "appReleaseDate") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(appReleaseDate, forKey: "appReleaseDate") - } - } - - public init(type: `Type`, id: String, attributes: Attributes? = nil) { - self.type = type - self.id = id - self.attributes = attributes - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - try values.encodeIfPresent(attributes, forKey: "attributes") - } - } - - public init(data: Data) { - self.data = data - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode(Data.self, forKey: "data") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(data, forKey: "data") - } -} diff --git a/Sources/OpenAPI/Generated/Entities/AppPreOrderWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPreOrderWithoutIncludesResponse.swift deleted file mode 100644 index f6d3980a..00000000 --- a/Sources/OpenAPI/Generated/Entities/AppPreOrderWithoutIncludesResponse.swift +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation - -public struct AppPreOrderWithoutIncludesResponse: Codable { - /// AppPreOrder - /// - /// - warning: Deprecated. - public var data: AppPreOrder - public var links: DocumentLinks - - public init(data: AppPreOrder, links: DocumentLinks) { - self.data = data - self.links = links - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode(AppPreOrder.self, forKey: "data") - self.links = try values.decode(DocumentLinks.self, forKey: "links") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(data, forKey: "data") - try values.encode(links, forKey: "links") - } -} diff --git a/Sources/OpenAPI/Generated/Entities/AppPreview.swift b/Sources/OpenAPI/Generated/Entities/AppPreview.swift index ee7d4008..cdf0fd62 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreview.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreview.swift @@ -21,20 +21,24 @@ public struct AppPreview: Codable, Identifiable { public var previewFrameTimeCode: String? public var mimeType: String? public var videoURL: String? + public var previewFrameImage: PreviewFrameImage? public var previewImage: ImageAsset? public var uploadOperations: [UploadOperation]? public var assetDeliveryState: AppMediaAssetState? + public var videoDeliveryState: AppMediaVideoState? - public init(fileSize: Int? = nil, fileName: String? = nil, sourceFileChecksum: String? = nil, previewFrameTimeCode: String? = nil, mimeType: String? = nil, videoURL: String? = nil, previewImage: ImageAsset? = nil, uploadOperations: [UploadOperation]? = nil, assetDeliveryState: AppMediaAssetState? = nil) { + public init(fileSize: Int? = nil, fileName: String? = nil, sourceFileChecksum: String? = nil, previewFrameTimeCode: String? = nil, mimeType: String? = nil, videoURL: String? = nil, previewFrameImage: PreviewFrameImage? = nil, previewImage: ImageAsset? = nil, uploadOperations: [UploadOperation]? = nil, assetDeliveryState: AppMediaAssetState? = nil, videoDeliveryState: AppMediaVideoState? = nil) { self.fileSize = fileSize self.fileName = fileName self.sourceFileChecksum = sourceFileChecksum self.previewFrameTimeCode = previewFrameTimeCode self.mimeType = mimeType self.videoURL = videoURL + self.previewFrameImage = previewFrameImage self.previewImage = previewImage self.uploadOperations = uploadOperations self.assetDeliveryState = assetDeliveryState + self.videoDeliveryState = videoDeliveryState } public init(from decoder: Decoder) throws { @@ -45,9 +49,11 @@ public struct AppPreview: Codable, Identifiable { self.previewFrameTimeCode = try values.decodeIfPresent(String.self, forKey: "previewFrameTimeCode") self.mimeType = try values.decodeIfPresent(String.self, forKey: "mimeType") self.videoURL = try values.decodeIfPresent(String.self, forKey: "videoUrl") + self.previewFrameImage = try values.decodeIfPresent(PreviewFrameImage.self, forKey: "previewFrameImage") self.previewImage = try values.decodeIfPresent(ImageAsset.self, forKey: "previewImage") self.uploadOperations = try values.decodeIfPresent([UploadOperation].self, forKey: "uploadOperations") self.assetDeliveryState = try values.decodeIfPresent(AppMediaAssetState.self, forKey: "assetDeliveryState") + self.videoDeliveryState = try values.decodeIfPresent(AppMediaVideoState.self, forKey: "videoDeliveryState") } public func encode(to encoder: Encoder) throws { @@ -58,9 +64,11 @@ public struct AppPreview: Codable, Identifiable { try values.encodeIfPresent(previewFrameTimeCode, forKey: "previewFrameTimeCode") try values.encodeIfPresent(mimeType, forKey: "mimeType") try values.encodeIfPresent(videoURL, forKey: "videoUrl") + try values.encodeIfPresent(previewFrameImage, forKey: "previewFrameImage") try values.encodeIfPresent(previewImage, forKey: "previewImage") try values.encodeIfPresent(uploadOperations, forKey: "uploadOperations") try values.encodeIfPresent(assetDeliveryState, forKey: "assetDeliveryState") + try values.encodeIfPresent(videoDeliveryState, forKey: "videoDeliveryState") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppResponse.swift b/Sources/OpenAPI/Generated/Entities/AppResponse.swift index 65871a04..8082e2e5 100644 --- a/Sources/OpenAPI/Generated/Entities/AppResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppResponse.swift @@ -22,7 +22,6 @@ public struct AppResponse: Codable { case appInfo(AppInfo) case appClip(AppClip) case endUserLicenseAgreement(EndUserLicenseAgreement) - case appPreOrder(AppPreOrder) case inAppPurchase(InAppPurchase) case subscriptionGroup(SubscriptionGroup) case gameCenterEnabledVersion(GameCenterEnabledVersion) @@ -61,8 +60,6 @@ public struct AppResponse: Codable { self = .appClip(value) } else if let value = try? container.decode(EndUserLicenseAgreement.self) { self = .endUserLicenseAgreement(value) - } else if let value = try? container.decode(AppPreOrder.self) { - self = .appPreOrder(value) } else if let value = try? container.decode(InAppPurchase.self) { self = .inAppPurchase(value) } else if let value = try? container.decode(SubscriptionGroup.self) { @@ -88,7 +85,7 @@ public struct AppResponse: Codable { } else { throw DecodingError.dataCorruptedError( in: container, - debugDescription: "Data could not be decoded as any of the expected types (AppEncryptionDeclaration, CiProduct, BetaGroup, AppStoreVersion, PrereleaseVersion, BetaAppLocalization, Build, BetaLicenseAgreement, BetaAppReviewDetail, AppInfo, AppClip, EndUserLicenseAgreement, AppPreOrder, InAppPurchase, SubscriptionGroup, GameCenterEnabledVersion, AppCustomProductPage, InAppPurchaseV2, PromotedPurchase, AppEvent, ReviewSubmission, SubscriptionGracePeriod, GameCenterDetail, AppStoreVersionExperimentV2)." + debugDescription: "Data could not be decoded as any of the expected types (AppEncryptionDeclaration, CiProduct, BetaGroup, AppStoreVersion, PrereleaseVersion, BetaAppLocalization, Build, BetaLicenseAgreement, BetaAppReviewDetail, AppInfo, AppClip, EndUserLicenseAgreement, InAppPurchase, SubscriptionGroup, GameCenterEnabledVersion, AppCustomProductPage, InAppPurchaseV2, PromotedPurchase, AppEvent, ReviewSubmission, SubscriptionGracePeriod, GameCenterDetail, AppStoreVersionExperimentV2)." ) } } @@ -108,7 +105,6 @@ public struct AppResponse: Codable { case .appInfo(let value): try container.encode(value) case .appClip(let value): try container.encode(value) case .endUserLicenseAgreement(let value): try container.encode(value) - case .appPreOrder(let value): try container.encode(value) case .inAppPurchase(let value): try container.encode(value) case .subscriptionGroup(let value): try container.encode(value) case .gameCenterEnabledVersion(let value): try container.encode(value) diff --git a/Sources/OpenAPI/Generated/Entities/AppsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppsResponse.swift index a57173e4..10779067 100644 --- a/Sources/OpenAPI/Generated/Entities/AppsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppsResponse.swift @@ -22,7 +22,6 @@ public struct AppsResponse: Codable { case appInfo(AppInfo) case appClip(AppClip) case endUserLicenseAgreement(EndUserLicenseAgreement) - case appPreOrder(AppPreOrder) case inAppPurchase(InAppPurchase) case subscriptionGroup(SubscriptionGroup) case gameCenterEnabledVersion(GameCenterEnabledVersion) @@ -61,8 +60,6 @@ public struct AppsResponse: Codable { self = .appClip(value) } else if let value = try? container.decode(EndUserLicenseAgreement.self) { self = .endUserLicenseAgreement(value) - } else if let value = try? container.decode(AppPreOrder.self) { - self = .appPreOrder(value) } else if let value = try? container.decode(InAppPurchase.self) { self = .inAppPurchase(value) } else if let value = try? container.decode(SubscriptionGroup.self) { @@ -88,7 +85,7 @@ public struct AppsResponse: Codable { } else { throw DecodingError.dataCorruptedError( in: container, - debugDescription: "Data could not be decoded as any of the expected types (AppEncryptionDeclaration, CiProduct, BetaGroup, AppStoreVersion, PrereleaseVersion, BetaAppLocalization, Build, BetaLicenseAgreement, BetaAppReviewDetail, AppInfo, AppClip, EndUserLicenseAgreement, AppPreOrder, InAppPurchase, SubscriptionGroup, GameCenterEnabledVersion, AppCustomProductPage, InAppPurchaseV2, PromotedPurchase, AppEvent, ReviewSubmission, SubscriptionGracePeriod, GameCenterDetail, AppStoreVersionExperimentV2)." + debugDescription: "Data could not be decoded as any of the expected types (AppEncryptionDeclaration, CiProduct, BetaGroup, AppStoreVersion, PrereleaseVersion, BetaAppLocalization, Build, BetaLicenseAgreement, BetaAppReviewDetail, AppInfo, AppClip, EndUserLicenseAgreement, InAppPurchase, SubscriptionGroup, GameCenterEnabledVersion, AppCustomProductPage, InAppPurchaseV2, PromotedPurchase, AppEvent, ReviewSubmission, SubscriptionGracePeriod, GameCenterDetail, AppStoreVersionExperimentV2)." ) } } @@ -108,7 +105,6 @@ public struct AppsResponse: Codable { case .appInfo(let value): try container.encode(value) case .appClip(let value): try container.encode(value) case .endUserLicenseAgreement(let value): try container.encode(value) - case .appPreOrder(let value): try container.encode(value) case .inAppPurchase(let value): try container.encode(value) case .subscriptionGroup(let value): try container.encode(value) case .gameCenterEnabledVersion(let value): try container.encode(value) diff --git a/Sources/OpenAPI/Generated/Entities/CertificateType.swift b/Sources/OpenAPI/Generated/Entities/CertificateType.swift index 3e98680b..b08e0608 100644 --- a/Sources/OpenAPI/Generated/Entities/CertificateType.swift +++ b/Sources/OpenAPI/Generated/Entities/CertificateType.swift @@ -10,10 +10,11 @@ public enum CertificateType: String, Codable, CaseIterable { case macInstallerDistribution = "MAC_INSTALLER_DISTRIBUTION" case macAppDevelopment = "MAC_APP_DEVELOPMENT" case developerIDKext = "DEVELOPER_ID_KEXT" + case developerIDKextG2 = "DEVELOPER_ID_KEXT_G2" case developerIDApplication = "DEVELOPER_ID_APPLICATION" + case developerIDApplicationG2 = "DEVELOPER_ID_APPLICATION_G2" case development = "DEVELOPMENT" case distribution = "DISTRIBUTION" case passTypeID = "PASS_TYPE_ID" case passTypeIDWithNfc = "PASS_TYPE_ID_WITH_NFC" - case developerIDApplicationG2 = "DEVELOPER_ID_APPLICATION_G2" } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievement.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievement.swift index 16296338..4671a3ad 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievement.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievement.swift @@ -55,6 +55,7 @@ public struct GameCenterAchievement: Codable, Identifiable { public struct Relationships: Codable { public var gameCenterDetail: GameCenterDetail? public var gameCenterGroup: GameCenterGroup? + /// - warning: Deprecated. public var groupAchievement: GroupAchievement? public var localizations: Localizations? public var releases: Releases? @@ -147,6 +148,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } + @available(*, deprecated, message: "Deprecated") public struct GroupAchievement: Codable { public var links: RelationshipLinks? public var data: Data? diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageRequest.swift index c8f75910..3c7b7c20 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageRequest.swift @@ -3,6 +3,7 @@ import Foundation +@available(*, deprecated, message: "Deprecated") public struct GameCenterAchievementGroupAchievementLinkageRequest: Codable { public var data: Data diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageResponse.swift index 01a08223..9b79e44f 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageResponse.swift @@ -3,6 +3,7 @@ import Foundation +@available(*, deprecated, message: "Deprecated") public struct GameCenterAchievementGroupAchievementLinkageResponse: Codable { public var data: Data public var links: DocumentLinks diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboard.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboard.swift index 0f87ecab..5f0b919d 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboard.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboard.swift @@ -85,6 +85,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { public struct Relationships: Codable { public var gameCenterDetail: GameCenterDetail? public var gameCenterGroup: GameCenterGroup? + /// - warning: Deprecated. public var groupLeaderboard: GroupLeaderboard? public var gameCenterLeaderboardSets: GameCenterLeaderboardSets? public var localizations: Localizations? @@ -178,6 +179,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } + @available(*, deprecated, message: "Deprecated") public struct GroupLeaderboard: Codable { public var links: RelationshipLinks? public var data: Data? diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageRequest.swift index 94b79948..2e023fc9 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageRequest.swift @@ -3,6 +3,7 @@ import Foundation +@available(*, deprecated, message: "Deprecated") public struct GameCenterLeaderboardGroupLeaderboardLinkageRequest: Codable { public var data: Data diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageResponse.swift index 40a955b1..42e2463b 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageResponse.swift @@ -3,6 +3,7 @@ import Foundation +@available(*, deprecated, message: "Deprecated") public struct GameCenterLeaderboardGroupLeaderboardLinkageResponse: Codable { public var data: Data public var links: DocumentLinks diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSet.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSet.swift index 5ab3789d..90dcdf98 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSet.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSet.swift @@ -39,6 +39,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { public struct Relationships: Codable { public var gameCenterDetail: GameCenterDetail? public var gameCenterGroup: GameCenterGroup? + /// - warning: Deprecated. public var groupLeaderboardSet: GroupLeaderboardSet? public var localizations: Localizations? public var gameCenterLeaderboards: GameCenterLeaderboards? @@ -132,6 +133,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } + @available(*, deprecated, message: "Deprecated") public struct GroupLeaderboardSet: Codable { public var links: RelationshipLinks? public var data: Data? diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest.swift index 9c3fe601..f6251172 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest.swift @@ -3,6 +3,7 @@ import Foundation +@available(*, deprecated, message: "Deprecated") public struct GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest: Codable { public var data: Data diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse.swift index f04819b0..5b2b8211 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse.swift @@ -3,6 +3,7 @@ import Foundation +@available(*, deprecated, message: "Deprecated") public struct GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse: Codable { public var data: Data public var links: DocumentLinks diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePoint.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePoint.swift index 2e9113cd..bb10bbfe 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePoint.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePoint.swift @@ -38,6 +38,7 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { public struct Relationships: Codable { public var territory: Territory? + public var equalizations: Equalizations? public struct Territory: Codable { public var data: Data? @@ -83,18 +84,39 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { } } - public init(territory: Territory? = nil) { + public struct Equalizations: Codable { + public var links: RelationshipLinks? + + public init(links: RelationshipLinks? = nil) { + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + } + } + + public init(territory: Territory? = nil, equalizations: Equalizations? = nil) { self.territory = territory + self.equalizations = equalizations } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.territory = try values.decodeIfPresent(Territory.self, forKey: "territory") + self.equalizations = try values.decodeIfPresent(Equalizations.self, forKey: "equalizations") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encodeIfPresent(territory, forKey: "territory") + try values.encodeIfPresent(equalizations, forKey: "equalizations") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceSchedule.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceSchedule.swift index f8eaa67e..7c880ce8 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceSchedule.swift @@ -14,55 +14,10 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } public struct Relationships: Codable { - public var inAppPurchase: InAppPurchase? public var baseTerritory: BaseTerritory? public var manualPrices: ManualPrices? public var automaticPrices: AutomaticPrices? - public struct InAppPurchase: Codable { - public var data: Data? - - public struct Data: Codable, Identifiable { - public var type: `Type` - public var id: String - - public enum `Type`: String, Codable, CaseIterable { - case inAppPurchases - } - - public init(type: `Type`, id: String) { - self.type = type - self.id = id - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - } - } - - public init(data: Data? = nil) { - self.data = data - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decodeIfPresent(Data.self, forKey: "data") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(data, forKey: "data") - } - } - public struct BaseTerritory: Codable { public var links: RelationshipLinks? public var data: Data? @@ -215,8 +170,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } } - public init(inAppPurchase: InAppPurchase? = nil, baseTerritory: BaseTerritory? = nil, manualPrices: ManualPrices? = nil, automaticPrices: AutomaticPrices? = nil) { - self.inAppPurchase = inAppPurchase + public init(baseTerritory: BaseTerritory? = nil, manualPrices: ManualPrices? = nil, automaticPrices: AutomaticPrices? = nil) { self.baseTerritory = baseTerritory self.manualPrices = manualPrices self.automaticPrices = automaticPrices @@ -224,7 +178,6 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.inAppPurchase = try values.decodeIfPresent(InAppPurchase.self, forKey: "inAppPurchase") self.baseTerritory = try values.decodeIfPresent(BaseTerritory.self, forKey: "baseTerritory") self.manualPrices = try values.decodeIfPresent(ManualPrices.self, forKey: "manualPrices") self.automaticPrices = try values.decodeIfPresent(AutomaticPrices.self, forKey: "automaticPrices") @@ -232,7 +185,6 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(inAppPurchase, forKey: "inAppPurchase") try values.encodeIfPresent(baseTerritory, forKey: "baseTerritory") try values.encodeIfPresent(manualPrices, forKey: "manualPrices") try values.encodeIfPresent(automaticPrices, forKey: "automaticPrices") diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleResponse.swift index cdc2547d..eea4dd9c 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleResponse.swift @@ -10,22 +10,19 @@ public struct InAppPurchasePriceScheduleResponse: Codable { public var links: DocumentLinks public enum IncludedItem: Codable { - case inAppPurchaseV2(InAppPurchaseV2) case territory(Territory) case inAppPurchasePrice(InAppPurchasePrice) public init(from decoder: Decoder) throws { let container = try decoder.singleValueContainer() - if let value = try? container.decode(InAppPurchaseV2.self) { - self = .inAppPurchaseV2(value) - } else if let value = try? container.decode(Territory.self) { + if let value = try? container.decode(Territory.self) { self = .territory(value) } else if let value = try? container.decode(InAppPurchasePrice.self) { self = .inAppPurchasePrice(value) } else { throw DecodingError.dataCorruptedError( in: container, - debugDescription: "Data could not be decoded as any of the expected types (InAppPurchaseV2, Territory, InAppPurchasePrice)." + debugDescription: "Data could not be decoded as any of the expected types (Territory, InAppPurchasePrice)." ) } } @@ -33,7 +30,6 @@ public struct InAppPurchasePriceScheduleResponse: Codable { public func encode(to encoder: Encoder) throws { var container = encoder.singleValueContainer() switch self { - case .inAppPurchaseV2(let value): try container.encode(value) case .territory(let value): try container.encode(value) case .inAppPurchasePrice(let value): try container.encode(value) } diff --git a/Sources/OpenAPI/Generated/Entities/PreviewFrameImage.swift b/Sources/OpenAPI/Generated/Entities/PreviewFrameImage.swift new file mode 100644 index 00000000..2e13683f --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/PreviewFrameImage.swift @@ -0,0 +1,26 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct PreviewFrameImage: Codable { + public var image: ImageAsset? + public var state: AppMediaPreviewFrameImageState? + + public init(image: ImageAsset? = nil, state: AppMediaPreviewFrameImageState? = nil) { + self.image = image + self.state = state + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.image = try values.decodeIfPresent(ImageAsset.self, forKey: "image") + self.state = try values.decodeIfPresent(AppMediaPreviewFrameImageState.self, forKey: "state") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(image, forKey: "image") + try values.encodeIfPresent(state, forKey: "state") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionAvailability.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionAvailability.swift index 46ac0c1e..610ac26a 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionAvailability.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionAvailability.swift @@ -33,53 +33,8 @@ public struct SubscriptionAvailability: Codable, Identifiable { } public struct Relationships: Codable { - public var subscription: Subscription? public var availableTerritories: AvailableTerritories? - public struct Subscription: Codable { - public var data: Data? - - public struct Data: Codable, Identifiable { - public var type: `Type` - public var id: String - - public enum `Type`: String, Codable, CaseIterable { - case subscriptions - } - - public init(type: `Type`, id: String) { - self.type = type - self.id = id - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - } - } - - public init(data: Data? = nil) { - self.data = data - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decodeIfPresent(Data.self, forKey: "data") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(data, forKey: "data") - } - } - public struct AvailableTerritories: Codable { public var links: RelationshipLinks? public var meta: PagingInformation? @@ -132,20 +87,17 @@ public struct SubscriptionAvailability: Codable, Identifiable { } } - public init(subscription: Subscription? = nil, availableTerritories: AvailableTerritories? = nil) { - self.subscription = subscription + public init(availableTerritories: AvailableTerritories? = nil) { self.availableTerritories = availableTerritories } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.subscription = try values.decodeIfPresent(Subscription.self, forKey: "subscription") self.availableTerritories = try values.decodeIfPresent(AvailableTerritories.self, forKey: "availableTerritories") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(subscription, forKey: "subscription") try values.encodeIfPresent(availableTerritories, forKey: "availableTerritories") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionAvailabilityResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionAvailabilityResponse.swift index 84363013..3d6cd6c5 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionAvailabilityResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionAvailabilityResponse.swift @@ -6,37 +6,10 @@ import Foundation public struct SubscriptionAvailabilityResponse: Codable { /// SubscriptionAvailability public var data: SubscriptionAvailability - public var included: [IncludedItem]? + public var included: [Territory]? public var links: DocumentLinks - public enum IncludedItem: Codable { - case subscription(Subscription) - case territory(Territory) - - public init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let value = try? container.decode(Subscription.self) { - self = .subscription(value) - } else if let value = try? container.decode(Territory.self) { - self = .territory(value) - } else { - throw DecodingError.dataCorruptedError( - in: container, - debugDescription: "Data could not be decoded as any of the expected types (Subscription, Territory)." - ) - } - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .subscription(let value): try container.encode(value) - case .territory(let value): try container.encode(value) - } - } - } - - public init(data: SubscriptionAvailability, included: [IncludedItem]? = nil, links: DocumentLinks) { + public init(data: SubscriptionAvailability, included: [Territory]? = nil, links: DocumentLinks) { self.data = data self.included = included self.links = links @@ -45,7 +18,7 @@ public struct SubscriptionAvailabilityResponse: Codable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.data = try values.decode(SubscriptionAvailability.self, forKey: "data") - self.included = try values.decodeIfPresent([IncludedItem].self, forKey: "included") + self.included = try values.decodeIfPresent([Territory].self, forKey: "included") self.links = try values.decode(DocumentLinks.self, forKey: "links") } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeys.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeys.swift index 6b48b86c..f8979f1f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeys.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeys.swift @@ -24,7 +24,6 @@ extension APIEndpoint.V1 { public enum FieldsAlternativeDistributionKeys: String, Codable, CaseIterable { case publicKey - case app } public init(isExistsApp: Bool? = nil, fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? = nil, limit: Int? = nil) { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeysWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeysWithID.swift index a31ed0c3..ac6e4543 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeysWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeysWithID.swift @@ -25,7 +25,6 @@ extension APIEndpoint.V1.AlternativeDistributionKeys { public enum FieldsAlternativeDistributionKeys: String, Codable, CaseIterable { case publicKey - case app } public var delete: Request { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithID.swift index 007bfe29..1462b59e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithID.swift @@ -24,7 +24,6 @@ extension APIEndpoint.V1.AlternativeDistributionPackages { public var limitVersions: Int? public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { - case appStoreVersion case versions } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDVersions.swift index 49936858..0c351b1a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDVersions.swift @@ -59,7 +59,6 @@ extension APIEndpoint.V1.AlternativeDistributionPackages.WithID { } public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { - case appStoreVersion case versions } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithID.swift index 95bf5e60..ad3b1066 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithID.swift @@ -26,7 +26,6 @@ extension APIEndpoint.V1.AnalyticsReportRequests { public enum FieldsAnalyticsReportRequests: String, Codable, CaseIterable { case accessType case stoppedDueToInactivity - case app case reports } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilities.swift deleted file mode 100644 index 4903548a..00000000 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilities.swift +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation -import URLQueryEncoder - -extension APIEndpoint.V1 { - public var appAvailabilities: AppAvailabilities { - AppAvailabilities(path: path + "/appAvailabilities") - } - - public struct AppAvailabilities { - /// Path: `/v1/appAvailabilities` - public let path: String - - @available(*, deprecated, message: "Deprecated") - public func post(_ body: AppStoreConnect_Swift_SDK.AppAvailabilityCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appAvailabilities_createInstance") - } - } -} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithID.swift deleted file mode 100644 index e410ba13..00000000 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithID.swift +++ /dev/null @@ -1,59 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation -import URLQueryEncoder - -extension APIEndpoint.V1.AppAvailabilities { - public func id(_ id: String) -> WithID { - WithID(path: "\(path)/\(id)") - } - - public struct WithID { - /// Path: `/v1/appAvailabilities/{id}` - public let path: String - - @available(*, deprecated, message: "Deprecated") - public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appAvailabilities_getInstance") - } - - public struct GetParameters { - public var fieldsAppAvailabilities: [FieldsAppAvailabilities]? - public var fieldsTerritories: [FieldsTerritories]? - public var include: [Include]? - public var limitAvailableTerritories: Int? - - public enum FieldsAppAvailabilities: String, Codable, CaseIterable { - case availableInNewTerritories - case app - case availableTerritories - } - - public enum FieldsTerritories: String, Codable, CaseIterable { - case currency - } - - public enum Include: String, Codable, CaseIterable { - case app - case availableTerritories - } - - public init(fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, include: [Include]? = nil, limitAvailableTerritories: Int? = nil) { - self.fieldsAppAvailabilities = fieldsAppAvailabilities - self.fieldsTerritories = fieldsTerritories - self.include = include - self.limitAvailableTerritories = limitAvailableTerritories - } - - public var asQuery: [(String, String?)] { - let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppAvailabilities, forKey: "fields[appAvailabilities]") - encoder.encode(fieldsTerritories, forKey: "fields[territories]") - encoder.encode(include, forKey: "include") - encoder.encode(limitAvailableTerritories, forKey: "limit[availableTerritories]") - return encoder.items - } - } - } -} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDAvailableTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDAvailableTerritories.swift deleted file mode 100644 index 17dd2037..00000000 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDAvailableTerritories.swift +++ /dev/null @@ -1,32 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation -import URLQueryEncoder - -extension APIEndpoint.V1.AppAvailabilities.WithID { - public var availableTerritories: AvailableTerritories { - AvailableTerritories(path: path + "/availableTerritories") - } - - public struct AvailableTerritories { - /// Path: `/v1/appAvailabilities/{id}/availableTerritories` - public let path: String - - @available(*, deprecated, message: "Deprecated") - public func get(fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "appAvailabilities_availableTerritories_getToManyRelated") - } - - private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?, _ limit: Int?) -> [(String, String?)] { - let encoder = URLQueryEncoder() - encoder.encode(fieldsTerritories, forKey: "fields[territories]", explode: false) - encoder.encode(limit, forKey: "limit") - return encoder.items - } - - public enum FieldsTerritories: String, Codable, CaseIterable { - case currency - } - } -} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImagesWithID.swift index 092d151f..31f7819d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImagesWithID.swift @@ -30,7 +30,6 @@ extension APIEndpoint.V1.AppClipAdvancedExperienceImages { case imageAsset case uploadOperations case assetDeliveryState - case uploaded } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipAdvancedExperienceImageUpdateRequest) -> Request { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiencesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiencesWithID.swift index ac3a177e..d5735b36 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiencesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiencesWithID.swift @@ -32,7 +32,6 @@ extension APIEndpoint.V1.AppClipAdvancedExperiences { case placeStatus case businessCategory case defaultLanguage - case removed case appClip case headerImage case localizations diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithID.swift index dd0a6bfa..043b8c1b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithID.swift @@ -36,7 +36,6 @@ extension APIEndpoint.V1.AppClipDefaultExperienceLocalizations { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case appClipDefaultExperienceLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDAppClipHeaderImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDAppClipHeaderImage.swift index 34cfef8d..2e81ff2a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDAppClipHeaderImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDAppClipHeaderImage.swift @@ -29,7 +29,6 @@ extension APIEndpoint.V1.AppClipDefaultExperienceLocalizations.WithID { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case appClipDefaultExperienceLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift index a7596ddf..cc978e46 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift @@ -31,7 +31,6 @@ extension APIEndpoint.V1.AppClipDefaultExperiences { case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations case appClipAppStoreReviewDetail - case appClipDefaultExperienceTemplate } public enum FieldsAppStoreVersions: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipAppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipAppStoreReviewDetail.swift index a7e1db9f..642c469b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipAppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipAppStoreReviewDetail.swift @@ -33,7 +33,6 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations case appClipAppStoreReviewDetail - case appClipDefaultExperienceTemplate } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipDefaultExperienceLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipDefaultExperienceLocalizations.swift index 20c9a163..c79567f0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipDefaultExperienceLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipDefaultExperienceLocalizations.swift @@ -38,7 +38,6 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations case appClipAppStoreReviewDetail - case appClipDefaultExperienceTemplate } public enum FieldsAppClipHeaderImages: String, Codable, CaseIterable { @@ -48,7 +47,6 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case appClipDefaultExperienceLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift index 4d2bf9a5..aeaf9afa 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift @@ -89,9 +89,7 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups @@ -179,7 +177,6 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case startDate case totalPauseDuration case currentDayNumber - case appStoreVersion } public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { @@ -194,7 +191,6 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded case appStoreVersion } @@ -221,7 +217,6 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations case appClipAppStoreReviewDetail - case appClipDefaultExperienceTemplate } public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { @@ -231,7 +226,6 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case reviewRequired case startDate case endDate - case started case appStoreVersion case appStoreVersionExperimentTreatments case platform @@ -241,7 +235,6 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { } public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { - case appStoreVersion case versions } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImagesWithID.swift index 31bc5b03..e0571b0b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImagesWithID.swift @@ -31,7 +31,6 @@ extension APIEndpoint.V1.AppClipHeaderImages { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case appClipDefaultExperienceLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithID.swift index ea17d145..12ca8f46 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithID.swift @@ -36,7 +36,6 @@ extension APIEndpoint.V1.AppClips { case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations case appClipAppStoreReviewDetail - case appClipDefaultExperienceTemplate } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipAdvancedExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipAdvancedExperiences.swift index 9332d563..2d1d7a47 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipAdvancedExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipAdvancedExperiences.swift @@ -57,7 +57,6 @@ extension APIEndpoint.V1.AppClips.WithID { case placeStatus case businessCategory case defaultLanguage - case removed case appClip case headerImage case localizations @@ -77,7 +76,6 @@ extension APIEndpoint.V1.AppClips.WithID { case imageAsset case uploadOperations case assetDeliveryState - case uploaded } public enum FieldsAppClipAdvancedExperienceLocalizations: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift index 3c6c9c4e..d3d5452d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift @@ -34,7 +34,6 @@ extension APIEndpoint.V1.AppClips.WithID { case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations case appClipAppStoreReviewDetail - case appClipDefaultExperienceTemplate } public enum FieldsAppClips: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift index 70d12d3c..e2cddb34 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift @@ -92,10 +92,11 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations.WithID { case previewFrameTimeCode case mimeType case videoURL = "videoUrl" + case previewFrameImage case previewImage case uploadOperations case assetDeliveryState - case uploaded + case videoDeliveryState case appPreviewSet } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift index 699771ff..af0426af 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift @@ -111,7 +111,6 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations.WithID { case assetType case uploadOperations case assetDeliveryState - case uploaded case appScreenshotSet } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithID.swift index 879e7c1e..2192233b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithID.swift @@ -29,8 +29,6 @@ extension APIEndpoint.V1.AppCustomProductPages { case visible case app case appCustomProductPageVersions - case appStoreVersionTemplate - case customProductPageTemplate } public enum FieldsAppCustomProductPageVersions: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDAppCustomProductPageVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDAppCustomProductPageVersions.swift index 0eb03b45..469b4b3e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDAppCustomProductPageVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDAppCustomProductPageVersions.swift @@ -51,8 +51,6 @@ extension APIEndpoint.V1.AppCustomProductPages.WithID { case visible case app case appCustomProductPageVersions - case appStoreVersionTemplate - case customProductPageTemplate } public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocumentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocumentsWithID.swift index 9c18c3f7..091f7da6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocumentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocumentsWithID.swift @@ -31,8 +31,6 @@ extension APIEndpoint.V1.AppEncryptionDeclarationDocuments { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded - case appEncryptionDeclaration } public func patch(_ body: AppStoreConnect_Swift_SDK.AppEncryptionDeclarationDocumentUpdateRequest) -> Request { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift index a449afaf..b0264a42 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift @@ -81,9 +81,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups @@ -111,8 +109,6 @@ extension APIEndpoint.V1 { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded - case appEncryptionDeclaration } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift index f4181c1a..71ffa1dd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift @@ -70,9 +70,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarations { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups @@ -100,8 +98,6 @@ extension APIEndpoint.V1.AppEncryptionDeclarations { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded - case appEncryptionDeclaration } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift index 35190dda..755c6661 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift @@ -50,9 +50,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarations.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDAppEncryptionDeclarationDocument.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDAppEncryptionDeclarationDocument.swift index 98635f90..44913c93 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDAppEncryptionDeclarationDocument.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDAppEncryptionDeclarationDocument.swift @@ -31,8 +31,6 @@ extension APIEndpoint.V1.AppEncryptionDeclarations.WithID { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded - case appEncryptionDeclaration } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithID.swift index 5ffdc5f4..781ac585 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithID.swift @@ -42,7 +42,6 @@ extension APIEndpoint.V1.AppEventLocalizations { case assetToken case uploadOperations case assetDeliveryState - case uploaded case appEventAssetType case appEventLocalization } @@ -52,10 +51,11 @@ extension APIEndpoint.V1.AppEventLocalizations { case fileName case previewFrameTimeCode case videoURL = "videoUrl" + case previewFrameImage case previewImage case uploadOperations case assetDeliveryState - case uploaded + case videoDeliveryState case appEventAssetType case appEventLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventScreenshots.swift index 976f004f..a45057aa 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventScreenshots.swift @@ -30,7 +30,6 @@ extension APIEndpoint.V1.AppEventLocalizations.WithID { case assetToken case uploadOperations case assetDeliveryState - case uploaded case appEventAssetType case appEventLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventVideoClips.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventVideoClips.swift index 587af6e6..d2147e95 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventVideoClips.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventVideoClips.swift @@ -28,10 +28,11 @@ extension APIEndpoint.V1.AppEventLocalizations.WithID { case fileName case previewFrameTimeCode case videoURL = "videoUrl" + case previewFrameImage case previewImage case uploadOperations case assetDeliveryState - case uploaded + case videoDeliveryState case appEventAssetType case appEventLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshotsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshotsWithID.swift index 04bc5115..dcac4973 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshotsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshotsWithID.swift @@ -31,7 +31,6 @@ extension APIEndpoint.V1.AppEventScreenshots { case assetToken case uploadOperations case assetDeliveryState - case uploaded case appEventAssetType case appEventLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClipsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClipsWithID.swift index 2f79a68d..d203b755 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClipsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClipsWithID.swift @@ -29,10 +29,11 @@ extension APIEndpoint.V1.AppEventVideoClips { case fileName case previewFrameTimeCode case videoURL = "videoUrl" + case previewFrameImage case previewImage case uploadOperations case assetDeliveryState - case uploaded + case videoDeliveryState case appEventAssetType case appEventLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithID.swift index e043e529..1b4e5bab 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithID.swift @@ -34,7 +34,6 @@ extension APIEndpoint.V1.AppEvents { case purpose case territorySchedules case archivedTerritorySchedules - case app case localizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDLocalizations.swift index 85373218..ee96b923 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDLocalizations.swift @@ -48,7 +48,6 @@ extension APIEndpoint.V1.AppEvents.WithID { case purpose case territorySchedules case archivedTerritorySchedules - case app case localizations } @@ -59,7 +58,6 @@ extension APIEndpoint.V1.AppEvents.WithID { case assetToken case uploadOperations case assetDeliveryState - case uploaded case appEventAssetType case appEventLocalization } @@ -69,10 +67,11 @@ extension APIEndpoint.V1.AppEvents.WithID { case fileName case previewFrameTimeCode case videoURL = "videoUrl" + case previewFrameImage case previewImage case uploadOperations case assetDeliveryState - case uploaded + case videoDeliveryState case appEventAssetType case appEventLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift index 202064ef..10ce694a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift @@ -32,6 +32,7 @@ extension APIEndpoint.V1.AppInfos { case australiaAgeRating case brazilAgeRating case brazilAgeRatingV2 + case franceAgeRating case koreaAgeRating case kidsAgeBand case app diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift index 71b72cf3..eccf849b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift @@ -41,6 +41,7 @@ extension APIEndpoint.V1.AppInfos.WithID { case australiaAgeRating case brazilAgeRating case brazilAgeRatingV2 + case franceAgeRating case koreaAgeRating case kidsAgeBand case app diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrders.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrders.swift deleted file mode 100644 index 6567a531..00000000 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrders.swift +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation -import URLQueryEncoder - -extension APIEndpoint.V1 { - public var appPreOrders: AppPreOrders { - AppPreOrders(path: path + "/appPreOrders") - } - - public struct AppPreOrders { - /// Path: `/v1/appPreOrders` - public let path: String - - @available(*, deprecated, message: "Deprecated") - public func post(_ body: AppStoreConnect_Swift_SDK.AppPreOrderCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appPreOrders_createInstance") - } - } -} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrdersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrdersWithID.swift deleted file mode 100644 index 9f56b4f5..00000000 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrdersWithID.swift +++ /dev/null @@ -1,48 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation -import URLQueryEncoder - -extension APIEndpoint.V1.AppPreOrders { - public func id(_ id: String) -> WithID { - WithID(path: "\(path)/\(id)") - } - - public struct WithID { - /// Path: `/v1/appPreOrders/{id}` - public let path: String - - @available(*, deprecated, message: "Deprecated") - public func get(fieldsAppPreOrders: [FieldsAppPreOrders]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPreOrders, include), id: "appPreOrders_getInstance") - } - - private func makeGetQuery(_ fieldsAppPreOrders: [FieldsAppPreOrders]?, _ include: [Include]?) -> [(String, String?)] { - let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppPreOrders, forKey: "fields[appPreOrders]") - encoder.encode(include, forKey: "include") - return encoder.items - } - - public enum FieldsAppPreOrders: String, Codable, CaseIterable { - case preOrderAvailableDate - case appReleaseDate - case app - } - - public enum Include: String, Codable, CaseIterable { - case app - } - - @available(*, deprecated, message: "Deprecated") - public func patch(_ body: AppStoreConnect_Swift_SDK.AppPreOrderUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appPreOrders_updateInstance") - } - - @available(*, deprecated, message: "Deprecated") - public var delete: Request { - Request(path: path, method: "DELETE", id: "appPreOrders_deleteInstance") - } - } -} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithID.swift index 5d3b9017..cf13c4a7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithID.swift @@ -38,10 +38,11 @@ extension APIEndpoint.V1.AppPreviewSets { case previewFrameTimeCode case mimeType case videoURL = "videoUrl" + case previewFrameImage case previewImage case uploadOperations case assetDeliveryState - case uploaded + case videoDeliveryState case appPreviewSet } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDAppPreviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDAppPreviews.swift index e4f812eb..fff7e952 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDAppPreviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDAppPreviews.swift @@ -30,10 +30,11 @@ extension APIEndpoint.V1.AppPreviewSets.WithID { case previewFrameTimeCode case mimeType case videoURL = "videoUrl" + case previewFrameImage case previewImage case uploadOperations case assetDeliveryState - case uploaded + case videoDeliveryState case appPreviewSet } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewsWithID.swift index 8ffe0a21..cb56348c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewsWithID.swift @@ -31,10 +31,11 @@ extension APIEndpoint.V1.AppPreviews { case previewFrameTimeCode case mimeType case videoURL = "videoUrl" + case previewFrameImage case previewImage case uploadOperations case assetDeliveryState - case uploaded + case videoDeliveryState case appPreviewSet } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithID.swift index e9443ddc..ab3d704b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithID.swift @@ -40,7 +40,6 @@ extension APIEndpoint.V1.AppScreenshotSets { case assetType case uploadOperations case assetDeliveryState - case uploaded case appScreenshotSet } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDAppScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDAppScreenshots.swift index 2db2d2f5..e90f0b8d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDAppScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDAppScreenshots.swift @@ -32,7 +32,6 @@ extension APIEndpoint.V1.AppScreenshotSets.WithID { case assetType case uploadOperations case assetDeliveryState - case uploaded case appScreenshotSet } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotsWithID.swift index ddfe5fc2..d91c0c3e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotsWithID.swift @@ -33,7 +33,6 @@ extension APIEndpoint.V1.AppScreenshots { case assetType case uploadOperations case assetDeliveryState - case uploaded case appScreenshotSet } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachmentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachmentsWithID.swift index 84da358b..9a5ad25d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachmentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachmentsWithID.swift @@ -30,7 +30,6 @@ extension APIEndpoint.V1.AppStoreReviewAttachments { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded case appStoreReviewDetail } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithID.swift index b268843e..ac38d3d6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithID.swift @@ -42,7 +42,6 @@ extension APIEndpoint.V1.AppStoreReviewDetails { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded case appStoreReviewDetail } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDAppStoreReviewAttachments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDAppStoreReviewAttachments.swift index bf1b0c70..4d78a930 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDAppStoreReviewAttachments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDAppStoreReviewAttachments.swift @@ -29,7 +29,6 @@ extension APIEndpoint.V1.AppStoreReviewDetails.WithID { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded case appStoreReviewDetail } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift index 6f152368..c115abaf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift @@ -92,10 +92,11 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations.WithID case previewFrameTimeCode case mimeType case videoURL = "videoUrl" + case previewFrameImage case previewImage case uploadOperations case assetDeliveryState - case uploaded + case videoDeliveryState case appPreviewSet } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift index 174d6f99..4683b049 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift @@ -111,7 +111,6 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations.WithID case assetType case uploadOperations case assetDeliveryState - case uploaded case appScreenshotSet } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithID.swift index fe132bf6..be260646 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithID.swift @@ -31,7 +31,6 @@ extension APIEndpoint.V1.AppStoreVersionExperiments { case reviewRequired case startDate case endDate - case started case appStoreVersion case appStoreVersionExperimentTreatments } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift index 60e13326..cf6a9a95 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift @@ -43,7 +43,6 @@ extension APIEndpoint.V1.AppStoreVersionExperiments.WithID { case reviewRequired case startDate case endDate - case started case appStoreVersion case appStoreVersionExperimentTreatments case platform diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift index 9e29f23b..bde0aed0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift @@ -92,10 +92,11 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { case previewFrameTimeCode case mimeType case videoURL = "videoUrl" + case previewFrameImage case previewImage case uploadOperations case assetDeliveryState - case uploaded + case videoDeliveryState case appPreviewSet } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift index 40a391a5..ea229bda 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift @@ -111,7 +111,6 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { case assetType case uploadOperations case assetDeliveryState - case uploaded case appScreenshotSet } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift index 2c7e2955..3fffcedf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift @@ -130,7 +130,6 @@ extension APIEndpoint.V1.AppStoreVersions { case startDate case totalPauseDuration case currentDayNumber - case appStoreVersion } public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { @@ -145,7 +144,6 @@ extension APIEndpoint.V1.AppStoreVersions { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded case appStoreVersion } @@ -172,7 +170,6 @@ extension APIEndpoint.V1.AppStoreVersions { case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations case appClipAppStoreReviewDetail - case appClipDefaultExperienceTemplate } public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { @@ -182,7 +179,6 @@ extension APIEndpoint.V1.AppStoreVersions { case reviewRequired case startDate case endDate - case started case appStoreVersion case appStoreVersionExperimentTreatments case platform @@ -192,7 +188,6 @@ extension APIEndpoint.V1.AppStoreVersions { } public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { - case appStoreVersion case versions } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAlternativeDistributionPackage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAlternativeDistributionPackage.swift index 5fd261f6..87201e5b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAlternativeDistributionPackage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAlternativeDistributionPackage.swift @@ -24,7 +24,6 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public var limitVersions: Int? public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { - case appStoreVersion case versions } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift index 59faf602..7bd02fd1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift @@ -32,7 +32,6 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations case appClipAppStoreReviewDetail - case appClipDefaultExperienceTemplate } public enum FieldsAppClips: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift index e4e0d6bb..799c2d93 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift @@ -70,7 +70,6 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded case appStoreReviewDetail } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift index 05e01ea3..60032528 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift @@ -46,7 +46,6 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case reviewRequired case startDate case endDate - case started case appStoreVersion case appStoreVersionExperimentTreatments } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift index eec7652b..ae4e2dc6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift @@ -48,7 +48,6 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case reviewRequired case startDate case endDate - case started case app case latestControlVersion case controlVersions @@ -81,9 +80,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionPhasedRelease.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionPhasedRelease.swift index f0d12982..41e83241 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionPhasedRelease.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionPhasedRelease.swift @@ -28,7 +28,6 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case startDate case totalPauseDuration case currentDayNumber - case appStoreVersion } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRoutingAppCoverage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRoutingAppCoverage.swift index 2ca5a048..4eb8aa28 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRoutingAppCoverage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRoutingAppCoverage.swift @@ -29,7 +29,6 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded case appStoreVersion } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift index 681c68bd..76c83128 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift @@ -43,7 +43,6 @@ extension APIEndpoint.V1 { public var fieldsAppInfos: [FieldsAppInfos]? public var fieldsAppClips: [FieldsAppClips]? public var fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? - public var fieldsAppPreOrders: [FieldsAppPreOrders]? public var fieldsInAppPurchases: [FieldsInAppPurchases]? public var fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? public var fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? @@ -174,9 +173,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups @@ -340,6 +337,7 @@ extension APIEndpoint.V1 { case australiaAgeRating case brazilAgeRating case brazilAgeRatingV2 + case franceAgeRating case koreaAgeRating case kidsAgeBand case app @@ -366,12 +364,6 @@ extension APIEndpoint.V1 { case territories } - public enum FieldsAppPreOrders: String, Codable, CaseIterable { - case preOrderAvailableDate - case appReleaseDate - case app - } - public enum FieldsInAppPurchases: String, Codable, CaseIterable { case referenceName case productID = "productId" @@ -382,7 +374,6 @@ extension APIEndpoint.V1 { case reviewNote case familySharable case contentHosting - case app case inAppPurchaseLocalizations case pricePoints case content @@ -395,7 +386,6 @@ extension APIEndpoint.V1 { public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { case referenceName - case app case subscriptions case subscriptionGroupLocalizations } @@ -414,15 +404,12 @@ extension APIEndpoint.V1 { case visible case app case appCustomProductPageVersions - case appStoreVersionTemplate - case customProductPageTemplate } public enum FieldsPromotedPurchases: String, Codable, CaseIterable { case visibleForAllUsers case enabled case state - case app case inAppPurchaseV2 case subscription case promotionImages @@ -439,7 +426,6 @@ extension APIEndpoint.V1 { case purpose case territorySchedules case archivedTerritorySchedules - case app case localizations } @@ -447,8 +433,6 @@ extension APIEndpoint.V1 { case platform case submittedDate case state - case submitted - case canceled case app case items case appStoreVersionForReview @@ -487,7 +471,6 @@ extension APIEndpoint.V1 { case reviewRequired case startDate case endDate - case started case app case latestControlVersion case controlVersions @@ -507,7 +490,6 @@ extension APIEndpoint.V1 { case appInfos case appClips case endUserLicenseAgreement - case preOrder case inAppPurchases case subscriptionGroups case gameCenterEnabledVersions @@ -521,7 +503,7 @@ extension APIEndpoint.V1 { case appStoreVersionExperimentsV2 } - public init(filterName: [String]? = nil, filterBundleID: [String]? = nil, filterSku: [String]? = nil, filterAppStoreVersionsAppStoreState: [FilterAppStoreVersionsAppStoreState]? = nil, filterAppStoreVersionsPlatform: [FilterAppStoreVersionsPlatform]? = nil, filterAppStoreVersionsAppVersionState: [FilterAppStoreVersionsAppVersionState]? = nil, filterReviewSubmissionsState: [FilterReviewSubmissionsState]? = nil, filterReviewSubmissionsPlatform: [FilterReviewSubmissionsPlatform]? = nil, filterAppStoreVersions: [String]? = nil, filterID: [String]? = nil, isExistsGameCenterEnabledVersions: Bool? = nil, sort: [Sort]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsAppPreOrders: [FieldsAppPreOrders]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppClips: Int? = nil, limitAppCustomProductPages: Int? = nil, limitAppEncryptionDeclarations: Int? = nil, limitAppEvents: Int? = nil, limitAppInfos: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, limitAppStoreVersions: Int? = nil, limitBetaAppLocalizations: Int? = nil, limitBetaGroups: Int? = nil, limitBuilds: Int? = nil, limitGameCenterEnabledVersions: Int? = nil, limitInAppPurchases: Int? = nil, limitInAppPurchasesV2: Int? = nil, limitPreReleaseVersions: Int? = nil, limitPromotedPurchases: Int? = nil, limitReviewSubmissions: Int? = nil, limitSubscriptionGroups: Int? = nil) { + public init(filterName: [String]? = nil, filterBundleID: [String]? = nil, filterSku: [String]? = nil, filterAppStoreVersionsAppStoreState: [FilterAppStoreVersionsAppStoreState]? = nil, filterAppStoreVersionsPlatform: [FilterAppStoreVersionsPlatform]? = nil, filterAppStoreVersionsAppVersionState: [FilterAppStoreVersionsAppVersionState]? = nil, filterReviewSubmissionsState: [FilterReviewSubmissionsState]? = nil, filterReviewSubmissionsPlatform: [FilterReviewSubmissionsPlatform]? = nil, filterAppStoreVersions: [String]? = nil, filterID: [String]? = nil, isExistsGameCenterEnabledVersions: Bool? = nil, sort: [Sort]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppClips: Int? = nil, limitAppCustomProductPages: Int? = nil, limitAppEncryptionDeclarations: Int? = nil, limitAppEvents: Int? = nil, limitAppInfos: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, limitAppStoreVersions: Int? = nil, limitBetaAppLocalizations: Int? = nil, limitBetaGroups: Int? = nil, limitBuilds: Int? = nil, limitGameCenterEnabledVersions: Int? = nil, limitInAppPurchases: Int? = nil, limitInAppPurchasesV2: Int? = nil, limitPreReleaseVersions: Int? = nil, limitPromotedPurchases: Int? = nil, limitReviewSubmissions: Int? = nil, limitSubscriptionGroups: Int? = nil) { self.filterName = filterName self.filterBundleID = filterBundleID self.filterSku = filterSku @@ -547,7 +529,6 @@ extension APIEndpoint.V1 { self.fieldsAppInfos = fieldsAppInfos self.fieldsAppClips = fieldsAppClips self.fieldsEndUserLicenseAgreements = fieldsEndUserLicenseAgreements - self.fieldsAppPreOrders = fieldsAppPreOrders self.fieldsInAppPurchases = fieldsInAppPurchases self.fieldsSubscriptionGroups = fieldsSubscriptionGroups self.fieldsGameCenterEnabledVersions = fieldsGameCenterEnabledVersions @@ -606,7 +587,6 @@ extension APIEndpoint.V1 { encoder.encode(fieldsAppInfos, forKey: "fields[appInfos]") encoder.encode(fieldsAppClips, forKey: "fields[appClips]") encoder.encode(fieldsEndUserLicenseAgreements, forKey: "fields[endUserLicenseAgreements]") - encoder.encode(fieldsAppPreOrders, forKey: "fields[appPreOrders]") encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") encoder.encode(fieldsSubscriptionGroups, forKey: "fields[subscriptionGroups]") encoder.encode(fieldsGameCenterEnabledVersions, forKey: "fields[gameCenterEnabledVersions]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift index e1664313..47b5dd37 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift @@ -31,7 +31,6 @@ extension APIEndpoint.V1.Apps { public var fieldsAppInfos: [FieldsAppInfos]? public var fieldsAppClips: [FieldsAppClips]? public var fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? - public var fieldsAppPreOrders: [FieldsAppPreOrders]? public var fieldsInAppPurchases: [FieldsInAppPurchases]? public var fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? public var fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? @@ -87,9 +86,7 @@ extension APIEndpoint.V1.Apps { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups @@ -253,6 +250,7 @@ extension APIEndpoint.V1.Apps { case australiaAgeRating case brazilAgeRating case brazilAgeRatingV2 + case franceAgeRating case koreaAgeRating case kidsAgeBand case app @@ -279,12 +277,6 @@ extension APIEndpoint.V1.Apps { case territories } - public enum FieldsAppPreOrders: String, Codable, CaseIterable { - case preOrderAvailableDate - case appReleaseDate - case app - } - public enum FieldsInAppPurchases: String, Codable, CaseIterable { case referenceName case productID = "productId" @@ -295,7 +287,6 @@ extension APIEndpoint.V1.Apps { case reviewNote case familySharable case contentHosting - case app case inAppPurchaseLocalizations case pricePoints case content @@ -308,7 +299,6 @@ extension APIEndpoint.V1.Apps { public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { case referenceName - case app case subscriptions case subscriptionGroupLocalizations } @@ -327,15 +317,12 @@ extension APIEndpoint.V1.Apps { case visible case app case appCustomProductPageVersions - case appStoreVersionTemplate - case customProductPageTemplate } public enum FieldsPromotedPurchases: String, Codable, CaseIterable { case visibleForAllUsers case enabled case state - case app case inAppPurchaseV2 case subscription case promotionImages @@ -352,7 +339,6 @@ extension APIEndpoint.V1.Apps { case purpose case territorySchedules case archivedTerritorySchedules - case app case localizations } @@ -360,8 +346,6 @@ extension APIEndpoint.V1.Apps { case platform case submittedDate case state - case submitted - case canceled case app case items case appStoreVersionForReview @@ -400,7 +384,6 @@ extension APIEndpoint.V1.Apps { case reviewRequired case startDate case endDate - case started case app case latestControlVersion case controlVersions @@ -420,7 +403,6 @@ extension APIEndpoint.V1.Apps { case appInfos case appClips case endUserLicenseAgreement - case preOrder case inAppPurchases case subscriptionGroups case gameCenterEnabledVersions @@ -434,7 +416,7 @@ extension APIEndpoint.V1.Apps { case appStoreVersionExperimentsV2 } - public init(fieldsApps: [FieldsApps]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsAppPreOrders: [FieldsAppPreOrders]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, include: [Include]? = nil, limitAppClips: Int? = nil, limitAppCustomProductPages: Int? = nil, limitAppEncryptionDeclarations: Int? = nil, limitAppEvents: Int? = nil, limitAppInfos: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, limitAppStoreVersions: Int? = nil, limitBetaAppLocalizations: Int? = nil, limitBetaGroups: Int? = nil, limitBuilds: Int? = nil, limitGameCenterEnabledVersions: Int? = nil, limitInAppPurchases: Int? = nil, limitInAppPurchasesV2: Int? = nil, limitPreReleaseVersions: Int? = nil, limitPromotedPurchases: Int? = nil, limitReviewSubmissions: Int? = nil, limitSubscriptionGroups: Int? = nil) { + public init(fieldsApps: [FieldsApps]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, include: [Include]? = nil, limitAppClips: Int? = nil, limitAppCustomProductPages: Int? = nil, limitAppEncryptionDeclarations: Int? = nil, limitAppEvents: Int? = nil, limitAppInfos: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, limitAppStoreVersions: Int? = nil, limitBetaAppLocalizations: Int? = nil, limitBetaGroups: Int? = nil, limitBuilds: Int? = nil, limitGameCenterEnabledVersions: Int? = nil, limitInAppPurchases: Int? = nil, limitInAppPurchasesV2: Int? = nil, limitPreReleaseVersions: Int? = nil, limitPromotedPurchases: Int? = nil, limitReviewSubmissions: Int? = nil, limitSubscriptionGroups: Int? = nil) { self.fieldsApps = fieldsApps self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations self.fieldsCiProducts = fieldsCiProducts @@ -448,7 +430,6 @@ extension APIEndpoint.V1.Apps { self.fieldsAppInfos = fieldsAppInfos self.fieldsAppClips = fieldsAppClips self.fieldsEndUserLicenseAgreements = fieldsEndUserLicenseAgreements - self.fieldsAppPreOrders = fieldsAppPreOrders self.fieldsInAppPurchases = fieldsInAppPurchases self.fieldsSubscriptionGroups = fieldsSubscriptionGroups self.fieldsGameCenterEnabledVersions = fieldsGameCenterEnabledVersions @@ -494,7 +475,6 @@ extension APIEndpoint.V1.Apps { encoder.encode(fieldsAppInfos, forKey: "fields[appInfos]") encoder.encode(fieldsAppClips, forKey: "fields[appClips]") encoder.encode(fieldsEndUserLicenseAgreements, forKey: "fields[endUserLicenseAgreements]") - encoder.encode(fieldsAppPreOrders, forKey: "fields[appPreOrders]") encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") encoder.encode(fieldsSubscriptionGroups, forKey: "fields[subscriptionGroups]") encoder.encode(fieldsGameCenterEnabledVersions, forKey: "fields[gameCenterEnabledVersions]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAlternativeDistributionKey.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAlternativeDistributionKey.swift index c0a9b0d8..9ce1929d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAlternativeDistributionKey.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAlternativeDistributionKey.swift @@ -25,7 +25,6 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsAlternativeDistributionKeys: String, Codable, CaseIterable { case publicKey - case app } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAnalyticsReportRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAnalyticsReportRequests.swift index 8eddf214..f52f6331 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAnalyticsReportRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAnalyticsReportRequests.swift @@ -33,7 +33,6 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsAnalyticsReportRequests: String, Codable, CaseIterable { case accessType case stoppedDueToInactivity - case app case reports } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift deleted file mode 100644 index a51163fd..00000000 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift +++ /dev/null @@ -1,110 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation -import URLQueryEncoder - -extension APIEndpoint.V1.Apps.WithID { - public var appAvailability: AppAvailability { - AppAvailability(path: path + "/appAvailability") - } - - public struct AppAvailability { - /// Path: `/v1/apps/{id}/appAvailability` - public let path: String - - @available(*, deprecated, message: "Deprecated") - public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_appAvailability_getToOneRelated") - } - - public struct GetParameters { - public var fieldsAppAvailabilities: [FieldsAppAvailabilities]? - public var fieldsApps: [FieldsApps]? - public var fieldsTerritories: [FieldsTerritories]? - public var include: [Include]? - public var limitAvailableTerritories: Int? - - public enum FieldsAppAvailabilities: String, Codable, CaseIterable { - case availableInNewTerritories - case app - case availableTerritories - } - - public enum FieldsApps: String, Codable, CaseIterable { - case name - case bundleID = "bundleId" - case sku - case primaryLocale - case isOrEverWasMadeForKids - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" - case contentRightsDeclaration - case streamlinedPurchasingEnabled - case appEncryptionDeclarations - case ciProduct - case betaTesters - case betaGroups - case appStoreVersions - case preReleaseVersions - case betaAppLocalizations - case builds - case betaLicenseAgreement - case betaAppReviewDetail - case appInfos - case appClips - case appPricePoints - case endUserLicenseAgreement - case preOrder - case appPriceSchedule - case appAvailability - case appAvailabilityV2 - case inAppPurchases - case subscriptionGroups - case gameCenterEnabledVersions - case perfPowerMetrics - case appCustomProductPages - case inAppPurchasesV2 - case promotedPurchases - case appEvents - case reviewSubmissions - case subscriptionGracePeriod - case customerReviews - case gameCenterDetail - case appStoreVersionExperimentsV2 - case alternativeDistributionKey - case analyticsReportRequests - case marketplaceSearchDetail - } - - public enum FieldsTerritories: String, Codable, CaseIterable { - case currency - } - - public enum Include: String, Codable, CaseIterable { - case app - case availableTerritories - } - - public init(fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, include: [Include]? = nil, limitAvailableTerritories: Int? = nil) { - self.fieldsAppAvailabilities = fieldsAppAvailabilities - self.fieldsApps = fieldsApps - self.fieldsTerritories = fieldsTerritories - self.include = include - self.limitAvailableTerritories = limitAvailableTerritories - } - - public var asQuery: [(String, String?)] { - let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppAvailabilities, forKey: "fields[appAvailabilities]") - encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(fieldsTerritories, forKey: "fields[territories]") - encoder.encode(include, forKey: "include") - encoder.encode(limitAvailableTerritories, forKey: "limit[availableTerritories]") - return encoder.items - } - } - } -} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailabilityV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailabilityV2.swift index 5d875afc..3bb45217 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailabilityV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailabilityV2.swift @@ -25,7 +25,6 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsAppAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case app case territoryAvailabilities } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift index 62b6fb2a..5ef39af8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift @@ -59,9 +59,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups @@ -87,7 +85,6 @@ extension APIEndpoint.V1.Apps.WithID { case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations case appClipAppStoreReviewDetail - case appClipDefaultExperienceTemplate } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift index d5108ed3..d422984d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift @@ -32,8 +32,6 @@ extension APIEndpoint.V1.Apps.WithID { case visible case app case appCustomProductPageVersions - case appStoreVersionTemplate - case customProductPageTemplate } public enum FieldsApps: String, Codable, CaseIterable { @@ -62,9 +60,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift index 3a736b86..aa972159 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift @@ -81,9 +81,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups @@ -138,8 +136,6 @@ extension APIEndpoint.V1.Apps.WithID { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded - case appEncryptionDeclaration } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEvents.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEvents.swift index f55e75df..18f6d790 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEvents.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEvents.swift @@ -50,7 +50,6 @@ extension APIEndpoint.V1.Apps.WithID { case purpose case territorySchedules case archivedTerritorySchedules - case app case localizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift index 7ad05162..b7ad071e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift @@ -34,6 +34,7 @@ extension APIEndpoint.V1.Apps.WithID { case australiaAgeRating case brazilAgeRating case brazilAgeRatingV2 + case franceAgeRating case koreaAgeRating case kidsAgeBand case app @@ -73,9 +74,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift index 72687bf8..6e0a509f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift @@ -59,9 +59,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift index baa4f9d3..1d2bc4cf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift @@ -59,9 +59,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift index d8cf2488..f6c2cc79 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift @@ -48,7 +48,6 @@ extension APIEndpoint.V1.Apps.WithID { case reviewRequired case startDate case endDate - case started case app case latestControlVersion case controlVersions @@ -81,9 +80,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift index e6d7bff0..27e2b7de 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift @@ -143,9 +143,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups @@ -233,7 +231,6 @@ extension APIEndpoint.V1.Apps.WithID { case startDate case totalPauseDuration case currentDayNumber - case appStoreVersion } public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { @@ -248,7 +245,6 @@ extension APIEndpoint.V1.Apps.WithID { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded case appStoreVersion } @@ -275,7 +271,6 @@ extension APIEndpoint.V1.Apps.WithID { case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations case appClipAppStoreReviewDetail - case appClipDefaultExperienceTemplate } public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { @@ -285,7 +280,6 @@ extension APIEndpoint.V1.Apps.WithID { case reviewRequired case startDate case endDate - case started case appStoreVersion case appStoreVersionExperimentTreatments case platform @@ -295,7 +289,6 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { - case appStoreVersion case versions } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift index 7a48b644..5d18c3c9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift @@ -63,9 +63,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift index fe877920..ebeaa960 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift @@ -79,9 +79,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift index fa5797b5..b4f830df 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift @@ -75,9 +75,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift index 68eb2211..5ace345c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift @@ -79,9 +79,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift index 63d675fd..1eef70ab 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift @@ -72,7 +72,6 @@ extension APIEndpoint.V1.Apps.WithID { case reviewNote case familySharable case contentHosting - case app case inAppPurchaseLocalizations case pricePoints case content @@ -108,7 +107,6 @@ extension APIEndpoint.V1.Apps.WithID { case assetType case uploadOperations case assetDeliveryState - case uploaded case inAppPurchaseV2 } @@ -116,14 +114,12 @@ extension APIEndpoint.V1.Apps.WithID { case visibleForAllUsers case enabled case state - case app case inAppPurchaseV2 case subscription case promotionImages } public enum FieldsInAppPurchasePriceSchedules: String, Codable, CaseIterable { - case inAppPurchase case baseTerritory case manualPrices case automaticPrices @@ -131,7 +127,6 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsInAppPurchaseAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case inAppPurchase case availableTerritories } @@ -142,7 +137,6 @@ extension APIEndpoint.V1.Apps.WithID { case assetToken case imageAsset case uploadOperations - case uploaded case state case inAppPurchase } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMarketplaceSearchDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMarketplaceSearchDetail.swift index 4cafce8d..fe22a966 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMarketplaceSearchDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMarketplaceSearchDetail.swift @@ -25,7 +25,6 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsMarketplaceSearchDetails: String, Codable, CaseIterable { case catalogURL = "catalogUrl" - case app } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreOrder.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreOrder.swift deleted file mode 100644 index 406c5c42..00000000 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreOrder.swift +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation -import URLQueryEncoder - -extension APIEndpoint.V1.Apps.WithID { - public var preOrder: PreOrder { - PreOrder(path: path + "/preOrder") - } - - public struct PreOrder { - /// Path: `/v1/apps/{id}/preOrder` - public let path: String - - @available(*, deprecated, message: "Deprecated") - public func get(fieldsAppPreOrders: [FieldsAppPreOrders]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPreOrders), id: "apps_preOrder_getToOneRelated") - } - - private func makeGetQuery(_ fieldsAppPreOrders: [FieldsAppPreOrders]?) -> [(String, String?)] { - let encoder = URLQueryEncoder() - encoder.encode(fieldsAppPreOrders, forKey: "fields[appPreOrders]", explode: false) - return encoder.items - } - - public enum FieldsAppPreOrders: String, Codable, CaseIterable { - case preOrderAvailableDate - case appReleaseDate - case app - } - } -} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift index fc25b0d5..02ba0130 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift @@ -30,7 +30,6 @@ extension APIEndpoint.V1.Apps.WithID { case visibleForAllUsers case enabled case state - case app case inAppPurchaseV2 case subscription case promotionImages @@ -44,7 +43,6 @@ extension APIEndpoint.V1.Apps.WithID { case reviewNote case familySharable case contentHosting - case app case inAppPurchaseLocalizations case pricePoints case content @@ -85,7 +83,6 @@ extension APIEndpoint.V1.Apps.WithID { case imageAsset case assetType case uploadOperations - case uploaded case state case promotedPurchase } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift index b15d6ad4..8821a1c2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift @@ -50,8 +50,6 @@ extension APIEndpoint.V1.Apps.WithID { case platform case submittedDate case state - case submitted - case canceled case app case items case appStoreVersionForReview @@ -85,9 +83,7 @@ extension APIEndpoint.V1.Apps.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups @@ -109,9 +105,6 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsReviewSubmissionItems: String, Codable, CaseIterable { case state - case resolved - case removed - case reviewSubmission case appStoreVersion case appCustomProductPageVersion case appStoreVersionExperiment diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift index 60d0de96..e2acb489 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift @@ -49,7 +49,6 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { case referenceName - case app case subscriptions case subscriptionGroupLocalizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationsWithID.swift index 6fa58ad3..d63d694c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationsWithID.swift @@ -24,7 +24,6 @@ extension APIEndpoint.V1.BetaAppClipInvocations { public enum FieldsBetaAppClipInvocations: String, Codable, CaseIterable { case url - case buildBundle case betaAppClipInvocationLocalizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift index 596693c4..39f9d3f7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift @@ -61,9 +61,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift index a2fdc5e1..f3223624 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift @@ -58,9 +58,7 @@ extension APIEndpoint.V1.BetaAppLocalizations { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift index 14a186c3..ff7234d2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift @@ -49,9 +49,7 @@ extension APIEndpoint.V1.BetaAppLocalizations.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift index 420195e8..1133bded 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift @@ -62,9 +62,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift index 456f7ace..a417c01e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift @@ -60,9 +60,7 @@ extension APIEndpoint.V1.BetaAppReviewDetails { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift index 847de91a..46d4cf73 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift @@ -49,9 +49,7 @@ extension APIEndpoint.V1.BetaAppReviewDetails.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift index 6d510f26..04c17e4d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift @@ -90,9 +90,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift index 57f8b7d8..abe481f4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift @@ -69,9 +69,7 @@ extension APIEndpoint.V1.BetaGroups { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift index d0aed8ad..742962a6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift @@ -49,9 +49,7 @@ extension APIEndpoint.V1.BetaGroups.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift index a2e6e778..9c5a8599 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift @@ -55,9 +55,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift index b415893e..c2a76293 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift @@ -53,9 +53,7 @@ extension APIEndpoint.V1.BetaLicenseAgreements { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift index 8f7d2386..bb45f7a4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift @@ -49,9 +49,7 @@ extension APIEndpoint.V1.BetaLicenseAgreements.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift index 92303edc..db0e37c9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift @@ -92,9 +92,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift index 36963d0a..fb50d9bb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift @@ -64,9 +64,7 @@ extension APIEndpoint.V1.BetaTesters { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift index f8cfea0d..78e95775 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift @@ -50,9 +50,7 @@ extension APIEndpoint.V1.BetaTesters.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBetaAppClipInvocations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBetaAppClipInvocations.swift index 173507dc..73f0ba89 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBetaAppClipInvocations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBetaAppClipInvocations.swift @@ -26,14 +26,12 @@ extension APIEndpoint.V1.BuildBundles.WithID { public enum FieldsBetaAppClipInvocations: String, Codable, CaseIterable { case url - case buildBundle case betaAppClipInvocationLocalizations } public enum FieldsBetaAppClipInvocationLocalizations: String, Codable, CaseIterable { case title case locale - case betaAppClipInvocation } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift index 1665bb47..ce67c303 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift @@ -188,9 +188,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift index 56f3fdff..6fd23c28 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift @@ -138,9 +138,7 @@ extension APIEndpoint.V1.Builds { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift index 8fbc63ba..8fc97920 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift @@ -49,9 +49,7 @@ extension APIEndpoint.V1.Builds.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift index 2e5335d8..7c95fd28 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift @@ -89,9 +89,7 @@ extension APIEndpoint.V1.Builds.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups @@ -179,7 +177,6 @@ extension APIEndpoint.V1.Builds.WithID { case startDate case totalPauseDuration case currentDayNumber - case appStoreVersion } public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { @@ -194,7 +191,6 @@ extension APIEndpoint.V1.Builds.WithID { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded case appStoreVersion } @@ -221,7 +217,6 @@ extension APIEndpoint.V1.Builds.WithID { case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations case appClipAppStoreReviewDetail - case appClipDefaultExperienceTemplate } public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { @@ -231,7 +226,6 @@ extension APIEndpoint.V1.Builds.WithID { case reviewRequired case startDate case endDate - case started case appStoreVersion case appStoreVersionExperimentTreatments case platform @@ -241,7 +235,6 @@ extension APIEndpoint.V1.Builds.WithID { } public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { - case appStoreVersion case versions } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift index 71b7ba94..3c6e2099 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift @@ -36,6 +36,7 @@ extension APIEndpoint.V1 { public enum FilterPlatform: String, Codable, CaseIterable { case ios = "IOS" case macOs = "MAC_OS" + case universal = "UNIVERSAL" } public enum Sort: String, Codable, CaseIterable { @@ -78,7 +79,6 @@ extension APIEndpoint.V1 { public enum FieldsBundleIDCapabilities: String, Codable, CaseIterable { case capabilityType case settings - case bundleID = "bundleId" } public enum FieldsApps: String, Codable, CaseIterable { @@ -107,9 +107,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift index 93c3c41b..73c15f24 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift @@ -53,7 +53,6 @@ extension APIEndpoint.V1.BundleIDs { public enum FieldsBundleIDCapabilities: String, Codable, CaseIterable { case capabilityType case settings - case bundleID = "bundleId" } public enum FieldsApps: String, Codable, CaseIterable { @@ -82,9 +81,7 @@ extension APIEndpoint.V1.BundleIDs { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift index aa3a2a1e..61d85d22 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift @@ -49,9 +49,7 @@ extension APIEndpoint.V1.BundleIDs.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDBundleIDCapabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDBundleIDCapabilities.swift index fefbbd4e..e3b5ef57 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDBundleIDCapabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDBundleIDCapabilities.swift @@ -27,7 +27,6 @@ extension APIEndpoint.V1.BundleIDs.WithID { public enum FieldsBundleIDCapabilities: String, Codable, CaseIterable { case capabilityType case settings - case bundleID = "bundleId" } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Certificates.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Certificates.swift index b323a455..4f235497 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Certificates.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Certificates.swift @@ -33,12 +33,13 @@ extension APIEndpoint.V1 { case macInstallerDistribution = "MAC_INSTALLER_DISTRIBUTION" case macAppDevelopment = "MAC_APP_DEVELOPMENT" case developerIDKext = "DEVELOPER_ID_KEXT" + case developerIDKextG2 = "DEVELOPER_ID_KEXT_G2" case developerIDApplication = "DEVELOPER_ID_APPLICATION" + case developerIDApplicationG2 = "DEVELOPER_ID_APPLICATION_G2" case development = "DEVELOPMENT" case distribution = "DISTRIBUTION" case passTypeID = "PASS_TYPE_ID" case passTypeIDWithNfc = "PASS_TYPE_ID_WITH_NFC" - case developerIDApplicationG2 = "DEVELOPER_ID_APPLICATION_G2" } public enum Sort: String, Codable, CaseIterable { @@ -54,7 +55,6 @@ extension APIEndpoint.V1 { public enum FieldsCertificates: String, Codable, CaseIterable { case name - case csrContent case certificateType case displayName case serialNumber diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithID.swift index 9c1d93d0..2a177ce5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithID.swift @@ -25,7 +25,6 @@ extension APIEndpoint.V1.Certificates { public enum FieldsCertificates: String, Codable, CaseIterable { case name - case csrContent case certificateType case displayName case serialNumber diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithID.swift index 8f02f095..031cbf9f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithID.swift @@ -38,7 +38,6 @@ extension APIEndpoint.V1.CiBuildActions { } public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case clean case number case createdDate case startedDate @@ -51,7 +50,6 @@ extension APIEndpoint.V1.CiBuildActions { case completionStatus case startReason case cancelReason - case buildRun case builds case workflow case product diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift index b30a946d..7dd5c31f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift @@ -28,7 +28,6 @@ extension APIEndpoint.V1.CiBuildActions.WithID { public var limitBuilds: Int? public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case clean case number case createdDate case startedDate @@ -41,7 +40,6 @@ extension APIEndpoint.V1.CiBuildActions.WithID { case completionStatus case startReason case cancelReason - case buildRun case builds case workflow case product diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithID.swift index 7ac582e3..08d4beb0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithID.swift @@ -24,7 +24,6 @@ extension APIEndpoint.V1.CiBuildRuns { public var limitBuilds: Int? public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case clean case number case createdDate case startedDate @@ -37,7 +36,6 @@ extension APIEndpoint.V1.CiBuildRuns { case completionStatus case startReason case cancelReason - case buildRun case builds case workflow case product diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDActions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDActions.swift index beb48e9b..45c8360e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDActions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDActions.swift @@ -39,7 +39,6 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { } public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case clean case number case createdDate case startedDate @@ -52,7 +51,6 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { case completionStatus case startReason case cancelReason - case buildRun case builds case workflow case product diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift index d09fa5e9..7245d5b2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift @@ -207,9 +207,7 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift index 6bb29802..975b2129 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift @@ -70,9 +70,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift index 8eb16e7f..4e5a2f4c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift @@ -62,9 +62,7 @@ extension APIEndpoint.V1.CiProducts { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift index 6876b56c..85f4d234 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift @@ -31,7 +31,6 @@ extension APIEndpoint.V1.CiProducts.WithID { public var fieldsAppInfos: [FieldsAppInfos]? public var fieldsAppClips: [FieldsAppClips]? public var fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? - public var fieldsAppPreOrders: [FieldsAppPreOrders]? public var fieldsInAppPurchases: [FieldsInAppPurchases]? public var fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? public var fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? @@ -87,9 +86,7 @@ extension APIEndpoint.V1.CiProducts.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups @@ -253,6 +250,7 @@ extension APIEndpoint.V1.CiProducts.WithID { case australiaAgeRating case brazilAgeRating case brazilAgeRatingV2 + case franceAgeRating case koreaAgeRating case kidsAgeBand case app @@ -279,12 +277,6 @@ extension APIEndpoint.V1.CiProducts.WithID { case territories } - public enum FieldsAppPreOrders: String, Codable, CaseIterable { - case preOrderAvailableDate - case appReleaseDate - case app - } - public enum FieldsInAppPurchases: String, Codable, CaseIterable { case referenceName case productID = "productId" @@ -295,7 +287,6 @@ extension APIEndpoint.V1.CiProducts.WithID { case reviewNote case familySharable case contentHosting - case app case inAppPurchaseLocalizations case pricePoints case content @@ -308,7 +299,6 @@ extension APIEndpoint.V1.CiProducts.WithID { public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { case referenceName - case app case subscriptions case subscriptionGroupLocalizations } @@ -327,15 +317,12 @@ extension APIEndpoint.V1.CiProducts.WithID { case visible case app case appCustomProductPageVersions - case appStoreVersionTemplate - case customProductPageTemplate } public enum FieldsPromotedPurchases: String, Codable, CaseIterable { case visibleForAllUsers case enabled case state - case app case inAppPurchaseV2 case subscription case promotionImages @@ -352,7 +339,6 @@ extension APIEndpoint.V1.CiProducts.WithID { case purpose case territorySchedules case archivedTerritorySchedules - case app case localizations } @@ -360,8 +346,6 @@ extension APIEndpoint.V1.CiProducts.WithID { case platform case submittedDate case state - case submitted - case canceled case app case items case appStoreVersionForReview @@ -400,7 +384,6 @@ extension APIEndpoint.V1.CiProducts.WithID { case reviewRequired case startDate case endDate - case started case app case latestControlVersion case controlVersions @@ -420,7 +403,6 @@ extension APIEndpoint.V1.CiProducts.WithID { case appInfos case appClips case endUserLicenseAgreement - case preOrder case inAppPurchases case subscriptionGroups case gameCenterEnabledVersions @@ -434,7 +416,7 @@ extension APIEndpoint.V1.CiProducts.WithID { case appStoreVersionExperimentsV2 } - public init(fieldsApps: [FieldsApps]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsAppPreOrders: [FieldsAppPreOrders]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, include: [Include]? = nil, limitAppEncryptionDeclarations: Int? = nil, limitBetaGroups: Int? = nil, limitAppStoreVersions: Int? = nil, limitPreReleaseVersions: Int? = nil, limitBetaAppLocalizations: Int? = nil, limitBuilds: Int? = nil, limitAppInfos: Int? = nil, limitAppClips: Int? = nil, limitInAppPurchases: Int? = nil, limitSubscriptionGroups: Int? = nil, limitGameCenterEnabledVersions: Int? = nil, limitAppCustomProductPages: Int? = nil, limitInAppPurchasesV2: Int? = nil, limitPromotedPurchases: Int? = nil, limitAppEvents: Int? = nil, limitReviewSubmissions: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil) { + public init(fieldsApps: [FieldsApps]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, include: [Include]? = nil, limitAppEncryptionDeclarations: Int? = nil, limitBetaGroups: Int? = nil, limitAppStoreVersions: Int? = nil, limitPreReleaseVersions: Int? = nil, limitBetaAppLocalizations: Int? = nil, limitBuilds: Int? = nil, limitAppInfos: Int? = nil, limitAppClips: Int? = nil, limitInAppPurchases: Int? = nil, limitSubscriptionGroups: Int? = nil, limitGameCenterEnabledVersions: Int? = nil, limitAppCustomProductPages: Int? = nil, limitInAppPurchasesV2: Int? = nil, limitPromotedPurchases: Int? = nil, limitAppEvents: Int? = nil, limitReviewSubmissions: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil) { self.fieldsApps = fieldsApps self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations self.fieldsCiProducts = fieldsCiProducts @@ -448,7 +430,6 @@ extension APIEndpoint.V1.CiProducts.WithID { self.fieldsAppInfos = fieldsAppInfos self.fieldsAppClips = fieldsAppClips self.fieldsEndUserLicenseAgreements = fieldsEndUserLicenseAgreements - self.fieldsAppPreOrders = fieldsAppPreOrders self.fieldsInAppPurchases = fieldsInAppPurchases self.fieldsSubscriptionGroups = fieldsSubscriptionGroups self.fieldsGameCenterEnabledVersions = fieldsGameCenterEnabledVersions @@ -494,7 +475,6 @@ extension APIEndpoint.V1.CiProducts.WithID { encoder.encode(fieldsAppInfos, forKey: "fields[appInfos]") encoder.encode(fieldsAppClips, forKey: "fields[appClips]") encoder.encode(fieldsEndUserLicenseAgreements, forKey: "fields[endUserLicenseAgreements]") - encoder.encode(fieldsAppPreOrders, forKey: "fields[appPreOrders]") encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") encoder.encode(fieldsSubscriptionGroups, forKey: "fields[subscriptionGroups]") encoder.encode(fieldsGameCenterEnabledVersions, forKey: "fields[gameCenterEnabledVersions]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift index 4ef2d656..72e94259 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift @@ -36,7 +36,6 @@ extension APIEndpoint.V1.CiProducts.WithID { } public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case clean case number case createdDate case startedDate @@ -49,7 +48,6 @@ extension APIEndpoint.V1.CiProducts.WithID { case completionStatus case startReason case cancelReason - case buildRun case builds case workflow case product diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift index e0473f6f..ea7353b9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift @@ -36,7 +36,6 @@ extension APIEndpoint.V1.CiWorkflows.WithID { } public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case clean case number case createdDate case startedDate @@ -49,7 +48,6 @@ extension APIEndpoint.V1.CiWorkflows.WithID { case completionStatus case startReason case cancelReason - case buildRun case builds case workflow case product diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Devices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Devices.swift index 65bc00dc..f9cb39e8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Devices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Devices.swift @@ -30,6 +30,7 @@ extension APIEndpoint.V1 { public enum FilterPlatform: String, Codable, CaseIterable { case ios = "IOS" case macOs = "MAC_OS" + case universal = "UNIVERSAL" } public enum FilterStatus: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImagesWithID.swift index d2e4aa12..6d020bd8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImagesWithID.swift @@ -30,7 +30,6 @@ extension APIEndpoint.V1.GameCenterAchievementImages { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case gameCenterAchievementLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithID.swift index 5abe6db3..bb49ed37 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithID.swift @@ -52,7 +52,6 @@ extension APIEndpoint.V1.GameCenterAchievementLocalizations { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case gameCenterAchievementLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievementImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievementImage.swift index 86ad6242..ec9ff59a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievementImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievementImage.swift @@ -28,7 +28,6 @@ extension APIEndpoint.V1.GameCenterAchievementLocalizations.WithID { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case gameCenterAchievementLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDGroupAchievement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDGroupAchievement.swift index b26927bf..8418c6e7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDGroupAchievement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDGroupAchievement.swift @@ -13,6 +13,7 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID { /// Path: `/v1/gameCenterAchievements/{id}/groupAchievement` public let path: String + @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements_groupAchievement_getToOneRelated") } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDLocalizations.swift index ed39aaf7..8fffa79c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDLocalizations.swift @@ -53,7 +53,6 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case gameCenterAchievementLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsGroupAchievement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsGroupAchievement.swift index 36467d48..a18f806f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsGroupAchievement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsGroupAchievement.swift @@ -13,10 +13,12 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID.Relationships { /// Path: `/v1/gameCenterAchievements/{id}/relationships/groupAchievement` public let path: String + @available(*, deprecated, message: "Deprecated") public var get: Request { Request(path: path, method: "GET", id: "gameCenterAchievements_groupAchievement_getToOneRelationship") } + @available(*, deprecated, message: "Deprecated") public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementGroupAchievementLinkageRequest) -> Request { Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievements_groupAchievement_updateToOneRelationship") } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift index 3ed44bb4..bc9c5e22 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift @@ -89,9 +89,7 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups @@ -179,7 +177,6 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case startDate case totalPauseDuration case currentDayNumber - case appStoreVersion } public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { @@ -194,7 +191,6 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded case appStoreVersion } @@ -221,7 +217,6 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations case appClipAppStoreReviewDetail - case appClipDefaultExperienceTemplate } public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { @@ -231,7 +226,6 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case reviewRequired case startDate case endDate - case started case appStoreVersion case appStoreVersionExperimentTreatments case platform @@ -241,7 +235,6 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { } public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { - case appStoreVersion case versions } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift index 174c6a64..7a1862c0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift @@ -76,9 +76,7 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift index a286943c..cd32afc7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift @@ -81,9 +81,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImagesWithID.swift index 6cfcbc41..e981f8ad 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImagesWithID.swift @@ -30,7 +30,6 @@ extension APIEndpoint.V1.GameCenterLeaderboardImages { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case gameCenterLeaderboardLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithID.swift index 544cd693..3b1da2ff 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithID.swift @@ -38,7 +38,6 @@ extension APIEndpoint.V1.GameCenterLeaderboardLocalizations { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case gameCenterLeaderboardLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDGameCenterLeaderboardImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDGameCenterLeaderboardImage.swift index a8ec9b7b..ef5911a0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDGameCenterLeaderboardImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDGameCenterLeaderboardImage.swift @@ -28,7 +28,6 @@ extension APIEndpoint.V1.GameCenterLeaderboardLocalizations.WithID { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case gameCenterLeaderboardLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImagesWithID.swift index 44ef0685..a67d4719 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImagesWithID.swift @@ -30,7 +30,6 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetImages { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case gameCenterLeaderboardSetLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithID.swift index bf0dcbf5..b51bf6ef 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithID.swift @@ -35,7 +35,6 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetLocalizations { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case gameCenterLeaderboardSetLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDGameCenterLeaderboardSetImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDGameCenterLeaderboardSetImage.swift index e68191ac..62f36f23 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDGameCenterLeaderboardSetImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDGameCenterLeaderboardSetImage.swift @@ -28,7 +28,6 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetLocalizations.WithID { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case gameCenterLeaderboardSetLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGroupLeaderboardSet.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGroupLeaderboardSet.swift index 78ad0447..afd82f3f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGroupLeaderboardSet.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGroupLeaderboardSet.swift @@ -13,6 +13,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { /// Path: `/v1/gameCenterLeaderboardSets/{id}/groupLeaderboardSet` public let path: String + @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelated") } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDLocalizations.swift index ba377647..9be7c715 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDLocalizations.swift @@ -48,7 +48,6 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case gameCenterLeaderboardSetLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGroupLeaderboardSet.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGroupLeaderboardSet.swift index ef4cefa9..dba5e3a3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGroupLeaderboardSet.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGroupLeaderboardSet.swift @@ -13,10 +13,12 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID.Relationships { /// Path: `/v1/gameCenterLeaderboardSets/{id}/relationships/groupLeaderboardSet` public let path: String + @available(*, deprecated, message: "Deprecated") public var get: Request { Request(path: path, method: "GET", id: "gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelationship") } + @available(*, deprecated, message: "Deprecated") public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest) -> Request { Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSets_groupLeaderboardSet_updateToOneRelationship") } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDGroupLeaderboard.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDGroupLeaderboard.swift index a336b21d..e19a3575 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDGroupLeaderboard.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDGroupLeaderboard.swift @@ -13,6 +13,7 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID { /// Path: `/v1/gameCenterLeaderboards/{id}/groupLeaderboard` public let path: String + @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards_groupLeaderboard_getToOneRelated") } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDLocalizations.swift index cefb5e3c..94f8ea2c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDLocalizations.swift @@ -60,7 +60,6 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID { case imageAsset case uploadOperations case assetDeliveryState - case uploaded case gameCenterLeaderboardLocalization } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsGroupLeaderboard.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsGroupLeaderboard.swift index 7d28337a..65897916 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsGroupLeaderboard.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsGroupLeaderboard.swift @@ -13,10 +13,12 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID.Relationships { /// Path: `/v1/gameCenterLeaderboards/{id}/relationships/groupLeaderboard` public let path: String + @available(*, deprecated, message: "Deprecated") public var get: Request { Request(path: path, method: "GET", id: "gameCenterLeaderboards_groupLeaderboard_getToOneRelationship") } + @available(*, deprecated, message: "Deprecated") public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardGroupLeaderboardLinkageRequest) -> Request { Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboards_groupLeaderboard_updateToOneRelationship") } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift index c30a3c7b..51ba5b31 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift @@ -42,7 +42,6 @@ extension APIEndpoint.V1 { case referenceName case minPlayers case maxPlayers - case ruleSet } public enum FieldsGameCenterMatchmakingRules: String, Codable, CaseIterable { @@ -51,7 +50,6 @@ extension APIEndpoint.V1 { case type case expression case weight - case ruleSet } public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift index 1dc4cea7..e6ca9c1b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift @@ -41,7 +41,6 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets { case referenceName case minPlayers case maxPlayers - case ruleSet } public enum FieldsGameCenterMatchmakingRules: String, Codable, CaseIterable { @@ -50,7 +49,6 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets { case type case expression case weight - case ruleSet } public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRules.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRules.swift index d868b9b5..32916815 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRules.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRules.swift @@ -30,7 +30,6 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { case type case expression case weight - case ruleSet } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDTeams.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDTeams.swift index debf7274..16ff15b3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDTeams.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDTeams.swift @@ -28,7 +28,6 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { case referenceName case minPlayers case maxPlayers - case ruleSet } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshotsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshotsWithID.swift index 4c28c5f6..900e0325 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshotsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshotsWithID.swift @@ -33,7 +33,6 @@ extension APIEndpoint.V1.InAppPurchaseAppStoreReviewScreenshots { case assetType case uploadOperations case assetDeliveryState - case uploaded case inAppPurchaseV2 } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithID.swift index deaf7ceb..b9fe4f1b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithID.swift @@ -25,7 +25,6 @@ extension APIEndpoint.V1.InAppPurchaseAvailabilities { public enum FieldsInAppPurchaseAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case inAppPurchase case availableTerritories } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImagesWithID.swift index 853e495a..d8ecbe44 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImagesWithID.swift @@ -31,7 +31,6 @@ extension APIEndpoint.V1.InAppPurchaseImages { case assetToken case imageAsset case uploadOperations - case uploaded case state case inAppPurchase } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePoints.swift new file mode 100644 index 00000000..72311b39 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePoints.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var inAppPurchasePricePoints: InAppPurchasePricePoints { + InAppPurchasePricePoints(path: path + "/inAppPurchasePricePoints") + } + + public struct InAppPurchasePricePoints { + /// Path: `/v1/inAppPurchasePricePoints` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePointsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePointsWithID.swift new file mode 100644 index 00000000..ca079d77 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePointsWithID.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.InAppPurchasePricePoints { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/inAppPurchasePricePoints/{id}` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePointsWithIDEqualizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePointsWithIDEqualizations.swift new file mode 100644 index 00000000..3d6220a1 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePointsWithIDEqualizations.swift @@ -0,0 +1,64 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.InAppPurchasePricePoints.WithID { + public var equalizations: Equalizations { + Equalizations(path: path + "/equalizations") + } + + public struct Equalizations { + /// Path: `/v1/inAppPurchasePricePoints/{id}/equalizations` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasePricePoints_equalizations_getToManyRelated") + } + + public struct GetParameters { + public var filterTerritory: [String]? + public var filterInAppPurchaseV2: [String]? + public var fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? + public var fieldsTerritories: [FieldsTerritories]? + public var limit: Int? + public var include: [Include]? + + public enum FieldsInAppPurchasePricePoints: String, Codable, CaseIterable { + case customerPrice + case proceeds + case territory + case equalizations + } + + public enum FieldsTerritories: String, Codable, CaseIterable { + case currency + } + + public enum Include: String, Codable, CaseIterable { + case territory + } + + public init(filterTerritory: [String]? = nil, filterInAppPurchaseV2: [String]? = nil, fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { + self.filterTerritory = filterTerritory + self.filterInAppPurchaseV2 = filterInAppPurchaseV2 + self.fieldsInAppPurchasePricePoints = fieldsInAppPurchasePricePoints + self.fieldsTerritories = fieldsTerritories + self.limit = limit + self.include = include + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(filterTerritory, forKey: "filter[territory]") + encoder.encode(filterInAppPurchaseV2, forKey: "filter[inAppPurchaseV2]") + encoder.encode(fieldsInAppPurchasePricePoints, forKey: "fields[inAppPurchasePricePoints]") + encoder.encode(fieldsTerritories, forKey: "fields[territories]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithID.swift index 5fc7da0d..0bf1648b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithID.swift @@ -26,7 +26,6 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules { public var limitManualPrices: Int? public enum FieldsInAppPurchasePriceSchedules: String, Codable, CaseIterable { - case inAppPurchase case baseTerritory case manualPrices case automaticPrices @@ -40,13 +39,11 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules { case startDate case endDate case manual - case inAppPurchaseV2 case inAppPurchasePricePoint case territory } public enum Include: String, Codable, CaseIterable { - case inAppPurchase case baseTerritory case manualPrices case automaticPrices diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDAutomaticPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDAutomaticPrices.swift index 7d57ca18..d5446589 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDAutomaticPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDAutomaticPrices.swift @@ -29,7 +29,6 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { case startDate case endDate case manual - case inAppPurchaseV2 case inAppPurchasePricePoint case territory } @@ -38,7 +37,7 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { case customerPrice case proceeds case territory - case inAppPurchaseV2 + case equalizations } public enum FieldsTerritories: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDManualPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDManualPrices.swift index 2d46dca8..23ca12ee 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDManualPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDManualPrices.swift @@ -29,7 +29,6 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { case startDate case endDate case manual - case inAppPurchaseV2 case inAppPurchasePricePoint case territory } @@ -38,7 +37,7 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { case customerPrice case proceeds case territory - case inAppPurchaseV2 + case equalizations } public enum FieldsTerritories: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooks.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooks.swift index a3591e8b..c236ffe9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooks.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooks.swift @@ -26,7 +26,6 @@ extension APIEndpoint.V1 { public enum FieldsMarketplaceWebhooks: String, Codable, CaseIterable { case endpointURL = "endpointUrl" - case secret } public func post(_ body: AppStoreConnect_Swift_SDK.MarketplaceWebhookCreateRequest) -> Request { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift index 67fe8361..037eb84a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift @@ -112,9 +112,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift index e1629422..feea5cfc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift @@ -84,9 +84,7 @@ extension APIEndpoint.V1.PreReleaseVersions { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift index 8092ea71..b138495f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift @@ -49,9 +49,7 @@ extension APIEndpoint.V1.PreReleaseVersions.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Profiles.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Profiles.swift index d79058f6..0a0ba685 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Profiles.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Profiles.swift @@ -101,7 +101,6 @@ extension APIEndpoint.V1 { public enum FieldsCertificates: String, Codable, CaseIterable { case name - case csrContent case certificateType case displayName case serialNumber diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithID.swift index 095ee574..d1ad4bec 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithID.swift @@ -62,7 +62,6 @@ extension APIEndpoint.V1.Profiles { public enum FieldsCertificates: String, Codable, CaseIterable { case name - case csrContent case certificateType case displayName case serialNumber diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDCertificates.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDCertificates.swift index 52e440cd..40648679 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDCertificates.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDCertificates.swift @@ -26,7 +26,6 @@ extension APIEndpoint.V1.Profiles.WithID { public enum FieldsCertificates: String, Codable, CaseIterable { case name - case csrContent case certificateType case displayName case serialNumber diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImagesWithID.swift index f726c82d..a420aeb7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImagesWithID.swift @@ -33,7 +33,6 @@ extension APIEndpoint.V1.PromotedPurchaseImages { case imageAsset case assetType case uploadOperations - case uploaded case state case promotedPurchase } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithID.swift index ffa06a3d..c0e85790 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithID.swift @@ -27,7 +27,6 @@ extension APIEndpoint.V1.PromotedPurchases { case visibleForAllUsers case enabled case state - case app case inAppPurchaseV2 case subscription case promotionImages @@ -41,7 +40,6 @@ extension APIEndpoint.V1.PromotedPurchases { case imageAsset case assetType case uploadOperations - case uploaded case state case promotedPurchase } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDPromotionImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDPromotionImages.swift index c97b1cf8..f213c51f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDPromotionImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDPromotionImages.swift @@ -32,7 +32,6 @@ extension APIEndpoint.V1.PromotedPurchases.WithID { case imageAsset case assetType case uploadOperations - case uploaded case state case promotedPurchase } @@ -41,7 +40,6 @@ extension APIEndpoint.V1.PromotedPurchases.WithID { case visibleForAllUsers case enabled case state - case app case inAppPurchaseV2 case subscription case promotionImages diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift index 4e2ceb79..bb39eb4d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift @@ -48,8 +48,6 @@ extension APIEndpoint.V1 { case platform case submittedDate case state - case submitted - case canceled case app case items case appStoreVersionForReview @@ -59,9 +57,6 @@ extension APIEndpoint.V1 { public enum FieldsReviewSubmissionItems: String, Codable, CaseIterable { case state - case resolved - case removed - case reviewSubmission case appStoreVersion case appCustomProductPageVersion case appStoreVersionExperiment diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithID.swift index 3c54bc53..03aec01d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithID.swift @@ -27,8 +27,6 @@ extension APIEndpoint.V1.ReviewSubmissions { case platform case submittedDate case state - case submitted - case canceled case app case items case appStoreVersionForReview @@ -38,9 +36,6 @@ extension APIEndpoint.V1.ReviewSubmissions { public enum FieldsReviewSubmissionItems: String, Codable, CaseIterable { case state - case resolved - case removed - case reviewSubmission case appStoreVersion case appCustomProductPageVersion case appStoreVersionExperiment diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift index 4d7bbbc4..a5a2d9d4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift @@ -28,9 +28,6 @@ extension APIEndpoint.V1.ReviewSubmissions.WithID { public enum FieldsReviewSubmissionItems: String, Codable, CaseIterable { case state - case resolved - case removed - case reviewSubmission case appStoreVersion case appCustomProductPageVersion case appStoreVersionExperiment @@ -80,7 +77,6 @@ extension APIEndpoint.V1.ReviewSubmissions.WithID { case reviewRequired case startDate case endDate - case started case appStoreVersion case appStoreVersionExperimentTreatments case platform @@ -100,7 +96,6 @@ extension APIEndpoint.V1.ReviewSubmissions.WithID { case purpose case territorySchedules case archivedTerritorySchedules - case app case localizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoveragesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoveragesWithID.swift index e3f60360..72658f33 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoveragesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoveragesWithID.swift @@ -30,7 +30,6 @@ extension APIEndpoint.V1.RoutingAppCoverages { case sourceFileChecksum case uploadOperations case assetDeliveryState - case uploaded case appStoreVersion } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift index 63966aa4..8334611b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift @@ -35,6 +35,7 @@ extension APIEndpoint.V1 { case subscriptionOfferCodeRedemption = "SUBSCRIPTION_OFFER_CODE_REDEMPTION" case installs = "INSTALLS" case firstAnnual = "FIRST_ANNUAL" + case winBackEligibility = "WIN_BACK_ELIGIBILITY" } public enum FilterReportSubType: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshotsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshotsWithID.swift index 5856de85..cabac11b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshotsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshotsWithID.swift @@ -33,7 +33,6 @@ extension APIEndpoint.V1.SubscriptionAppStoreReviewScreenshots { case assetType case uploadOperations case assetDeliveryState - case uploaded case subscription } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithID.swift index d70924c8..d7f90c56 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithID.swift @@ -25,7 +25,6 @@ extension APIEndpoint.V1.SubscriptionAvailabilities { public enum FieldsSubscriptionAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case subscription case availableTerritories } @@ -34,7 +33,6 @@ extension APIEndpoint.V1.SubscriptionAvailabilities { } public enum Include: String, Codable, CaseIterable { - case subscription case availableTerritories } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift index 737a2d65..4785a785 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift @@ -27,7 +27,6 @@ extension APIEndpoint.V1.SubscriptionGroups { public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { case referenceName - case app case subscriptions case subscriptionGroupLocalizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptionGroupLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptionGroupLocalizations.swift index aafc63b7..931a1417 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptionGroupLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptionGroupLocalizations.swift @@ -33,7 +33,6 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { case referenceName - case app case subscriptions case subscriptionGroupLocalizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift index c58313d8..8e07d563 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift @@ -101,13 +101,11 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { case assetType case uploadOperations case assetDeliveryState - case uploaded case subscription } public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { case referenceName - case app case subscriptions case subscriptionGroupLocalizations } @@ -151,8 +149,6 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { public enum FieldsSubscriptionPrices: String, Codable, CaseIterable { case startDate case preserved - case preserveCurrentPrice - case subscription case territory case subscriptionPricePoint } @@ -161,7 +157,6 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { case visibleForAllUsers case enabled case state - case app case inAppPurchaseV2 case subscription case promotionImages @@ -169,7 +164,6 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { public enum FieldsSubscriptionAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case subscription case availableTerritories } @@ -186,7 +180,6 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { case endDate case priority case promotionIntent - case subscription case prices } @@ -197,7 +190,6 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { case assetToken case imageAsset case uploadOperations - case uploaded case state case subscription } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImagesWithID.swift index caa89588..1871d684 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImagesWithID.swift @@ -31,7 +31,6 @@ extension APIEndpoint.V1.SubscriptionImages { case assetToken case imageAsset case uploadOperations - case uploaded case state case subscription } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDPrices.swift index 6479b15d..fd02409d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDPrices.swift @@ -39,7 +39,6 @@ extension APIEndpoint.V1.SubscriptionOfferCodes.WithID { case proceeds case proceedsYear2 case territory - case subscription case equalizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithID.swift index 821d4377..e1665e2d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithID.swift @@ -29,7 +29,6 @@ extension APIEndpoint.V1.SubscriptionPricePoints { case proceeds case proceedsYear2 case territory - case subscription case equalizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDEqualizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDEqualizations.swift index e63bb343..cb4e38d2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDEqualizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDEqualizations.swift @@ -30,7 +30,6 @@ extension APIEndpoint.V1.SubscriptionPricePoints.WithID { case proceeds case proceedsYear2 case territory - case subscription case equalizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDPrices.swift index 38e8ebed..2d0f84f7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDPrices.swift @@ -39,7 +39,6 @@ extension APIEndpoint.V1.SubscriptionPromotionalOffers.WithID { case proceeds case proceedsYear2 case territory - case subscription case equalizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift index 84438b22..405ccd16 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift @@ -77,7 +77,6 @@ extension APIEndpoint.V1.Subscriptions { case assetType case uploadOperations case assetDeliveryState - case uploaded case subscription } @@ -120,8 +119,6 @@ extension APIEndpoint.V1.Subscriptions { public enum FieldsSubscriptionPrices: String, Codable, CaseIterable { case startDate case preserved - case preserveCurrentPrice - case subscription case territory case subscriptionPricePoint } @@ -130,7 +127,6 @@ extension APIEndpoint.V1.Subscriptions { case visibleForAllUsers case enabled case state - case app case inAppPurchaseV2 case subscription case promotionImages @@ -138,7 +134,6 @@ extension APIEndpoint.V1.Subscriptions { public enum FieldsSubscriptionAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case subscription case availableTerritories } @@ -155,7 +150,6 @@ extension APIEndpoint.V1.Subscriptions { case endDate case priority case promotionIntent - case subscription case prices } @@ -166,7 +160,6 @@ extension APIEndpoint.V1.Subscriptions { case assetToken case imageAsset case uploadOperations - case uploaded case state case subscription } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift index 1220e4e7..4d5be404 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift @@ -31,7 +31,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { case assetType case uploadOperations case assetDeliveryState - case uploaded case subscription } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDImages.swift index 230de76b..fdc59467 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDImages.swift @@ -30,7 +30,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { case assetToken case imageAsset case uploadOperations - case uploaded case state case subscription } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift index 6385f550..17985e9f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift @@ -68,7 +68,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { case proceeds case proceedsYear2 case territory - case subscription case equalizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPricePoints.swift index bc2fca19..4e8f0159 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPricePoints.swift @@ -29,7 +29,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { case proceeds case proceedsYear2 case territory - case subscription case equalizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPrices.swift index 6f251cdf..29d58306 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPrices.swift @@ -29,8 +29,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { public enum FieldsSubscriptionPrices: String, Codable, CaseIterable { case startDate case preserved - case preserveCurrentPrice - case subscription case territory case subscriptionPricePoint } @@ -44,7 +42,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { case proceeds case proceedsYear2 case territory - case subscription case equalizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift index 6977729f..87a3e38f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift @@ -29,7 +29,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { case visibleForAllUsers case enabled case state - case app case inAppPurchaseV2 case subscription case promotionImages @@ -43,7 +42,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { case reviewNote case familySharable case contentHosting - case app case inAppPurchaseLocalizations case pricePoints case content @@ -84,7 +82,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { case imageAsset case assetType case uploadOperations - case uploaded case state case promotedPurchase } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift index 7b0f61a7..c6340b35 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift @@ -19,51 +19,25 @@ extension APIEndpoint.V1.Subscriptions.WithID { public struct GetParameters { public var fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? - public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsTerritories: [FieldsTerritories]? public var include: [Include]? public var limitAvailableTerritories: Int? public enum FieldsSubscriptionAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case subscription case availableTerritories } - public enum FieldsSubscriptions: String, Codable, CaseIterable { - case name - case productID = "productId" - case familySharable - case state - case subscriptionPeriod - case reviewNote - case groupLevel - case subscriptionLocalizations - case appStoreReviewScreenshot - case group - case introductoryOffers - case promotionalOffers - case offerCodes - case prices - case pricePoints - case promotedPurchase - case subscriptionAvailability - case winBackOffers - case images - } - public enum FieldsTerritories: String, Codable, CaseIterable { case currency } public enum Include: String, Codable, CaseIterable { - case subscription case availableTerritories } - public init(fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, include: [Include]? = nil, limitAvailableTerritories: Int? = nil) { + public init(fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, include: [Include]? = nil, limitAvailableTerritories: Int? = nil) { self.fieldsSubscriptionAvailabilities = fieldsSubscriptionAvailabilities - self.fieldsSubscriptions = fieldsSubscriptions self.fieldsTerritories = fieldsTerritories self.include = include self.limitAvailableTerritories = limitAvailableTerritories @@ -72,7 +46,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsSubscriptionAvailabilities, forKey: "fields[subscriptionAvailabilities]") - encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") encoder.encode(include, forKey: "include") encoder.encode(limitAvailableTerritories, forKey: "limit[availableTerritories]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDWinBackOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDWinBackOffers.swift index 47d66413..d58b6962 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDWinBackOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDWinBackOffers.swift @@ -37,7 +37,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { case endDate case priority case promotionIntent - case subscription case prices } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift index 31b7db89..833a0c5c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift @@ -88,9 +88,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift index 1cc67a0a..59df4605 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift @@ -60,9 +60,7 @@ extension APIEndpoint.V1.UserInvitations { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift index 9923ff47..1aef26d3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift @@ -50,9 +50,7 @@ extension APIEndpoint.V1.UserInvitations.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift index 981df2b9..742f4e1d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift @@ -87,9 +87,7 @@ extension APIEndpoint.V1 { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift index b7b53569..8b2249d0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift @@ -59,9 +59,7 @@ extension APIEndpoint.V1.Users { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift index be82e3f8..fef353fe 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift @@ -50,9 +50,7 @@ extension APIEndpoint.V1.Users.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithID.swift index 631c2161..7f0a7875 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithID.swift @@ -36,7 +36,6 @@ extension APIEndpoint.V1.WinBackOffers { case endDate case priority case promotionIntent - case subscription case prices } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithIDPrices.swift index ec5357a1..eace5c0e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithIDPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithIDPrices.swift @@ -39,7 +39,6 @@ extension APIEndpoint.V1.WinBackOffers.WithID { case proceeds case proceedsYear2 case territory - case subscription case equalizations } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithID.swift index cca0a527..2bfcd401 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithID.swift @@ -25,7 +25,6 @@ extension APIEndpoint.V2.AppAvailabilities { public enum FieldsAppAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case app case territoryAvailabilities } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithID.swift index 9317498a..7e9e577f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithID.swift @@ -32,7 +32,6 @@ extension APIEndpoint.V2.AppStoreVersionExperiments { case reviewRequired case startDate case endDate - case started case app case latestControlVersion case controlVersions diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift index 5975fcd8..6ba39bf1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift @@ -42,7 +42,6 @@ extension APIEndpoint.V2.AppStoreVersionExperiments.WithID { case reviewRequired case startDate case endDate - case started case appStoreVersion case appStoreVersionExperimentTreatments case platform diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift index c572c9ff..e08adde9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift @@ -40,7 +40,6 @@ extension APIEndpoint.V2.InAppPurchases { case reviewNote case familySharable case contentHosting - case app case inAppPurchaseLocalizations case pricePoints case content @@ -63,7 +62,7 @@ extension APIEndpoint.V2.InAppPurchases { case customerPrice case proceeds case territory - case inAppPurchaseV2 + case equalizations } public enum FieldsInAppPurchaseContents: String, Codable, CaseIterable { @@ -83,7 +82,6 @@ extension APIEndpoint.V2.InAppPurchases { case assetType case uploadOperations case assetDeliveryState - case uploaded case inAppPurchaseV2 } @@ -91,14 +89,12 @@ extension APIEndpoint.V2.InAppPurchases { case visibleForAllUsers case enabled case state - case app case inAppPurchaseV2 case subscription case promotionImages } public enum FieldsInAppPurchasePriceSchedules: String, Codable, CaseIterable { - case inAppPurchase case baseTerritory case manualPrices case automaticPrices @@ -106,7 +102,6 @@ extension APIEndpoint.V2.InAppPurchases { public enum FieldsInAppPurchaseAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case inAppPurchase case availableTerritories } @@ -117,7 +112,6 @@ extension APIEndpoint.V2.InAppPurchases { case assetToken case imageAsset case uploadOperations - case uploaded case state case inAppPurchase } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift index a05ec869..369d35f3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift @@ -31,7 +31,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { case assetType case uploadOperations case assetDeliveryState - case uploaded case inAppPurchaseV2 } @@ -43,7 +42,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { case reviewNote case familySharable case contentHosting - case app case inAppPurchaseLocalizations case pricePoints case content diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift index 5776d4ca..b25fc0f1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift @@ -38,7 +38,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { case reviewNote case familySharable case contentHosting - case app case inAppPurchaseLocalizations case pricePoints case content diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift index 96d98010..4a68e28e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift @@ -19,7 +19,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public struct GetParameters { public var fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? - public var fieldsInAppPurchases: [FieldsInAppPurchases]? public var fieldsTerritories: [FieldsTerritories]? public var fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? public var include: [Include]? @@ -27,31 +26,11 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public var limitAutomaticPrices: Int? public enum FieldsInAppPurchasePriceSchedules: String, Codable, CaseIterable { - case inAppPurchase case baseTerritory case manualPrices case automaticPrices } - public enum FieldsInAppPurchases: String, Codable, CaseIterable { - case name - case productID = "productId" - case inAppPurchaseType - case state - case reviewNote - case familySharable - case contentHosting - case app - case inAppPurchaseLocalizations - case pricePoints - case content - case appStoreReviewScreenshot - case promotedPurchase - case iapPriceSchedule - case inAppPurchaseAvailability - case images - } - public enum FieldsTerritories: String, Codable, CaseIterable { case currency } @@ -60,21 +39,18 @@ extension APIEndpoint.V2.InAppPurchases.WithID { case startDate case endDate case manual - case inAppPurchaseV2 case inAppPurchasePricePoint case territory } public enum Include: String, Codable, CaseIterable { - case inAppPurchase case baseTerritory case manualPrices case automaticPrices } - public init(fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? = nil, include: [Include]? = nil, limitManualPrices: Int? = nil, limitAutomaticPrices: Int? = nil) { + public init(fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? = nil, include: [Include]? = nil, limitManualPrices: Int? = nil, limitAutomaticPrices: Int? = nil) { self.fieldsInAppPurchasePriceSchedules = fieldsInAppPurchasePriceSchedules - self.fieldsInAppPurchases = fieldsInAppPurchases self.fieldsTerritories = fieldsTerritories self.fieldsInAppPurchasePrices = fieldsInAppPurchasePrices self.include = include @@ -85,7 +61,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsInAppPurchasePriceSchedules, forKey: "fields[inAppPurchasePriceSchedules]") - encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") encoder.encode(fieldsInAppPurchasePrices, forKey: "fields[inAppPurchasePrices]") encoder.encode(include, forKey: "include") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDImages.swift index d4316a20..2f40c396 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDImages.swift @@ -30,7 +30,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { case assetToken case imageAsset case uploadOperations - case uploaded case state case inAppPurchase } @@ -43,7 +42,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { case reviewNote case familySharable case contentHosting - case app case inAppPurchaseLocalizations case pricePoints case content diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseAvailability.swift index f89fdb58..81cf1503 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseAvailability.swift @@ -25,7 +25,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public enum FieldsInAppPurchaseAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case inAppPurchase case availableTerritories } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift index 8a32796b..321c0fac 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift @@ -39,7 +39,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { case reviewNote case familySharable case contentHosting - case app case inAppPurchaseLocalizations case pricePoints case content diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPricePoints.swift index be98b52f..8c6b03f7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPricePoints.swift @@ -28,7 +28,7 @@ extension APIEndpoint.V2.InAppPurchases.WithID { case customerPrice case proceeds case territory - case inAppPurchaseV2 + case equalizations } public enum FieldsTerritories: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift index 5ce729c5..a3b1cce6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift @@ -29,7 +29,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { case visibleForAllUsers case enabled case state - case app case inAppPurchaseV2 case subscription case promotionImages @@ -43,7 +42,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { case reviewNote case familySharable case contentHosting - case app case inAppPurchaseLocalizations case pricePoints case content @@ -84,7 +82,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { case imageAsset case assetType case uploadOperations - case uploaded case state case promotedPurchase } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift index 4f04e8ba..95e6b55e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift @@ -59,9 +59,7 @@ extension APIEndpoint.V3.AppPricePoints.WithID { case appClips case appPricePoints case endUserLicenseAgreement - case preOrder case appPriceSchedule - case appAvailability case appAvailabilityV2 case inAppPurchases case subscriptionGroups diff --git a/Sources/OpenAPI/app_store_connect_api.json b/Sources/OpenAPI/app_store_connect_api.json index 742691fb..e10e953b 100644 --- a/Sources/OpenAPI/app_store_connect_api.json +++ b/Sources/OpenAPI/app_store_connect_api.json @@ -2,7 +2,7 @@ "openapi": "3.0.1", "info": { "title": "App Store Connect API", - "version": "3.6.0", + "version": "3.7.0", "x-platform": "app_store_connect_api" }, "servers": [ @@ -647,8 +647,7 @@ "items": { "type": "string", "enum": [ - "publicKey", - "app" + "publicKey" ] } }, @@ -806,8 +805,7 @@ "items": { "type": "string", "enum": [ - "publicKey", - "app" + "publicKey" ] } }, @@ -1407,7 +1405,6 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", "versions" ] } @@ -1727,7 +1724,6 @@ "enum": [ "accessType", "stoppedDueToInactivity", - "app", "reports" ] } @@ -2195,7 +2191,6 @@ "type": "string", "enum": [ "availableInNewTerritories", - "app", "territoryAvailabilities" ] } @@ -2321,503 +2316,281 @@ } ] }, - "/v1/appAvailabilities": { + "/v1/appCategories": { + "get": { + "tags": [ + "AppCategories" + ], + "operationId": "appCategories_getCollection", + "parameters": [ + { + "name": "filter[platforms]", + "in": "query", + "description": "filter by attribute 'platforms'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "exists[parent]", + "in": "query", + "description": "filter by existence or non-existence of related 'parent'", + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appCategories]", + "in": "query", + "description": "the fields to include for returned resources of type appCategories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platforms", + "subcategories", + "parent" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subcategories", + "parent" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[subcategories]", + "in": "query", + "description": "maximum number of related subcategories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of AppCategories", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppCategoriesResponse" + } + } + } + } + } + } + }, + "/v1/appCategories/{id}": { + "get": { + "tags": [ + "AppCategories" + ], + "operationId": "appCategories_getInstance", + "parameters": [ + { + "name": "fields[appCategories]", + "in": "query", + "description": "the fields to include for returned resources of type appCategories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platforms", + "subcategories", + "parent" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subcategories", + "parent" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[subcategories]", + "in": "query", + "description": "maximum number of related subcategories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AppCategory", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppCategoryResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appClipAdvancedExperienceImages": { "post": { "tags": [ - "AppAvailabilities" + "AppClipAdvancedExperienceImages" ], - "operationId": "appAvailabilities_createInstance", - "deprecated": true, + "operationId": "appClipAdvancedExperienceImages_createInstance", "requestBody": { - "description": "AppAvailability representation", + "description": "AppClipAdvancedExperienceImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAvailabilityCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single AppAvailability", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppAvailabilityResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/appAvailabilities/{id}": { - "get": { - "tags": [ - "AppAvailabilities" - ], - "operationId": "appAvailabilities_getInstance", - "deprecated": true, - "parameters": [ - { - "name": "fields[appAvailabilities]", - "in": "query", - "description": "the fields to include for returned resources of type appAvailabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "availableInNewTerritories", - "app", - "availableTerritories" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "availableTerritories" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[availableTerritories]", - "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single AppAvailability", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppAvailabilityResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appCategories": { - "get": { - "tags": [ - "AppCategories" - ], - "operationId": "appCategories_getCollection", - "parameters": [ - { - "name": "filter[platforms]", - "in": "query", - "description": "filter by attribute 'platforms'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "exists[parent]", - "in": "query", - "description": "filter by existence or non-existence of related 'parent'", - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appCategories]", - "in": "query", - "description": "the fields to include for returned resources of type appCategories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platforms", - "subcategories", - "parent" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "subcategories", - "parent" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[subcategories]", - "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of AppCategories", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppCategoriesResponse" - } - } - } - } - } - } - }, - "/v1/appCategories/{id}": { - "get": { - "tags": [ - "AppCategories" - ], - "operationId": "appCategories_getInstance", - "parameters": [ - { - "name": "fields[appCategories]", - "in": "query", - "description": "the fields to include for returned resources of type appCategories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platforms", - "subcategories", - "parent" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "subcategories", - "parent" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[subcategories]", - "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single AppCategory", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppCategoryResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appClipAdvancedExperienceImages": { - "post": { - "tags": [ - "AppClipAdvancedExperienceImages" - ], - "operationId": "appClipAdvancedExperienceImages_createInstance", - "requestBody": { - "description": "AppClipAdvancedExperienceImage representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipAdvancedExperienceImageCreateRequest" + "$ref": "#/components/schemas/AppClipAdvancedExperienceImageCreateRequest" } } }, @@ -2908,8 +2681,7 @@ "sourceFileChecksum", "imageAsset", "uploadOperations", - "assetDeliveryState", - "uploaded" + "assetDeliveryState" ] } }, @@ -3179,7 +2951,6 @@ "placeStatus", "businessCategory", "defaultLanguage", - "removed", "appClip", "headerImage", "localizations" @@ -3778,7 +3549,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "appClipDefaultExperienceLocalization" ] } @@ -4123,8 +3893,7 @@ "appClip", "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceTemplate" + "appClipAppStoreReviewDetail" ] } }, @@ -4561,7 +4330,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "appClipDefaultExperienceLocalization" ] } @@ -4844,8 +4612,7 @@ "appClip", "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceTemplate" + "appClipAppStoreReviewDetail" ] } }, @@ -5774,9 +5541,7 @@ "url", "visible", "app", - "appCustomProductPageVersions", - "appStoreVersionTemplate", - "customProductPageTemplate" + "appCustomProductPageVersions" ] } }, @@ -6154,9 +5919,7 @@ "downloadUrl", "sourceFileChecksum", "uploadOperations", - "assetDeliveryState", - "uploaded", - "appEncryptionDeclaration" + "assetDeliveryState" ] } }, @@ -6442,9 +6205,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -6485,9 +6246,7 @@ "downloadUrl", "sourceFileChecksum", "uploadOperations", - "assetDeliveryState", - "uploaded", - "appEncryptionDeclaration" + "assetDeliveryState" ] } }, @@ -6733,9 +6492,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -6776,9 +6533,7 @@ "downloadUrl", "sourceFileChecksum", "uploadOperations", - "assetDeliveryState", - "uploaded", - "appEncryptionDeclaration" + "assetDeliveryState" ] } }, @@ -7009,7 +6764,6 @@ "assetToken", "uploadOperations", "assetDeliveryState", - "uploaded", "appEventAssetType", "appEventLocalization" ] @@ -7032,10 +6786,11 @@ "fileName", "previewFrameTimeCode", "videoUrl", + "previewFrameImage", "previewImage", "uploadOperations", "assetDeliveryState", - "uploaded", + "videoDeliveryState", "appEventAssetType", "appEventLocalization" ] @@ -7406,7 +7161,6 @@ "assetToken", "uploadOperations", "assetDeliveryState", - "uploaded", "appEventAssetType", "appEventLocalization" ] @@ -7751,10 +7505,11 @@ "fileName", "previewFrameTimeCode", "videoUrl", + "previewFrameImage", "previewImage", "uploadOperations", "assetDeliveryState", - "uploaded", + "videoDeliveryState", "appEventAssetType", "appEventLocalization" ] @@ -8105,7 +7860,6 @@ "purpose", "territorySchedules", "archivedTerritorySchedules", - "app", "localizations" ] } @@ -8699,541 +8453,190 @@ } } }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appInfos/{id}": { - "get": { - "tags": [ - "AppInfos" - ], - "operationId": "appInfos_getInstance", - "parameters": [ - { - "name": "fields[appInfos]", - "in": "query", - "description": "the fields to include for returned resources of type appInfos", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreState", - "state", - "appStoreAgeRating", - "australiaAgeRating", - "brazilAgeRating", - "brazilAgeRatingV2", - "koreaAgeRating", - "kidsAgeBand", - "app", - "ageRatingDeclaration", - "appInfoLocalizations", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[ageRatingDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type ageRatingDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "alcoholTobaccoOrDrugUseOrReferences", - "contests", - "gamblingAndContests", - "gambling", - "gamblingSimulated", - "kidsAgeBand", - "lootBox", - "medicalOrTreatmentInformation", - "profanityOrCrudeHumor", - "sexualContentGraphicAndNudity", - "sexualContentOrNudity", - "horrorOrFearThemes", - "matureOrSuggestiveThemes", - "unrestrictedWebAccess", - "violenceCartoonOrFantasy", - "violenceRealisticProlongedGraphicOrSadistic", - "violenceRealistic", - "ageRatingOverride", - "koreaAgeRatingOverride", - "seventeenPlus" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appInfoLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appInfoLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "subtitle", - "privacyPolicyUrl", - "privacyChoicesUrl", - "privacyPolicyText", - "appInfo" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appCategories]", - "in": "query", - "description": "the fields to include for returned resources of type appCategories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platforms", - "subcategories", - "parent" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "ageRatingDeclaration", - "appInfoLocalizations", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[appInfoLocalizations]", - "in": "query", - "description": "maximum number of related appInfoLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single AppInfo", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppInfoResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "AppInfos" - ], - "operationId": "appInfos_updateInstance", - "requestBody": { - "description": "AppInfo representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppInfoUpdateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single AppInfo", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppInfoResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appPreOrders": { - "post": { - "tags": [ - "AppPreOrders" - ], - "operationId": "appPreOrders_createInstance", - "deprecated": true, - "requestBody": { - "description": "AppPreOrder representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppPreOrderCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single AppPreOrder", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppPreOrderResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/appPreOrders/{id}": { - "get": { - "tags": [ - "AppPreOrders" - ], - "operationId": "appPreOrders_getInstance", - "deprecated": true, - "parameters": [ - { - "name": "fields[appPreOrders]", - "in": "query", - "description": "the fields to include for returned resources of type appPreOrders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "preOrderAvailableDate", - "appReleaseDate", - "app" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single AppPreOrder", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreOrderResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } + }, + "204": { + "description": "Success (no content)" } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appInfos/{id}": { + "get": { "tags": [ - "AppPreOrders" + "AppInfos" ], - "operationId": "appPreOrders_updateInstance", - "deprecated": true, - "requestBody": { - "description": "AppPreOrder representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppPreOrderUpdateRequest" + "operationId": "appInfos_getInstance", + "parameters": [ + { + "name": "fields[appInfos]", + "in": "query", + "description": "the fields to include for returned resources of type appInfos", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreState", + "state", + "appStoreAgeRating", + "australiaAgeRating", + "brazilAgeRating", + "brazilAgeRatingV2", + "franceAgeRating", + "koreaAgeRating", + "kidsAgeBand", + "app", + "ageRatingDeclaration", + "appInfoLocalizations", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[ageRatingDeclarations]", + "in": "query", + "description": "the fields to include for returned resources of type ageRatingDeclarations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alcoholTobaccoOrDrugUseOrReferences", + "contests", + "gamblingAndContests", + "gambling", + "gamblingSimulated", + "kidsAgeBand", + "lootBox", + "medicalOrTreatmentInformation", + "profanityOrCrudeHumor", + "sexualContentGraphicAndNudity", + "sexualContentOrNudity", + "horrorOrFearThemes", + "matureOrSuggestiveThemes", + "unrestrictedWebAccess", + "violenceCartoonOrFantasy", + "violenceRealisticProlongedGraphicOrSadistic", + "violenceRealistic", + "ageRatingOverride", + "koreaAgeRatingOverride", + "seventeenPlus" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appInfoLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appInfoLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "subtitle", + "privacyPolicyUrl", + "privacyChoicesUrl", + "privacyPolicyText", + "appInfo" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appCategories]", + "in": "query", + "description": "the fields to include for returned resources of type appCategories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platforms", + "subcategories", + "parent" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "ageRatingDeclaration", + "appInfoLocalizations", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[appInfoLocalizations]", + "in": "query", + "description": "maximum number of related appInfoLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -9275,44 +8678,34 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single AppPreOrder", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppPreOrderResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single AppInfo", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppInfoResponse" } } } } } }, - "delete": { + "patch": { "tags": [ - "AppPreOrders" + "AppInfos" ], - "operationId": "appPreOrders_deleteInstance", - "deprecated": true, + "operationId": "appInfos_updateInstance", + "requestBody": { + "description": "AppInfo representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppInfoUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -9354,6 +8747,26 @@ } } }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AppInfo", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppInfoResponse" + } + } + } + }, "409": { "description": "Request entity error(s)", "content": { @@ -9363,9 +8776,6 @@ } } } - }, - "204": { - "description": "Success (no content)" } } }, @@ -9506,10 +8916,11 @@ "previewFrameTimeCode", "mimeType", "videoUrl", + "previewFrameImage", "previewImage", "uploadOperations", "assetDeliveryState", - "uploaded", + "videoDeliveryState", "appPreviewSet" ] } @@ -9780,10 +9191,11 @@ "previewFrameTimeCode", "mimeType", "videoUrl", + "previewFrameImage", "previewImage", "uploadOperations", "assetDeliveryState", - "uploaded", + "videoDeliveryState", "appPreviewSet" ] } @@ -10520,7 +9932,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "appScreenshotSet" ] } @@ -10793,7 +10204,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "appScreenshotSet" ] } @@ -11138,7 +10548,6 @@ "sourceFileChecksum", "uploadOperations", "assetDeliveryState", - "uploaded", "appStoreReviewDetail" ] } @@ -11509,7 +10918,6 @@ "sourceFileChecksum", "uploadOperations", "assetDeliveryState", - "uploaded", "appStoreReviewDetail" ] } @@ -12504,7 +11912,6 @@ "reviewRequired", "startDate", "endDate", - "started", "app", "latestControlVersion", "controlVersions", @@ -12903,7 +12310,6 @@ "reviewRequired", "startDate", "endDate", - "started", "appStoreVersion", "appStoreVersionExperimentTreatments" ] @@ -14406,8 +13812,7 @@ "phasedReleaseState", "startDate", "totalPauseDuration", - "currentDayNumber", - "appStoreVersion" + "currentDayNumber" ] } }, @@ -14448,7 +13853,6 @@ "sourceFileChecksum", "uploadOperations", "assetDeliveryState", - "uploaded", "appStoreVersion" ] } @@ -14514,8 +13918,7 @@ "appClip", "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceTemplate" + "appClipAppStoreReviewDetail" ] } }, @@ -14538,7 +13941,6 @@ "reviewRequired", "startDate", "endDate", - "started", "appStoreVersion", "appStoreVersionExperimentTreatments", "platform", @@ -14561,7 +13963,6 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", "versions" ] } @@ -15125,9 +14526,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -15421,6 +14820,7 @@ "australiaAgeRating", "brazilAgeRating", "brazilAgeRatingV2", + "franceAgeRating", "koreaAgeRating", "kidsAgeBand", "app", @@ -15478,26 +14878,6 @@ "explode": false, "required": false }, - { - "name": "fields[appPreOrders]", - "in": "query", - "description": "the fields to include for returned resources of type appPreOrders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "preOrderAvailableDate", - "appReleaseDate", - "app" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, { "name": "fields[inAppPurchases]", "in": "query", @@ -15516,7 +14896,6 @@ "reviewNote", "familySharable", "contentHosting", - "app", "inAppPurchaseLocalizations", "pricePoints", "content", @@ -15542,7 +14921,6 @@ "type": "string", "enum": [ "referenceName", - "app", "subscriptions", "subscriptionGroupLocalizations" ] @@ -15587,9 +14965,7 @@ "url", "visible", "app", - "appCustomProductPageVersions", - "appStoreVersionTemplate", - "customProductPageTemplate" + "appCustomProductPageVersions" ] } }, @@ -15609,7 +14985,6 @@ "visibleForAllUsers", "enabled", "state", - "app", "inAppPurchaseV2", "subscription", "promotionImages" @@ -15639,7 +15014,6 @@ "purpose", "territorySchedules", "archivedTerritorySchedules", - "app", "localizations" ] } @@ -15660,8 +15034,6 @@ "platform", "submittedDate", "state", - "submitted", - "canceled", "app", "items", "appStoreVersionForReview", @@ -15739,7 +15111,6 @@ "reviewRequired", "startDate", "endDate", - "started", "app", "latestControlVersion", "controlVersions", @@ -15782,7 +15153,6 @@ "appInfos", "appClips", "endUserLicenseAgreement", - "preOrder", "inAppPurchases", "subscriptionGroups", "gameCenterEnabledVersions", @@ -16076,9 +15446,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -16372,6 +15740,7 @@ "australiaAgeRating", "brazilAgeRating", "brazilAgeRatingV2", + "franceAgeRating", "koreaAgeRating", "kidsAgeBand", "app", @@ -16429,26 +15798,6 @@ "explode": false, "required": false }, - { - "name": "fields[appPreOrders]", - "in": "query", - "description": "the fields to include for returned resources of type appPreOrders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "preOrderAvailableDate", - "appReleaseDate", - "app" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, { "name": "fields[inAppPurchases]", "in": "query", @@ -16467,7 +15816,6 @@ "reviewNote", "familySharable", "contentHosting", - "app", "inAppPurchaseLocalizations", "pricePoints", "content", @@ -16493,7 +15841,6 @@ "type": "string", "enum": [ "referenceName", - "app", "subscriptions", "subscriptionGroupLocalizations" ] @@ -16538,9 +15885,7 @@ "url", "visible", "app", - "appCustomProductPageVersions", - "appStoreVersionTemplate", - "customProductPageTemplate" + "appCustomProductPageVersions" ] } }, @@ -16560,7 +15905,6 @@ "visibleForAllUsers", "enabled", "state", - "app", "inAppPurchaseV2", "subscription", "promotionImages" @@ -16590,7 +15934,6 @@ "purpose", "territorySchedules", "archivedTerritorySchedules", - "app", "localizations" ] } @@ -16611,8 +15954,6 @@ "platform", "submittedDate", "state", - "submitted", - "canceled", "app", "items", "appStoreVersionForReview", @@ -16690,7 +16031,6 @@ "reviewRequired", "startDate", "endDate", - "started", "app", "latestControlVersion", "controlVersions", @@ -16723,7 +16063,6 @@ "appInfos", "appClips", "endUserLicenseAgreement", - "preOrder", "inAppPurchases", "subscriptionGroups", "gameCenterEnabledVersions", @@ -17430,7 +16769,6 @@ "type": "string", "enum": [ "url", - "buildBundle", "betaAppClipInvocationLocalizations" ] } @@ -17776,9 +17114,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -18018,9 +17354,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -18359,9 +17693,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -18524,9 +17856,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -19877,9 +19207,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -20214,9 +19542,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -20636,9 +19962,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -20794,9 +20118,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -21282,9 +20604,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -21630,9 +20950,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -22820,9 +22138,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -23259,9 +22575,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -23879,7 +23193,8 @@ "type": "string", "enum": [ "IOS", - "MAC_OS" + "MAC_OS", + "UNIVERSAL" ] } }, @@ -24015,8 +23330,7 @@ "type": "string", "enum": [ "capabilityType", - "settings", - "bundleId" + "settings" ] } }, @@ -24058,9 +23372,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -24327,8 +23639,7 @@ "type": "string", "enum": [ "capabilityType", - "settings", - "bundleId" + "settings" ] } }, @@ -24370,9 +23681,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -24691,12 +24000,13 @@ "MAC_INSTALLER_DISTRIBUTION", "MAC_APP_DEVELOPMENT", "DEVELOPER_ID_KEXT", + "DEVELOPER_ID_KEXT_G2", "DEVELOPER_ID_APPLICATION", + "DEVELOPER_ID_APPLICATION_G2", "DEVELOPMENT", "DISTRIBUTION", "PASS_TYPE_ID", - "PASS_TYPE_ID_WITH_NFC", - "DEVELOPER_ID_APPLICATION_G2" + "PASS_TYPE_ID_WITH_NFC" ] } }, @@ -24766,7 +24076,6 @@ "type": "string", "enum": [ "name", - "csrContent", "certificateType", "displayName", "serialNumber", @@ -24931,7 +24240,6 @@ "type": "string", "enum": [ "name", - "csrContent", "certificateType", "displayName", "serialNumber", @@ -25211,7 +24519,6 @@ "items": { "type": "string", "enum": [ - "clean", "number", "createdDate", "startedDate", @@ -25224,7 +24531,6 @@ "completionStatus", "startReason", "cancelReason", - "buildRun", "builds", "workflow", "product", @@ -25420,7 +24726,6 @@ "items": { "type": "string", "enum": [ - "clean", "number", "createdDate", "startedDate", @@ -25433,7 +24738,6 @@ "completionStatus", "startReason", "cancelReason", - "buildRun", "builds", "workflow", "product", @@ -26050,9 +25354,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -26253,9 +25555,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -27633,7 +26933,8 @@ "type": "string", "enum": [ "IOS", - "MAC_OS" + "MAC_OS", + "UNIVERSAL" ] } }, @@ -28721,7 +28022,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "gameCenterAchievementLocalization" ] } @@ -29115,7 +28415,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "gameCenterAchievementLocalization" ] } @@ -31876,7 +31175,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "gameCenterLeaderboardLocalization" ] } @@ -32244,7 +31542,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "gameCenterLeaderboardLocalization" ] } @@ -32843,7 +32140,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "gameCenterLeaderboardSetLocalization" ] } @@ -33208,7 +32504,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "gameCenterLeaderboardSetLocalization" ] } @@ -35587,8 +34882,7 @@ "enum": [ "referenceName", "minPlayers", - "maxPlayers", - "ruleSet" + "maxPlayers" ] } }, @@ -35609,8 +34903,7 @@ "description", "type", "expression", - "weight", - "ruleSet" + "weight" ] } }, @@ -35865,8 +35158,7 @@ "enum": [ "referenceName", "minPlayers", - "maxPlayers", - "ruleSet" + "maxPlayers" ] } }, @@ -35887,8 +35179,7 @@ "description", "type", "expression", - "weight", - "ruleSet" + "weight" ] } }, @@ -36861,7 +36152,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "inAppPurchaseV2" ] } @@ -37202,7 +36492,6 @@ "type": "string", "enum": [ "availableInNewTerritories", - "inAppPurchase", "availableTerritories" ] } @@ -37538,7 +36827,6 @@ "assetToken", "imageAsset", "uploadOperations", - "uploaded", "state", "inAppPurchase" ] @@ -38222,7 +37510,6 @@ "items": { "type": "string", "enum": [ - "inAppPurchase", "baseTerritory", "manualPrices", "automaticPrices" @@ -38262,7 +37549,6 @@ "startDate", "endDate", "manual", - "inAppPurchaseV2", "inAppPurchasePricePoint", "territory" ] @@ -38281,7 +37567,6 @@ "items": { "type": "string", "enum": [ - "inAppPurchase", "baseTerritory", "manualPrices", "automaticPrices" @@ -38690,7 +37975,6 @@ "reviewNote", "familySharable", "contentHosting", - "app", "inAppPurchaseLocalizations", "pricePoints", "content", @@ -38739,7 +38023,7 @@ "customerPrice", "proceeds", "territory", - "inAppPurchaseV2" + "equalizations" ] } }, @@ -38785,7 +38069,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "inAppPurchaseV2" ] } @@ -38806,7 +38089,6 @@ "visibleForAllUsers", "enabled", "state", - "app", "inAppPurchaseV2", "subscription", "promotionImages" @@ -38826,7 +38108,6 @@ "items": { "type": "string", "enum": [ - "inAppPurchase", "baseTerritory", "manualPrices", "automaticPrices" @@ -38847,7 +38128,6 @@ "type": "string", "enum": [ "availableInNewTerritories", - "inAppPurchase", "availableTerritories" ] } @@ -38871,7 +38151,6 @@ "assetToken", "imageAsset", "uploadOperations", - "uploaded", "state", "inAppPurchase" ] @@ -39734,8 +39013,7 @@ "items": { "type": "string", "enum": [ - "endpointUrl", - "secret" + "endpointUrl" ] } }, @@ -40270,9 +39548,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -40482,9 +39758,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -40795,7 +40069,6 @@ "type": "string", "enum": [ "name", - "csrContent", "certificateType", "displayName", "serialNumber", @@ -41074,7 +40347,6 @@ "type": "string", "enum": [ "name", - "csrContent", "certificateType", "displayName", "serialNumber", @@ -41363,7 +40635,6 @@ "imageAsset", "assetType", "uploadOperations", - "uploaded", "state", "promotedPurchase" ] @@ -41709,7 +40980,6 @@ "visibleForAllUsers", "enabled", "state", - "app", "inAppPurchaseV2", "subscription", "promotionImages" @@ -41736,7 +41006,6 @@ "imageAsset", "assetType", "uploadOperations", - "uploaded", "state", "promotedPurchase" ] @@ -42316,8 +41585,6 @@ "platform", "submittedDate", "state", - "submitted", - "canceled", "app", "items", "appStoreVersionForReview", @@ -42340,9 +41607,6 @@ "type": "string", "enum": [ "state", - "resolved", - "removed", - "reviewSubmission", "appStoreVersion", "appCustomProductPageVersion", "appStoreVersionExperiment", @@ -42540,8 +41804,6 @@ "platform", "submittedDate", "state", - "submitted", - "canceled", "app", "items", "appStoreVersionForReview", @@ -42564,9 +41826,6 @@ "type": "string", "enum": [ "state", - "resolved", - "removed", - "reviewSubmission", "appStoreVersion", "appCustomProductPageVersion", "appStoreVersionExperiment", @@ -42869,7 +42128,6 @@ "sourceFileChecksum", "uploadOperations", "assetDeliveryState", - "uploaded", "appStoreVersion" ] } @@ -43150,7 +42408,8 @@ "SUBSCRIBER", "SUBSCRIPTION_OFFER_CODE_REDEMPTION", "INSTALLS", - "FIRST_ANNUAL" + "FIRST_ANNUAL", + "WIN_BACK_ELIGIBILITY" ] } }, @@ -44287,7 +43546,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "subscription" ] } @@ -44628,7 +43886,6 @@ "type": "string", "enum": [ "availableInNewTerritories", - "subscription", "availableTerritories" ] } @@ -44663,7 +43920,6 @@ "items": { "type": "string", "enum": [ - "subscription", "availableTerritories" ] } @@ -45455,7 +44711,6 @@ "type": "string", "enum": [ "referenceName", - "app", "subscriptions", "subscriptionGroupLocalizations" ] @@ -45881,7 +45136,6 @@ "assetToken", "imageAsset", "uploadOperations", - "uploaded", "state", "subscription" ] @@ -47686,7 +46940,6 @@ "proceeds", "proceedsYear2", "territory", - "subscription", "equalizations" ] } @@ -48552,7 +47805,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "subscription" ] } @@ -48647,8 +47899,6 @@ "enum": [ "startDate", "preserved", - "preserveCurrentPrice", - "subscription", "territory", "subscriptionPricePoint" ] @@ -48670,7 +47920,6 @@ "visibleForAllUsers", "enabled", "state", - "app", "inAppPurchaseV2", "subscription", "promotionImages" @@ -48691,7 +47940,6 @@ "type": "string", "enum": [ "availableInNewTerritories", - "subscription", "availableTerritories" ] } @@ -48721,7 +47969,6 @@ "endDate", "priority", "promotionIntent", - "subscription", "prices" ] } @@ -48745,7 +47992,6 @@ "assetToken", "imageAsset", "uploadOperations", - "uploaded", "state", "subscription" ] @@ -49400,9 +48646,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -49654,9 +48898,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -49978,9 +49220,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -50152,9 +49392,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -50533,7 +49771,6 @@ "endDate", "priority", "promotionIntent", - "subscription", "prices" ] } @@ -51105,7 +50342,6 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", "versions" ] } @@ -51735,107 +50971,6 @@ } ] }, - "/v1/appAvailabilities/{id}/availableTerritories": { - "get": { - "tags": [ - "AppAvailabilities" - ], - "operationId": "appAvailabilities_availableTerritories_getToManyRelated", - "deprecated": true, - "parameters": [ - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of Territories", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TerritoriesResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, "/v1/appCategories/{id}/parent": { "get": { "tags": [ @@ -52052,7 +51187,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "appClipDefaultExperienceLocalization" ] } @@ -52199,8 +51333,7 @@ "appClip", "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceTemplate" + "appClipAppStoreReviewDetail" ] } }, @@ -52342,8 +51475,7 @@ "appClip", "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceTemplate" + "appClipAppStoreReviewDetail" ] } }, @@ -52365,7 +51497,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "appClipDefaultExperienceLocalization" ] } @@ -52692,9 +51823,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -52829,8 +51958,7 @@ "phasedReleaseState", "startDate", "totalPauseDuration", - "currentDayNumber", - "appStoreVersion" + "currentDayNumber" ] } }, @@ -52869,7 +51997,6 @@ "sourceFileChecksum", "uploadOperations", "assetDeliveryState", - "uploaded", "appStoreVersion" ] } @@ -52931,8 +52058,7 @@ "appClip", "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceTemplate" + "appClipAppStoreReviewDetail" ] } }, @@ -52954,7 +52080,6 @@ "reviewRequired", "startDate", "endDate", - "started", "appStoreVersion", "appStoreVersionExperimentTreatments", "platform", @@ -52976,7 +52101,6 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", "versions" ] } @@ -53189,7 +52313,6 @@ "placeStatus", "businessCategory", "defaultLanguage", - "removed", "appClip", "headerImage", "localizations" @@ -53232,8 +52355,7 @@ "sourceFileChecksum", "imageAsset", "uploadOperations", - "assetDeliveryState", - "uploaded" + "assetDeliveryState" ] } }, @@ -53393,8 +52515,7 @@ "appClip", "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceTemplate" + "appClipAppStoreReviewDetail" ] } }, @@ -53764,10 +52885,11 @@ "previewFrameTimeCode", "mimeType", "videoUrl", + "previewFrameImage", "previewImage", "uploadOperations", "assetDeliveryState", - "uploaded", + "videoDeliveryState", "appPreviewSet" ] } @@ -54063,7 +53185,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "appScreenshotSet" ] } @@ -54455,9 +53576,7 @@ "url", "visible", "app", - "appCustomProductPageVersions", - "appStoreVersionTemplate", - "customProductPageTemplate" + "appCustomProductPageVersions" ] } }, @@ -54630,9 +53749,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -54745,9 +53862,7 @@ "downloadUrl", "sourceFileChecksum", "uploadOperations", - "assetDeliveryState", - "uploaded", - "appEncryptionDeclaration" + "assetDeliveryState" ] } }, @@ -54930,7 +54045,6 @@ "assetToken", "uploadOperations", "assetDeliveryState", - "uploaded", "appEventAssetType", "appEventLocalization" ] @@ -55074,10 +54188,11 @@ "fileName", "previewFrameTimeCode", "videoUrl", + "previewFrameImage", "previewImage", "uploadOperations", "assetDeliveryState", - "uploaded", + "videoDeliveryState", "appEventAssetType", "appEventLocalization" ] @@ -55249,7 +54364,6 @@ "purpose", "territorySchedules", "archivedTerritorySchedules", - "app", "localizations" ] } @@ -55272,7 +54386,6 @@ "assetToken", "uploadOperations", "assetDeliveryState", - "uploaded", "appEventAssetType", "appEventLocalization" ] @@ -55294,10 +54407,11 @@ "fileName", "previewFrameTimeCode", "videoUrl", + "previewFrameImage", "previewImage", "uploadOperations", "assetDeliveryState", - "uploaded", + "videoDeliveryState", "appEventAssetType", "appEventLocalization" ] @@ -55587,6 +54701,7 @@ "australiaAgeRating", "brazilAgeRating", "brazilAgeRatingV2", + "franceAgeRating", "koreaAgeRating", "kidsAgeBand", "app", @@ -56589,10 +55704,11 @@ "previewFrameTimeCode", "mimeType", "videoUrl", + "previewFrameImage", "previewImage", "uploadOperations", "assetDeliveryState", - "uploaded", + "videoDeliveryState", "appPreviewSet" ] } @@ -56787,9 +55903,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -57590,7 +56704,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "appScreenshotSet" ] } @@ -57732,7 +56845,6 @@ "sourceFileChecksum", "uploadOperations", "assetDeliveryState", - "uploaded", "appStoreReviewDetail" ] } @@ -58021,10 +57133,11 @@ "previewFrameTimeCode", "mimeType", "videoUrl", + "previewFrameImage", "previewImage", "uploadOperations", "assetDeliveryState", - "uploaded", + "videoDeliveryState", "appPreviewSet" ] } @@ -58320,7 +57433,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "appScreenshotSet" ] } @@ -58694,7 +57806,6 @@ "reviewRequired", "startDate", "endDate", - "started", "appStoreVersion", "appStoreVersionExperimentTreatments", "platform", @@ -58876,7 +57987,6 @@ "reviewRequired", "startDate", "endDate", - "started", "appStoreVersion", "appStoreVersionExperimentTreatments", "platform", @@ -59176,10 +58286,11 @@ "previewFrameTimeCode", "mimeType", "videoUrl", + "previewFrameImage", "previewImage", "uploadOperations", "assetDeliveryState", - "uploaded", + "videoDeliveryState", "appPreviewSet" ] } @@ -59475,7 +58586,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "appScreenshotSet" ] } @@ -59715,7 +58825,6 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", "versions" ] } @@ -60004,8 +59113,7 @@ "appClip", "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceTemplate" + "appClipAppStoreReviewDetail" ] } }, @@ -60287,7 +59395,6 @@ "sourceFileChecksum", "uploadOperations", "assetDeliveryState", - "uploaded", "appStoreReviewDetail" ] } @@ -60436,7 +59543,6 @@ "reviewRequired", "startDate", "endDate", - "started", "appStoreVersion", "appStoreVersionExperimentTreatments" ] @@ -60657,7 +59763,6 @@ "reviewRequired", "startDate", "endDate", - "started", "app", "latestControlVersion", "controlVersions", @@ -60702,9 +59807,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -61163,8 +60266,7 @@ "phasedReleaseState", "startDate", "totalPauseDuration", - "currentDayNumber", - "appStoreVersion" + "currentDayNumber" ] } }, @@ -62251,7 +61353,6 @@ "sourceFileChecksum", "uploadOperations", "assetDeliveryState", - "uploaded", "appStoreVersion" ] } @@ -62302,102 +61403,11 @@ } }, "200": { - "description": "Single RoutingAppCoverage with get", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RoutingAppCoverageWithoutIncludesResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/apps/{id}/alternativeDistributionKey": { - "get": { - "tags": [ - "Apps" - ], - "operationId": "apps_alternativeDistributionKey_getToOneRelated", - "parameters": [ - { - "name": "fields[alternativeDistributionKeys]", - "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionKeys", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "publicKey", - "app" - ] - } - }, - "style": "form", - "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single AlternativeDistributionKey", + "description": "Single RoutingAppCoverage with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AlternativeDistributionKeyResponse" + "$ref": "#/components/schemas/RoutingAppCoverageWithoutIncludesResponse" } } } @@ -62417,102 +61427,28 @@ } ] }, - "/v1/apps/{id}/analyticsReportRequests": { + "/v1/apps/{id}/alternativeDistributionKey": { "get": { "tags": [ "Apps" ], - "operationId": "apps_analyticsReportRequests_getToManyRelated", + "operationId": "apps_alternativeDistributionKey_getToOneRelated", "parameters": [ { - "name": "filter[accessType]", - "in": "query", - "description": "filter by attribute 'accessType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ONE_TIME_SNAPSHOT", - "ONGOING" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[analyticsReportRequests]", - "in": "query", - "description": "the fields to include for returned resources of type analyticsReportRequests", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessType", - "stoppedDueToInactivity", - "app", - "reports" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[analyticsReports]", - "in": "query", - "description": "the fields to include for returned resources of type analyticsReports", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "category", - "instances" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[alternativeDistributionKeys]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type alternativeDistributionKeys", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "reports" + "publicKey" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[reports]", - "in": "query", - "description": "maximum number of related reports returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -62557,11 +61493,11 @@ } }, "200": { - "description": "List of AnalyticsReportRequests", + "description": "Single AlternativeDistributionKey", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AnalyticsReportRequestsResponse" + "$ref": "#/components/schemas/AlternativeDistributionKeyResponse" } } } @@ -62581,26 +61517,24 @@ } ] }, - "/v1/apps/{id}/appAvailability": { + "/v1/apps/{id}/analyticsReportRequests": { "get": { "tags": [ "Apps" ], - "operationId": "apps_appAvailability_getToOneRelated", - "deprecated": true, + "operationId": "apps_analyticsReportRequests_getToManyRelated", "parameters": [ { - "name": "fields[appAvailabilities]", + "name": "filter[accessType]", "in": "query", - "description": "the fields to include for returned resources of type appAvailabilities", + "description": "filter by attribute 'accessType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "app", - "availableTerritories" + "ONE_TIME_SNAPSHOT", + "ONGOING" ] } }, @@ -62608,59 +61542,17 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[analyticsReportRequests]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type analyticsReportRequests", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "appEncryptionDeclarations", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "preOrder", - "appPriceSchedule", - "appAvailability", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail" + "accessType", + "stoppedDueToInactivity", + "reports" ] } }, @@ -62668,21 +61560,33 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[analyticsReports]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type analyticsReports", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "name", + "category", + "instances" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -62692,8 +61596,7 @@ "items": { "type": "string", "enum": [ - "app", - "availableTerritories" + "reports" ] } }, @@ -62701,9 +61604,9 @@ "explode": false }, { - "name": "limit[availableTerritories]", + "name": "limit[reports]", "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", + "description": "maximum number of related reports returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -62753,11 +61656,11 @@ } }, "200": { - "description": "Single AppAvailability", + "description": "List of AnalyticsReportRequests", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAvailabilityResponse" + "$ref": "#/components/schemas/AnalyticsReportRequestsResponse" } } } @@ -62794,7 +61697,6 @@ "type": "string", "enum": [ "availableInNewTerritories", - "app", "territoryAvailabilities" ] } @@ -62989,9 +61891,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -63028,8 +61928,7 @@ "appClip", "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceTemplate" + "appClipAppStoreReviewDetail" ] } }, @@ -63173,9 +62072,7 @@ "url", "visible", "app", - "appCustomProductPageVersions", - "appStoreVersionTemplate", - "customProductPageTemplate" + "appCustomProductPageVersions" ] } }, @@ -63216,9 +62113,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -63471,9 +62366,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -63551,9 +62444,7 @@ "downloadUrl", "sourceFileChecksum", "uploadOperations", - "assetDeliveryState", - "uploaded", - "appEncryptionDeclaration" + "assetDeliveryState" ] } }, @@ -63729,7 +62620,6 @@ "purpose", "territorySchedules", "archivedTerritorySchedules", - "app", "localizations" ] } @@ -63884,6 +62774,7 @@ "australiaAgeRating", "brazilAgeRating", "brazilAgeRatingV2", + "franceAgeRating", "koreaAgeRating", "kidsAgeBand", "app", @@ -63935,9 +62826,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -64221,9 +63110,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -64422,9 +63309,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -64637,7 +63522,6 @@ "reviewRequired", "startDate", "endDate", - "started", "app", "latestControlVersion", "controlVersions", @@ -64682,9 +63566,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -65075,9 +63957,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -65212,8 +64092,7 @@ "phasedReleaseState", "startDate", "totalPauseDuration", - "currentDayNumber", - "appStoreVersion" + "currentDayNumber" ] } }, @@ -65252,7 +64131,6 @@ "sourceFileChecksum", "uploadOperations", "assetDeliveryState", - "uploaded", "appStoreVersion" ] } @@ -65314,8 +64192,7 @@ "appClip", "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceTemplate" + "appClipAppStoreReviewDetail" ] } }, @@ -65337,7 +64214,6 @@ "reviewRequired", "startDate", "endDate", - "started", "appStoreVersion", "appStoreVersionExperimentTreatments", "platform", @@ -65359,7 +64235,6 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", "versions" ] } @@ -66188,9 +65063,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -66946,9 +65819,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -67432,9 +66303,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -67679,9 +66548,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -67921,7 +66788,6 @@ "reviewNote", "familySharable", "contentHosting", - "app", "inAppPurchaseLocalizations", "pricePoints", "content", @@ -67993,7 +66859,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "inAppPurchaseV2" ] } @@ -68013,7 +66878,6 @@ "visibleForAllUsers", "enabled", "state", - "app", "inAppPurchaseV2", "subscription", "promotionImages" @@ -68032,7 +66896,6 @@ "items": { "type": "string", "enum": [ - "inAppPurchase", "baseTerritory", "manualPrices", "automaticPrices" @@ -68052,7 +66915,6 @@ "type": "string", "enum": [ "availableInNewTerritories", - "inAppPurchase", "availableTerritories" ] } @@ -68075,7 +66937,6 @@ "assetToken", "imageAsset", "uploadOperations", - "uploaded", "state", "inAppPurchase" ] @@ -68219,8 +67080,7 @@ "items": { "type": "string", "enum": [ - "catalogUrl", - "app" + "catalogUrl" ] } }, @@ -68419,99 +67279,6 @@ } ] }, - "/v1/apps/{id}/preOrder": { - "get": { - "tags": [ - "Apps" - ], - "operationId": "apps_preOrder_getToOneRelated", - "deprecated": true, - "parameters": [ - { - "name": "fields[appPreOrders]", - "in": "query", - "description": "the fields to include for returned resources of type appPreOrders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "preOrderAvailableDate", - "appReleaseDate", - "app" - ] - } - }, - "style": "form", - "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single AppPreOrder with get", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppPreOrderWithoutIncludesResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, "/v1/apps/{id}/preReleaseVersions": { "get": { "tags": [ @@ -68790,7 +67557,6 @@ "visibleForAllUsers", "enabled", "state", - "app", "inAppPurchaseV2", "subscription", "promotionImages" @@ -68816,7 +67582,6 @@ "reviewNote", "familySharable", "contentHosting", - "app", "inAppPurchaseLocalizations", "pricePoints", "content", @@ -68881,7 +67646,6 @@ "imageAsset", "assetType", "uploadOperations", - "uploaded", "state", "promotedPurchase" ] @@ -69056,8 +67820,6 @@ "platform", "submittedDate", "state", - "submitted", - "canceled", "app", "items", "appStoreVersionForReview", @@ -69103,9 +67865,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -69139,9 +67899,6 @@ "type": "string", "enum": [ "state", - "resolved", - "removed", - "reviewSubmission", "appStoreVersion", "appCustomProductPageVersion", "appStoreVersionExperiment", @@ -69484,7 +68241,6 @@ "type": "string", "enum": [ "referenceName", - "app", "subscriptions", "subscriptionGroupLocalizations" ] @@ -69702,9 +68458,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -69836,9 +68590,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -70196,9 +68948,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -71016,9 +69766,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -71309,9 +70057,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -72416,7 +71162,6 @@ "type": "string", "enum": [ "url", - "buildBundle", "betaAppClipInvocationLocalizations" ] } @@ -72434,8 +71179,7 @@ "type": "string", "enum": [ "title", - "locale", - "betaAppClipInvocation" + "locale" ] } }, @@ -72689,9 +71433,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -73113,9 +71855,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -73250,8 +71990,7 @@ "phasedReleaseState", "startDate", "totalPauseDuration", - "currentDayNumber", - "appStoreVersion" + "currentDayNumber" ] } }, @@ -73290,7 +72029,6 @@ "sourceFileChecksum", "uploadOperations", "assetDeliveryState", - "uploaded", "appStoreVersion" ] } @@ -73352,8 +72090,7 @@ "appClip", "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceTemplate" + "appClipAppStoreReviewDetail" ] } }, @@ -73375,7 +72112,6 @@ "reviewRequired", "startDate", "endDate", - "started", "appStoreVersion", "appStoreVersionExperimentTreatments", "platform", @@ -73397,7 +72133,6 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", "versions" ] } @@ -74849,9 +73584,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -74959,8 +73692,7 @@ "type": "string", "enum": [ "capabilityType", - "settings", - "bundleId" + "settings" ] } }, @@ -75273,7 +74005,6 @@ "items": { "type": "string", "enum": [ - "clean", "number", "createdDate", "startedDate", @@ -75286,7 +74017,6 @@ "completionStatus", "startReason", "cancelReason", - "buildRun", "builds", "workflow", "product", @@ -75794,7 +74524,6 @@ "items": { "type": "string", "enum": [ - "clean", "number", "createdDate", "startedDate", @@ -75807,7 +74536,6 @@ "completionStatus", "startReason", "cancelReason", - "buildRun", "builds", "workflow", "product", @@ -76345,9 +75073,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -77000,9 +75726,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -77286,6 +76010,7 @@ "australiaAgeRating", "brazilAgeRating", "brazilAgeRatingV2", + "franceAgeRating", "koreaAgeRating", "kidsAgeBand", "app", @@ -77340,24 +76065,6 @@ "style": "form", "explode": false }, - { - "name": "fields[appPreOrders]", - "in": "query", - "description": "the fields to include for returned resources of type appPreOrders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "preOrderAvailableDate", - "appReleaseDate", - "app" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[inAppPurchases]", "in": "query", @@ -77376,7 +76083,6 @@ "reviewNote", "familySharable", "contentHosting", - "app", "inAppPurchaseLocalizations", "pricePoints", "content", @@ -77401,7 +76107,6 @@ "type": "string", "enum": [ "referenceName", - "app", "subscriptions", "subscriptionGroupLocalizations" ] @@ -77443,9 +76148,7 @@ "url", "visible", "app", - "appCustomProductPageVersions", - "appStoreVersionTemplate", - "customProductPageTemplate" + "appCustomProductPageVersions" ] } }, @@ -77464,7 +76167,6 @@ "visibleForAllUsers", "enabled", "state", - "app", "inAppPurchaseV2", "subscription", "promotionImages" @@ -77493,7 +76195,6 @@ "purpose", "territorySchedules", "archivedTerritorySchedules", - "app", "localizations" ] } @@ -77513,8 +76214,6 @@ "platform", "submittedDate", "state", - "submitted", - "canceled", "app", "items", "appStoreVersionForReview", @@ -77589,7 +76288,6 @@ "reviewRequired", "startDate", "endDate", - "started", "app", "latestControlVersion", "controlVersions", @@ -77621,7 +76319,6 @@ "appInfos", "appClips", "endUserLicenseAgreement", - "preOrder", "inAppPurchases", "subscriptionGroups", "gameCenterEnabledVersions", @@ -77924,7 +76621,6 @@ "items": { "type": "string", "enum": [ - "clean", "number", "createdDate", "startedDate", @@ -77937,7 +76633,6 @@ "completionStatus", "startReason", "cancelReason", - "buildRun", "builds", "workflow", "product", @@ -78649,7 +77344,6 @@ "items": { "type": "string", "enum": [ - "clean", "number", "createdDate", "startedDate", @@ -78662,7 +77356,6 @@ "completionStatus", "startReason", "cancelReason", - "buildRun", "builds", "workflow", "product", @@ -79792,7 +78485,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "gameCenterAchievementLocalization" ] } @@ -79910,6 +78602,7 @@ "GameCenterAchievements" ], "operationId": "gameCenterAchievements_groupAchievement_getToOneRelationship", + "deprecated": true, "parameters": [], "responses": { "400": { @@ -79969,6 +78662,7 @@ "GameCenterAchievements" ], "operationId": "gameCenterAchievements_groupAchievement_updateToOneRelationship", + "deprecated": true, "requestBody": { "description": "Related linkage", "content": { @@ -80055,6 +78749,7 @@ "GameCenterAchievements" ], "operationId": "gameCenterAchievements_groupAchievement_getToOneRelated", + "deprecated": true, "parameters": [ { "name": "fields[gameCenterAchievements]", @@ -80344,7 +79039,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "gameCenterAchievementLocalization" ] } @@ -80725,9 +79419,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -80862,8 +79554,7 @@ "phasedReleaseState", "startDate", "totalPauseDuration", - "currentDayNumber", - "appStoreVersion" + "currentDayNumber" ] } }, @@ -80902,7 +79593,6 @@ "sourceFileChecksum", "uploadOperations", "assetDeliveryState", - "uploaded", "appStoreVersion" ] } @@ -80964,8 +79654,7 @@ "appClip", "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceTemplate" + "appClipAppStoreReviewDetail" ] } }, @@ -80987,7 +79676,6 @@ "reviewRequired", "startDate", "endDate", - "started", "appStoreVersion", "appStoreVersionExperimentTreatments", "platform", @@ -81009,7 +79697,6 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", "versions" ] } @@ -84398,9 +83085,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -85043,9 +83728,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -86366,7 +85049,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "gameCenterLeaderboardLocalization" ] } @@ -86500,7 +85182,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "gameCenterLeaderboardSetLocalization" ] } @@ -87766,6 +86447,7 @@ "GameCenterLeaderboardSets" ], "operationId": "gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelationship", + "deprecated": true, "parameters": [], "responses": { "400": { @@ -87825,6 +86507,7 @@ "GameCenterLeaderboardSets" ], "operationId": "gameCenterLeaderboardSets_groupLeaderboardSet_updateToOneRelationship", + "deprecated": true, "requestBody": { "description": "Related linkage", "content": { @@ -87911,6 +86594,7 @@ "GameCenterLeaderboardSets" ], "operationId": "gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelated", + "deprecated": true, "parameters": [ { "name": "fields[gameCenterLeaderboardSets]", @@ -88233,7 +86917,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "gameCenterLeaderboardSetLocalization" ] } @@ -88537,6 +87220,7 @@ "GameCenterLeaderboards" ], "operationId": "gameCenterLeaderboards_groupLeaderboard_getToOneRelationship", + "deprecated": true, "parameters": [], "responses": { "400": { @@ -88596,6 +87280,7 @@ "GameCenterLeaderboards" ], "operationId": "gameCenterLeaderboards_groupLeaderboard_updateToOneRelationship", + "deprecated": true, "requestBody": { "description": "Related linkage", "content": { @@ -88682,6 +87367,7 @@ "GameCenterLeaderboards" ], "operationId": "gameCenterLeaderboards_groupLeaderboard_getToOneRelated", + "deprecated": true, "parameters": [ { "name": "fields[gameCenterLeaderboards]", @@ -89019,7 +87705,6 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "uploaded", "gameCenterLeaderboardLocalization" ] } @@ -89488,8 +88173,7 @@ "description", "type", "expression", - "weight", - "ruleSet" + "weight" ] } }, @@ -89591,8 +88275,7 @@ "enum": [ "referenceName", "minPlayers", - "maxPlayers", - "ruleSet" + "maxPlayers" ] } }, @@ -89776,6 +88459,172 @@ } ] }, + "/v1/inAppPurchasePricePoints/{id}/equalizations": { + "get": { + "tags": [ + "InAppPurchasePricePoints" + ], + "operationId": "inAppPurchasePricePoints_equalizations_getToManyRelated", + "parameters": [ + { + "name": "filter[territory]", + "in": "query", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[inAppPurchaseV2]", + "in": "query", + "description": "filter by id(s) of related 'inAppPurchaseV2'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchasePricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "proceeds", + "territory", + "equalizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 8000 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of InAppPurchasePricePoints", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchasePricePointsResponse" + } + }, + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, "/v1/inAppPurchasePriceSchedules/{id}/automaticPrices": { "get": { "tags": [ @@ -89808,7 +88657,6 @@ "startDate", "endDate", "manual", - "inAppPurchaseV2", "inAppPurchasePricePoint", "territory" ] @@ -89829,7 +88677,7 @@ "customerPrice", "proceeds", "territory", - "inAppPurchaseV2" + "equalizations" ] } }, @@ -90068,7 +88916,6 @@ "startDate", "endDate", "manual", - "inAppPurchaseV2", "inAppPurchasePricePoint", "territory" ] @@ -90089,7 +88936,7 @@ "customerPrice", "proceeds", "territory", - "inAppPurchaseV2" + "equalizations" ] } }, @@ -90230,7 +89077,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "inAppPurchaseV2" ] } @@ -90254,7 +89100,6 @@ "reviewNote", "familySharable", "contentHosting", - "app", "inAppPurchaseLocalizations", "pricePoints", "content", @@ -90395,7 +89240,6 @@ "reviewNote", "familySharable", "contentHosting", - "app", "inAppPurchaseLocalizations", "pricePoints", "content", @@ -90509,7 +89353,6 @@ "items": { "type": "string", "enum": [ - "inAppPurchase", "baseTerritory", "manualPrices", "automaticPrices" @@ -90519,37 +89362,6 @@ "style": "form", "explode": false }, - { - "name": "fields[inAppPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "app", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[territories]", "in": "query", @@ -90578,7 +89390,6 @@ "startDate", "endDate", "manual", - "inAppPurchaseV2", "inAppPurchasePricePoint", "territory" ] @@ -90596,7 +89407,6 @@ "items": { "type": "string", "enum": [ - "inAppPurchase", "baseTerritory", "manualPrices", "automaticPrices" @@ -90715,7 +89525,6 @@ "assetToken", "imageAsset", "uploadOperations", - "uploaded", "state", "inAppPurchase" ] @@ -90740,7 +89549,6 @@ "reviewNote", "familySharable", "contentHosting", - "app", "inAppPurchaseLocalizations", "pricePoints", "content", @@ -90865,7 +89673,6 @@ "type": "string", "enum": [ "availableInNewTerritories", - "inAppPurchase", "availableTerritories" ] } @@ -91025,7 +89832,6 @@ "reviewNote", "familySharable", "contentHosting", - "app", "inAppPurchaseLocalizations", "pricePoints", "content", @@ -91165,7 +89971,7 @@ "customerPrice", "proceeds", "territory", - "inAppPurchaseV2" + "equalizations" ] } }, @@ -91305,7 +90111,6 @@ "visibleForAllUsers", "enabled", "state", - "app", "inAppPurchaseV2", "subscription", "promotionImages" @@ -91331,7 +90136,6 @@ "reviewNote", "familySharable", "contentHosting", - "app", "inAppPurchaseLocalizations", "pricePoints", "content", @@ -91396,7 +90200,6 @@ "imageAsset", "assetType", "uploadOperations", - "uploaded", "state", "promotedPurchase" ] @@ -91542,9 +90345,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -91871,7 +90672,6 @@ "type": "string", "enum": [ "name", - "csrContent", "certificateType", "displayName", "serialNumber", @@ -92091,7 +90891,6 @@ "imageAsset", "assetType", "uploadOperations", - "uploaded", "state", "promotedPurchase" ] @@ -92112,7 +90911,6 @@ "visibleForAllUsers", "enabled", "state", - "app", "inAppPurchaseV2", "subscription", "promotionImages" @@ -92232,9 +91030,6 @@ "type": "string", "enum": [ "state", - "resolved", - "removed", - "reviewSubmission", "appStoreVersion", "appCustomProductPageVersion", "appStoreVersionExperiment", @@ -92320,7 +91115,6 @@ "reviewRequired", "startDate", "endDate", - "started", "appStoreVersion", "appStoreVersionExperimentTreatments", "platform", @@ -92352,7 +91146,6 @@ "purpose", "territorySchedules", "archivedTerritorySchedules", - "app", "localizations" ] } @@ -93065,7 +91858,6 @@ "type": "string", "enum": [ "referenceName", - "app", "subscriptions", "subscriptionGroupLocalizations" ] @@ -93313,7 +92105,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "subscription" ] } @@ -93331,7 +92122,6 @@ "type": "string", "enum": [ "referenceName", - "app", "subscriptions", "subscriptionGroupLocalizations" ] @@ -93423,8 +92213,6 @@ "enum": [ "startDate", "preserved", - "preserveCurrentPrice", - "subscription", "territory", "subscriptionPricePoint" ] @@ -93445,7 +92233,6 @@ "visibleForAllUsers", "enabled", "state", - "app", "inAppPurchaseV2", "subscription", "promotionImages" @@ -93465,7 +92252,6 @@ "type": "string", "enum": [ "availableInNewTerritories", - "subscription", "availableTerritories" ] } @@ -93494,7 +92280,6 @@ "endDate", "priority", "promotionIntent", - "subscription", "prices" ] } @@ -93517,7 +92302,6 @@ "assetToken", "imageAsset", "uploadOperations", - "uploaded", "state", "subscription" ] @@ -94134,7 +92918,6 @@ "proceeds", "proceedsYear2", "territory", - "subscription", "equalizations" ] } @@ -94282,7 +93065,6 @@ "proceeds", "proceedsYear2", "territory", - "subscription", "equalizations" ] } @@ -94470,7 +93252,6 @@ "proceeds", "proceedsYear2", "territory", - "subscription", "equalizations" ] } @@ -94596,7 +93377,6 @@ "assetType", "uploadOperations", "assetDeliveryState", - "uploaded", "subscription" ] } @@ -94743,7 +93523,6 @@ "assetToken", "imageAsset", "uploadOperations", - "uploaded", "state", "subscription" ] @@ -95141,7 +93920,6 @@ "proceeds", "proceedsYear2", "territory", - "subscription", "equalizations" ] } @@ -95543,7 +94321,6 @@ "proceeds", "proceedsYear2", "territory", - "subscription", "equalizations" ] } @@ -95865,8 +94642,6 @@ "enum": [ "startDate", "preserved", - "preserveCurrentPrice", - "subscription", "territory", "subscriptionPricePoint" ] @@ -95904,7 +94679,6 @@ "proceeds", "proceedsYear2", "territory", - "subscription", "equalizations" ] } @@ -96025,7 +94799,6 @@ "visibleForAllUsers", "enabled", "state", - "app", "inAppPurchaseV2", "subscription", "promotionImages" @@ -96051,7 +94824,6 @@ "reviewNote", "familySharable", "contentHosting", - "app", "inAppPurchaseLocalizations", "pricePoints", "content", @@ -96116,7 +94888,6 @@ "imageAsset", "assetType", "uploadOperations", - "uploaded", "state", "promotedPurchase" ] @@ -96435,7 +95206,6 @@ "type": "string", "enum": [ "availableInNewTerritories", - "subscription", "availableTerritories" ] } @@ -96443,40 +95213,6 @@ "style": "form", "explode": false }, - { - "name": "fields[subscriptions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[territories]", "in": "query", @@ -96502,7 +95238,6 @@ "items": { "type": "string", "enum": [ - "subscription", "availableTerritories" ] } @@ -96769,7 +95504,6 @@ "endDate", "priority", "promotionIntent", - "subscription", "prices" ] } @@ -96938,9 +95672,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -97382,9 +96114,7 @@ "appClips", "appPricePoints", "endUserLicenseAgreement", - "preOrder", "appPriceSchedule", - "appAvailability", "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", @@ -97551,7 +96281,6 @@ "proceeds", "proceedsYear2", "territory", - "subscription", "equalizations" ] } @@ -101629,228 +100358,6 @@ "data" ] }, - "AppAvailability": { - "type": "object", - "title": "AppAvailability", - "properties": { - "type": { - "type": "string", - "enum": [ - "appAvailabilities" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "availableInNewTerritories": { - "type": "boolean" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "app": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "apps" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "availableTerritories": { - "type": "object", - "properties": { - "links": { - "$ref": "#/components/schemas/RelationshipLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "territories" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - } - } - } - }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" - } - }, - "required": [ - "id", - "type" - ], - "deprecated": true - }, - "AppAvailabilityResponse": { - "type": "object", - "title": "AppAvailabilityResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/AppAvailability" - }, - "included": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/App" - }, - { - "$ref": "#/components/schemas/Territory" - } - ] - } - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ], - "deprecated": true - }, - "AppAvailabilityCreateRequest": { - "type": "object", - "title": "AppAvailabilityCreateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "appAvailabilities" - ] - }, - "attributes": { - "type": "object", - "properties": { - "availableInNewTerritories": { - "type": "boolean" - } - }, - "required": [ - "availableInNewTerritories" - ] - }, - "relationships": { - "type": "object", - "properties": { - "app": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "apps" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "availableTerritories": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "territories" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "required": [ - "data" - ] - } - }, - "required": [ - "app", - "availableTerritories" - ] - } - }, - "required": [ - "relationships", - "attributes", - "type" - ] - } - }, - "required": [ - "data" - ], - "deprecated": true - }, "AppCategory": { "type": "object", "title": "AppCategory", @@ -106661,7 +105168,11 @@ "videoUrl": { "type": "string" }, + "previewFrameImage": { + "$ref": "#/components/schemas/PreviewFrameImage" + }, "previewImage": { + "deprecated": true, "$ref": "#/components/schemas/ImageAsset" }, "uploadOperations": { @@ -106671,8 +105182,12 @@ } }, "assetDeliveryState": { + "deprecated": true, "$ref": "#/components/schemas/AppMediaAssetState" }, + "videoDeliveryState": { + "$ref": "#/components/schemas/AppMediaVideoState" + }, "appEventAssetType": { "$ref": "#/components/schemas/AppEventAssetType" } @@ -107498,6 +106013,7 @@ } }, "required": [ + "name", "locale" ] }, @@ -107660,6 +106176,12 @@ "OFFICIAL_EIGHTEEN" ] }, + "franceAgeRating": { + "type": "string", + "enum": [ + "EIGHTEEN" + ] + }, "koreaAgeRating": { "type": "string", "enum": [ @@ -108172,198 +106694,6 @@ "data" ] }, - "AppPreOrder": { - "type": "object", - "title": "AppPreOrder", - "properties": { - "type": { - "type": "string", - "enum": [ - "appPreOrders" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "preOrderAvailableDate": { - "type": "string", - "format": "date" - }, - "appReleaseDate": { - "type": "string", - "format": "date" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "app": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "apps" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - } - } - }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" - } - }, - "required": [ - "id", - "type" - ], - "deprecated": true - }, - "AppPreOrderResponse": { - "type": "object", - "title": "AppPreOrderResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/AppPreOrder" - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/App" - } - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ], - "deprecated": true - }, - "AppPreOrderCreateRequest": { - "type": "object", - "title": "AppPreOrderCreateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "appPreOrders" - ] - }, - "attributes": { - "type": "object", - "properties": { - "appReleaseDate": { - "type": "string", - "format": "date" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "app": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "apps" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - } - }, - "required": [ - "app" - ] - } - }, - "required": [ - "relationships", - "type" - ] - } - }, - "required": [ - "data" - ], - "deprecated": true - }, - "AppPreOrderUpdateRequest": { - "type": "object", - "title": "AppPreOrderUpdateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "appPreOrders" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "appReleaseDate": { - "type": "string", - "format": "date" - } - } - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ], - "deprecated": true - }, "AppPreviewSet": { "type": "object", "title": "AppPreviewSet", @@ -108719,7 +107049,11 @@ "videoUrl": { "type": "string" }, + "previewFrameImage": { + "$ref": "#/components/schemas/PreviewFrameImage" + }, "previewImage": { + "deprecated": true, "$ref": "#/components/schemas/ImageAsset" }, "uploadOperations": { @@ -108729,7 +107063,11 @@ } }, "assetDeliveryState": { + "deprecated": true, "$ref": "#/components/schemas/AppMediaAssetState" + }, + "videoDeliveryState": { + "$ref": "#/components/schemas/AppMediaVideoState" } } }, @@ -113988,32 +112326,6 @@ } } }, - "preOrder": { - "type": "object", - "properties": { - "links": { - "$ref": "#/components/schemas/RelationshipLinks" - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "appPreOrders" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, "appPriceSchedule": { "type": "object", "properties": { @@ -114022,14 +112334,6 @@ } } }, - "appAvailability": { - "type": "object", - "properties": { - "links": { - "$ref": "#/components/schemas/RelationshipLinks" - } - } - }, "appAvailabilityV2": { "type": "object", "properties": { @@ -114480,9 +112784,6 @@ { "$ref": "#/components/schemas/EndUserLicenseAgreement" }, - { - "$ref": "#/components/schemas/AppPreOrder" - }, { "$ref": "#/components/schemas/InAppPurchase" }, @@ -114578,9 +112879,6 @@ { "$ref": "#/components/schemas/EndUserLicenseAgreement" }, - { - "$ref": "#/components/schemas/AppPreOrder" - }, { "$ref": "#/components/schemas/InAppPurchase" }, @@ -122559,7 +120857,8 @@ "type" ] } - } + }, + "deprecated": true }, "localizations": { "type": "object", @@ -126122,7 +124421,8 @@ "type" ] } - } + }, + "deprecated": true }, "localizations": { "type": "object", @@ -126606,7 +124906,8 @@ "type" ] } - } + }, + "deprecated": true }, "gameCenterLeaderboardSets": { "type": "object", @@ -129543,6 +127844,14 @@ ] } } + }, + "equalizations": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } } } }, @@ -129599,29 +127908,6 @@ "relationships": { "type": "object", "properties": { - "inAppPurchase": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "inAppPurchases" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, "baseTerritory": { "type": "object", "properties": { @@ -129734,9 +128020,6 @@ "type": "array", "items": { "oneOf": [ - { - "$ref": "#/components/schemas/InAppPurchaseV2" - }, { "$ref": "#/components/schemas/Territory" }, @@ -134342,199 +132625,176 @@ ] } } - } - } - }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" - } - }, - "required": [ - "id", - "type" - ] - }, - "SubscriptionAppStoreReviewScreenshotResponse": { - "type": "object", - "title": "SubscriptionAppStoreReviewScreenshotResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshot" - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Subscription" - } - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, - "SubscriptionAppStoreReviewScreenshotCreateRequest": { - "type": "object", - "title": "SubscriptionAppStoreReviewScreenshotCreateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "subscriptionAppStoreReviewScreenshots" - ] - }, - "attributes": { - "type": "object", - "properties": { - "fileSize": { - "type": "integer" - }, - "fileName": { - "type": "string" - } - }, - "required": [ - "fileName", - "fileSize" - ] - }, - "relationships": { - "type": "object", - "properties": { - "subscription": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "subscriptions" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - } - }, - "required": [ - "subscription" - ] - } - }, - "required": [ - "relationships", - "attributes", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "SubscriptionAppStoreReviewScreenshotUpdateRequest": { - "type": "object", - "title": "SubscriptionAppStoreReviewScreenshotUpdateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "subscriptionAppStoreReviewScreenshots" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "sourceFileChecksum": { - "type": "string" - }, - "uploaded": { - "type": "boolean" - } - } - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "SubscriptionAvailability": { - "type": "object", - "title": "SubscriptionAvailability", - "properties": { - "type": { - "type": "string", - "enum": [ - "subscriptionAvailabilities" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "availableInNewTerritories": { - "type": "boolean" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "subscription": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "subscriptions" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "SubscriptionAppStoreReviewScreenshotResponse": { + "type": "object", + "title": "SubscriptionAppStoreReviewScreenshotResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshot" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Subscription" + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "SubscriptionAppStoreReviewScreenshotCreateRequest": { + "type": "object", + "title": "SubscriptionAppStoreReviewScreenshotCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionAppStoreReviewScreenshots" + ] + }, + "attributes": { + "type": "object", + "properties": { + "fileSize": { + "type": "integer" + }, + "fileName": { + "type": "string" + } + }, + "required": [ + "fileName", + "fileSize" + ] + }, + "relationships": { + "type": "object", + "properties": { + "subscription": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptions" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "subscription" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "SubscriptionAppStoreReviewScreenshotUpdateRequest": { + "type": "object", + "title": "SubscriptionAppStoreReviewScreenshotUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionAppStoreReviewScreenshots" + ] }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "sourceFileChecksum": { + "type": "string" + }, + "uploaded": { + "type": "boolean" + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "SubscriptionAvailability": { + "type": "object", + "title": "SubscriptionAvailability", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionAvailabilities" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "availableInNewTerritories": { + "type": "boolean" + } + } + }, + "relationships": { + "type": "object", + "properties": { "availableTerritories": { "type": "object", "properties": { @@ -134588,14 +132848,7 @@ "included": { "type": "array", "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/Subscription" - }, - { - "$ref": "#/components/schemas/Territory" - } - ] + "$ref": "#/components/schemas/Territory" } }, "links": { @@ -141351,22 +139604,6 @@ "links" ] }, - "AppPreOrderWithoutIncludesResponse": { - "type": "object", - "title": "AppPreOrderWithoutIncludesResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/AppPreOrder" - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, "PreReleaseVersionsWithoutIncludesResponse": { "type": "object", "title": "PreReleaseVersionsWithoutIncludesResponse", @@ -142159,7 +140396,8 @@ "required": [ "data", "links" - ] + ], + "deprecated": true }, "GameCenterAchievementGroupAchievementLinkageRequest": { "type": "object", @@ -142185,7 +140423,8 @@ }, "required": [ "data" - ] + ], + "deprecated": true }, "GameCenterAppVersionCompatibilityVersionsLinkagesResponse": { "type": "object", @@ -142802,7 +141041,8 @@ "required": [ "data", "links" - ] + ], + "deprecated": true }, "GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest": { "type": "object", @@ -142828,7 +141068,8 @@ }, "required": [ "data" - ] + ], + "deprecated": true }, "GameCenterLeaderboardGroupLeaderboardLinkageResponse": { "type": "object", @@ -142858,7 +141099,8 @@ "required": [ "data", "links" - ] + ], + "deprecated": true }, "GameCenterLeaderboardGroupLeaderboardLinkageRequest": { "type": "object", @@ -142884,7 +141126,8 @@ }, "required": [ "data" - ] + ], + "deprecated": true }, "BundleIdWithoutIncludesResponse": { "type": "object", @@ -144208,6 +142451,31 @@ } } }, + "AppMediaPreviewFrameImageState": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AppMediaStateError" + } + }, + "warnings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AppMediaStateError" + } + }, + "state": { + "type": "string", + "enum": [ + "PROCESSING", + "COMPLETE", + "FAILED" + ] + } + } + }, "AppMediaStateError": { "type": "object", "properties": { @@ -144219,6 +142487,33 @@ } } }, + "AppMediaVideoState": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AppMediaStateError" + } + }, + "warnings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AppMediaStateError" + } + }, + "state": { + "type": "string", + "enum": [ + "AWAITING_UPLOAD", + "UPLOAD_COMPLETE", + "PROCESSING", + "COMPLETE", + "FAILED" + ] + } + } + }, "AppStoreAgeRating": { "type": "string", "enum": [ @@ -144442,12 +142737,13 @@ "MAC_INSTALLER_DISTRIBUTION", "MAC_APP_DEVELOPMENT", "DEVELOPER_ID_KEXT", + "DEVELOPER_ID_KEXT_G2", "DEVELOPER_ID_APPLICATION", + "DEVELOPER_ID_APPLICATION_G2", "DEVELOPMENT", "DISTRIBUTION", "PASS_TYPE_ID", - "PASS_TYPE_ID_WITH_NFC", - "DEVELOPER_ID_APPLICATION_G2" + "PASS_TYPE_ID_WITH_NFC" ] }, "CiAction": { @@ -145146,6 +143442,17 @@ "VISION_OS" ] }, + "PreviewFrameImage": { + "type": "object", + "properties": { + "image": { + "$ref": "#/components/schemas/ImageAsset" + }, + "state": { + "$ref": "#/components/schemas/AppMediaPreviewFrameImageState" + } + } + }, "PreviewType": { "type": "string", "enum": [